/* ===== APPLE-INSPIRED MINIMAL DESIGN ===== */

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

:root {
    --primary-black: #1d1d1f;
    --secondary-black: #86868b;
    --white: #ffffff;
    --light-gray: #f5f5f7;
    --medium-gray: #e8e8ed;
    --blue-accent: #0071e3;
    --text-gray: #6e6e73;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--primary-black);
    background-color: var(--white);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--medium-gray);
    border-top: 3px solid var(--blue-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent; /* fully transparent background */
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    backdrop-filter: saturate(180%) blur(5px); /* blur the content behind the navbar */
    z-index: 9999;
    border-bottom:#1d1d1f1c 1px solid;
    transition: backdrop-filter 0.25s ease, background-color 0.25s ease;
    will-change: backdrop-filter;
}

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

.logo-wrapper-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-wrapper-link:hover {
    opacity: 0.85;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary-black);
    white-space: nowrap;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.powered-text {
    color: var(--secondary-black);
    opacity: 0.6;
}

.ekamind-badge {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: darkShimmer 4s infinite ease-in-out;
}

.ekamind-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: shine 4s infinite;
}

@keyframes darkShimmer {
    0%, 100% {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 50%, #2d2d2d 100%);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 255, 255, 0.1);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-black);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--blue-accent);
}

.nav-menu a.active {
    color: var(--blue-accent);
    font-weight: 500;
}

.nav-btn {
    background: var(--primary-black);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--blue-accent);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 18px;
}

.hamburger span {
    width: 100%;
    height: 1.5px;
    background: var(--primary-black);
    transition: all 0.3s ease;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

/* ===== HERO SECTION ===== */
@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 113, 227, 0.6), 0 0 15px rgba(0, 113, 227, 0.4);
    }
    50% {
        opacity: 1;
        transform: scale(1.8);
        box-shadow: 0 0 20px rgba(0, 113, 227, 1), 0 0 40px rgba(0, 113, 227, 0.8), 0 0 60px rgba(0, 113, 227, 0.4);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 113, 227, 0.8), 0 0 30px rgba(0, 113, 227, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 113, 227, 1), 0 0 50px rgba(0, 113, 227, 0.8), 0 0 80px rgba(0, 113, 227, 0.4);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(0, 113, 227, 1) 0%, rgba(0, 170, 255, 0.8) 30%, rgba(0, 113, 227, 0) 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite, twinkle 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 113, 227, 0.8), 0 0 30px rgba(0, 113, 227, 0.5), 0 0 45px rgba(0, 113, 227, 0.3);
}

