 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-red: #8B0000;
            --bright-red: #DC143C;
            --white: #FFFFFF;
            --off-white: #F8F8F8;
            --dark: #1A1A1A;
            --gray: #666666;
            --gold: #FFD700;
            --light-red: #FFE5E5;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark);
            overflow-x: hidden;
            background: #f0f0f0;
        }

        /* Particle Canvas */
        #celebration-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
        }

        /* Video Background */
        .video-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .video-background video {
            min-width: 100%;
            min-height: 100%;
            object-fit: cover;
            opacity: 0.15;
        }

        .video-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(139,0,0,0.05) 0%, rgba(255,255,255,0.95) 100%);
            z-index: -1;
        }

        /* Enhanced Book Animation */
        .book-container {
            position: fixed;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            animation: dropBook 2s ease-out forwards;
            animation-delay: 0.5s;
            perspective: 1000px;
        }

        @keyframes dropBook {
            0% { top: -100%; transform: translateX(-50%) rotate(-10deg) rotateY(-20deg); }
            60% { top: 20%; transform: translateX(-50%) rotate(5deg) rotateY(10deg); }
            80% { top: 18%; transform: translateX(-50%) rotate(-2deg) rotateY(-5deg); }
            100% { top: 20%; transform: translateX(-50%) rotate(0deg) rotateY(0deg); }
        }

        .book {
            width: 320px;
            height: 420px;
            background: linear-gradient(45deg, var(--primary-red) 0%, var(--bright-red) 100%);
            border-radius: 10px 25px 25px 10px;
            box-shadow: 
                0 25px 80px rgba(0,0,0,0.5),
                inset 0 0 0 10px rgba(255,255,255,0.1),
                0 0 0 1px rgba(255,255,255,0.2);
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 30px;
            border-left: 15px solid rgba(0,0,0,0.2);
            transform-style: preserve-3d;
            transition: transform 0.6s;
        }

        .book:hover {
            transform: rotateY(10deg) rotateX(5deg);
        }

        .book::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: rgba(255,255,255,0.3);
        }

        .book-logo {
            width: 110px;
            height: 110px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
            to { box-shadow: 0 15px 60px rgba(255,215,0,0.6); }
        }

        .book-logo img {
            width: 80%;
            height: 80%;
            object-fit: contain;
        }

        .book h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            background: linear-gradient(to right, #fff, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .book p {
            font-size: 0.95rem;
            opacity: 0.95;
        }

        .close-book {
            position: absolute;
            top: -40px;
            right: -40px;
            width: 45px;
            height: 45px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--primary-red);
            font-size: 1.3rem;
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
            transition: all 0.3s;
            border: 3px solid var(--primary-red);
        }

        .close-book:hover {
            transform: rotate(90deg) scale(1.1);
            background: var(--primary-red);
            color: white;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            z-index: 1000;
            transition: all 0.3s;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-img {
            width: 55px;
            height: 55px;
            background: var(--primary-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            animation: pulse-logo 2s infinite;
        }

        @keyframes pulse-logo {
            0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139,0,0,0.4); }
            50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(139,0,0,0.4); }
        }

        .logo-img img {
            width: 80%;
            height: 80%;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }

        .logo-text h2 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-red);
            font-size: 1.6rem;
            line-height: 1.2;
        }

        .logo-text span {
            font-size: 0.85rem;
            color: var(--gray);
            letter-spacing: 2px;
        }

        .nav-links {
            display: flex;
            gap: 35px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            position: relative;
            transition: all 0.3s;
            padding: 5px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-red), var(--gold));
            transition: width 0.3s;
            border-radius: 2px;
        }

        .nav-links a:hover {
            color: var(--primary-red);
            transform: translateY(-2px);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            color: var(--primary-red);
            cursor: pointer;
            transition: transform 0.3s;
        }

        .mobile-menu:hover {
            transform: rotate(90deg);
        }

        /* Hero Section with Parallax */
        .hero {
            margin-top: 80px;
            min-height: 95vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 50px 5%;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(139,0,0,0.1) 0%, transparent 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: pulse-bg 4s ease-in-out infinite;
        }

        @keyframes pulse-bg {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
            50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            font-family: 'Playfair Display', serif;
            font-size: 4.5rem;
            color: var(--primary-red);
            margin-bottom: 25px;
            animation: fadeInUp 1s ease;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 1.4rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto 35px;
            animation: fadeInUp 1s ease 0.2s both;
            line-height: 1.6;
        }

        .hero-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            padding: 12px 35px;
            border-radius: 50px;
            font-weight: 600;
            margin-bottom: 35px;
            animation: fadeInUp 1s ease 0.4s both;
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
            position: relative;
            overflow: hidden;
        }

        .hero-badge::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: rotate(45deg);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .hero-buttons {
            display: flex;
            gap: 25px;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease 0.6s both;
        }

        .btn {
            padding: 16px 45px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.4s;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
            font-size: 1.05rem;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 20px 50px rgba(139,0,0,0.4);
        }

        .btn-outline {
            border: 3px solid var(--primary-red);
            color: var(--primary-red);
            background: transparent;
        }

        .btn-outline:hover {
            background: var(--primary-red);
            color: white;
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 40px rgba(139,0,0,0.3);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Section Styles */
        section {
            padding: 100px 5%;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
        }

        .section-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            color: var(--primary-red);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
            border-radius: 2px;
        }

        .section-header p {
            color: var(--gray);
            font-size: 1.2rem;
            max-width: 600px;
            margin: 20px auto 0;
        }

        /* About Section */
        .about {
            background: rgba(255,255,255,0.95);
            border-radius: 40px;
            margin: 50px auto;
            box-shadow: 0 30px 80px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .about::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(139,0,0,0.05) 0%, transparent 70%);
            border-radius: 50%;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .about-image {
            position: relative;
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.5s;
        }

        .about-image:hover {
            transform: perspective(1000px) rotateY(0deg) scale(1.02);
        }

        .about-image img {
            width: 100%;
            border-radius: 25px;
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }

        .experience-badge {
            position: absolute;
            bottom: -30px;
            right: -30px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            box-shadow: 0 15px 40px rgba(139,0,0,0.4);
            animation: float 3s ease-in-out infinite;
            border: 5px solid white;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-15px); }
        }

        .experience-badge span {
            font-size: 3rem;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .experience-badge small {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .about-text h3 {
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 25px;
            font-family: 'Playfair Display', serif;
        }

        .about-text p {
            color: var(--gray);
            line-height: 1.9;
            margin-bottom: 25px;
            font-size: 1.05rem;
        }

        .features-list {
            list-style: none;
            margin-top: 40px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .features-list li {
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            background: rgba(139,0,0,0.05);
            border-radius: 12px;
            transition: all 0.3s;
            border-left: 4px solid var(--primary-red);
        }

        .features-list li:hover {
            transform: translateX(10px);
            background: rgba(139,0,0,0.1);
            box-shadow: 0 5px 20px rgba(139,0,0,0.1);
        }

        .features-list i {
            color: var(--primary-red);
            font-size: 1.3rem;
            width: 30px;
            text-align: center;
        }

        /* Services Section */
        .services {
            background: transparent;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
        }

        .service-card {
            background: white;
            border-radius: 25px;
            padding: 50px 35px;
            text-align: center;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
            transition: all 0.5s;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139,0,0,0.1), transparent);
            transition: left 0.7s;
        }

        .service-card:hover::before {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-15px) scale(1.02);
            border-color: var(--primary-red);
            box-shadow: 0 25px 70px rgba(139,0,0,0.2);
        }

        .service-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
            font-size: 2.5rem;
            box-shadow: 0 15px 40px rgba(139,0,0,0.3);
            transition: all 0.4s;
            position: relative;
        }

        .service-card:hover .service-icon {
            transform: rotateY(360deg) scale(1.1);
            box-shadow: 0 20px 50px rgba(139,0,0,0.4);
        }

        .service-icon::after {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            border: 3px dashed var(--gold);
            animation: spin 10s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .service-card h3 {
            font-size: 1.8rem;
            color: var(--dark);
            margin-bottom: 20px;
            font-weight: 600;
        }

        .service-card p {
            color: var(--gray);
            line-height: 1.7;
            font-size: 1.05rem;
        }

        .class-tags {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .tag {
            background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(220,20,60,0.1) 100%);
            color: var(--primary-red);
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.3s;
            border: 2px solid transparent;
        }

        .tag:hover {
            background: var(--primary-red);
            color: white;
            transform: translateY(-3px);
            border-color: var(--gold);
            box-shadow: 0 5px 15px rgba(139,0,0,0.3);
        }

        /* Enhanced Toppers Section with Celebration */
        .toppers {
            background: rgba(255,255,255,0.95);
            border-radius: 40px;
            margin: 50px auto;
            position: relative;
            overflow: hidden;
        }

        .toppers::before {
            content: '🏆';
            position: absolute;
            font-size: 20rem;
            opacity: 0.03;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
        }

        .toppers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            perspective: 1000px;
        }

        .topper-card {
            background: white;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0,0,0,0.1);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            cursor: pointer;
            transform-style: preserve-3d;
        }

        .topper-card:hover {
            transform: translateY(-20px) rotateX(5deg) scale(1.02);
            box-shadow: 0 30px 80px rgba(139,0,0,0.2);
        }

        .topper-card.celebrating {
            animation: celebrate-card 0.6s ease;
            z-index: 100;
        }

        @keyframes celebrate-card {
            0% { transform: scale(1); }
            25% { transform: scale(1.1) rotate(-3deg); }
            50% { transform: scale(1.1) rotate(3deg); }
            75% { transform: scale(1.05) rotate(-1deg); }
            100% { transform: scale(1) rotate(0); }
        }

        .topper-card::before {
            content: '🏆';
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 3rem;
            z-index: 10;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
            animation: trophy-bounce 2s infinite;
        }

        @keyframes trophy-bounce {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(10deg); }
        }

        .topper-image {
            height: 350px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        .topper-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s;
        }

        .topper-card:hover .topper-image img {
            transform: scale(1.1);
        }

        .topper-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: bold;
            z-index: 5;
            box-shadow: 0 5px 20px rgba(139,0,0,0.4);
            animation: badge-pulse 2s infinite;
        }

        @keyframes badge-pulse {
            0%, 100% { box-shadow: 0 5px 20px rgba(139,0,0,0.4); }
            50% { box-shadow: 0 5px 30px rgba(139,0,0,0.6); }
        }

        .topper-info {
            padding: 30px;
            text-align: center;
            background: white;
            position: relative;
        }

        .topper-info::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
            border-radius: 2px;
        }

        .topper-info h3 {
            color: var(--primary-red);
            font-size: 1.6rem;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .topper-info .class-info {
            color: var(--gray);
            font-size: 1rem;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .percentage {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 5px 20px rgba(139,0,0,0.3);
            position: relative;
            overflow: hidden;
        }

        .percentage::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: rotate(45deg);
            animation: shimmer 2s infinite;
        }

        .subject-tags {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .subject-tag {
            background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(220,20,60,0.1) 100%);
            color: var(--primary-red);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid rgba(139,0,0,0.2);
            transition: all 0.3s;
        }

        .subject-tag:hover {
            background: var(--primary-red);
            color: white;
            transform: translateY(-2px);
        }

        /* Sparkle Effect on Click */
        .sparkle {
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--gold);
            border-radius: 50%;
            pointer-events: none;
            animation: sparkle-anim 1s ease-out forwards;
            box-shadow: 0 0 20px var(--gold);
        }

        @keyframes sparkle-anim {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) scale(0);
                opacity: 0;
            }
        }

        /* Teachers Section */
        .teachers {
            background: transparent;
        }

        .teachers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 50px;
        }

        .teacher-card {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        .teacher-card:hover {
            transform: translateY(-20px) scale(1.03);
            box-shadow: 0 30px 80px rgba(0,0,0,0.2);
        }

        .teacher-card.featured {
            transform: scale(1.05);
            border: 3px solid var(--gold);
            box-shadow: 0 20px 60px rgba(255,215,0,0.3);
        }

        .teacher-card.featured:hover {
            transform: scale(1.08) translateY(-20px);
        }

        .teacher-card.featured::after {
            content: 'FOUNDER';
            position: absolute;
            top: 25px;
            right: -40px;
            background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
            color: var(--primary-red);
            padding: 10px 50px;
            font-size: 0.85rem;
            font-weight: bold;
            transform: rotate(45deg);
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            z-index: 10;
            letter-spacing: 2px;
        }

        .teacher-image {
            height: 380px;
            position: relative;
            overflow: hidden;
        }

        .teacher-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

        .teacher-card:hover .teacher-image img {
            transform: scale(1.15);
        }

        .teacher-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(to top, rgba(139,0,0,0.9), transparent);
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 30px;
            opacity: 0;
            transition: opacity 0.4s;
        }

        .teacher-card:hover .teacher-overlay {
            opacity: 1;
        }

        .social-icons {
            display: flex;
            gap: 20px;
        }

        .social-icons a {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-red);
            text-decoration: none;
            transition: all 0.4s;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .social-icons a:hover {
            transform: translateY(-8px) scale(1.1);
            background: var(--primary-red);
            color: white;
            box-shadow: 0 10px 25px rgba(139,0,0,0.4);
        }

        .teacher-info {
            padding: 35px;
            text-align: center;
            background: white;
        }

        .teacher-info h3 {
            color: var(--primary-red);
            font-size: 1.8rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .teacher-role {
            color: var(--bright-red);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .teacher-subject {
            color: var(--gray);
            font-size: 1.05rem;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .teacher-bio {
            color: #888;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

        .experience-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(220,20,60,0.1) 100%);
            color: var(--primary-red);
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-top: 15px;
            border: 2px solid rgba(139,0,0,0.2);
            transition: all 0.3s;
        }

        .experience-tag:hover {
            background: var(--primary-red);
            color: white;
            transform: scale(1.05);
        }

        /* Contact Section */
        .contact {
            background: rgba(255,255,255,0.95);
            border-radius: 40px;
            margin: 50px auto;
            box-shadow: 0 30px 80px rgba(0,0,0,0.1);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }

        .contact-info h3 {
            font-size: 2.2rem;
            color: var(--primary-red);
            margin-bottom: 40px;
            font-family: 'Playfair Display', serif;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 25px;
            margin-bottom: 35px;
            padding: 20px;
            background: rgba(139,0,0,0.03);
            border-radius: 15px;
            transition: all 0.4s;
            border-left: 4px solid transparent;
        }

        .contact-item:hover {
            transform: translateX(10px);
            background: rgba(139,0,0,0.08);
            border-left-color: var(--primary-red);
            box-shadow: 0 10px 30px rgba(139,0,0,0.1);
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4rem;
            flex-shrink: 0;
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
            transition: all 0.3s;
        }

        .contact-item:hover .contact-icon {
            transform: scale(1.1) rotate(10deg);
        }

        .contact-item h4 {
            color: var(--dark);
            margin-bottom: 8px;
            font-size: 1.2rem;
        }

        .contact-item p {
            color: var(--gray);
            line-height: 1.6;
            font-size: 1.05rem;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 40px;
        }

        .social-links a {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.4s;
            font-size: 1.3rem;
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
        }

        .social-links a:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 40px rgba(139,0,0,0.4);
        }

        .contact-form {
            background: white;
            padding: 50px;
            border-radius: 30px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }

        .contact-form::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-red), var(--gold), var(--primary-red));
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            color: var(--dark);
            font-weight: 600;
            font-size: 1.05rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 18px;
            border: 2px solid #e8e8e8;
            border-radius: 15px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: all 0.4s;
            background: #fafafa;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-red);
            background: white;
            box-shadow: 0 0 0 4px rgba(139,0,0,0.1);
            transform: translateY(-2px);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 140px;
        }

        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            border: none;
            border-radius: 15px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 10px 30px rgba(139,0,0,0.3);
            position: relative;
            overflow: hidden;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .submit-btn:hover::before {
            width: 500px;
            height: 500px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(139,0,0,0.4);
        }

        /* IMPROVED MIND-MAZE SECTION - Competition Theme */
        .mind-maze {
            background: linear-gradient(135deg, var(--primary-red) 0%, #5a0000 100%);
            border-radius: 40px;
            margin: 50px auto;
            position: relative;
            overflow: hidden;
            color: white;
            box-shadow: 0 30px 80px rgba(139,0,0,0.3);
        }

        .mind-maze::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.3;
        }

        .mind-maze .section-header h2 {
            color: var(--gold);
            font-size: 3.5rem;
            text-shadow: 0 0 30px rgba(255,215,0,0.3);
        }

        .mind-maze .section-header p {
            color: rgba(255,255,255,0.9);
            font-size: 1.3rem;
        }

        .competition-intro {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }

        .competition-intro > p {
            font-size: 1.2rem;
            max-width: 900px;
            margin: 0 auto 40px;
            line-height: 1.8;
            opacity: 0.95;
        }

        .competition-badge {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            background: rgba(255,255,255,0.15);
            padding: 20px 40px;
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: 600;
            border: 2px solid var(--gold);
            backdrop-filter: blur(10px);
            animation: pulse-badge 2s infinite;
        }

        @keyframes pulse-badge {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); }
            50% { box-shadow: 0 0 30px rgba(255,215,0,0.6); }
        }

        .competition-badge i {
            font-size: 2rem;
            color: var(--gold);
        }

        /* Competition Stats */
        .competition-stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 60px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }

        .competition-stat {
            text-align: center;
            padding: 30px 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s;
            min-width: 200px;
        }

        .competition-stat:hover {
            transform: translateY(-10px);
            background: rgba(255,255,255,0.2);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            border-color: var(--gold);
        }

        .competition-stat i {
            font-size: 2.5rem;
            color: var(--gold);
            margin-bottom: 15px;
            display: block;
        }

        .competition-stat span {
            font-size: 2.2rem;
            font-weight: bold;
            color: white;
            display: block;
            margin-bottom: 5px;
        }

        .competition-stat label {
            font-size: 1rem;
            color: rgba(255,255,255,0.8);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Prizes Section */
        .prizes-section {
            background: rgba(255,255,255,0.95);
            border-radius: 30px;
            padding: 50px;
            margin-bottom: 50px;
            position: relative;
            z-index: 1;
            color: var(--dark);
        }

        .prizes-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .prizes-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 10px;
        }

        .prizes-header p {
            color: var(--gray);
            font-size: 1.1rem;
        }

        .prizes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .prize-card {
            background: white;
            border-radius: 20px;
            padding: 35px;
            text-align: center;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            transition: all 0.4s;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .prize-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--gold), var(--primary-red), var(--gold));
        }

        .prize-card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: var(--gold);
            box-shadow: 0 25px 60px rgba(139,0,0,0.2);
        }

        .prize-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 2.5rem;
            color: white;
            box-shadow: 0 15px 40px rgba(139,0,0,0.3);
            position: relative;
        }

        .prize-icon::after {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            border: 3px dashed var(--gold);
            animation: spin 10s linear infinite;
        }

        .prize-position {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-red);
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .prize-value {
            font-size: 2.2rem;
            font-weight: bold;
            color: var(--dark);
            margin-bottom: 15px;
            font-family: 'Playfair Display', serif;
        }

        .prize-desc {
            color: var(--gray);
            font-size: 1rem;
            line-height: 1.6;
        }

        .prize-highlight {
            background: linear-gradient(135deg, var(--light-red) 0%, white 100%);
            border: 2px solid var(--primary-red);
            transform: scale(1.05);
        }

        .prize-highlight:hover {
            transform: scale(1.08) translateY(-10px);
        }

        .prize-highlight .prize-position {
            color: var(--bright-red);
            font-size: 1.6rem;
        }

        /* Competition Details */
        .competition-details {
            background: rgba(255,255,255,0.1);
            border-radius: 30px;
            padding: 50px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            position: relative;
            z-index: 1;
        }

        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .detail-card {
            background: rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 35px;
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s;
        }

        .detail-card:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-5px);
            border-color: var(--gold);
        }

        .detail-card h4 {
            font-size: 1.4rem;
            margin-bottom: 20px;
            color: var(--gold);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .detail-card h4 i {
            font-size: 1.6rem;
        }

        .detail-card ul {
            list-style: none;
        }

        .detail-card li {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.05rem;
        }

        .detail-card li:last-child {
            border-bottom: none;
        }

        .detail-card li i {
            color: var(--gold);
            font-size: 1.1rem;
        }

        /* Registration CTA */
        .registration-cta {
            text-align: center;
            margin-top: 50px;
            padding: 40px;
            background: rgba(255,255,255,0.15);
            border-radius: 20px;
            border: 2px dashed var(--gold);
            position: relative;
            z-index: 1;
        }

        .registration-cta h4 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--gold);
        }

        .registration-cta p {
            font-size: 1.1rem;
            margin-bottom: 25px;
            opacity: 0.9;
        }

        .register-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 18px 50px;
            background: var(--gold);
            color: var(--primary-red);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.2rem;
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .register-btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 20px 50px rgba(255,215,0,0.4);
            background: white;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--primary-red) 0%, #5a0000 100%);
            color: white;
            padding: 80px 5% 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.3;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .footer-logo {
            width: 100px;
            height: 100px;
            background: white;
            border-radius: 50%;
            margin: 0 auto 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            animation: float 3s ease-in-out infinite;
        }

        .footer-logo img {
            width: 70%;
            height: 70%;
            object-fit: contain;
        }

        footer h3 {
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        footer > p {
            opacity: 0.95;
            margin-bottom: 40px;
            font-size: 1.1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            opacity: 0.9;
            transition: all 0.3s;
            font-weight: 500;
            position: relative;
            padding: 5px 0;
        }

        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s;
        }

        .footer-links a:hover {
            opacity: 1;
            color: var(--gold);
        }

        .footer-links a:hover::after {
            width: 100%;
        }

        .copyright {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: 40px;
            margin-top: 40px;
            opacity: 0.9;
            font-size: 0.95rem;
        }

        .copyright p {
            margin: 5px 0;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-content h1 {
                font-size: 3.5rem;
            }
            
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 60px;
            }
            
            .experience-badge {
                width: 150px;
                height: 150px;
                right: 10px;
                bottom: -20px;
            }

            .toppers-grid,
            .teachers-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .teacher-card.featured {
                transform: scale(1);
            }

            .teacher-card.featured:hover {
                transform: scale(1.03) translateY(-20px);
            }

            .prizes-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .prize-highlight {
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 80px;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                padding: 30px;
                box-shadow: 0 10px 40px rgba(0,0,0,0.2);
                gap: 20px;
            }

            .nav-links.active {
                display: flex;
            }
            
            .mobile-menu {
                display: block;
            }
            
            .hero {
                margin-top: 70px;
                min-height: 85vh;
            }
            
            .hero-content h1 {
                font-size: 2.5rem;
            }
            
            .hero-content p {
                font-size: 1.1rem;
            }
            
            .book-container {
                transform: translateX(-50%) scale(0.8);
            }
            
            section {
                padding: 60px 5%;
            }
            
            .section-header h2 {
                font-size: 2.2rem;
            }

            .toppers-grid,
            .teachers-grid {
                grid-template-columns: 1fr;
            }

            .topper-image,
            .teacher-image {
                height: 300px;
            }

            .features-list {
                grid-template-columns: 1fr;
            }

            .competition-stats {
                gap: 20px;
            }

            .competition-stat {
                padding: 20px 30px;
                min-width: 150px;
            }

            .prizes-grid {
                grid-template-columns: 1fr;
            }

            .prize-highlight {
                transform: scale(1);
            }

            .prizes-section,
            .competition-details {
                padding: 30px 20px;
            }

            .mind-maze .section-header h2 {
                font-size: 2.5rem;
            }

            .competition-badge {
                padding: 15px 25px;
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .book {
                width: 280px;
                height: 380px;
            }
            
            .book h1 {
                font-size: 1.6rem;
            }
            
            .hero-content h1 {
                font-size: 2rem;
            }
            
            .btn {
                padding: 14px 30px;
                font-size: 0.95rem;
            }

            .topper-card::before {
                font-size: 2.5rem;
                top: 15px;
                right: 15px;
            }

            .teacher-card.featured::after {
                font-size: 0.75rem;
                padding: 8px 35px;
                right: -35px;
                top: 20px;
            }

            .contact-form {
                padding: 30px 20px;
            }

            .prize-card {
                padding: 25px;
            }

            .prize-icon {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }

            .prize-value {
                font-size: 1.8rem;
            }
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 99999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s;
        }

        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader-content {
            text-align: center;
        }

        .loader-logo {
            width: 120px;
            height: 120px;
            background: var(--primary-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            animation: bounce 1s infinite;
            box-shadow: 0 15px 40px rgba(139,0,0,0.3);
        }

        .loader-logo img {
            width: 70%;
            filter: brightness(0) invert(1);
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-25px); }
        }

        /* Scroll to Top Button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, var(--primary-red) 0%, var(--bright-red) 100%);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: all 0.4s;
            box-shadow: 0 10px 30px rgba(139,0,0,0.4);
            z-index: 999;
            font-size: 1.3rem;
            border: 3px solid white;
        }

        .scroll-top.visible {
            opacity: 1;
        }

        .scroll-top:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 40px rgba(139,0,0,0.5);
        }

        /* Image Loading State */
        .img-loading {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
  