/* =========================================================
   KANAVUGAL ACADEMY
   PROFESSIONAL ACADEMY WEBSITE
========================================================= */

:root {
    --navy: #0b1f4b;
    --navy-deep: #071633;
    --navy-soft: #162c63;

    --amber: #f5a623;
    --amber-light: #fff3dc;

    --red: #c4161c;

    --white: #ffffff;
    --bg: #ffffff;
    --soft: #f5f7fb;
    --soft-blue: #eef2f9;

    --ink: #0b1f4b;
    --muted: #66708a;
    --muted-light: #aeb8d2;

    --line: #e4e8f0;

    --shadow-sm: 0 8px 24px rgba(11, 31, 75, 0.06);
    --shadow-md: 0 18px 50px rgba(11, 31, 75, 0.10);
    --shadow-lg: 0 28px 80px rgba(11, 31, 75, 0.16);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;

    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
    font-family: "DM Sans", system-ui, sans-serif;
}

img,
video {
    max-width: 100%;
}

img {
    display: block;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Bricolage Grotesque", "DM Sans", sans-serif;
    line-height: 1.08;
}

p {
    margin-top: 0;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--amber);
    color: var(--navy);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.22);
}

.btn-primary:hover {
    background: #ffb83d;
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.30);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-soft);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-abroad {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(196, 22, 28, 0.18);
}

.btn-abroad:hover {
    background: #a91015;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;

    text-decoration: none;
}

.brand img {
    width: 45px;
    height: 45px;

    object-fit: cover;

    border-radius: 50%;
}

.brand-text {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.05;
}

.brand-text small {
    display: block;

    margin-top: 4px;

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 20px;

    margin-left: auto;

    font-size: 13px;
    font-weight: 600;
}

.nav-links a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;

    position: relative;

    padding: 8px 0;

    color: var(--ink);
    text-decoration: none;

    transition: color 180ms ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 1px;

    width: 0;
    height: 2px;

    background: var(--amber);

    transition: width 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* =========================================================
   NAVBAR SOCIAL ICONS
   Order:
   Book Free Demo → Instagram → YouTube
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-social-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nav-social-icon svg {
    width: 19px;
    height: 19px;
}

/* =========================
   INSTAGRAM
========================= */

.instagram-icon {
    color: #E1306C;
    background: #fff;
    border: 1px solid rgba(225, 48, 108, 0.22);
}

.instagram-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.instagram-icon:hover {
    color: #fff;
    background: #E1306C;
    border-color: #E1306C;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(225, 48, 108, 0.25);
}


/* =========================
   YOUTUBE
========================= */

.youtube-icon {
    background: #fff;
    border: 1px solid rgba(255, 0, 0, 0.20);
}

.youtube-icon svg {
    width: 21px;
    height: 21px;
}

.youtube-shape {
    fill: #FF0000;
}

.youtube-play {
    fill: #fff;
}

.youtube-icon:hover {
    background: #FF0000;
    border-color: #FF0000;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(255, 0, 0, 0.22);
}

.youtube-icon:hover .youtube-shape {
    fill: #FF0000;
}

.youtube-icon:hover .youtube-play {
    fill: #fff;
}


/* =========================
   CLICK FEEDBACK
========================= */

.nav-social-icon:active {
    transform: scale(0.94);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .nav-abroad {
        display: none;
    }

    .nav-actions {
        gap: 7px;
    }

    .nav-social-icon {
        width: 35px;
        height: 35px;
    }

    .nav-social-icon svg {
        width: 17px;
        height: 17px;
    }

    .nav-demo {
        white-space: nowrap;
    }
}


/* Keep mobile navbar clean */

@media (max-width: 600px) {

    .nav-socials {
        display: none;
    }

}


/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement-bar {
    background: var(--red);
    color: var(--white);
}

.announcement-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.announcement-inner a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(245, 166, 35, 0.12),
            transparent 30%
        ),
        var(--navy);

    color: var(--white);

    padding: 82px 0 76px;
}

