/* =====================================================
   HARSHA MALAWEERA - PROFESSIONAL WEBSITE STYLES
   Enhanced Design Inspired by Damith M. Jayalath DamithMJ
   www.damithonline.com
   ===================================================== */

/* CSS Variables */
 :root {
            --primary-gradient: linear-gradient(135deg, rgba(205, 145, 61, 1) 0%, rgba(205, 145, 61, 0.8) 100%);
            --accent-gradient: linear-gradient(45deg, rgba(205, 145, 61, 1), rgba(205, 145, 61, 0.9));
            --text-primary: rgb(0, 0, 0);
            --text-secondary: rgba(0, 0, 0, 0.7);
            --text-light: rgba(0, 0, 0, 0.5);
            --bg-light: rgb(255, 255, 255);
            --bg-dark: rgb(0, 0, 0);
            --shadow-light: 0 5px 20px rgba(0,0,0,0.1);
            --shadow-heavy: 0 15px 30px rgba(0,0,0,0.15);
            --border-radius: 15px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --animation-fast: 0.2s;
            --animation-normal: 0.3s;
            --animation-slow: 0.6s;
            --header-height: 90px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: calc(var(--header-height) + 20px);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Performance: GPU Acceleration */
        .gpu-accelerated {
            transform: translateZ(0);
            will-change: transform;
        }

        /* Accessibility Improvements */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Focus Management */
        .focus-visible:focus {
            outline: 2px solid rgba(205, 145, 61, 1);
            outline-offset: 2px;
        }

        /* Loading Spinner */
        .loading-spinner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .loading-spinner.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(205, 145, 61, 0.3);
            border-top: 3px solid rgba(205, 145, 61, 1);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* FIXED: Enhanced Header with precise height */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            height: var(--header-height);
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            transition: var(--transition);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .header.scrolled {
            background: rgba(0, 0, 0, 0.95);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            height: 100%;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: white;
            letter-spacing: -0.02em;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: var(--transition);
            padding: 0.5rem 0;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-gradient);
            transition: width var(--animation-normal) ease;
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: rgba(205, 145, 61, 1);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        .cta-btn {
            background: var(--accent-gradient);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .cta-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .cta-btn:hover::before {
            left: 100%;
        }

        .cta-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(205, 145, 61, 0.3);
        }

        /* Enhanced Hero Section */
        .hero {
            height: 100vh;
            background: var(--primary-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
             background-size: cover;
            background-image: url('../IMG/hero.jpg');
        }

       

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(2deg); }
        }

   /* Container for proper alignment */
.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

