/* ==========================================================================
   Tutoring Centre DXB - Stylesheet
   Mobile-first responsive design with self-hosted fonts
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted Fonts
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Variable.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Brand colours (from logo) */
    --yellow: #FFD200;
    --yellow-light: #FFF3B8;
    --blue: #1E3FAE;
    --blue-light: #4D6BD4;
    --navy: #0B1F4D;
    --navy-light: #1a3a7a;
    --sky: #A9CBF2;
    --white: #FFFFFF;
    --text: #1A2233;
    --muted: #5A6478;

    /* Derived colours */
    --blue-hover: #1a35a0;
    --sky-light: #E8F2FC;
    --sky-highlight: #C5DCFA;
    --border: #E2E8F0;
    --error: #DC2626;
    --surface: #F8FAFC;

    /* Typography - Golden Ratio Scale (1.618) */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.618rem;    /* 26px - Golden Ratio */
    --text-3xl: 2.618rem;    /* 42px - Golden Ratio */
    --text-4xl: 4.236rem;    /* 68px - Golden Ratio */

    /* Spacing - Golden Ratio based */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.618rem;
    --space-lg: 2.618rem;
    --space-xl: 4.236rem;
    --space-2xl: 6.854rem;
    --space-3xl: 11.09rem;

    /* Sizing */
    --header-height: 72px;
    --container-max: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows - Layered for depth */
    --shadow-sm: 0 1px 2px rgba(11, 31, 77, 0.04), 0 1px 3px rgba(11, 31, 77, 0.08);
    --shadow-md: 0 2px 4px rgba(11, 31, 77, 0.04), 0 4px 8px rgba(11, 31, 77, 0.08), 0 8px 16px rgba(11, 31, 77, 0.04);
    --shadow-lg: 0 4px 8px rgba(11, 31, 77, 0.04), 0 8px 16px rgba(11, 31, 77, 0.08), 0 16px 32px rgba(11, 31, 77, 0.08);
    --shadow-xl: 0 8px 16px rgba(11, 31, 77, 0.04), 0 16px 32px rgba(11, 31, 77, 0.08), 0 32px 64px rgba(11, 31, 77, 0.12);
    --shadow-glow: 0 0 40px rgba(30, 63, 174, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    font-variant-ligatures: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Safe area for notched devices */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    content-visibility: auto;
}

/* Performance: Optimize below-fold sections */
section:not(#hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Touch optimization for mobile */
button, a, input, select, textarea {
    touch-action: manipulation;
}

/* GPU acceleration for animations */
.hero, .floating-card-wrapper, .report-card {
    will-change: transform;
    transform: translateZ(0);
}

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

a:hover {
    color: var(--blue-hover);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

strong {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* --------------------------------------------------------------------------
   Mobile Optimizations
   -------------------------------------------------------------------------- */
/* Ensure minimum touch target size (44px) */
@media (max-width: 767px) {
    /* Keep header CTA hidden on mobile */
    .header__cta {
        display: none !important;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
    }

    /* Better tap highlights */
    a, button {
        -webkit-tap-highlight-color: rgba(30, 63, 174, 0.1);
    }

    /* Improve text readability on mobile */
    body {
        font-size: 0.9375rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Reduce spacing on mobile */
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    /* Improve text readability on mobile */
    body {
        font-size: 0.9375rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
    }

    /* Better tap highlights */
    a, button {
        -webkit-tap-highlight-color: rgba(30, 63, 174, 0.1);
    }
}

/* --------------------------------------------------------------------------
   Scroll Progress Indicator
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.header--scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.header__logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--navy);
}

.header__logo-highlight {
    color: var(--yellow);
}

/* Desktop nav - hidden on mobile */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }

    .nav__list {
        display: flex;
        gap: var(--space-md);
    }

    .nav__link {
        font-size: 0.9375rem;
        font-weight: 500;
        color: var(--text);
        padding: var(--space-xs) 0;
        position: relative;
    }

    .nav__link:hover {
        color: var(--blue);
    }

    .nav__link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--blue);
        transition: width var(--transition);
    }

    .nav__link:hover::after,
    .nav__link--active::after {
        width: 100%;
    }

    .nav__link--active {
        color: var(--blue);
    }
}

/* Header CTA - hidden on mobile */
.header__cta {
    display: none;
}