.particle:nth-child(1) { left: 5%; bottom: 10%; animation-delay: 0s; animation-duration: 10s, 2.5s; width: 8px; height: 8px; }
.particle:nth-child(2) { left: 15%; bottom: 20%; animation-delay: 1s; animation-duration: 12s, 3s; width: 14px; height: 14px; }
.particle:nth-child(3) { left: 25%; bottom: 5%; animation-delay: 2s; animation-duration: 8s, 2s; width: 6px; height: 6px; }
.particle:nth-child(4) { left: 35%; bottom: 15%; animation-delay: 0.5s; animation-duration: 11s, 2.8s; width: 10px; height: 10px; }
.particle:nth-child(5) { left: 45%; bottom: 25%; animation-delay: 3s; animation-duration: 9s, 2.2s; width: 9px; height: 9px; }
.particle:nth-child(6) { left: 55%; bottom: 8%; animation-delay: 1.5s; animation-duration: 13s, 3.2s; width: 12px; height: 12px; }
.particle:nth-child(7) { left: 65%; bottom: 18%; animation-delay: 2.5s; animation-duration: 10s, 2.6s; width: 8px; height: 8px; }
.particle:nth-child(8) { left: 75%; bottom: 12%; animation-delay: 0.8s; animation-duration: 11s, 3s; width: 15px; height: 15px; }
.particle:nth-child(9) { left: 85%; bottom: 22%; animation-delay: 4s; animation-duration: 9s, 2s; width: 7px; height: 7px; }
.particle:nth-child(10) { left: 95%; bottom: 6%; animation-delay: 1.2s; animation-duration: 12s, 2.5s; width: 10px; height: 10px; }
.particle:nth-child(11) { left: 10%; bottom: 30%; animation-delay: 3.5s; animation-duration: 14s, 3.5s; width: 9px; height: 9px; }
.particle:nth-child(12) { left: 20%; bottom: 0%; animation-delay: 2.2s; animation-duration: 10s, 2.8s; width: 13px; height: 13px; }
.particle:nth-child(13) { left: 30%; bottom: 35%; animation-delay: 0.3s; animation-duration: 11s, 2.2s; width: 8px; height: 8px; }
.particle:nth-child(14) { left: 40%; bottom: 3%; animation-delay: 4.5s; animation-duration: 13s, 3s; width: 11px; height: 11px; }
.particle:nth-child(15) { left: 50%; bottom: 28%; animation-delay: 1.8s; animation-duration: 9s, 2.4s; width: 7px; height: 7px; }
.particle:nth-child(16) { left: 60%; bottom: 40%; animation-delay: 3.2s; animation-duration: 12s, 2.6s; width: 10px; height: 10px; }
.particle:nth-child(17) { left: 70%; bottom: 0%; animation-delay: 0.6s; animation-duration: 10s, 3s; width: 9px; height: 9px; }
.particle:nth-child(18) { left: 80%; bottom: 32%; animation-delay: 2.8s; animation-duration: 11s, 2.8s; width: 14px; height: 14px; }
.particle:nth-child(19) { left: 90%; bottom: 15%; animation-delay: 1.4s; animation-duration: 14s, 2.2s; width: 8px; height: 8px; }
.particle:nth-child(20) { left: 50%; bottom: 50%; animation-delay: 5s; animation-duration: 15s; width: 12px; height: 12px; }

.hero-bg-image {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    max-width: 980px;
    margin: 0 auto 80px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 96px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.14286;
    color: var(--secondary-black);
    margin-bottom: 30px;
}

.hero-cta {
    margin-top: 30px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 113, 227, 0.6), 0 0 40px rgba(0, 113, 227, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.btn-link {
    font-size: 17px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--blue-accent) 0%, #0077ed 100%);
    border-radius: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    animation: pulse 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.btn-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.5);
    animation: none;
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 48px 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 17px;
    color: var(--secondary-black);
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement {
    background: var(--light-gray);
    text-align: center;
    padding: 14px 20px;
}

.announcement-content p {
    font-size: 14px;
    color: var(--primary-black);
}

.announcement-content a {
    color: var(--blue-accent);
    text-decoration: none;
}

.announcement-content a:hover {
    text-decoration: underline;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.section-title {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.0625;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.section-subtitle {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--secondary-black);
}

/* ===== COURSES SECTION ===== */
.courses {
    padding: 100px 0;
}

.course-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 150px;
    padding: 0 40px;
}

.course-feature.reverse {
    direction: rtl;
}

.course-feature.reverse > * {
    direction: ltr;
}

.feature-content {
    max-width: 500px;
}

.feature-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 12px;
}

