
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --navy: #0A1929;
            --royal-purple: #4A148C;
            --deep-blue: #1A2332;
            --gold: #D4AF37;
            --light-gold: #F4E4C1;
            --cream: #FFF8E7;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background: var(--cream);
            color: #1a1a1a;
            overflow-x: hidden;
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(10, 25, 41, 0.95);
            backdrop-filter: blur(10px);
            padding: 15px 0;
            z-index: 1000;
            border-bottom: 2px solid var(--gold);
            animation: slideDown 0.5s ease-out;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }

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

        .nav-container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .nav-logo img {
            height: 50px;
            width: auto;
        }

        .nav-logo-text {
            font-family: 'Cinzel', serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 35px;
            list-style: none;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--gold);
        }

        .nav-cta {
            background: linear-gradient(135deg, var(--gold), #F0C674);
            color: var(--navy) !important;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            transition: all 0.3s ease;
            white-space: nowrap;
            cursor: pointer;
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
        }

        .nav-cta::after {
            display: none;
        }

        .sign-in-btn {
            background: transparent;
            border: 2px solid var(--gold);
            color: var(--gold) !important;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 600;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .sign-in-btn:hover {
            background: var(--gold);
            color: var(--navy) !important;
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            min-height: 90vh;
            background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                linear-gradient(45deg, rgba(212, 175, 55, 0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(212, 175, 55, 0.05) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(212, 175, 55, 0.05) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(212, 175, 55, 0.05) 75%);
            background-size: 60px 60px;
            opacity: 0.3;
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 80px 40px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            animation: fadeInLeft 1s ease-out;
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

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

        .hero-content h1 {
            font-family: 'Cinzel', serif;
            font-size: 4rem;
            font-weight: 800;
            color: var(--gold);
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
        }

        .hero-tagline {
            font-size: 1.8rem;
            color: white;
            margin-bottom: 10px;
            font-weight: 600;
            font-family: 'Lora', serif;
        }

        .hero-subtagline {
            font-size: 1.3rem;
            color: var(--light-gold);
            margin-bottom: 40px;
            font-style: italic;
        }

        .hero-stats {
            display: flex;
            gap: 50px;
            margin-bottom: 40px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-family: 'Cinzel', serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--gold);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-cta-buttons {
            display: flex;
            gap: 20px;
        }

        .btn {
            padding: 16px 35px;
            border-radius: 30px;
            font-size: 1.05rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--gold), #F0C674);
            color: var(--navy);
            box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--navy);
        }

        .hero-image {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeInRight 1s ease-out;
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

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

        .logo-showcase {
            width: 450px;
            height: 450px;
            position: relative;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-20px);
            }
        }

        .logo-showcase img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6));
        }

        /* Ornamental Divider */
        .section-divider {
            text-align: center;
            margin: 60px 0;
            position: relative;
        }

        .section-divider::before,
        .section-divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 35%;
            height: 2px;
            background: linear-gradient(to right, transparent, var(--gold), transparent);
        }

        .section-divider::before {
            left: 0;
        }

        .section-divider::after {
            right: 0;
        }

        .divider-ornament {
            display: inline-block;
            color: var(--gold);
            font-size: 28px;
        }

        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* Section Styling */
        section {
            padding: 100px 0;
        }

        .section-title {
            font-family: 'Cinzel', serif;
            font-size: 3.5rem;
            font-weight: 700;
            text-align: center;
            color: var(--navy);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.3rem;
            color: #555;
            margin-bottom: 60px;
            font-style: italic;
        }

        /* Philosophy Section */
        .philosophy-section {
            background: linear-gradient(135deg, rgba(10, 25, 41, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
        }

        .philosophy-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .philosophy-card {
            background: white;
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            border-top: 4px solid var(--gold);
        }

        .philosophy-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(74, 20, 140, 0.2);
        }

        .philosophy-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 25px;
            background: linear-gradient(135deg, var(--navy), var(--royal-purple));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
        }

        .philosophy-card h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            color: var(--navy);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .philosophy-card p {
            font-size: 1rem;
            line-height: 1.7;
            color: #555;
        }

        /* Courses Section */
        .courses-section {
            background: var(--cream);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .course-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            border: 3px solid transparent;
        }

        .course-card:hover {
            transform: translateY(-10px);
            border-color: var(--gold);
            box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
        }

        .course-header {
            background: linear-gradient(135deg, var(--navy), var(--deep-blue));
            padding: 30px;
            text-align: center;
            position: relative;
        }

        .course-icon {
            font-size: 3.5rem;
            margin-bottom: 15px;
        }

        .course-header h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.7rem;
            color: var(--gold);
            font-weight: 600;
        }

        .course-body {
            padding: 30px;
        }

        .course-body p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
        }

        .course-features {
            list-style: none;
            margin-bottom: 20px;
        }

        .course-features li {
            padding: 8px 0;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .course-features li::before {
            content: '✓';
            color: var(--gold);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Why Chess Section */
        .why-chess-section {
            background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
            color: white;
        }

        .why-chess-section .section-title {
            color: var(--gold);
        }

        .why-chess-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .why-chess-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 40px 30px;
            border-radius: 20px;
            text-align: center;
            border: 2px solid rgba(212, 175, 55, 0.3);
            transition: all 0.4s ease;
        }

        .why-chess-card:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--gold);
            transform: scale(1.05);
        }

        .why-chess-icon {
            font-size: 3.5rem;
            margin-bottom: 20px;
        }

        .why-chess-card h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.6rem;
            color: var(--gold);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .why-chess-card p {
            font-size: 1.05rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Coaches Section */
        .coaches-section {
            background: linear-gradient(135deg, rgba(10, 25, 41, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
        }

        .coaches-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
            margin-top: 60px;
        }

        .coach-card {
            background: white;
            border-radius: 25px;
            padding: 50px 40px;
            text-align: center;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .coach-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(to right, var(--navy), var(--gold));
        }

        .coach-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
        }

        .coach-avatar {
            width: 150px;
            height: 150px;
            margin: 0 auto 30px;
            background: linear-gradient(135deg, var(--navy), var(--gold));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        }

        .coach-card h3 {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            color: var(--navy);
            margin-bottom: 15px;
            font-weight: 700;
        }

        .coach-rating {
            font-size: 1.3rem;
            color: var(--gold);
            font-weight: 600;
            margin-bottom: 15px;
        }

        .fide-badge {
            display: inline-block;
            background: var(--navy);
            color: var(--gold);
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 700;
            margin-top: 15px;
            letter-spacing: 1px;
        }

        /* Testimonials Section */
        .testimonials-section {
            background: var(--cream);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .testimonial-card {
            background: white;
            padding: 45px;
            border-radius: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            border-left: 6px solid var(--gold);
        }

        .quote-icon {
            position: absolute;
            top: 25px;
            right: 35px;
            font-size: 5rem;
            color: rgba(212, 175, 55, 0.15);
            font-family: Georgia, serif;
        }

        .testimonial-text {
            font-size: 1.15rem;
            line-height: 1.9;
            color: #555;
            margin-bottom: 30px;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--navy), var(--gold));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.4rem;
        }

        .author-info h4 {
            font-family: 'Cinzel', serif;
            font-size: 1.3rem;
            color: var(--navy);
            font-weight: 600;
            margin-bottom: 5px;
        }

        .author-info p {
            font-size: 0.95rem;
            color: #777;
        }

        .rating-stars {
            color: var(--gold);
            font-size: 1.1rem;
            margin-top: 5px;
        }

        /* FAQ Section */
        .faq-section {
            background: linear-gradient(135deg, rgba(10, 25, 41, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
        }

        .faq-container {
            max-width: 1000px;
            margin: 60px auto 0;
        }

        .faq-item {
            background: white;
            margin-bottom: 20px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--gold);
        }

        .faq-question {
            background: var(--navy);
            color: white;
            padding: 25px 35px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: var(--deep-blue);
        }

        .faq-question h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .faq-toggle {
            font-size: 1.8rem;
            color: var(--gold);
            font-weight: bold;
            transition: transform 0.3s ease;
        }

        .faq-answer {
            padding: 30px 35px;
            font-size: 1.1rem;
            line-height: 1.9;
            color: #555;
            background: var(--light-gold);
            display: none;
        }

        /* Events Section */
        .events-section {
            background: var(--cream);
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .event-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
        }

        .event-date {
            background: linear-gradient(135deg, var(--navy), var(--gold));
            padding: 25px;
            text-align: center;
            color: white;
        }

        .event-day {
            font-size: 3rem;
            font-weight: 700;
            font-family: 'Cinzel', serif;
            line-height: 1;
        }

        .event-month {
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .event-content {
            padding: 30px;
        }

        .event-content h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            color: var(--navy);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .event-content p {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #555;
            margin-bottom: 20px;
        }

        .event-time {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--gold);
            font-weight: 600;
        }

        /* Newsletter Section */
        .newsletter-section {
            background: linear-gradient(135deg, rgba(10, 25, 41, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
        }

        .newsletter-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .newsletter-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            border-top: 5px solid var(--gold);
        }

        .newsletter-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(74, 20, 140, 0.2);
        }

        .newsletter-image {
            width: 100%;
            height: 220px;
            background: linear-gradient(135deg, var(--navy), var(--gold));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4.5rem;
            color: white;
        }

        .newsletter-content {
            padding: 35px;
        }

        .newsletter-date {
            color: var(--gold);
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .newsletter-content h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.6rem;
            color: var(--navy);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .newsletter-content p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 25px;
        }

        .read-more {
            display: inline-block;
            color: var(--navy);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 2px solid var(--gold);
            padding-bottom: 5px;
            transition: all 0.3s ease;
        }

        .read-more:hover {
            color: var(--gold);
            border-bottom-color: var(--navy);
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            margin-bottom: 50px;
        }

        .footer-about h3 {
            font-family: 'Cinzel', serif;
            font-size: 1.8rem;
            color: var(--gold);
            margin-bottom: 20px;
        }

        .footer-about p {
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 25px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: rgba(212, 175, 55, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gold);
            font-size: 1.3rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--gold);
            color: var(--navy);
            transform: translateY(-3px);
        }

        .footer-links h4 {
            font-family: 'Cinzel', serif;
            font-size: 1.3rem;
            color: var(--gold);
            margin-bottom: 20px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--gold);
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
        }

        /* WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #25D366;
            color: white;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
            cursor: pointer;
            z-index: 999;
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
            }

            50% {
                box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
            }
        }

        /* Popup Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            animation: fadeIn 0.3s ease-out;
        }

        .modal-content {
            position: relative;
            background: white;
            margin: 3% auto;
            max-width: 550px;
            border-radius: 25px;
            overflow-y: auto;
            max-height: 90vh;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.4s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

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

        .modal-header {
            background: linear-gradient(135deg, var(--navy), var(--gold));
            color: white;
            padding: 35px;
            text-align: center;
        }

        .modal-header h2 {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .modal-header p {
            font-size: 1.05rem;
            opacity: 0.9;
        }

        .close {
            position: absolute;
            right: 20px;
            top: 20px;
            color: white;
            font-size: 2.5rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .close:hover {
            transform: rotate(90deg);
            color: var(--gold);
        }

        .modal-body {
            padding: 40px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            font-weight: 600;
            color: var(--navy);
            margin-bottom: 10px;
            font-size: 1rem;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 1rem;
            font-family: 'Montserrat', sans-serif;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
        }

        .form-submit {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--gold), #F0C674);
            color: var(--navy);
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            /* Enable flex for centering content */
            justify-content: center;
            align-items: center;
        }

        .form-submit:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }

        .spinner {
            border: 3px solid rgba(0, 0, 0, 0.1);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border-left-color: var(--navy);
            animation: spin 1s linear infinite;
            margin-right: 10px;
            display: none;
            /* Hidden by default */
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }

        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
        }

        .whatsapp-option {
            text-align: center;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 2px solid #f0f0f0;
        }

        .whatsapp-option p {
            color: #777;
            margin-bottom: 15px;
        }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: #25D366;
            color: white;
            padding: 14px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .whatsapp-btn:hover {
            background: #128C7E;
            transform: scale(1.05);
        }

        /* Success Message */
        .success-message {
            display: none;
            background: white;
            /* Match modal background */
            color: var(--navy);
            /* Use navy text */
            padding: 30px;
            border-radius: 10px;
            margin-top: 20px;
            text-align: center;
            font-weight: 500;
            border: 2px solid var(--gold);
            /* Gold border for premium look */
            animation: fadeIn 0.5s ease-out;
        }

        .success-icon {
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 15px;
            display: block;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-content h1 {
                font-size: 3rem;
            }

            .logo-showcase {
                width: 350px;
                height: 350px;
            }

            .philosophy-grid,
            .courses-grid,
            .why-chess-grid,
            .coaches-grid,
            .events-grid,
            .newsletter-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero {
                min-height: auto;
                padding: 120px 0 60px;
            }

            .hero-container {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 0 20px;
                text-align: center;
            }

            .hero-content h1 {
                font-size: 2.5rem;
                margin-bottom: 15px;
            }

            .hero-tagline {
                font-size: 1.4rem;
            }

            .hero-subtagline {
                font-size: 1.1rem;
            }

            .hero-content {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            /* Hide the duplicate title if it exists, or ensure main title is styled correctly */
            /* Assuming the double title issue might be from a separate mobile-only element not seen yet, 
               but centering and sizing the main one is key. */

            .section-title {
                font-size: 2.2rem;
            }

            .philosophy-grid,
            .courses-grid,
            .why-chess-grid,
            .coaches-grid,
            .testimonials-grid,
            .events-grid,
            .newsletter-grid,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .hero-stats {
                flex-direction: column;
                gap: 20px;
                justify-content: center;
            }

            .hero-cta-buttons {
                flex-direction: column;
                width: 100%;
                gap: 15px;
            }

            .btn {
                width: 100%;
                text-align: center;
            }

            .logo-showcase {
                width: 300px;
                height: 300px;
                margin: 0 auto;
            }
        }

        /* Mobile Sticky Button */
        .mobile-sticky-btn {
            display: none;
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 400px;
            background: linear-gradient(135deg, var(--gold), #B8860B);
            color: var(--navy);
            padding: 15px 0;
            border-radius: 50px;
            text-align: center;
            font-weight: 700;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            z-index: 9999;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease;
            text-decoration: none;
        }

        .mobile-sticky-btn:hover {
            transform: translateX(-50%) translateY(-2px);
        }

        @media (max-width: 768px) {
            .mobile-sticky-btn {
                display: block;
            }

            /* Adjust footer padding for sticky button */
            footer {
                padding-bottom: 80px;
            }
        }
    
/* ==========================================
   IMPERIAL CHESS ACADEMY ADDITIONAL STYLES
   ========================================== */

/* Dark Mode Variables */
body.dark-mode {
    --cream: #050E17;
    --navy: #0B1D30;
    --deep-blue: #0A1420;
    background: #050E17 !important;
    color: #E6EEF8 !important;
}

body.dark-mode p, 
body.dark-mode span:not(.stat-number):not(.nav-cta), 
body.dark-mode li,
body.dark-mode td,
body.dark-mode h4,
body.dark-mode .section-subtitle {
    color: #B0C4DE !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode th {
    color: #F4E4C1 !important;
}

body.dark-mode .philosophy-card,
body.dark-mode .course-card,
body.dark-mode .coach-card,
body.dark-mode .testimonial-card,
body.dark-mode .faq-item,
body.dark-mode .event-card,
body.dark-mode .newsletter-card,
body.dark-mode .modal-content,
body.dark-mode .premium-card {
    background: #0B1D30 !important;
    color: #E6EEF8 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background: #071321 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
}

/* Floating WhatsApp Widget Styles */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: none;
    text-decoration: none;
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0A1929;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.whatsapp-bubble {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 250px;
    background: rgba(10, 25, 41, 0.95);
    border: 2px solid #D4AF37;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-bubble p {
    color: #ffffff !important;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.whatsapp-bubble .close-bubble {
    position: absolute;
    top: 5px;
    right: 8px;
    color: #D4AF37;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

/* Common Layout Elements */
.page-header {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.page-header h1 {
    font-family: "Cinzel", serif;
    color: var(--gold);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-style: italic;
}

.dark-mode-toggle-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dark-mode-toggle-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Dashboard Portal Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.dashboard-sidebar {
    width: 260px;
    background: var(--navy);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.dashboard-main {
    flex-grow: 1;
    padding: 40px;
    background: var(--cream);
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-link.active, .sidebar-link:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold) !important;
    border-left: 4px solid var(--gold);
}

.portal-role-banner {
    background: linear-gradient(135deg, var(--gold) 0%, #F0C674 100%);
    color: var(--navy);
    padding: 15px 30px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.role-switcher-select {
    background: var(--navy);
    color: var(--gold);
    border: 1px solid var(--navy);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.metric-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    font-family: "Cinzel", serif;
}

.metric-sub {
    font-size: 0.8rem;
    color: #27ae60;
    font-weight: 500;
}

/* Premium Tables */
.table-responsive {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

body.dark-mode .table-responsive {
    background: #0B1D30 !important;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.premium-table th {
    background: rgba(10, 25, 41, 0.05);
    padding: 18px 24px;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

body.dark-mode .premium-table th {
    background: rgba(255, 255, 255, 0.03);
}

.premium-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.95rem;
}

body.dark-mode .premium-table td {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.premium-table tr:hover {
    background: rgba(212, 175, 55, 0.03);
}

.badge-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.badge-warning { background: rgba(243, 156, 18, 0.15); color: #f39c12; }
.badge-info { background: rgba(41, 128, 185, 0.15); color: #2980b9; }

/* Practice Arena Chessboard */
.chessboard-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
}

.chessboard-grid {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    border: 8px solid var(--navy);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    user-select: none;
}

.chess-square {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.square-light { background: #FFF8E7; }
.square-dark { background: #1A2332; }

.chess-piece {
    width: 85%;
    height: 85%;
    cursor: grab;
    transition: transform 0.1s ease;
    z-index: 10;
}

.chess-piece:active {
    cursor: grabbing;
}

.chess-square.correct-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(46, 204, 113, 0.4);
    border: 3px solid #2ecc71;
    pointer-events: none;
    z-index: 2;
}

.chess-square.wrong-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(231, 76, 60, 0.4);
    border: 3px solid #e74c3c;
    pointer-events: none;
    z-index: 2;
}

.side-panel {
    width: 400px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.dark-mode .side-panel {
    background: #0B1D30 !important;
}

.puzzle-btn {
    background: var(--navy);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.puzzle-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Certificate Generator Preview */
.certificate-preview-container {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    background: #FFF8E7;
    border: 15px double var(--gold);
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    font-family: "Lora", serif;
    color: var(--navy);
}

.certificate-preview-container h2 {
    font-family: "Cinzel", serif;
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.certificate-preview-container .cert-subtitle {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 30px;
}

.cert-student-name {
    font-family: "Cinzel", serif;
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding: 0 30px 10px 30px;
    margin: 20px 0;
}

/* Achievement Badges Grid */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.badge-item {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    background: rgba(10, 25, 41, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .badge-item {
    background: rgba(255, 255, 255, 0.02);
}

.badge-item.locked {
    filter: grayscale(100%);
    opacity: 0.5;
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.badge-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}
body.dark-mode .badge-title {
    color: var(--gold) !important;
}

.badge-desc {
    font-size: 0.7rem;
    color: #777;
}

/* Blog Filter Styles */
.blog-filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 45px;
}

.blog-search-input {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: #ffffff;
    width: 250px;
    outline: none;
}

.blog-tag-filter {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--navy);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

body.dark-mode .blog-tag-filter {
    color: var(--gold) !important;
}

.blog-tag-filter.active, .blog-tag-filter:hover {
    background: var(--gold);
    color: var(--navy) !important;
}

/* Drag Uploader */
.drag-uploader-area {
    border: 3px dashed rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

.drag-uploader-area:hover, .drag-uploader-area.dragover {
    background: rgba(212, 175, 55, 0.08);
}

/* Founder Section Card styles */
.founder-card-premium {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: rgba(10, 25, 41, 0.85);
    border: 2px solid var(--gold);
    border-radius: 30px;
    padding: 50px;
    margin-top: 40px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    color: white;
}

.founder-image-wrapper {
    flex: 1;
    max-width: 350px;
    min-width: 250px;
    position: relative;
    text-align: center;
}

.founder-avatar-svg {
    background: linear-gradient(135deg, var(--deep-blue), var(--navy));
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.founder-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
}

.founder-details {
    flex: 2;
    text-align: left;
}

.founder-details h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.founder-title {
    font-style: italic;
    color: var(--light-gold);
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.founder-ratings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.founder-rating-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.rating-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--light-gold);
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.rating-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin-top: 5px;
}

.founder-bio {
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .founder-card-premium {
        flex-direction: column;
        padding: 30px;
    }
    
    .founder-image-wrapper {
        margin-bottom: 30px;
        width: 100%;
        max-width: 280px;
    }
    
    .founder-details {
        text-align: center;
    }
    
    .founder-ratings-grid {
        gap: 10px;
    }
    
    .rating-value {
        font-size: 1.3rem;
    }
}