@media (min-width: 1024px) {
    .header__cta {
        display: inline-flex;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 12px;
}

.hamburger__line {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Mobile Menu
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu {
        transition: none;
    }
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mobile-menu__link {
    display: block;
    padding: var(--space-sm);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--navy);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobile-menu__link:hover {
    background: var(--sky-light);
    color: var(--blue);
}

.mobile-menu__link--cta {
    margin-top: var(--space-md);
    background: var(--blue);
    color: var(--white);
    text-align: center;
}

.mobile-menu__link--cta:hover {
    background: var(--blue-hover);
    color: var(--white);
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 63, 174, 0.2); }
    50% { box-shadow: 0 0 40px rgba(30, 63, 174, 0.4); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: var(--shadow-md), 0 4px 16px rgba(30, 63, 174, 0.3);
    transition: all var(--transition-bounce);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--blue-hover) 0%, var(--blue) 100%);
    border-color: var(--blue-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 24px rgba(30, 63, 174, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn--outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    transition: all var(--transition-bounce);
}

.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline:active {
    transform: translateY(0);
}

.btn--outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section - Yellow background, two-column layout
   -------------------------------------------------------------------------- */
.hero {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-3xl);
    background: var(--yellow);
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

/* Hero Background Image */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero__bg img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

@media (min-width: 768px) {
    .hero__bg {
        align-items: center;
    }

    .hero__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* Hero Gradient Overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(255, 210, 0, 0.95) 0%,
        rgba(255, 210, 0, 0.88) 30%,
        rgba(255, 210, 0, 0.75) 60%,
        rgba(255, 210, 0, 0.6) 100%
    );
}

@media (min-width: 768px) {
    .hero__overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 210, 0, 0.95) 0%,
            rgba(255, 210, 0, 0.85) 40%,
            rgba(255, 210, 0, 0.65) 70%,
            rgba(255, 210, 0, 0.4) 100%
        );
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
    }
}

/* Decorative shapes - hidden since we have background image */
.hero__shapes {
    display: none;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
}

.hero__shape--1 {
    width: 500px;
    height: 500px;
    background: var(--yellow-light);
    opacity: 0.5;
    top: -150px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
    width: 280px;
    height: 280px;
    background: var(--yellow-light);
    opacity: 0.4;
    bottom: -80px;
    left: 5%;
    animation: float 6s ease-in-out infinite 1s;
}

.hero__shape--3 {
    width: 180px;
    height: 180px;
    background: var(--yellow-light);
    opacity: 0.3;
    top: 30%;
    right: 35%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.hero__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
    z-index: 4;
    flex-grow: 1;
}

.hero__content {
    max-width: 600px;
}

.hero__tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hero__highlight {
    position: relative;
    display: inline;
}

.hero__highlight::before {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 0;
    height: 40%;
    background: var(--sky-highlight);
    z-index: -1;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--navy);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Floating Card Wrapper - Between sections */
.floating-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 10;
    padding: 0 var(--space-md);
}

.floating-card-wrapper .report-card {
    animation: float 6s ease-in-out infinite;
    max-width: 320px;
}

@media (min-width: 768px) {
    .floating-card-wrapper {
        justify-content: flex-end;
        padding: 0 var(--space-xl);
        margin-top: calc(-1 * var(--space-xl));
    }

    .floating-card-wrapper .report-card {
        max-width: 360px;
    }
}

@media (min-width: 1024px) {
    .floating-card-wrapper {
        padding: 0 var(--space-3xl);
        margin-top: calc(-1 * var(--space-2xl));
    }
}

/* Report Card */
.report-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--navy);
    border-radius: var(--radius-xl);
    padding: var(--space-md) var(--space-lg);
    max-width: 380px;
    width: 100%;
    box-shadow: var(--shadow-xl), 6px 6px 0 var(--navy);
    transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.report-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 var(--navy);
}

@media (prefers-reduced-motion: reduce) {
    .report-card:hover {
        transform: none;
        box-shadow: 8px 8px 0 var(--navy);
    }
}

.report-card__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--muted);
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed var(--sky);
    margin-bottom: var(--space-sm);
}

.report-card__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed var(--sky);
    margin-bottom: var(--space-sm);
}

.report-card__subject-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .report-card__subject-title {
        font-size: 1.375rem;
    }
}

.report-card__subject-desc {
    font-size: 0.9375rem;
    color: var(--muted);
}

.report-card__grades {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.grade {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .grade {
        width: 44px;
        height: 44px;
        font-size: 1.375rem;
    }
}

.grade--c {
    color: var(--muted);
    border: 2px solid var(--muted);
}

.grade--a {
    color: var(--white);
    background: var(--blue);
    border: 2px solid var(--blue);
}

.grade__arrow {
    font-size: 1.5rem;
    color: var(--muted);
}

.report-card__footer {
    font-size: 0.75rem;
    color: var(--muted);
}

@media (min-width: 768px) {
    .report-card__footer {
        font-size: 0.8125rem;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-3xl);
        min-height: 600px;
    }

    .hero__title {
        font-size: 2.75rem;
    }

    .hero__subtitle {
        font-size: 1.125rem;
    }

    .hero__buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
        min-height: 700px;
    }

    .hero__content {
        max-width: 580px;
    }

    .hero__title {
        font-size: 3.25rem;
    }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: var(--space-xl) 0;
}

.section--light {
    background: linear-gradient(135deg, var(--sky-light) 0%, #f0f7ff 100%);
    position: relative;
}

/* Subtle dot pattern for visual texture */
.section--light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(30, 63, 174, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.section--mission {
    background: var(--navy);
    color: var(--white);
}

.section--mission .section__label {
    color: var(--yellow);
}

.section--mission .section__title {
    color: var(--white);
}

.section--mission p {
    color: rgba(255, 255, 255, 0.85);
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--blue);
    margin-bottom: var(--space-sm);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(30, 63, 174, 0.1) 0%, rgba(169, 203, 242, 0.3) 100%);
    border-radius: var(--radius-full);
}

