/* ===================================
   CSS VARIABLES & DESIGN SYSTEM
   =================================== */
:root {
    /* Colors - Education Theme (Light Blue) */
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-darker: #312e81;
    --accent-color: #06b6d4;
    --bg-light: #f5f3ff;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #64748b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7069ee 0%, #7e76d9 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(173, 216, 230, 0.9), rgba(74, 144, 226, 0.9));
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(173, 216, 230, 0.1));

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 48px rgba(74, 144, 226, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Mesh Gradient Background for Glass Effect */
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(79, 70, 229, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-darker);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10001;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Local SEO Spotlight */
.local-seo {
    padding: var(--spacing-xl) 0;
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.local-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.local-card h3 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
}

.local-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.local-card p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

.local-cta-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: var(--spacing-sm);
}

.local-cta-links a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: #000000;
    color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Secondary button */
.btn-secondary {
    background: var(--accent-color);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ===================================
   NAVIGATION BAR - LIQUID GLASS DESIGN
   =================================== */
/* ===================================
   NAVIGATION BAR - LIQUID GLASS DESIGN
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000000;
    /* Always Black */
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Subtle shadow always */
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    /* Slightly transparent black on scroll */
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle white tint on black */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.logo img {
    height: 45px;
    /* Slightly smaller default */
    width: auto;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.navbar.scrolled .logo img {
    height: 40px;
}

/* Logo Text - Responsive */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    /* Adjusted base size */
    font-weight: 800;
    color: #ffffff;
    /* Always White */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 5px;
}

@media (max-width: 480px) {
    .logo {
        padding: 0.4rem 0.8rem;
        gap: 0.5rem;
    }

    .logo img {
        height: 35px;
    }

    .logo-text {
        font-size: 0.9rem;
        /* Smaller on mobile */
        letter-spacing: 0;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #ffffff;
    /* Always White */
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: #ffffff;
    /* Remains White */
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.navbar.scrolled .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    /* Always White */
    border-radius: 2px;
    transition: var(--transition-normal);
}

.navbar.scrolled .hamburger span {
    background: #ffffff;
    /* Remains White */
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   HERO SECTION
   =================================== */
/* ===================================
   HERO SECTION (Redesigned - Modern Collage)
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 4rem;
    /* Top padding for navbar */
    background-color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Curve/Blob */
.hero-decor-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 0 0 0 200px;
    z-index: 1;
}

@media (max-width: 968px) {
    .hero-decor-shape {
        width: 100%;
        height: 50%;
        top: 0;
        right: 0;
        border-radius: 0 0 50% 50% / 0 0 20% 20%;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        margin-top: 2rem;
    }
}

/* --- Left Column: Content --- */
.hero-content-left {
    max-width: 600px;
}

@media (max-width: 968px) {
    .hero-content-left {
        margin: 0 auto;
    }
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-heading .text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-heading .text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(255, 226, 84, 0.4);
    /* Highlighter yellow/gold */
    z-index: -1;
    transform: rotate(-2deg);
    border-radius: 4px;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 968px) {
    .hero-cta-group {
        justify-content: center;
    }
}

/* Secondary Outline Button */
.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-lg);
    background: transparent;
    border: 2px solid #cbd5e1;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: #000;
    background: #000;
    color: white;
}

/* Trusted Section */
.hero-trusted-by p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: #cbd5e1;
}

@media (max-width: 968px) {
    .trust-badges {
        justify-content: center;
    }
}

/* --- Right Column: Visual Collage --- */
.hero-visual-right {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 968px) {
    .hero-visual-right {
        height: 400px;
        /* Smaller on mobile */
    }
}