.feature-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.08349;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.feature-description {
    font-size: 21px;
    line-height: 1.381;
    letter-spacing: -0.01em;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.feature-list {
    list-style: none;
    margin-bottom: 28px;
}

.feature-list li {
    font-size: 17px;
    color: var(--text-gray);
    padding: 10px 0;
    padding-left: 36px;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--blue-accent);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-list li:hover::before {
    background-color: var(--blue-accent);
    color: var(--white);
    transform: scale(1.1);
}

.feature-visual {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-box {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

@keyframes skeletonPulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.05);
}

.feature-image.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Skeleton loader for images */
.visual-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s ease-in-out infinite;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.visual-box.loaded::before {
    opacity: 0;
    pointer-events: none;
}

/* Faculty image skeleton */
.faculty-image {
    position: relative;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.faculty-image img {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.faculty-image img.loaded {
    opacity: 1;
}

/* Subtle overlay on feature images */
.visual-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
}

.neet-visual::after {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.foundation-visual::after {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
}

.senior-visual::after {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
}

/* Keep gradient backgrounds as fallback */
.jee-visual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.neet-visual {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.foundation-visual {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.senior-visual {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: 100px 40px;
    background: var(--light-gray);
}

/* ===== FACULTY SECTION ===== */
.faculty-section {
    padding: 100px 40px;
    background: var(--white);
}

.faculty-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.faculty-card {
    background: var(--light-gray);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.faculty-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.05);
}

.faculty-info {
    padding: 24px;
}

.faculty-info h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.faculty-role {
    font-size: 15px;
    color: var(--blue-accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.faculty-qualification {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.faculty-bio {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.faculty-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-tag {
    font-size: 12px;
    padding: 6px 12px;
    background: var(--white);
    border-radius: 12px;
    color: var(--text-gray);
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: 100px 40px;
    background: var(--light-gray);
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--primary-black);
}

.why-card p {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-gray);
}

/* ===== RESULTS SECTION ===== */
.results {
    padding: 100px 40px;
    background: var(--white);
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    padding: 100px 40px;
    background: var(--light-gray);
}

.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
}

.leader-profile {
    background: var(--white);
    border-radius: 28px;
    padding: 60px;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.leader-image-wrapper {
    position: sticky;
    top: 100px;
}

.leader-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
}

.leader-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-accent);
    background: rgba(0, 113, 227, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.leader-name {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--primary-black);
}

.leader-qualification {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.leader-bio {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.leader-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

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

.achievement-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--blue-accent);
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 14px;
    color: var(--text-gray);
}

.leader-quote {
    background: var(--light-gray);
    padding: 24px 32px;
    border-radius: 12px;
    border-left: 4px solid var(--blue-accent);
}

.leader-quote p {
    font-size: 19px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-dark);
}

.management-team {
    background: var(--white);
    border-radius: 28px;
    padding: 48px;
}

.team-heading {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.team-member h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.team-role {
    font-size: 15px;
    color: var(--blue-accent);
    margin-bottom: 4px;
}

.team-credential {
    font-size: 13px;
    color: var(--text-gray);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 40px;
    background: var(--white);
}

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

.faq-item {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--medium-gray);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 19px;
    font-weight: 500;
    color: var(--primary-black);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--blue-accent);
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ===== RESULTS SECTION ===== */
.results {
    padding: 100px 40px;
    background: var(--white);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.15);
}

.stat-number {
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary-black);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--blue-accent) 0%, #0077ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
}

.stat-box.counted .stat-number {
    animation: countPop 0.5s ease;
}

@keyframes countPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.stat-label {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 17px;
    color: var(--text-gray);
}

/* ===== TOPPERS ===== */
.toppers-container {
    max-width: 1200px;
    margin: 0 auto 80px;
}

.toppers-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.015em;
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary-black);
}

.toppers-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.topper-item {
    background: var(--light-gray);
    padding: 32px;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.3s ease;
}

.topper-item:hover {
    transform: translateY(-8px);
}

.topper-rank {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--blue-accent);
    margin-bottom: 12px;
}

.topper-name {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 4px;
}

.topper-exam {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== TESTIMONIALS ===== */
.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 18px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 40px;
    background: var(--light-gray);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    background: var(--white);
    padding: 60px;
    border-radius: 28px;
}

.contact-subtitle {
    font-size: 21px;
    color: var(--text-gray);
    margin-bottom: 48px;
}

/* Contact Form Button */
.form-button-container {
    text-align: center;
    margin: 60px auto;
    max-width: 500px;
}

.btn-contact-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 17px;
    font-weight: 500;
    background: var(--blue-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.btn-contact-form:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}

.btn-contact-form .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-contact-form:hover .arrow {
    transform: translateX(4px);
}

.form-note {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-gray);
}

/* Google Form Container */
.google-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-form-container iframe {
    display: block;
    width: 100%;
    border: none;
    min-height: 1063px;
}