.section__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

/* Gradient text for certain titles */
.section__title--gradient {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__intro {
    font-size: var(--text-lg);
    color: var(--muted);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }

    .section__title {
        font-size: 2.25rem;
    }
}

/* --------------------------------------------------------------------------
   About Section - Minimal
   -------------------------------------------------------------------------- */
.about-layout {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.about-content .section__title--left {
    text-align: left;
    max-width: none;
}

.about-intro {
    font-size: 1.0625rem;
    color: var(--muted);
    line-height: 1.7;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .about-content .section__title--left {
        text-align: center;
    }

    .about-intro {
        text-align: center;
    }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 600px;
    margin: var(--space-xl) auto 0;
    padding: var(--space-lg);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

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

.stat-item__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.stat-item__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
        max-width: 700px;
    }

    .stat-item__number {
        font-size: 2.5rem;
    }
}

/* --------------------------------------------------------------------------
   Services Section - Cards with Images
   -------------------------------------------------------------------------- */
.services-cards {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.service-card {
    display: grid;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-card__image {
    position: relative;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    padding: var(--space-lg);
}

.service-card__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--navy);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: var(--space-sm);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.service-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--navy);
    font-weight: 500;
}

.service-card__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card__image img {
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .service-card {
        grid-template-columns: 1fr 1fr;
    }

    .service-card:nth-child(2) {
        direction: rtl;
    }

    .service-card:nth-child(2) > * {
        direction: ltr;
    }

    .service-card__image img {
        height: 100%;
        min-height: 280px;
    }
}

/* --------------------------------------------------------------------------
   Mission Section - Full Width Image
   -------------------------------------------------------------------------- */
.mission-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mission-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mission-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.mission-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(11, 31, 77, 0.95) 0%, rgba(11, 31, 77, 0.7) 50%, rgba(11, 31, 77, 0.3) 100%);
}

.mission-section .container {
    position: relative;
    z-index: 3;
    padding: var(--space-2xl) var(--space-md);
}

.mission-content {
    max-width: 550px;
}

.mission-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .mission-section {
        min-height: 450px;
    }

    .mission-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .mission-overlay {
        background: linear-gradient(0deg, rgba(11, 31, 77, 0.9) 0%, rgba(11, 31, 77, 0.7) 100%);
    }

    .mission-content {
        text-align: center;
        max-width: none;
    }

    .mission-bg img {
        object-position: center center;
    }
}

/* --------------------------------------------------------------------------
   Academic Levels Section - With Images
   -------------------------------------------------------------------------- */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.level-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.level-card__img {
    position: relative;
    overflow: hidden;
}

.level-card__img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.level-card__content {
    padding: var(--space-md);
    text-align: center;
}

.level-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.level-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.level-card__desc {
    font-size: 0.8125rem;
    color: var(--muted);
}

@media (min-width: 768px) {
    .levels-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .level-card__img img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .level-card__img img {
        height: 140px;
    }
}

/* --------------------------------------------------------------------------
   Core Values Section - Navy Background with Icons
   -------------------------------------------------------------------------- */
.section--navy {
    background: var(--navy);
}