.hero-collage {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Main Image */
.hero-img-main-wrapper {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 75%;
    height: 80%;
    border-radius: 30px;
    /* Unique shape */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-collage:hover .hero-img-main {
    transform: scale(1.05);
}

/* Secondary Float Image */
.hero-img-float-wrapper {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 45%;
    height: 40%;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: floatingCollage 6s ease-in-out infinite;
}

.hero-img-float {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: floatingCollage 5s ease-in-out infinite reverse;
}

.badge-success {
    top: 10%;
    left: 10%;
}

.badge-exp {
    bottom: 15%;
    right: -10px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #f0f9ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1;
}

.badge-title {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@keyframes floatingCollage {

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

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

@media (max-width: 968px) {
    .hero-img-main-wrapper {
        width: 80%;
        right: 10%;
        height: 60%;
    }

    .hero-img-float-wrapper {
        width: 40%;
        left: 5%;
        height: 35%;
        bottom: 20px;
    }

    .badge-success {
        left: 0;
        top: 0;
    }

    .badge-exp {
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 3rem;
        flex-direction: column;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content-left {
        text-align: center;
        padding: 0 1rem;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-visual-right {
        height: 350px;
        margin-top: 2rem;
    }

    .hero-img-main-wrapper {
        width: 90%;
        right: 5%;
        height: 250px;
    }

    .hero-img-float-wrapper {
        width: 45%;
        left: 0;
        bottom: 0;
        height: 140px;
    }

    .floating-badge {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .badge-icon {
        width: 35px;
        height: 35px;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.about-content {
    margin-top: var(--spacing-lg);
}

.about-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(173, 216, 230, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}


/* Mission & Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mv-card h3 i {
    color: var(--accent-color);
}

/* Boards Container */
.boards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.board-badge {
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary-darker);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
}

.board-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.grade-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
    line-height: 1;
}

.course-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ===================================
   COURSES SECTION
   =================================== */
.courses {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, rgba(173, 216, 230, 0.2), rgba(74, 144, 226, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    transition: var(--transition-normal);
}

.course-card:hover .course-icon {
    transform: rotate(360deg) scale(1.1);
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--text-dark);
}

/* Toppers Slider */
.toppers-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.toppers-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.toppers-track {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.topper-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    min-width: 250px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.topper-img-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-light);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    border: 3px solid rgba(30, 58, 138, 0.1);
}

.topper-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.topper-card .score {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.topper-card .year {
    color: var(--text-gray);
    font-size: 0.9rem;
}


/* ===================================
   ACHIEVEMENTS SECTION
   =================================== */
.achievements {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--gradient-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid rgba(173, 216, 230, 0.3);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-dark);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

.achievement-highlights h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.highlight-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-dark);
    transition: var(--transition-normal);
}

.highlight-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-header i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.highlight-header h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
}

.highlight-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.before {
    color: var(--text-gray);
}

.after,
.percentage {
    color: var(--primary-dark);
    font-size: 2rem;
    font-family: var(--font-heading);
}

.highlight-stats i {
    color: var(--primary-dark);
}

.highlight-desc {
    color: var(--text-gray);
    text-align: center;
    font-style: italic;
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--bg-white);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

/* Testimonials */
.testimonials {
    margin-top: var(--spacing-xl);
}

.testimonials h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(173, 216, 230, 0.3);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ===================================
   TOPPERS (2024-2025) - NEW DESIGN
   =================================== */
.toppers-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0 4rem;
}

.topper-card-new {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.topper-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* Decorative Top Bar */
.topper-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.topper-rank-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD700;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.topper-img-placeholder {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94a3b8;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Ensure image clips */
}

.topper-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topper-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.topper-marks {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.topper-marks span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    -webkit-text-fill-color: var(--text-gray);
    margin-left: 2px;
}

.topper-group {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

/* Reordered Stats Styles */
.stats-grid {
    margin-top: 4rem;
    /* separation from toppers */
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-dark);
    min-width: 30px;
}

.info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-gray);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.3rem;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Contact Form - Enhanced with Glass Effect */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 100%;
    overflow: visible;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    width: 100%;
}

.form-row .form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.3rem;
    border: 2px solid rgba(30, 58, 138, 0.2);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15),
        0 4px 12px rgba(249, 115, 22, 0.1);
    background: var(--bg-white);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===================================
/* ===================================
/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
    color: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

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

.footer-section li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

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

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   PROGRESS BAR
   =================================== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 10000;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
[data-animate] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-animate].animated {
    opacity: 1;
}

[data-animate="fade-up"].animated {
    animation: fadeUp 0.8s ease forwards;
}

[data-animate="slide-left"].animated {
    animation: slideLeft 0.8s ease forwards;
}

[data-animate="slide-right"].animated {
    animation: slideRight 0.8s ease forwards;
}

[data-animate="zoom-in"].animated {
    animation: zoomIn 0.6s ease forwards;
}

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

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

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

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

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        font-size: 15px;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: #ffffff;
        flex-direction: column;
        padding: 5rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        align-items: flex-start;
        z-index: 9999;
    }

    .nav-menu.active {
        right: 0;
    }

    .navbar .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.2rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-column: 1 / -1;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        align-items: center;
    }

    /* Scroll to Top */
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .contact-form {
        padding: 1.25rem;
    }

    .form-row {
        gap: 1rem;
    }
}

/* ===================================
   JOURNEY SECTION (New)
   =================================== */
.journey {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(20, 20, 20, 0.95) 50%, rgba(4, 4, 4, 0.2) 100%);
}

.journey .container {
    max-width: 100%;
    padding: 0;
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 600px;
}

.journey-text {
    padding: 4rem 3rem 4rem 5rem;
    color: #f8fafc;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: #e0e7ff;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight-text {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.journey-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
}

