  /* ===== RESOURCES SECTION - ENHANCED WITH BEAUTIFUL BACKGROUND ===== */
.resources-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

/* Animated gradient overlay */
.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative pattern */
.resources-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(102, 126, 234, 0.02) 60px, rgba(102, 126, 234, 0.02) 61px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(118, 75, 162, 0.02) 60px, rgba(118, 75, 162, 0.02) 61px);
    pointer-events: none;
    z-index: 0;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 100% 100%, 50% 50%, 0 0, 0 0; }
    100% { background-position: 100px 100px, 0 0, 50% 50%, 60px 60px, -60px 60px; }
}

/* Better contrast for titles */
.resources-section .section-title-main {
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
    position: relative;
    z-index: 1;
}

.resources-section .section-subtitle-main {
    color: #555;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

.resources-section .container-main {
    position: relative;
    z-index: 1;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.resource-card {
    background: white;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.resource-card-content {
    padding: 40px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-icon {
    font-size: 70px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotateY(10deg);
}

.resource-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.resource-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: auto;
    min-height: 60px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    margin: 0 30px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.download-btn:hover .download-icon {
    transform: translateY(3px);
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.resources-note {
    text-align: center;
    margin-top: 60px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-size: 17px;
    color: #555;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 1;
}

.resources-note a {
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.resources-note a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.resources-note a:hover::after {
    width: 100%;
}

.resources-note a:hover {
    color: #764ba2;
}