/* Values Layout with Image */
.values-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.values-image {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.values-image__frame {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.values-image__accent {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    right: calc(-1 * var(--space-md));
    bottom: calc(-1 * var(--space-md));
    background: var(--yellow);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.values-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .values-layout {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3xl);
    }

    .values-image {
        flex: 0 0 40%;
        max-width: 450px;
        margin: 0;
    }

    .values-content {
        flex: 1;
        text-align: left;
    }

    .values-content .section__label--light,
    .values-content .section__title--light {
        text-align: left;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-box {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-box__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
}

.value-box__icon svg {
    width: 28px;
    height: 28px;
    color: var(--navy);
}

.value-box__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-box__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .value-box {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .value-box {
        padding: var(--space-md);
    }

    .value-box__icon {
        width: 48px;
        height: 48px;
    }

    .value-box__icon svg {
        width: 24px;
        height: 24px;
    }
}

/* --------------------------------------------------------------------------
   Pricing Section - Modern Cards
   -------------------------------------------------------------------------- */
.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section__intro--light {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-option {
    position: relative;
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-option--featured {
    background: var(--white);
    border: 2px solid var(--yellow);
}

.pricing-option--featured .pricing-option__title,
.pricing-option--featured .pricing-option__desc {
    color: var(--navy);
}

.pricing-option__popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.375rem 1rem;
    background: var(--yellow);
    color: var(--navy);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2rem;
}

.pricing-option__ratio {
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 50%;
    margin-bottom: var(--space-sm);
}

.pricing-option--featured .pricing-option__ratio {
    background: var(--blue);
    color: var(--white);
}

.pricing-option__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.pricing-option__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.pricing-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.btn--yellow {
    background: var(--yellow);
    color: var(--navy);
    font-weight: 700;
}

.btn--yellow:hover {
    background: #e6bd00;
    transform: translateY(-2px);
}

.pricing-cta__note {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .pricing-options {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
    }

    .pricing-option {
        margin-top: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Why Choose Us - Checklist Style
   -------------------------------------------------------------------------- */
.why-content {
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 600px;
    margin: var(--space-xl) auto;
}

.why-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.why-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
}

.why-item__icon svg {
    width: 16px;
    height: 16px;
    color: var(--navy);
}

.why-item__text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    text-align: left;
}

.why-tagline {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 800px;
    }
}

/* --------------------------------------------------------------------------
   Curriculum Section - Cards
   -------------------------------------------------------------------------- */
.curriculum-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.curr-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.curr-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.curr-card--ib { border-color: var(--blue); }
.curr-card--british { border-color: var(--navy); }
.curr-card--american { border-color: var(--yellow); }

.curr-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    background: var(--navy);
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.curr-card--ib .curr-card__icon { background: var(--blue); }
.curr-card--american .curr-card__icon { background: var(--yellow); color: var(--navy); }

.curr-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.curr-card__exams {
    font-size: 0.875rem;
    color: var(--muted);
}

@media (max-width: 767px) {
    .curriculum-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --------------------------------------------------------------------------
   Tutors Section - Compact
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Tutors Section Layout
   -------------------------------------------------------------------------- */
.tutors-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.tutors-content {
    text-align: center;
}

.tutors-content .section__intro {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tutor Features - Horizontal list */
.tutor-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.tutor-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-align: left;
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tutor-feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
}

.tutor-feature__icon svg {
    width: 22px;
    height: 22px;
    color: var(--navy);
}

.tutor-feature__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.tutor-feature__desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Tutors Gallery */
.tutors-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.tutors-gallery__main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.tutors-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.tutors-gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tutors-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

@media (min-width: 768px) {
    .tutor-features {
        flex-direction: row;
        gap: var(--space-lg);
    }

    .tutor-feature {
        flex: 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tutor-feature__icon {
        width: 52px;
        height: 52px;
    }

    .tutor-feature__icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 1024px) {
    .tutors-layout {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .tutors-content {
        flex: 1;
        text-align: left;
    }

    .tutors-content .section__intro {
        margin-left: 0;
    }

    .tutor-features {
        flex-direction: column;
    }

    .tutor-feature {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .tutors-gallery {
        flex: 1;
        max-width: 500px;
    }
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--navy);
}

.feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.feature-card__desc {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Legacy feature-item styles - kept for backward compatibility */
.feature-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.feature-item__icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.feature-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.feature-item__desc {
    font-size: 0.875rem;
    color: var(--muted);
}


/* --------------------------------------------------------------------------
   Curriculum Section - Enhanced Cards
   -------------------------------------------------------------------------- */
.curriculum-grid {
    display: grid;
    gap: var(--space-md);
}

.curriculum-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.curriculum-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

.curriculum-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sky-light) 0%, var(--sky) 100%);
    border-radius: 50%;
}

.curriculum-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--blue);
}

.curriculum-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.curriculum-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--sky-light);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.badge:hover {
    background: var(--sky);
}

.badge--primary {
    background: var(--navy);
    color: var(--white);
}

.badge--primary:hover {
    background: var(--blue);
}

.curriculum-card__ages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.age-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

@media (min-width: 640px) and (max-width: 1023px) {
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .curriculum-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .curriculum-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Why Choose Us - Dark Section with Benefits
   -------------------------------------------------------------------------- */
.section--dark {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 50%, var(--blue) 100%);
    position: relative;
    overflow: hidden;
}

.section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.section__label--light {
    color: var(--yellow);
}

.section__title--light {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.benefit {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: all var(--transition);
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.benefit__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    border-radius: 50%;
}

.benefit__icon svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.benefit__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.benefit__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner__text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.btn--yellow {
    background: var(--yellow);
    color: var(--navy);
    font-weight: 600;
}

.btn--yellow:hover {
    background: #e6bd00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 210, 0, 0.4);
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit {
        flex-direction: column;
        text-align: center;
    }

    .benefit__icon {
        margin: 0 auto var(--space-sm);
    }
}

@media (min-width: 768px) {
    .cta-banner {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefit {
        padding: var(--space-lg);
    }
}

/* --------------------------------------------------------------------------
   Legacy Pricing (keeping for reference but not used)
   -------------------------------------------------------------------------- */
.pricing-grid {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 100%);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue);
}

.pricing-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.pricing-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.pricing-card__desc {
    font-size: 0.9375rem;
    color: var(--muted);
}

.pricing__cta {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.pricing__cta p {
    color: var(--muted);
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --------------------------------------------------------------------------
   Why Choose Us
   -------------------------------------------------------------------------- */
.checklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.checklist__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    padding: var(--space-xs) 0;
    transition: transform var(--transition);
}

.checklist__item:hover {
    transform: translateX(4px);
}

.checklist__item:hover .checklist__icon {
    transform: scale(1.1);
}

.checklist__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--yellow);
    transition: transform var(--transition);
}

