/* ===================================
   AKSHAR ARBOL - CAMBRIDGE INTERNATIONAL SCHOOL
   Complete Styles with Hero Section
   =================================== */

/* CSS Variables - Brand Colors */
:root {
    /* Primary Colors */
    --primary-navy: #1f1f1f;
    --primary-navy-dark: #0f0f0f;
    --primary-cambridge-blue: #A3C1AD;
    --primary-cambridge-light: #c5dace;

    /* Header Specific Blue (Allowed) */
    --header-blue-bg: linear-gradient(135deg, #002147 0%, #003366 100%);

    /* Accent Colors */
    --accent-gold: #FFD700;
    --accent-gold-dark: #e6c200;
    --accent-burgundy: #760d0e;
    --accent-burgundy-dark: #5a0a0b;
    --accent-orange: #FF6B35;
    --accent-orange-dark: #e55a2b;
    --accent-green: #228B22;
    --whatsapp-green: #25D366;

    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-grey: #F8F9FA;
    --bg-dark: #0a0a0a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1f1f1f 0%, #0f0f0f 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   TOP ANNOUNCEMENT BAR
   =================================== */
.top-bar {
    background: var(--header-blue-bg);
    color: var(--text-light);
    height: 42px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.top-bar-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Marquee Animation */
.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #002147 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #002147 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.announcement-item i {
    color: var(--accent-gold);
    font-size: 12px;
}

.announcement-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.top-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.apply-btn {
    background: var(--accent-orange);
    color: var(--text-light);
}

.apply-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.call-btn {
    background: var(--accent-burgundy);
    color: var(--text-light);
}

.call-btn:hover {
    background: var(--accent-burgundy-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(118, 13, 14, 0.4);
}

/* ===================================
   MAIN HEADER
   =================================== */
.main-header {
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition-fast);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-medium);
    text-transform: uppercase;
    transition: var(--transition-fast);
    border-radius: 25px;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.nav-item.active .nav-link {
    color: var(--text-light);
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cambridge-badge {
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.cambridge-badge:hover {
    transform: translateY(-2px);
}

.cambridge-logo {
    height: 45px;
    width: auto;
}

.nav-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    background: transparent;
    color: var(--accent-orange);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    align-items: center;
    justify-content: center;
}

.nav-menu-toggle:hover {
    background: var(--accent-orange);
    color: var(--text-light);
}

/* ===================================
   QUICK SIDE MENU
   =================================== */
.quick-side-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    width: 70px;
    text-align: center;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
    border-radius: 8px 0 0 8px;
}

.side-menu-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.side-menu-item:hover {
    width: 85px;
    padding-left: 15px;
}

.admission-item {
    background: var(--primary-navy);
}

.admission-item:hover {
    background: var(--primary-navy-dark);
}

.tour-item {
    background: var(--accent-burgundy);
}

.tour-item:hover {
    background: var(--accent-burgundy-dark);
}

.whatsapp-item {
    background: var(--whatsapp-green);
}

.whatsapp-item:hover {
    background: #1da851;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    background: var(--bg-grey);
    padding: 30px;
    min-height: calc(100vh - 150px);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: stretch;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slider-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    width: 90%;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.stat-item i {
    color: var(--accent-gold);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--accent-orange);
    color: var(--text-light);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.hero-cta-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-light);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.dot.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.2);
}

/* ===================================
   ADMISSION FORM
   =================================== */
.admission-form-container {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent-gold);
    height: fit-content;
    overflow: hidden;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.form-header-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 3px;
}

.admission-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-medium);
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--bg-grey);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-navy);
    background: var(--bg-light);
    box-shadow: 0 0 0 3px rgba(31, 31, 31, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group.half {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent-orange);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 5px;
}

.submit-btn:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ===================================
   BRAND STORY SECTION
   =================================== */
.brand-story-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-grey) 0%, var(--bg-light) 100%);
    padding: 80px 30px 120px;
    overflow: hidden;
}

.brand-story-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Image Wrapper */
.brand-image-wrapper {
    position: relative;
}

