/* Header Styles */
        .header2 {
            text-align: center;
            margin-bottom: 4rem;
        }

          .header-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #2563eb, #7c3aed);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .header-icon svg {
            width: 40px;
            height: 40px;
            color: white;
        }
        

        .header2 h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #1e293b, #475569);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
        }

        .header2 p {
            font-size: clamp(1rem, 2.5vw, 1.25rem);
            color: #64748b;
            max-width: 600px;
            margin: 0 auto!important;
            font-weight: 400;
        }

        /* Status Card */
        .status-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
            border: 1px solid rgba(226, 232, 240, 0.8);
            border-radius: 20px;
            padding: 2rem;
            max-width: 400px;
            margin: 0 auto 4rem;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
        }

        .status-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }

        .status-icon {
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            border: 2px solid #86efac;
        }

        .status-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1e293b;
        }

        .status-card p {
            color: #64748b;
            font-size: 0.9rem;
        }

        /* Resources Grid */
        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .resource-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
            border: 1px solid rgba(226, 232, 240, 0.6);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px);
            position: relative;
            overflow: hidden;
        }

        .resource-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .resource-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .resource-card:hover::before {
            opacity: 1;
        }

        .resource-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }



        .resource-card h3 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #1e293b;
            line-height: 1.4;
        }

        .resource-card p {
            color: #64748b;
            margin-bottom: 2rem;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .resource-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(226, 232, 240, 0.8);
        }

        .resource-type {
            font-size: 0.75rem;
            font-weight: 600;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            background: rgba(148, 163, 184, 0.1);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
        }

        .resource-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.875rem;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
            border: none;
            cursor: pointer;
        }

        .resource-button:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
        }

        .resource-button:active {
            transform: translateY(0) scale(0.98);
        }

        /* Footer */
        .footer {
            text-align: center;
            margin-top: 4rem;
            color: #64748b;
            font-size: 0.95rem;
        }

        .footer a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
            margin-left: 0.25rem;
            transition: color 0.2s ease;
        }

        .footer a:hover {
            color: #1d4ed8;
        }

        /* SVG Icons */
        .icon {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .icon-white {
            color: white;
        }

        .icon-green {
            color: #16a34a;
        }

        .icon-small {
            width: 16px;
            height: 16px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 2rem 1rem;
            }
            
            .resources-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .resource-card {
                padding: 1.5rem;
            }
            
            .status-card {
                padding: 1.5rem;
                margin-bottom: 3rem;
            }
        }

        @media (max-width: 480px) {
            .resource-footer {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
            
            .resource-button {
                align-self: stretch;
                justify-content: center;
            }
        }

        /* Animation for page load */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header2 {
            animation: fadeInUp 0.6s ease-out;
        }

        .status-card {
            animation: fadeInUp 0.6s ease-out 0.1s both;
        }

        .resource-card {
            animation: fadeInUp 0.6s ease-out calc(var(--card-index, 0) * 0.1s + 0.2s) both;
        }
        
        .book-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647 !important; /* Max z-index value that browsers support */
}

.book-modal .modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    top: 0;
    left: 0;
    z-index: 1;
}

.book-modal .modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    max-width: 960px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 0.5rem;
    z-index: 2;
}

.book-modal .modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 3;
}