.why-us__tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Testimonials - Horizontal Carousel
   -------------------------------------------------------------------------- */
.testimonials-wrapper {
    position: relative;
    margin: 0 calc(-1 * var(--space-sm));
    padding: var(--space-sm) 0;
}

.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F8FAFC 0%, transparent 100%);
}

.testimonials-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F8FAFC 0%, transparent 100%);
}

.testimonials {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-xs) var(--space-md);
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--space-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2.5rem;
    font-family: Georgia, serif;
    color: var(--sky);
    line-height: 1;
    pointer-events: none;
    opacity: 0.5;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-card__header .avatar {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
}

.testimonial-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    color: var(--navy);
}

.testimonial-card__author {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--blue);
    text-transform: uppercase;
}

.testimonial-card__quote {
    font-size: 0.8125rem;
    font-style: normal;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll indicators */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.testimonials-dot:hover,
.testimonials-dot.active {
    background: var(--blue);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 320px;
    }

    .testimonial-card__quote {
        -webkit-line-clamp: 5;
    }
}

@media (min-width: 1024px) {
    .testimonials-wrapper::before,
    .testimonials-wrapper::after {
        width: 100px;
    }

    .testimonial-card {
        flex: 0 0 340px;
        padding: var(--space-lg);
    }

    .testimonial-card__quote {
        font-size: 0.875rem;
        -webkit-line-clamp: 4;
    }
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    gap: var(--space-xl);
}

.contact-info {
    display: grid;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(30, 63, 174, 0.1);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
}

.contact-card__icon--whatsapp {
    background: #25D366;
    color: white;
}

.contact-card__icon--phone {
    background: var(--blue);
    color: white;
}

.contact-card__icon--email {
    background: var(--navy);
    color: white;
}

.contact-card__icon--location {
    background: var(--yellow);
    color: var(--navy);
}

.contact-card__content {
    flex: 1;
    min-width: 0;
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.125rem;
}

.contact-card__value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    word-break: break-word;
    display: block;
}

.contact-card__value:hover {
    color: var(--blue);
}

.contact-card__text {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

.contact-card__hint {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.125rem;
}

/* Mobile contact cards */
@media (max-width: 767px) {
    .contact-card {
        padding: var(--space-sm);
    }

    .contact-card__icon {
        width: 44px;
        height: 44px;
    }

    .contact-card__value {
        font-size: 0.9375rem;
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, var(--blue) 50%, var(--navy) 100%);
}

.contact-form__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    flex: 1;
    min-width: 120px;
}

.radio-option:hover {
    border-color: var(--blue);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition);
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--blue);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
    transform: scale(1);
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: var(--navy);
    font-weight: 600;
}

.radio-option input[type="radio"]:focus + .radio-custom {
    box-shadow: 0 0 0 3px rgba(30, 63, 174, 0.15);
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--blue);
    background: var(--sky-light);
}

.radio-label {
    font-size: 0.9375rem;
    color: var(--text);
    transition: all var(--transition);
}

/* Radio group error state */
.form-group.error .radio-option {
    border-color: var(--error);
}

.form-group.error .radio-custom {
    border-color: var(--error);
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 63, 174, 0.15), var(--shadow-sm);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: var(--muted);
}

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

/* International Phone Input (intl-tel-input) */
.iti {
    width: 100%;
    --iti-border-color: var(--border);
    --iti-hover-color: var(--sky-light);
}

.iti__tel-input {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    padding-left: 110px !important;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.iti__tel-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 63, 174, 0.12);
}

.iti__tel-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

/* Country selector button */
.iti__country-container {
    padding: 0;
}

.iti__selected-country {
    height: 100%;
    padding: 0 0.75rem;
    background: transparent;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: background var(--transition);
}

.iti__selected-country:hover,
.iti__selected-country:focus {
    background: var(--surface);
}

.iti__selected-country-primary {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Flag styling */
.iti__flag {
    display: inline-block;
    width: 24px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Dropdown arrow */
.iti__arrow {
    border: none;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    margin-left: 2px;
}

.iti__arrow--up {
    border-top: none;
    border-bottom: 5px solid var(--muted);
}

/* Dial code display */
.iti__selected-dial-code {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin-left: 0.5rem;
    padding-right: 0.75rem;
    border-right: 1px solid var(--border);
}

/* Dropdown styling */
.iti__dropdown-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 6px;
    max-height: 320px;
    overflow: hidden;
}

.iti__search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    background: var(--surface);
}

.iti__search-input:focus {
    background: var(--white);
}

.iti__search-input::placeholder {
    color: var(--muted);
}

.iti__country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 260px;
    overflow-y: auto;
}

.iti__country {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition);
}

.iti__country:hover,
.iti__country--highlight {
    background: var(--sky-light);
}

.iti__country-name {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text);
}