.brand-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.brand-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.brand-image-card:hover .brand-main-image {
    transform: scale(1.05);
}

.brand-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-radius: 20px;
    z-index: -1;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--bg-light);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-badge i {
    font-size: 28px;
    color: var(--accent-gold);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-medium);
}

/* Brand Content */
.brand-content {
    padding: 20px 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-label.light {
    color: var(--accent-gold);
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 15px;
}

.highlight-gold {
    color: var(--accent-gold);
}

.highlight-orange {
    color: var(--accent-orange);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    border-radius: 2px;
    margin-bottom: 25px;
}

.title-underline.center {
    margin: 0 auto 30px;
}

.brand-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 35px;
}

.brand-description strong {
    color: var(--primary-navy);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.campus-icon {
    background: rgba(31, 31, 31, 0.1);
    color: var(--primary-navy);
}

.students-icon {
    background: rgba(34, 139, 34, 0.1);
    color: var(--accent-green);
}

.classes-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.parents-icon {
    background: rgba(255, 215, 0, 0.15);
    color: #d4a600;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
}

.wave-divider path {
    fill: var(--primary-navy);
}

/* ===================================
   AAIS CORE SECTION
   =================================== */
.aais-core-section {
    background: var(--accent-burgundy);
    /* Using Maroon as requested */
    padding: 80px 30px;
    position: relative;
    color: var(--text-light);
}

.core-container {
    max-width: 1300px;
    margin: 0 auto;
}

.core-header {
    text-align: center;
    margin-bottom: 50px;
}

.core-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Video & Message - Top Row */
.core-top-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.video-container {
    position: relative;
    width: 100%;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-glow {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

/* Intro Message Box */
.core-intro-msg {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.quote-icon-small {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 15px;
    opacity: 0.8;
}

.core-intro-msg p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.core-intro-msg strong {
    color: var(--accent-gold);
}

.intro-footer {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

/* Timeline Section */
.timeline-container {
    padding: 40px 0 20px;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Horizontal Line (Desktop) */
.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    /* Aligns with icon center */
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-gold) 10%, var(--accent-gold) 90%, transparent);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 32%;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
    margin-bottom: 0;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

.timeline-dot {
    display: none;
    /* Hide standard dot for horizontal layout */
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    /* White background for icon */
    border-radius: 50%;
    /* Circle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-burgundy);
    font-size: 26px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3), var(--shadow-md);
    border: 3px solid var(--accent-gold);
    z-index: 3;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 0 0 6px rgba(255, 215, 0, 0.4), var(--shadow-lg);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    /* Very light overlay on maroon */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 16px;
    transition: var(--transition-normal);
    text-align: center;
    width: 100%;
    position: relative;
    flex: 1;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 12px 12px 12px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.05) transparent;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Quote Section (Hidden/Removed as integrated) */
.core-quote-section {
    display: none;
}

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 350px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .marquee-wrapper {
        max-width: 60%;
    }

    .cambridge-badge {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .admission-form-container {
        max-height: none;
    }

    .slider-wrapper {
        min-height: 450px;
    }

    /* Brand Story Responsive */
    .brand-story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .brand-main-image {
        height: 350px;
    }

    /* AAIS Core Responsive */
    .core-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .core-intro-msg {
        padding: 30px;
    }

    .video-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .timeline-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .timeline-item {
        gap: 20px;
        margin-bottom: 40px;
    }

    .timeline-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 8px 0;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 8px;
    }

    .marquee-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .header-container {
        padding: 10px 15px;
    }

    .logo-img {
        height: 45px;
    }

    .main-nav {
        display: none;
    }

    .nav-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-light);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 1002;
        padding: 80px 20px 20px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-nav.nav-open {
        display: flex;
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 8px;
        text-align: left;
    }

    .hero-section {
        padding: 20px;
    }

    .slider-wrapper {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-item {
        width: fit-content;
        margin: 0 auto;
    }

    .quick-side-menu {
        display: none;
    }

    /* Brand Story 768px */
    .brand-story-section {
        padding: 60px 20px 100px;
    }

    .brand-main-image {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* AAIS Core 768px */
    .aais-core-section {
        padding: 60px 20px;
    }

    .core-header {
        margin-bottom: 30px;
    }

    .core-title {
        font-size: 1.8rem;
    }

    /* Revert Timeline to Vertical for Mobile */
    .timeline-container {
        flex-direction: column;
        gap: 0;
        padding-left: 10px;
    }

    .timeline-line {
        position: absolute;
        left: 29px;
        /* Adjust line position */
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
        background: linear-gradient(to bottom, transparent, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent);
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
        flex-direction: row;
        /* Horizontal item content */
        align-items: flex-start;
        gap: 20px;
    }

    .timeline-marker {
        width: auto;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0;
        border-width: 2px;
        box-shadow: none;
    }

    .timeline-item:hover .timeline-icon {
        transform: none;
        /* Disable rotation on mobile */
        box-shadow: none;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-content {
        text-align: left;
        padding: 20px;
        width: auto;
    }

    .timeline-content::before {
        /* Left Arrow */
        top: 20px;
        left: -10px;
        transform: none;
        border-width: 10px 10px 10px 0;
        border-color: transparent rgba(255, 255, 255, 0.05) transparent transparent;
    }

    .timeline-content:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .top-cta {
        padding: 5px 10px;
        font-size: 11px;
    }

    .logo-img {
        height: 40px;
    }

    .hero-section {
        padding: 15px;
    }

    .slider-wrapper {
        min-height: 350px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-cta-btn {
        padding: 12px 24px;
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admission-form-container {
        padding: 20px;
    }

    /* Brand Story 480px */
    .brand-story-section {
        padding: 40px 15px 80px;
    }

    .brand-main-image {
        height: 250px;
    }

    .floating-badge {
        padding: 10px 15px;
        gap: 8px;
    }

    .badge-number {
        font-size: 20px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 15px;
    }

    /* AAIS Core 480px */
    .aais-core-section {
        padding: 40px 15px;
    }

    .core-title {
        font-size: 1.6rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Overlay */
.main-nav.nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* ===================================
   ACADEMIC STAGES SECTION
   =================================== */
.academic-stages-section {
    padding: 80px 20px;
    background: var(--bg-light);
    position: relative;
}

.stages-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stages-header {
    text-align: center;
    margin-bottom: 50px;
}

.stages-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-top: 10px;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.stage-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stage-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.stage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stage-card:hover img {
    transform: scale(1.1);
}

.age-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    color: var(--primary-navy);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stage-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stage-title {
    font-size: 1.4rem;
    color: var(--accent-burgundy);
    font-weight: 700;
    margin-bottom: 5px;
}

.stage-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-green);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.stage-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.stage-points {
    margin-bottom: 25px;
    flex-grow: 1;
}

.stage-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.stage-points li i {
    color: var(--accent-orange);
    margin-top: 5px;
    font-size: 12px;
}

.stage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.stage-tags span {
    background: var(--bg-grey);
    color: var(--text-medium);
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.stage-card:hover .stage-tags span {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

/* Responsive Grid for Academic Stages */
@media (max-width: 1200px) {
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stages-grid {
        grid-template-columns: 1fr;
    }

    .academic-stages-section {
        padding: 60px 20px;
    }

    .stage-title {
        font-size: 1.25rem;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: 80px 20px;
    background: var(--bg-grey);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-question i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ===================================
   FAQ SECTION (ENHANCED)
   =================================== */
.faq-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.faq-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.faq-image-wrapper {
    position: sticky;
    top: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 600px;
    /* Fixed height for visual balance */
}

.faq-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faq-image-wrapper:hover img {
    transform: scale(1.05);
}

.faq-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    pointer-events: none;
}

.faq-image-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.faq-image-text {
    font-size: 1rem;
    opacity: 0.9;
}

.faq-content-side {
    display: flex;
    flex-direction: column;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-item.active {
    border-left: 4px solid var(--accent-burgundy);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.faq-question i {
    color: var(--accent-orange);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    color: var(--accent-burgundy);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.faq-answer-content {
    padding: 0 25px 25px;
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer-content p {
    margin-bottom: 10px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive FAQ */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-image-wrapper {
        height: 300px;
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }
}

/* ===================================
   ADMISSION PROCEDURE SECTION
   =================================== */
.admission-proc-section {
    padding: 80px 20px;
    background: #fff;
    overflow: hidden;
}

.admission-proc-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.admission-proc-content .section-label {
    display: block;
    margin-bottom: 10px;
}

.admission-proc-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.admission-proc-desc {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.admission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-orange);
    color: var(--text-light);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-fast);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--accent-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--text-light);
    transform: translateY(-3px);
}

.admission-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.admission-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.admission-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
    .admission-proc-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .admission-proc-content {
        order: 1;
        /* Content first on mobile? Or image? Let's keep standard content first or image first depending on visual flow. Usually title first is good. */
    }

    .admission-proc-image {
        order: 2;
    }
}

@media (max-width: 480px) {
    .admission-proc-section {
        padding: 60px 20px;
    }

    .admission-proc-title {
        font-size: 2rem;
    }

    .admission-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   VIDEO SHOWCASE SECTION (LIFE AT AAIS)
   =================================== */
.video-showcase-section {
    padding: 80px 0;
    background: var(--accent-burgundy);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

/* Background visual elements */
.video-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.video-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.video-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Main Player Stage */
.main-stage {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.main-stage iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Playlist Sidebar */
.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    max-height: 500px;
    /* Match approx height of main video */
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar */
.video-playlist::-webkit-scrollbar {
    width: 6px;
}

.video-playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.video-playlist::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.playlist-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.playlist-item.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.playlist-thumb {
    width: 120px;
    height: 68px;
    /* 16:9 ratio */
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-thumb::after {
    content: '\f144';
    /* Play icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0.8;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.playlist-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-duration {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.playlist-item.active .video-title {
    color: var(--accent-gold);
}

/* Responsive Video Section */
@media (max-width: 992px) {
    .video-layout {
        grid-template-columns: 1fr;
    }

    .video-playlist {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: auto;
        padding-bottom: 10px;
        padding-right: 0;
    }

    .video-playlist::-webkit-scrollbar {
        height: 6px;
        width: auto;
    }

    .playlist-item {
        min-width: 280px;
    }
}

/* ===================================
   KNOW AAIS SECTION (UNIQUE DESIGN)
   =================================== */
.know-aais-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Background element */
.know-aais-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: var(--bg-grey);
    z-index: 0;
}

.know-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

/* Sidebar Navigation */
.know-sidebar {
    padding-top: 20px;
}

.know-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 100px;
}

.know-nav-item {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-medium);
    padding: 15px 20px;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.know-nav-item:hover {
    color: var(--accent-orange);
    padding-left: 25px;
}

.know-nav-item.active {
    color: var(--primary-navy);
    font-weight: 700;
    border-left-color: var(--accent-gold);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

/* Main Content Area */
.know-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.know-header-img {
    width: 100%;
    height: 400px;
    border-radius: 30px 0 30px 30px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.know-header-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.know-header-img:hover img {
    transform: scale(1.05);
}

.know-text-wrapper {
    max-width: 900px;
}

.know-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.know-heading::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23FFD700' stroke-width='2'%3E%3Cpath d='M10 50 Q 50 10 90 50 T 170 50' /%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.5;
    z-index: -1;
}

.know-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Learners Quote Section */
.learners-block {
    margin: 30px 0;
    padding: 40px;
    background: var(--primary-navy);
    color: var(--text-light);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.learners-block::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.05);
}

.learners-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.learners-text {
    font-style: italic;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* Vision & Mission Grid */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.vm-card {
    padding: 35px;
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-vision {
    background: #fff;
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.vm-mission {
    background: var(--accent-burgundy);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.vm-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.vm-vision .vm-icon {
    color: var(--accent-gold);
}

.vm-mission .vm-icon {
    color: var(--accent-gold);
    /* Gold icon on maroon looks good */
}

.vm-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.vm-vision .vm-title {
    color: var(--primary-navy);
}

.vm-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .know-container {
        grid-template-columns: 1fr;
    }

    .know-sidebar {
        display: none;
        /* Hide sidebar on tablet/mobile for now or make it a dropdown. Let's hide to simplify since links don't go anywhere yet. */
    }

    .know-aais-section::before {
        width: 100%;
        height: 300px;
        bottom: 0;
        top: auto;
    }
}

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }

    .know-heading {
        font-size: 2.5rem;
    }

    .know-header-img {
        height: 250px;
    }
}

/* ===================================
   FOOTER ADMISSION & CONTACT SECTION (Refined)
   =================================== */
.footer-admission-section {
    background: var(--accent-burgundy);
    color: var(--text-light);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Subtle texture/pattern overlay */
.footer-admission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    /* Tighter container */
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* Balanced columns */
    gap: 50px;
    /* Reduced gap */
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Contact Info */
.footer-contact-info {
    padding: 40px;
    background: rgba(0, 0, 0, 0.15);
    /* Subtle dark overlay */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.footer-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.footer-section-title span {
    color: var(--accent-gold);
}

.contact-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.campus-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.campus-title i {
    background: rgba(255, 215, 0, 0.2);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.contact-details {
    margin-left: 0;
    padding-left: 40px;
    /* indented under icon */
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-gold);
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Right Side - Form */
.footer-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Decorative Gold Offset Border */
.footer-form-wrapper::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.footer-form-wrapper:hover::after {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    opacity: 0.8;
}

.footer-form-title {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.footer-form-group {
    margin-bottom: 12px;
}

.footer-form-group input,
.footer-form-group select,
.footer-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    background: #fdfdfd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-form-group input:focus,
.footer-form-group select:focus,
.footer-form-group textarea:focus {
    border-color: var(--accent-burgundy);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.footer-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-navy);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    letter-spacing: 1px;
}

.footer-submit-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   MAIN FOOTER
   =================================== */
.main-footer {
    background: #111;
    color: #fff;
    padding: 80px 0 0;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    width: 180px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-desc {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--accent-orange);
}

/* Footer Contact */
.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-top: 5px;
}

.footer-contact-info h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.footer-contact-info p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Copyright */
.footer-copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    background: #0a0a0a;
}

.footer-copyright a {
    color: #aaa;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--accent-gold);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-admission-section {
        padding: 50px 0 30px;
    }

    .footer-form-wrapper::after {
        display: none;
        /* Hide decorative border on mobile for cleaner look */
    }

    .footer-form-wrapper {
        padding: 30px 20px;
    }
}

/* ===================================
   THE AAIS WAY (MARQUEE SLIDER)
   =================================== */
.aais-way-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.aais-way-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.aais-way-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.aais-way-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    /* Fade edges */
    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-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.marquee-normal {
    animation: marquee-scroll 40s linear infinite;
}

.marquee-reverse {
    animation: marquee-scroll-reverse 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Cards */
.way-card {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.way-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Image Card Styling */
.way-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.way-card-image:hover img {
    transform: scale(1.1);
}

.way-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.way-card-label {
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Quote Card Styling */
.way-card-quote {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.quote-icon-large {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.way-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 15px;
}

.way-quote-author {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Color Variants */
.bg-gold {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.bg-gold .way-quote-text {
    color: var(--primary-navy);
}

.bg-gold .quote-icon-large {
    color: rgba(0, 0, 0, 0.2);
}

.bg-maroon {
    background: var(--accent-burgundy);
}

.bg-navy {
    background: var(--primary-navy);
}

.bg-blue {
    background: #2E86AB;
}

.bg-orange {
    background: var(--accent-orange);
}

/* Mobile */
@media (max-width: 768px) {
    .way-card {
        flex: 0 0 240px;
        height: 240px;
    }

    .aais-way-title {
        font-size: 2.2rem;
    }
}