/* Left-Aligned Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    color: white;
}

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 2rem);
            margin-bottom: 1.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.2;
              text-align: left;
        }

        .hero .subtitle {
            font-size: clamp(1rem, 2vw, 1.3rem);
            margin-bottom: 1rem;
            opacity: 0.95;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
             display: inline-flex;
    width: fit-content;
        }

        .hero p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            margin-bottom: 2.5rem;
            opacity: 0.9;
            max-width: 700px;
            margin-left: auto;
            text-align: left;
            margin-right: auto;
        }

        .hero-cta-group {
            display: flex;
            gap: 1rem;
            justify-content: left;
            flex-wrap: wrap;
        }

        .hero-cta {
            background: var(--accent-gradient);
            color: white;
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .hero-cta-secondary {
            background: transparent;
            border: 2px solid white;
            color: white;
        }

        .hero-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(205, 145, 61, 0.4);
        }

        .hero-cta-secondary:hover {
            background: white;
            color: var(--text-primary);
        }

        @keyframes heroEntrance {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Trust Indicators */
        .trust-bar {
            background: rgba(255, 255, 255, 0.95);
            padding: 1.5rem 0;
            backdrop-filter: blur(10px);
        }

        .trust-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 3rem;
            flex-wrap: wrap;
            padding: 0 2rem;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .trust-number {
            font-size: 1.5rem;
            color: rgba(205, 145, 61, 1);
            font-weight: 800;
        }

        /* Enhanced About Section */
        .about {
            padding: 6rem 0;
            background: var(--bg-light);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 4rem;
            color: var(--text-primary);
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
        }

        .about-image {
            position: relative;
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: 20px;
            bottom: 20px;
            background: var(--accent-gradient);
            border-radius: var(--border-radius);
            z-index: -1;
            opacity: 0.1;
        }

        .about-image img {
            width: 100%;
            border-radius: var(--border-radius);
            transition: var(--transition);
            box-shadow: var(--shadow-light);
        }

        .about-image:hover img {
            transform: scale(1.02);
            box-shadow: var(--shadow-heavy);
        }

        .about-text h2 {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            font-weight: 700;
            line-height: 1.3;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .credentials {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 2rem;
        }

        .credential-item {
            background: white;
            padding: 1rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: var(--shadow-light);
            transition: var(--transition);
        }

        .credential-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-heavy);
        }

        .credential-number {
            font-size: 2rem;
            font-weight: 800;
            color: rgba(205, 145, 61, 1);
            display: block;
        }

        .credential-text {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 600;
        }

        /* Enhanced Books Section */
        .books {
            padding: 6rem 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .book-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--shadow-light);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .book-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(205, 145, 61, 0.05), transparent);
            transition: left 0.5s ease;
        }

        .book-card:hover::before {
            left: 100%;
        }

        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        }

        .book-cover {
            position: relative;
            width: 200px;
            height: 260px;
            margin-bottom: 2rem;
            transition: var(--transition);
            perspective: 1000px;
        }

        .book-card:hover .book-cover {
            transform: rotateY(-15deg) rotateX(5deg);
        }

        .book-front {
            width: 200px;
            height: 260px;
            background: var(--primary-gradient);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 2rem 1.5rem;
            color: white;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transition: var(--transition);
        }

        .book-front-2 {
            background: var(--accent-gradient);
        }

        .book-front-3 {
            background: linear-gradient(135deg, rgba(205, 145, 61, 1) 0%, rgba(205, 145, 61, 0.7) 100%);
        }

        .book-title {
            font-size: 1.3rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.2;
        }

        .book-subtitle {
            font-size: 1rem;
            opacity: 0.9;
            margin-top: 0.5rem;
            font-weight: 500;
        }

        .book-author {
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .bestseller-badge {
            position: absolute;
            top: -10px;
            right: -10px;
            background: rgba(205, 145, 61, 1);
            color: white;
            font-size: 0.7rem;
            padding: 0.5rem 0.8rem;
            border-radius: 20px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            transform: rotate(15deg);
            box-shadow: 0 5px 15px rgba(205, 145, 61, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: rotate(15deg) scale(1); }
            50% { transform: rotate(15deg) scale(1.05); }
        }

        .book-info h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 700;
        }

        .book-info p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }

        .book-features {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .feature {
            background: rgba(205, 145, 61, 0.1);
            color: rgba(205, 145, 61, 1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(205, 145, 61, 0.2);
        }

        .feature i {
            margin-right: 0.5rem;
        }

        .book-btn {
            background: var(--accent-gradient);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .book-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(205, 145, 61, 0.4);
        }

        /* Enhanced Services Section */
        .services {
            padding: 6rem 0;
            background: white;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .service-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: var(--shadow-light);
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-gradient);
            transform: scaleX(0);
            transition: transform var(--animation-normal) ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: var(--accent-gradient);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            color: white;
            transition: var(--transition);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .service-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 700;
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 1.05rem;
        }

        /* Events Section */
        .events {
            padding: 6rem 0;
            background: var(--bg-dark);
            color: white;
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .event-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            padding: 2.5rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .event-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
            transition: left 0.6s ease;
        }

        .event-card:hover::before {
            left: 100%;
        }

        .event-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 20px 40px rgba(205, 145, 61, 0.2);
        }

        .event-date {
            color: rgba(205, 145, 61, 1);
            font-weight: 700;
            margin-bottom: 0.8rem;
            font-size: 1rem;
        }

        .event-title {
            font-size: 1.6rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .event-register {
            background: var(--accent-gradient);
            color: white;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            margin-top: 1.5rem;
            transition: var(--transition);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .event-register:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(205, 145, 61, 0.4);
        }

        /* Testimonials Section */
        .testimonials {
            padding: 6rem 0;
            background: var(--bg-light);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .testimonial-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: var(--shadow-light);
            transition: var(--transition);
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: -10px;
            left: 20px;
            font-size: 4rem;
            color: rgba(205, 145, 61, 1);
            font-weight: 800;
            opacity: 0.3;
        }
/* Event Modal Styles */
.event-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.event-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(205, 145, 61, 0.3);
    color: white;
}