.iti__dial-code {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

/* Preferred/priority countries divider */
.iti__divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0.375rem 0;
}

/* Error state */
.form-group.error .iti__tel-input {
    border-color: var(--error);
}

/* Focus state for the whole container */
.iti--focus .iti__selected-dial-code {
    border-right-color: var(--blue);
}

.form-error {
    display: none;
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 0.25rem;
}

.form-group.error .form-input {
    border-color: var(--error);
}

.form-group.error .form-error {
    display: block;
}

/* Form actions - two submit buttons */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.btn--submit {
    width: 100%;
}

@media (min-width: 480px) {
    .form-actions {
        flex-direction: row;
    }

    .btn--submit {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
    }
}

/* --------------------------------------------------------------------------
   Footer - Minimal Design
   -------------------------------------------------------------------------- */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-xl) 0;
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
}

.footer__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.footer__brand {
    display: flex;
    align-items: center;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.footer__logo-highlight {
    color: var(--yellow);
}

.footer__links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.footer__col {
    min-width: 0;
}

.footer__heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
    text-transform: none;
}

.footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__nav li {
    margin-bottom: 0.5rem;
}

.footer__nav li:last-child {
    margin-bottom: 0;
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer__nav a:hover {
    color: var(--yellow);
}

.footer__bottom {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer__links-grid {
        grid-template-columns: repeat(4, auto);
        gap: var(--space-2xl);
    }
}

/* --------------------------------------------------------------------------
   Service Areas Card
   -------------------------------------------------------------------------- */
.service-areas-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--sky-light) 0%, #f0f7ff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--sky);
    margin-bottom: var(--space-xl);
}

.service-areas-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-areas-card__icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-areas-card__content {
    flex: 1;
}

.service-areas-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.service-areas-card__locations {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.service-areas-card__group {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.service-areas-card__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue);
}

.service-areas-card__text {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
}

.service-areas-card__divider {
    width: 1px;
    height: 32px;
    background: var(--sky);
}

@media (max-width: 480px) {
    .service-areas-card {
        flex-direction: column;
        text-align: center;
    }

    .service-areas-card__icon {
        margin: 0 auto;
    }

    .service-areas-card__locations {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .service-areas-card__divider {
        width: 100%;
        height: 1px;
    }

    /* Phone input mobile adjustments */
    .iti__tel-input {
        padding-left: 100px !important;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .iti__selected-country {
        padding: 0 0.5rem;
    }

    .iti__selected-dial-code {
        font-size: 0.9375rem;
        padding-right: 0.5rem;
    }

    .iti__dropdown-content {
        max-height: 280px;
    }

    .iti__flag {
        width: 22px;
        height: 16px;
    }

    /* Extra small screen - new sections */
    .about-mission {
        font-size: 0.9375rem;
        padding: var(--space-sm);
        padding-left: var(--space-md);
    }

    .about-mission__icon {
        font-size: 1.5rem;
        left: 0.25rem;
        top: 0.25rem;
    }

    /* Curriculum tags mobile */
    .tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }

    .curriculum-card__badges {
        gap: 0.25rem;
    }

    .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }

    .age-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }

    .benefit {
        padding: var(--space-sm);
    }

    .cta-banner {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .cta-banner__text {
        font-size: 0.9375rem;
    }

    .step-compact {
        padding: var(--space-xs) var(--space-sm);
    }

    .step-compact__number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* --------------------------------------------------------------------------
   Sticky Mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm);
    padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 950;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    gap: 0.75rem;
}

.mobile-cta.visible {
    transform: translateY(0);
}

.mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    min-height: 52px;
    padding: 0.875rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}

/* Call button - Blue theme */
.mobile-cta__btn--call {
    background: var(--blue);
}

.mobile-cta__btn--call:hover,
.mobile-cta__btn--call:active {
    background: var(--blue-hover);
    color: var(--white);
}

/* WhatsApp button - Green theme */
.mobile-cta__btn--whatsapp {
    background: #25D366;
}

.mobile-cta__btn--whatsapp:hover,
.mobile-cta__btn--whatsapp:active {
    background: #20bd5a;
    color: var(--white);
}

.mobile-cta__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Show only on mobile */
@media (max-width: 1023px) {
    .mobile-cta {
        display: flex;
    }

    /* Add padding to footer to prevent CTA covering content */
    .footer {
        padding-bottom: calc(var(--space-lg) + 80px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-cta {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Button Loading State
   -------------------------------------------------------------------------- */
.btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn--primary.btn--loading::after {
    border-top-color: var(--white);
}

.btn--outline.btn--loading::after {
    border-top-color: var(--blue);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn--loading::after {
        animation: none;
        border: 2px solid currentColor;
        border-radius: 50%;
    }

    .btn--primary.btn--loading::after {
        border-color: var(--white);
    }
}

/* --------------------------------------------------------------------------
   WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 900;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-btn:hover {
        transform: none;
    }
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

/* Body lock for mobile menu */
body.menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Wave Divider
   -------------------------------------------------------------------------- */
.wave-divider {
    background: var(--yellow);
    color: var(--white);
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

@media (min-width: 768px) {
    .wave-divider svg {
        height: 80px;
    }
}

@media (min-width: 1024px) {
    .wave-divider svg {
        height: 120px;
    }
}

/* --------------------------------------------------------------------------
   How It Works / Steps
   -------------------------------------------------------------------------- */
.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.step {
    text-align: center;
    max-width: 300px;
    position: relative;
    padding: var(--space-lg);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition-bounce);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}

.step:hover .step__icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 50%;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-bounce);
}

.step__icon svg {
    width: 32px;
    height: 32px;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    background: var(--blue);
    border-radius: 50%;
    margin-bottom: var(--space-xs);
}

.step__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.step__desc {
    font-size: 0.9375rem;
    color: var(--muted);
}

.step__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sky);
    transform: rotate(90deg);
}