.contact-form {
    margin-bottom: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 17px;
    font-family: inherit;
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    background: var(--white);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 16px;
}

.btn-primary {
    width: 100%;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 400;
    background: var(--blue-accent);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-hours,
.map-container {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--medium-gray);
}

.office-hours h4,
.map-container h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.hours-item span:first-child {
    color: var(--text-dark);
    font-weight: 500;
}

.hours-item span:last-child {
    color: var(--text-gray);
}

.map-wrapper {
    margin-bottom: 24px;
}

.branch-info h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.branches {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.branch-item {
    font-size: 14px;
    color: var(--text-gray);
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
}

.branch-item strong {
    color: var(--primary-black);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--medium-gray);
}

.contact-info-item {
    text-align: center;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-black);
    margin-bottom: 8px;
}

.info-value {
    font-size: 17px;
    color: var(--primary-black);
    line-height: 1.47059;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--light-gray);
    padding: 60px 40px 30px;
    border-top: 1px solid var(--medium-gray);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--secondary-black);
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-black);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-gray);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-black);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1068px) {
    .hero-title {
        font-size: 64px;
    }

    .section-title {
        font-size: 48px;
    }

    .feature-title {
        font-size: 40px;
    }

    .course-feature {
        display: flex;
        flex-direction: column-reverse;
        gap: 32px;
    }

    .course-feature.reverse {
        direction: ltr;
    }

    .feature-visual {
        height: auto;
        aspect-ratio: 16/9;
        width: 100%;
    }

    .visual-box {
        border-radius: 20px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-profile {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .leader-image-wrapper {
        position: relative;
        top: 0;
    }

    .leader-achievements {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .toppers-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 734px) {
    .nav-container {
        gap: 10px;
        padding: 0 20px;
    }

    .logo-wrapper {
        gap: 10px;
    }

    .logo-image {
        height: 28px;
    }

    .logo-text-wrapper {
        gap: 10px;
    }

    .logo {
        font-size: 13px;
    }

    .powered-by {
        font-size: 6px;
        gap: 3px;
    }

    .ekamind-badge {
        padding: 2px 6px;
        border-radius: 8px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 48px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 16px;
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu a {
        font-size: 14px;
        display: block;
        padding: 10px 0;
    }

    .nav-btn {
        width: 80%;
        margin: 10px auto 0;
        display: block;
        padding: 12px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .btn-link {
        font-size: 17px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 40px;
        width: 100%;
    }

    .stat-card {
        padding: 24px;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .stat-number {
        font-size: 36px;
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 19px;
    }

    .courses {
        padding: 60px 0;
    }

    .course-feature {
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .feature-title {
        font-size: 32px;
    }

    .feature-description {
        font-size: 17px;
    }

    .why-section {
        padding: 60px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faculty-section {
        padding: 60px 20px;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faculty-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        height: auto;
    }

    .faculty-image {
        width: 120px;
        height: 100%;
        min-height: 140px;
        flex-shrink: 0;
    }

    .faculty-info {
        padding: 16px;
    }

    .faculty-info h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .faculty-role {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .faculty-qualification {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .faculty-bio {
        display: none; /* Hide bio on mobile for compactness, or keep it short */
    }

    .spec-tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    .leadership-section {
        padding: 60px 20px;
    }

    .leader-profile {
        padding: 24px;
    }

    .leader-name {
        font-size: 28px;
    }

    .leader-achievements {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .results {
        padding: 60px 20px;
    }

    .stats-container {
        margin-bottom: 50px;
    }

    .toppers-container {
        margin-bottom: 40px;
    }

    .contact {
        padding: 60px 20px;
    }

    .google-form-container {
        border-radius: 12px;
        margin-bottom: 32px;
    }

    .google-form-container iframe {
        min-height: 1200px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 19px;
    }

    .toppers-scroll {
        grid-template-columns: 1fr;
    }

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

    .contact-content {
        padding: 40px 24px;
    }

    .footer {
        padding: 40px 20px 30px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