.journey-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.journey-remember {
    margin: 2rem 0;
    padding-left: 0;
}

.remember-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.remember-text {
    font-size: 1rem;
    color: #dbeafe;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.journey-motto {
    font-size: 1.1rem;
    color: #c7d2fe;
    font-style: italic;
    margin-top: 2rem;
}

.director-column {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.director-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%);
}

.director-badge {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.director-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.badge-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 992px) {
    .journey-content {
        grid-template-columns: 1fr;
    }

    .journey-text {
        padding: 3rem 2rem;
    }

    .journey-title {
        font-size: 2.5rem;
    }

    .director-image-wrapper {
        height: 500px;
    }

    .director-badge {
        bottom: 2rem;
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .journey-text {
        padding: 2rem 1.5rem;
    }

    .journey-title {
        font-size: 2rem;
    }

    .director-image-wrapper {
        height: 400px;
    }

    .director-badge {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 1rem 1.25rem;
    }

    .director-badge i {
        font-size: 1.5rem;
    }
}

/* Map Container */
.map-container {
    width: 100%;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

/* ===================================
   SHINE SECTION (What Makes Our Students Shine)
   =================================== */
.shine {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.shine-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

@media (max-width: 968px) {
    .shine-wrapper {
        flex-direction: column;
    }
}

.shine-image {
    flex: 1;
    position: relative;
}

.shine-img-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.shine-img-container:hover {
    transform: rotate(0deg);
}

.shine-img-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.shine-img-container:hover img {
    transform: scale(1.05);
}

.shine-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.shine-badge-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.shine-badge-text {
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.shine-content {
    flex: 1.2;
}

.shine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.shine-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
}

.shine-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.shine-card:hover .shine-icon {
    background: var(--primary-color);
    color: white;
}

.shine-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.shine-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ===================================
   FACILITIES SECTION
   =================================== */
.facilities {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.facility-item:hover {
    background: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.facility-item i {
    font-size: 2.5rem;
    background: -webkit-linear-gradient(#06b6d4, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.facility-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

/* ===================================
   SHINE SECTION REDESIGN (Zigzag)
   =================================== */
.shine-redesign {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 968px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

.feature-image {
    flex: 1;
    position: relative;
}

.img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 8px solid white;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.feature-row.reverse .img-frame {
    transform: rotate(2deg);
}

.feature-row:hover .img-frame {
    transform: rotate(0deg) scale(1.02);
}

.img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-content {
    flex: 1;
    position: relative;
}

.feature-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.1);
    line-height: 1;
    margin-bottom: -1rem;
    font-family: var(--font-heading);
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===================================
   CAMPUS & FACILITIES (Combined)
   =================================== */
.campus-facilities {
    padding: var(--spacing-xl) 0;
    background: white;
}

.facilities-grid-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.facility-pill {
    padding: 0.8rem 1.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.facility-pill i {
    color: var(--primary-color);
}

.facility-pill:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.facility-pill:hover i {
    color: white;
}

/* Testimonials Section Styles */
/* ===================================
/* ===================================
   MENTOR HERO SECTION (Elite Personal Brand)
   =================================== */
.mentor-hero {
    position: relative;
    background-color: #ffffff;
    padding: 8rem 0;
    /* More vertical breathing room */
    overflow: hidden;
    color: var(--text-dark);
}

.mentor-content-wrapper {
    display: flex;
    align-items: center;
    gap: 6rem;
    /* Increased gap for elite feel */
    position: relative;
    z-index: 10;
}

@media (max-width: 968px) {
    .mentor-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 4rem;
    }
}

/* Elite Typography */
.mentor-text {
    flex: 1;
    position: relative;
    z-index: 5;
}

.mentor-text h2 {
    font-size: 4.5rem;
    /* Larger, more impactful */
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: -0.04em;
    font-family: var(--font-heading);
    color: #0f172a;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mentor-subheadline {
    font-size: 1.35rem;
    font-weight: 400;
    color: #334155;
    font-family: 'Times New Roman', serif;
    /* Editorial touch */
    font-style: italic;
    border-left: 3px solid #d97706;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .mentor-subheadline {
        border-left: none;
        border-top: 3px solid #d97706;
        padding-top: 1.5rem;
        padding-left: 0;
    }
}

.mentor-bio {
    color: #475569;
    line-height: 1.9;
    /* Relaxed leading */
    margin-bottom: 3.5rem;
    font-size: 1.15rem;
    font-weight: 300;
}

/* Premium Glass Cards */
.mentor-cards {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Subtle, deep shadow */
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d97706;
    /* Gold icon color */
    font-size: 1.5rem;
}

.glass-card h4 {
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.glass-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Visual Side (Elite 3D) */
.mentor-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 135%;
    max-width: 150%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    /* Animation removed as requested */
    transform-origin: center bottom;
    margin-bottom: -10px;
    /* Slight overlap to ensure no gap */
}

/* Background 3D Text - Elite Style */
.mentor-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    /* Massive */
    font-weight: 900;
    color: rgba(134, 178, 221, 0.2);
    /* Extremely subtle - Reduced opacity for better merging */
    z-index: 1;
    white-space: nowrap;
    user-select: none;
    line-height: 0;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    mix-blend-mode: multiply;
}

/* Remove glow for the elite clean look */
.visual-glow {
    display: none;
}

/* ===================================
   INFINITE SCROLL MARQUEE - REDESIGNED
   =================================== */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    /* Mask edges for smooth fade out */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Allow content to dictate width */
    will-change: transform;
    /* Performance optimization */
}

/* Row 1 Animation (Left) */
#marqueeRow1 {
    animation: marqueeLeft 80s linear infinite;
    /* Slower for readability */
}

/* Row 2 Animation (Right) */
#marqueeRow2 {
    animation: marqueeRight 80s linear infinite;
    margin-top: 2rem;
    /* Spacing between rows */
}

/* Pause on Hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half the length (since we duped exactly once) */
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ===================================
   SAPPHIRE CARD DESIGN (Reference Based)
   =================================== */
.topper-card-sapphire {
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    color: var(--text-dark);
    width: 260px;
    /* Fixed width for consistency */
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    overflow: hidden;
}

.topper-card-sapphire:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

/* Header: Avatar + Info */
.sapphire-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.sapphire-avatar-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #06b6d4;
    padding: 2px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sapphire-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.sapphire-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

/* Central Score */
.sapphire-score-box {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.big-score {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.subj-name,
.subj-mark {
    font-size: 0.85rem;
}

/* Footer */
.sapphire-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: normal;
}

.school-name {
    margin-bottom: 0.75rem;
    font-weight: 500;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.75rem;
}

.footer-badge {
    background: #f8fafc;
    color: var(--text-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    display: inline-block;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Override marquee item width for these specific cards */
.marquee-track .topper-card-sapphire {
    flex: 0 0 280px;
    /* Wider to accommodate list */
    margin: 0;
}

/* ===================================
   TIMELINE CLASSES LAYOUT
   =================================== */
.timeline-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 1rem;
    margin: 6rem 0 3rem 0;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Central Horizontal Line */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
}

/* Nodes */
.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Marker Circle */
.timeline-marker {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 1);
    /* Halo effect to hide line behind */
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Content Boxes */
.timeline-content {
    position: absolute;
    width: 220px;
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Watermark Effect */
.timeline-content::before {
    content: attr(data-grade);
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(6, 182, 212, 0.05);
    /* Cyan with very low opacity */
    z-index: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.timeline-content h3,
.timeline-content p {
    position: relative;
    z-index: 1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.timeline-item:hover .timeline-content::before {
    color: rgba(6, 182, 212, 0.1);
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Alternating positioning */
.content-top {
    bottom: 90px;
}

.content-bottom {
    top: 90px;
}

/* Vertical Connectors */
.timeline-connector {
    position: absolute;
    width: 2px;
    height: 40px;
    background: #cbd5e1;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.content-top+.timeline-marker+.timeline-connector {
    bottom: 50px;
    top: auto;
}

.timeline-connector.connector-bottom {
    top: 50px;
    bottom: auto;
}

/* RESPONSIVE: Vertical Timeline on Mobile */
@media (max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
        gap: 2.5rem;
        margin: 2rem 0;
        max-width: 100%;
    }

    /* Change horizontal line to vertical */
    .timeline-line {
        width: 4px;
        height: calc(100% - 60px);
        /* Stop before last item ends */
        left: 40px;
        /* Center aligned with 60px marker */
        top: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        /* Align closer to top */
        gap: 1.5rem;
        width: 100%;
        text-align: left;
    }

    .timeline-marker {
        flex-shrink: 0;
        margin-top: 0;
        /* Align with top of content */
        margin-left: 10px;
        /* Slight offset for line alignment */
        z-index: 2;
        background: white;
        /* Cover line */
    }

    .timeline-content {
        position: relative;
        top: auto !important;
        bottom: auto !important;
        width: 100%;
        max-width: none;
        text-align: left;
        padding: 1.2rem;
        margin-left: 0;
    }

    /* Adjust watermark for mobile */
    .timeline-content::before {
        font-size: 4rem;
        top: -10px;
        right: -5px;
    }

    /* Hide vertical connectors - line handles it */
    .timeline-connector {
        display: none;
    }
}