.step__connector svg {
    width: 24px;
    height: 24px;
}

.steps__cta {
    text-align: center;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .step__connector {
        transform: none;
        margin-top: 32px;
    }
}

/* Steps Compact Version */
.how-it-works-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.steps-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.step-compact {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--sky-light);
    border-radius: var(--radius);
    width: 100%;
    max-width: 320px;
    transition: all var(--transition);
}

.step-compact:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.step-compact__number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    border-radius: 50%;
}

.step-compact__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.125rem;
}

.step-compact__desc {
    font-size: 0.8125rem;
    color: var(--muted);
}

.step-compact__arrow {
    display: none;
    color: var(--sky);
}

.step-compact__arrow svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .steps-compact {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-sm);
    }

    .step-compact {
        flex-direction: column;
        text-align: center;
        max-width: none;
        width: auto;
        padding: var(--space-lg);
    }

    .step-compact__arrow {
        display: block;
        transform: rotate(0);
    }
}

/* --------------------------------------------------------------------------
   Testimonial Avatars
   -------------------------------------------------------------------------- */
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
}

.avatar--blue {
    background: var(--blue);
    color: var(--white);
}

.avatar--navy {
    background: var(--navy);
    color: var(--white);
}

.avatar--sky {
    background: var(--sky);
    color: var(--navy);
}

.avatar--yellow {
    background: var(--yellow);
    color: var(--navy);
}