.event-modal-close {
    color: rgba(205, 145, 61, 1);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.event-modal-close:hover {
    color: white;
}

.events-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(205, 145, 61, 0.3);
    border-top: 3px solid rgba(205, 145, 61, 1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Event Cards */
.event-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.event-card:hover::before {
    left: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(205, 145, 61, 0.2);
}

.event-date {
    color: rgba(205, 145, 61, 1);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.event-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.event-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.event-detail-item i {
    color: rgba(205, 145, 61, 1);
    width: 16px;
}

.event-highlight {
    color: rgba(205, 145, 61, 1);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-register {
    background: linear-gradient(135deg, rgba(205, 145, 61, 1) 0%, rgba(205, 145, 61, 0.8) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.event-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(205, 145, 61, 0.4);
}

.event-capacity {
    background: rgba(205, 145, 61, 0.2);
    color: rgba(205, 145, 61, 1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .event-modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-heavy);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 1.05rem;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .lms-login-btn {
            background: transparent;
            color: white;
            border: 2px solid rgba(205, 145, 61, 1);
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .lms-login-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(205, 145, 61, 1);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .lms-login-btn:hover::before {
            left: 0;
        }

        .hero-cta-lms {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(205, 145, 61, 1);
            color: rgba(205, 145, 61, 1);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            backdrop-filter: blur(10px);
        }

        .hero-cta-lms:hover {
            background: rgba(205, 145, 61, 1);
            color: white;
            border-color: rgba(205, 145, 61, 1);
        }

        .lms-login-btn:hover {
            color: white;
            border-color: rgba(205, 145, 61, 1);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(205, 145, 61, 0.3);
        }

        .testimonial-info h4 {
            color: var(--text-primary);
            font-weight: 600;
            margin-bottom: 0.2rem;
        }

        .testimonial-info span {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        /* Social Media Section */
        .social {
            padding: 6rem 0;
            background: white;
            text-align: center;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 3rem;
        }

        .social-icon {
            width: 70px;
            height: 70px;
            background: var(--accent-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.8rem;
            position: relative;
            overflow: hidden;
        }

        .social-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .social-icon:hover::before {
            transform: translateX(100%);
        }

        .social-icon:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 30px rgba(205, 145, 61, 0.3);
        }

        /* Contact Section */
        .contact {
            padding: 6rem 0;
            background: var(--bg-dark);
            color: white;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info h3 {
            margin-bottom: 1.5rem;
            color: rgba(205, 145, 61, 1);
            font-size: 1.5rem;
            font-weight: 700;
        }

        .contact-info p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
            line-height: 1.7;
            font-size: 1.05rem;
        }

        .contact-details {
            margin-top: 2.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            transition: var(--transition);
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--accent-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.8rem;
            color: rgba(205, 145, 61, 1);
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: rgba(205, 145, 61, 1);
            background: rgba(255, 255, 255, 0.15);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .submit-btn {
            background: var(--accent-gradient);
            color: white;
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            width: 100%;
            transition: var(--transition);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(205, 145, 61, 0.4);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Enhanced Footer */
        .footer {
            background: #0a0a0a;
            color: white;
            padding: 2rem 0 1rem 0;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3 {
            color: rgba(205, 145, 61, 1);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .footer-section p {
            color: #ccc;
            line-height: 1.7;
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.8rem;
        }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-section ul li a:hover {
            color: rgba(205, 145, 61, 1);
            transform: translateX(5px);
        }

        .footer-social {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .footer-social-icon {
            width: 45px;
            height: 45px;
            background: var(--accent-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.3rem;
        }

        .footer-social-icon:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 20px rgba(205, 145, 61, 0.3);
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 20px;
            text-align: center;
            color: #999;
        }

        .footer-bottom p {
            margin-bottom: 0.8rem;
        }
.developer-credit{
      color: rgba(205, 145, 61, 1);
}
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #999;
            text-decoration: none;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: rgba(205, 145, 61, 1);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            z-index: 1000;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(205, 145, 61, 0.3);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            :root {
                --header-height: 70px;
            }

            .nav-menu {
                position: fixed;
                top: var(--header-height);
                left: -100%;
                width: 100%;
                height: calc(100vh - var(--header-height));
                background: rgba(0, 0, 0, 0.95);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 2rem;
                transition: left var(--animation-normal) ease;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                margin: 1rem 0;
            }

            .mobile-menu-toggle {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-cta-group {
                flex-direction: column;
                align-items: center;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }

            .contact-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .social-icons {
                flex-wrap: wrap;
                gap: 1.5rem;
            }

            .events-grid,
            .books-grid,
            .services-grid,
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .trust-content {
                flex-direction: column;
                gap: 1.5rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .footer-social {
                justify-content: center;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Performance Optimization */
        img {
            max-width: 100%;
            height: auto;
            loading: lazy;
        }

        /* Print Styles */
        @media print {
            .header,
            .back-to-top,
            .loading-spinner {
                display: none;
            }
        }