/* Custom styles for Resources section to complement Bulma */

/* Gradients matching original design - Kept for Hero and Icons */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1a237e 0%, #4a148c 50%, #311b92 100%);
    color: white;
}

/* Card Styles for Light Background */
.resource-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--my-color1, #9c51e0);
    /* Theme color accent */
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(156, 81, 224, 0.15);
    /* Purple shadow */
    border-color: #9c51e0 !important;
    /* Theme color matching H1 - Force override */
    border-top-color: #7a3ab8;
    /* Darker purple on hover */
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeInUp 0.8s 0.4s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text Colors - Adapted for light background where needed */
.text-purple {
    color: #4a148c;
}

.text-blue {
    color: #0d47a1;
}

/* Icon Containers */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Keep gradients for icons as they look good on white too */
.bg-blue-gradient {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.bg-green-gradient {
    background: linear-gradient(135deg, #66bb6a, #43a047);
}

.bg-purple-gradient {
    background: linear-gradient(135deg, #ab47bc, #8e24aa);
}

.bg-red-gradient {
    background: linear-gradient(135deg, #ef5350, #e53935);
}

.bg-teal-gradient {
    background: linear-gradient(135deg, #26a69a, #00897b);
}

.bg-orange-gradient {
    background: linear-gradient(135deg, #ffa726, #fb8c00);
}

.bg-yellow-gradient {
    background: linear-gradient(135deg, #fdd835, #fbc02d);
}