.hero::before {
    content: "";

    position: absolute;
    width: 420px;
    height: 420px;

    top: -230px;
    right: -150px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;
    width: 300px;
    height: 300px;

    bottom: -220px;
    left: -120px;

    border: 1px solid rgba(245, 166, 35, 0.14);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);

    gap: 64px;

    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--amber);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow {
    padding: 7px 13px;

    border: 1px solid rgba(245, 166, 35, 0.38);
    border-radius: 999px;

    margin-bottom: 22px;
}

.hero h1 {
    max-width: 680px;

    font-size: clamp(42px, 5.5vw, 70px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;
    color: var(--amber);
}

.hero-description {
    max-width: 600px;

    margin: 24px 0 30px;

    color: #cbd3e8;

    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-abroad {
    margin-top: 14px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin-top: 28px;

    color: #dce2f2;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-trust i {
    width: 3px;
    height: 3px;

    border-radius: 50%;
    background: var(--amber);
}

.hero-visual {
    width: 100%;
}

.image-placeholder {
    position: relative;

    overflow: hidden;

    background: var(--navy-soft);

    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-image {
    min-height: 430px;

    border-radius: 28px;

    box-shadow: var(--shadow-lg);
}

.image-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-image img {
    position: absolute;
    inset: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 10px;
}

.hero-stat {
    min-height: 92px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 16px 20px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
}

.hero-stat.featured {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}

.hero-stat strong {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 28px;
    line-height: 1;
}

.hero-stat span {
    margin-top: 6px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   STATS STRIP
========================================================= */

.stats-strip {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 25px 24px;

    border-right: 1px solid var(--line);
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.stat-item span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 90px 0;
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 750px;

    margin-bottom: 42px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2,
.section-content h2 {
    margin-top: 12px;

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.section-heading h2 {
    max-width: 780px;
}

.section-heading p {
    max-width: 650px;

    margin: 16px 0 0;

    color: var(--muted);
    font-size: 16px;
}

.section-label {
    color: #a45e00;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    gap: 70px;

    align-items: center;
}

.about-image {
    min-height: 510px;

    border: 0;
    border-radius: 28px;

    background: var(--soft);

    box-shadow: var(--shadow-md);
}

.about-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.section-content p {
    margin: 20px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.section-content h3 {
    margin-top: 28px;

    font-size: 22px;
}

.text-link {
    display: inline-block;

    margin-top: 16px;

    color: #a45e00;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================================
   COURSES
========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.course-card {
    position: relative;

    padding: 34px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 24px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.course-card.dark-card {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.card-number {
    margin-bottom: 22px;

    color: var(--amber);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.course-card h3 {
    font-size: 26px;
}

.card-highlight {
    margin: 12px 0 20px;

    color: #a45e00;

    font-size: 14px;
    font-weight: 700;
}

.dark-card .card-highlight {
    color: var(--amber);
}

.course-card ul {
    margin: 0 0 20px;
    padding-left: 20px;

    color: var(--muted);

    font-size: 14px;
}

.dark-card ul {
    color: #cbd3e8;
}

.course-card li {
    margin-bottom: 8px;
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dark-card .text-link {
    color: var(--amber);
}


/* =========================================================
   WHY US
========================================================= */

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.reason-card {
    padding: 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 20px;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.reason-card > span {
    display: inline-block;

    margin-bottom: 24px;

    color: var(--amber);

    font-size: 13px;
    font-weight: 800;
}

.reason-card h3 {
    margin-bottom: 9px;

    font-size: 20px;
}

.reason-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   METHOD
========================================================= */

.method-section {
    background: var(--navy);
    color: var(--white);
}

.light-heading .section-label {
    color: var(--amber);
}

.light-heading h2 {
    max-width: 700px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.method-card {
    min-height: 250px;

    padding: 28px;

    background: var(--navy-soft);

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
}

.method-number {
    display: block;

    margin-bottom: 40px;

    color: var(--amber);

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 32px;
    font-weight: 800;
}

.method-card h3 {
    margin-bottom: 10px;

    font-size: 22px;
}

.method-card p {
    margin: 0;

    color: #cbd3e8;

    font-size: 14px;
}

.learning-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 35px;
}

.learning-chain span {
    padding: 7px 15px;

    border: 1px solid #3b4c7d;
    border-radius: 999px;

    color: #dce2f2;

    font-size: 13px;
    font-weight: 700;
}

.learning-chain b {
    color: var(--amber);
}

.learning-chain .chain-final {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}


/* =========================================================
   TESTIMONIALS / GOOGLE REVIEWS
========================================================= */

.testimonial-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;

    width: max-content;

    animation: reviewsCarousel 60s linear infinite;

    will-change: transform;
}

/* Pause carousel when mouse is over reviews */
.testimonial-grid:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 360px;
    width: 360px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow: var(--shadow-sm);
}

.google-review-top {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}

.google-review-top strong {
    display: block;

    font-size: 13px;
}

.google-g {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: var(--soft);

    border-radius: 50%;

    color: #4285f4;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.review-stars {
    margin-top: 2px;

    color: #f5a623;

    font-size: 12px;
    letter-spacing: 1px;
}

.quote-mark {
    margin-bottom: 12px;

    color: var(--amber);

    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 0.8;
}

.testimonial-card > p {
    min-height: 90px;

    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}

.review-author {
    display: flex;
    flex-direction: column;

    padding-top: 18px;
    margin-top: 20px;

    border-top: 1px solid var(--line);
}

.review-author strong {
    font-size: 13px;
}

.review-author span {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   INFINITE CAROUSEL
========================================================= */

@keyframes reviewsCarousel {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .testimonial-grid {
        gap: 14px;

        animation-duration: 50s;
    }

    .testimonial-card {
        flex: 0 0 300px;
        width: 300px;

        padding: 24px;
    }

}


.videos-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding-bottom: 10px;

    scrollbar-width: thin;
}

.portrait-video {
    /* 3 videos across */
    flex: 0 0 calc((100% - 32px) / 5);

    min-width: 0;

    aspect-ratio: 9 / 16;

    overflow: hidden;
    border-radius: 18px;
    background: #111;

    scroll-snap-align: start;
}

.portrait-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .portrait-video {
        flex: 0 0 42%;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .videos-grid {
        gap: 12px;
    }

    .portrait-video {
        flex: 0 0 72%;
    }

}


/* Tablet */

@media (max-width: 1000px) {

    .portrait-video {
        flex: 0 0 30%;
    }

}


/* Mobile */

@media (max-width: 650px) {

    .videos-grid {
        gap: 1px;
    }

    .portrait-video {
        flex: 0 0 85%;
    }

}


/* =========================================================
   GOOGLE REVIEWS
========================================================= */

.google-reviews {
    margin-top: 70px;
    padding-top: 60px;

    border-top: 1px solid var(--line);
}

.google-reviews-heading {
    margin-bottom: 25px;
}

.google-reviews-heading h3 {
    margin-top: 10px;

    font-size: 30px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.gallery-item {
    overflow: hidden;

    border-radius: 20px;
}

.gallery-placeholder {
    min-height: 210px;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            transparent 25%,
            rgba(7, 22, 51, 0.88) 100%
        ),
        var(--soft-blue);

    color: var(--white);

    font-size: 14px;
    font-weight: 800;

    transition: transform 250ms ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.02);
}


/* =========================================================
   PARENT SECTION
========================================================= */

.parent-section {
    padding: 72px 0;

    background: var(--amber-light);
}

.parent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.parent-inner > div {
    max-width: 780px;
}

.parent-inner h2 {
    margin-top: 10px;

    font-size: clamp(30px, 4vw, 46px);
}

.parent-inner p {
    margin: 17px 0 0;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   BRANCHES
========================================================= */

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.branch-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow: var(--shadow-sm);
}

.map-embed {
    width: 100%;
    height: 270px;

    overflow: hidden;

    background: var(--soft);
}

.map-embed iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}

.branch-content {
    padding: 26px;
}

.branch-label {
    color: #a45e00;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.branch-content h3 {
    margin-top: 7px;

    font-size: 25px;
}

.branch-content p {
    margin: 12px 0 18px;

    color: var(--muted);

    font-size: 14px;
}

.branch-phone {
    color: #a45e00;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   DEMO SECTION
========================================================= */

.demo-section {
    padding: 90px 0;

    background: var(--navy);
    color: var(--white);
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;

    gap: 70px;

    align-items: center;
}

.demo-content {
    max-width: 620px;
}

.demo-content .section-label {
    color: var(--amber);
}

.demo-content h2 {
    margin-top: 12px;

    font-size: clamp(35px, 4.5vw, 52px);
}

.demo-content > p {
    margin: 22px 0;

    color: #cbd3e8;

    font-size: 16px;
}

.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   SOCIAL LINKS NEAR BOOK FREE DEMO
========================================================= */

.demo-social {
    margin-top: 24px;
}

.demo-social-label {
    display: block;

    margin-bottom: 10px;

    color: #cbd3e8;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.demo-social-links a {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.06);

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.demo-social-links a:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.28);
}

.demo-social-links svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}

.social-instagram {
    color: #ffffff;
}

.social-youtube {
    color: #ffffff;
}

.contact-line {
    font-size: 13px !important;
}

.contact-line a {
    color: var(--white);
    text-decoration: none;
}

.form-card {
    padding: 30px;

    background: var(--white);
    color: var(--ink);

    border-radius: 24px;

    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    margin-bottom: 18px;

    font-size: 25px;
}

.form-card label {
    display: block;

    margin: 14px 0 6px;

    font-size: 12px;
    font-weight: 800;
}

.form-card input,
.form-card select {
    width: 100%;

    min-height: 47px;

    padding: 11px 13px;

    border: 1px solid #d8deea;
    border-radius: 10px;

    background: var(--white);
    color: var(--ink);

    font-size: 14px;

    outline: none;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.form-card input:focus,
.form-card select:focus {
    border-color: var(--amber);

    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.14);
}

.form-submit {
    width: 100%;

    margin-top: 18px;

    border: 0;
}


/* =========================================================
   FAQ
========================================================= */

.faq-container {
    max-width: 780px;
}

details {
    overflow: hidden;

    margin-bottom: 10px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 14px;
}

summary {
    position: relative;

    padding: 19px 22px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;

    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";

    position: absolute;
    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--amber);

    font-size: 22px;
    font-weight: 400;
}

details[open] summary::after {
    content: "−";
}

details p {
    margin: 0;

    padding: 0 22px 20px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 90px 0;

    background: var(--amber);

    color: var(--navy);

    text-align: center;
}

.final-cta .section-label {
    color: var(--navy);
}

.final-cta h2 {
    margin-top: 12px;

    font-size: clamp(38px, 5vw, 60px);

    letter-spacing: -0.04em;
}

.final-cta p {
    max-width: 650px;

    margin: 18px auto 28px;

    color: rgba(11, 31, 75, 0.78);
}

.final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;
}

.brand-signoff {
    display: block;

    margin-top: 30px;

    font-family: "Bricolage Grotesque", sans-serif;
}


/* =========================================================
   ONLINE PAGE
========================================================= */

.country-list {
    display: grid;
    gap: 12px;
}

.country-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
}

.country-card strong {
    color: var(--amber);

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 25px;
}

.country-card span {
    color: #cbd3e8;

    font-size: 13px;
    text-align: right;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.simple-card {
    padding: 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow: var(--shadow-sm);
}

.simple-card h3 {
    margin-bottom: 9px;

    font-size: 20px;
}

.simple-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.step-card > span {
    display: block;

    margin-bottom: 28px;

    color: var(--amber);

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 30px;
    font-weight: 800;
}


/* =========================================================
   VIEW ROUTING
========================================================= */

.view {
    display: none;
}

.view.active-view {
    display: block;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 60px 0 25px;

    background: var(--navy-deep);
    color: #aeb8d2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;

    gap: 40px;
}

footer strong {
    display: block;

    margin-bottom: 12px;

    color: var(--white);

    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
}

.footer-brand strong {
    font-size: 21px;
}

.footer-brand p {
    margin: 3px 0 8px;

    color: var(--amber);

    font-size: 12px;
    font-weight: 700;
}

.footer-brand span {
    font-size: 13px;
}

footer > .container > div > a,
.footer-grid > div > a,
.footer-grid > div > span {
    display: block;

    margin-bottom: 8px;

    color: #aeb8d2;

    font-size: 13px;

    text-decoration: none;
}

.footer-grid > div > a:hover {
    color: var(--amber);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 18px;
}

.social-links a {
    color: var(--amber) !important;

    font-weight: 700;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    font-size: 12px;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 200;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    background: #20b95c;
    color: var(--white);

    border-radius: 50%;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        0 0 0 5px rgba(32, 185, 92, 0.12);

    text-decoration: none;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.22),
        0 0 0 7px rgba(32, 185, 92, 0.12);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;

    fill: currentColor;
}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 13px;
    }

    .nav-actions .nav-abroad {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.85fr;

        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(40px, 5vw, 60px);
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 860px) {

    .container {
        width: min(100% - 32px, 650px);
    }

    .navbar {
        position: sticky;
    }

    .nav-inner {
        min-height: 68px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand-text {
        font-size: 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .nav-demo {
        min-height: 40px;

        padding: 9px 13px;

        font-size: 11px;
    }

    .announcement-inner {
        padding: 9px 0;

        flex-direction: column;

        gap: 2px;

        line-height: 1.35;
    }

    .hero {
        padding: 55px 0;
    }

    .hero-grid,
    .about-grid,
    .demo-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 42px;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 55px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-image {
        min-height: 380px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item,
    .stat-item:first-child {
        padding: 20px 15px;

        border-bottom: 1px solid var(--line);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: 0;
    }

    .section {
        padding: 65px 0;
    }

    .about-grid {
        gap: 40px;
    }

    .about-image {
        min-height: 400px;
    }

    .course-grid,
    .reason-grid,
    .testimonial-grid,
    .gallery-grid,
    .branch-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .method-grid,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

    .portrait-video {
        width: 100%;
    }

    .parent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    .container {
        width: min(100% - 28px, 500px);
    }

    .brand-text {
        display: none;
    }

    .nav-inner {
        justify-content: space-between;
    }

    .nav-actions .nav-demo {
        display: inline-flex;
    }

    .hero {
        padding: 44px 0 50px;
    }

    .eyebrow {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .hero-abroad .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 7px;

        font-size: 9px;
    }

    .hero-trust i {
        width: 2px;
        height: 2px;
    }

    .hero-image {
        min-height: 320px;

        border-radius: 21px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat {
        min-height: 85px;

        padding: 13px;
    }

    .hero-stat strong {
        font-size: 24px;
    }

    .section-heading h2,
    .section-content h2 {
        font-size: 32px;
    }

    .course-card,
    .reason-card,
    .testimonial-card,
    .simple-card {
        padding: 23px;
    }

    .method-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .method-card {
        min-height: auto;
    }

    .learning-chain {
        justify-content: flex-start;
    }

    .learning-chain b {
        display: none;
    }

    .learning-chain span {
        font-size: 11px;
    }

    .about-image {
        min-height: 320px;
    }

    .videos-grid {
        grid-template-columns: 1fr;

        max-width: 300px;

        margin-left: auto;
        margin-right: auto;
    }

    .portrait-video {
        width: 100%;
    }

    .parent-section,
    .demo-section,
    .final-cta {
        padding: 65px 0;
    }

    .demo-content h2 {
        font-size: 35px;
    }

    .demo-social-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .demo-social-links a {
        width: 100%;
        justify-content: center;
    }

    .form-card {
        padding: 22px;
    }

    .final-actions {
        flex-direction: column;
    }

    .final-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        margin-top: 30px;
    }

    .map-embed {
        height: 240px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 27px;
        height: 27px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f3f5;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.director-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;

    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 12px 18px;

    background: #ffffff;
    color: #0c1624;

    border-left: 4px solid #d95d39;
    border-radius: 0 10px 10px 0;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.director-badge span {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #d95d39;
}

.director-badge strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #0c1624;
}


/* Mobile */

@media (max-width: 600px) {

    .director-badge {
        left: 12px;
        bottom: 12px;
        padding: 10px 14px;
    }

    .director-badge span {
        font-size: 8px;
    }

    .director-badge strong {
        font-size: 13px;
    }

}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f3f5;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 14px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;

    background: linear-gradient(
        to top,
        rgba(12, 22, 36, 0.85),
        rgba(12, 22, 36, 0)
    );

    pointer-events: none;
}