/* --------------------------------------------------------------------------
   Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 899;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

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

.back-to-top:hover {
    background: var(--blue);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    max-width: calc(100vw - 2rem);
}

.toast.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #22C55E;
}

.toast__icon svg {
    width: 100%;
    height: 100%;
}

.toast__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.toast__message {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Scroll-triggered Animations (respects prefers-reduced-motion)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .animate-ready {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays for grid children */
    .animate-stagger > .animate-ready:nth-child(1) { transition-delay: 0s; }
    .animate-stagger > .animate-ready:nth-child(2) { transition-delay: 0.1s; }
    .animate-stagger > .animate-ready:nth-child(3) { transition-delay: 0.2s; }
    .animate-stagger > .animate-ready:nth-child(4) { transition-delay: 0.3s; }
    .animate-stagger > .animate-ready:nth-child(5) { transition-delay: 0.4s; }
    .animate-stagger > .animate-ready:nth-child(6) { transition-delay: 0.5s; }

    /* Scale-in animation variant */
    .animate-scale-ready {
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .animate-scale-in {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------------------------------
   Comprehensive Mobile Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Section spacing */
    .section {
        padding: var(--space-xl) 0;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .section__intro {
        font-size: 0.9375rem;
    }

    /* Hero improvements */
    .hero {
        padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-lg);
    }

    .hero__title {
        font-size: 1.625rem;
    }

    .hero__subtitle {
        font-size: 0.9375rem;
    }

    .hero__badges {
        flex-direction: column;
        gap: var(--space-xs);
    }

    /* Report card on mobile */
    .report-card {
        padding: var(--space-md);
    }

    /* Services */
    .services-cards {
        gap: var(--space-md);
    }

    .service-card__content {
        padding: var(--space-md);
    }

    .service-card__image img {
        height: 200px;
    }

    .service-card__title {
        font-size: 1.125rem;
    }

    /* Features grid */
    .features-grid {
        gap: var(--space-md);
    }

    .feature-card {
        padding: var(--space-md);
    }

    /* Values */
    .values-row {
        gap: var(--space-sm);
    }

    .value-card {
        padding: var(--space-sm);
    }

    /* Pricing */
    .pricing-row {
        gap: var(--space-sm);
    }

    .pricing-card {
        padding: var(--space-md);
    }

    /* Testimonials */
    .testimonials {
        gap: var(--space-md);
    }

    .testimonial-card {
        padding: var(--space-md);
    }

    /* Curriculum cards mobile */
    .curriculum-grid {
        gap: var(--space-sm);
    }

    .curriculum-card {
        padding: var(--space-md);
    }

    .curriculum-card__icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-sm);
    }

    .curriculum-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .curriculum-card__title {
        font-size: 1rem;
    }

    .curriculum-card__badges {
        gap: 0.375rem;
    }

    .badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }

    /* Benefits grid mobile (Why Choose Us) */
    .section--dark {
        padding: var(--space-lg) 0;
    }

    .benefits-grid {
        gap: var(--space-sm);
        margin-bottom: var(--space-lg);
    }

    .benefit {
        padding: var(--space-md);
        flex-direction: row;
        text-align: left;
        gap: var(--space-sm);
    }

    .benefit__icon {
        width: 40px;
        height: 40px;
        margin: 0;
        flex-shrink: 0;
    }

    .benefit__icon svg {
        width: 20px;
        height: 20px;
    }

    .benefit__title {
        font-size: 0.9375rem;
    }

    .benefit__desc {
        font-size: 0.8125rem;
    }

    .cta-banner {
        padding: var(--space-md);
    }

    .cta-banner__text {
        font-size: 1rem;
    }

    /* Feature cards mobile */
    .feature-card {
        padding: var(--space-md);
    }

    .feature-card__icon {
        width: 48px;
        height: 48px;
    }

    .feature-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-card__title {
        font-size: 1rem;
    }

    .feature-card__desc {
        font-size: 0.875rem;
    }

    /* How It Works compact mobile */
    .steps-compact {
        gap: var(--space-xs);
    }

    .step-compact {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
        max-width: none;
    }

    .step-compact__number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .step-compact__title {
        font-size: 0.9375rem;
    }

    .step-compact__desc {
        font-size: 0.75rem;
    }

    /* Contact section */
    .contact-grid {
        gap: var(--space-lg);
    }

    .contact-form-wrapper {
        padding: var(--space-md);
    }

    /* Footer mobile */
    .footer {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .footer__grid {
        gap: var(--space-md);
    }

    .footer__brand {
        max-width: none;
        text-align: center;
        margin-bottom: var(--space-md);
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__tagline {
        text-align: center;
    }

    .footer__section {
        text-align: center;
        margin-bottom: var(--space-md);
    }

    .footer__column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer__column .footer__section {
        text-align: left;
        margin-bottom: 0;
    }

    .footer__nav li {
        margin-bottom: 0.5rem;
    }

    .footer__bottom {
        margin-top: var(--space-lg);
        padding-top: var(--space-md);
    }

    /* Buttons full width on mobile */
    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    /* Stats grid */
    .stats {
        gap: var(--space-md);
    }

    /* Levels */
    .levels {
        gap: var(--space-sm);
    }

    /* Curriculum badges */
    .badge-group {
        justify-content: center;
    }

    /* Checklist */
    .checklist {
        gap: var(--space-sm);
    }

    /* Mission section mobile */
    .mission-text {
        font-size: 0.9375rem;
    }

    /* Academic Levels mobile */
    .levels-row {
        gap: var(--space-sm);
    }

    .level-card {
        padding: var(--space-sm);
    }

    .level-card__num {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .level-card__title {
        font-size: 0.75rem;
    }

    /* Stats mobile */
    .stats-row {
        padding: var(--space-md);
    }

    .stat-item__number {
        font-size: 1.5rem;
    }

    .stat-item__label {
        font-size: 0.625rem;
    }

    /* Mission mobile */
    .mission-box__title {
        font-size: 1.25rem;
    }

    /* Why Choose Us mobile */
    .why-grid {
        gap: var(--space-sm);
    }

    .why-item__icon {
        width: 28px;
        height: 28px;
    }

    .why-item__icon svg {
        width: 14px;
        height: 14px;
    }

    .why-item__text {
        font-size: 0.8125rem;
    }

    .why-tagline {
        font-size: 1.25rem;
    }

    /* Curriculum section mobile */
    .curriculum-section {
        gap: var(--space-lg);
    }

    .curriculum-block__title {
        font-size: 0.875rem;
    }

    /* Services note mobile */
    .services-note {
        font-size: 0.875rem;
        padding-top: var(--space-md);
    }
}

/* Extra small devices */
@media (max-width: 374px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card__icon {
        margin: 0 auto;
    }

    .form-actions {
        gap: var(--space-xs);
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Footer extra small */
    .footer__column {
        grid-template-columns: 1fr;
    }

    .footer__column .footer__section {
        text-align: center;
    }

    .footer__heading {
        font-size: 0.625rem;
    }

    .footer__text,
    .footer__nav a {
        font-size: 0.8125rem;
    }
}

/* --------------------------------------------------------------------------
   Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    z-index: 1200;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__content {
    flex: 1;
    min-width: 280px;
}

.cookie-banner__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-banner__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-banner__btn {
    min-height: 40px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    width: auto;
}

.cookie-banner__btn.btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cookie-banner__btn.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .header,
    .mobile-menu,
    .whatsapp-btn,
    .hamburger,
    .skip-link {
        display: none !important;
    }

    .hero {
        padding-top: var(--space-lg);
        background: var(--yellow) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section {
        break-inside: avoid;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--muted);
    }

    .btn::after {
        display: none;
    }
}
