/* =========================================================
   REUSSITE INTERNATIONAL — MAIN WEBSITE THEME
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --navy: #0B1F3A;
    --navy-2: #132D52;
    --gold: #C9A227;
    --gold-dark: #B48F1F;
    --gold-soft: #F5EBC8;
    --teal: #1F7A8C;

    --ink: #1B2430;
    --muted: #5B6675;

    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-alt: #F6F8FB;
    --line: #E3E8EF;

    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Arial, sans-serif;

    --radius: 14px;
    --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);

    --max-width: 1180px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;

    color: var(--ink);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   COMMON HEADER / NAVBAR
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--line);
}

.navbar-container {
    width: 100%;
    max-width: 1420px;

    min-height: 86px;

    margin: 0 auto;
    padding: 0 28px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* Logo */

.navbar-logo {
    width: 145px;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.navbar-logo img {
    display: block;

    width: 140px;
    height: 76px;

    object-fit: contain;
}


/* Menu */

.navbar-menu {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(16px, 1.5vw, 28px);
}

.navbar-menu a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 86px;

    font-size: 14px;
    font-weight: 500;

    color: var(--navy);

    white-space: nowrap;

    transition: color 0.25s ease;
}

.navbar-menu a:hover {
    color: var(--gold);
}

.navbar-menu a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}


/* Student login */

.student-login-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 132px;
    height: 43px;

    padding: 0 20px;

    border-radius: 50px;

    background: var(--navy);
    color: var(--white);

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 7px 20px rgba(11, 31, 58, 0.12);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.student-login-btn:hover {
    background: var(--navy-2);
    transform: translateY(-2px);
}


/* Hamburger */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: var(--white);

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;

    background: var(--navy);

    border-radius: 10px;
}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

main {
    width: 100%;
}

section {
    padding: 90px 0;
}

.alt {
    background: var(--bg-alt);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--gold);
}

.section-head {
    max-width: 680px;

    margin: 0 auto 50px;

    text-align: center;
}

.section-head h2 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.section-head p {
    color: var(--muted);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    border-radius: 50px;

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

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

.btn-navy:hover {
    background: var(--navy-2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);

    color: var(--white);
}

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

.center {
    margin-top: 40px;

    text-align: center;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding: 120px 0 140px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 162, 39, 0.18),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-2) 60%,
            var(--teal) 130%
        );
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 22px 22px;

    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;

    max-width: 860px;

    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    margin-bottom: 36px;

    font-size: 1.15rem;

    opacity: 0.85;
}

.hero .actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    position: relative;
    z-index: 5;

    margin-top: -70px;
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.stat {
    padding: 30px 20px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat b {
    display: block;

    font-family: var(--font-head);
    font-size: 2.2rem;

    color: var(--navy);
}

.stat span {
    font-size: 0.88rem;

    color: var(--muted);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}

.about-grid h2 {
    margin-bottom: 18px;

    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-grid p {
    margin-bottom: 16px;

    color: var(--muted);
}

.about-visual {
    aspect-ratio: 4 / 3;

    display: grid;
    place-items: center;

    padding: 30px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            var(--teal),
            var(--navy)
        );

    color: var(--white);

    text-align: center;

    font-family: var(--font-head);
    font-size: 1.4rem;

    box-shadow: var(--shadow);
}

.flags {
    display: block;

    margin-top: 10px;

    font-family: var(--font-body);
    font-size: 0.85rem;

    opacity: 0.8;
}


/* =========================================================
   WHY REUSSITE
   ========================================================= */

.big-quote {
    max-width: 800px;

    margin: 0 auto 50px;

    text-align: center;

    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);

    color: var(--navy);
}

.big-quote em {
    color: var(--gold);
    font-style: normal;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.card {
    padding: 32px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

.icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background: var(--gold-soft);

    font-size: 1.5rem;
}

.card h3 {
    margin-bottom: 10px;

    font-size: 1.2rem;
}

.card p {
    color: var(--muted);

    font-size: 0.95rem;
}


/* =========================================================
   COURSES
   ========================================================= */

.courses {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));

    gap: 22px;
}

.course {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: transform 0.25s ease;
}

.course:hover {
    transform: translateY(-6px);
}

.course-top {
    height: 110px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    font-size: 2.4rem;
}

.course:nth-child(2) .course-top {
    background:
        linear-gradient(
            135deg,
            #8A6A10,
            var(--gold)
        );
}

.course-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px;
}

.course-body h3 {
    margin-bottom: 8px;

    font-size: 1.1rem;
}

.course-body p {
    flex: 1;

    color: var(--muted);

    font-size: 0.88rem;
}

.course-body a {
    margin-top: 16px;

    color: var(--teal);

    font-size: 0.9rem;
    font-weight: 600;
}

.course-body a:hover {
    color: var(--gold);
}


/* =========================================================
   MODULES
   ========================================================= */

.modules {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 16px;
}

.module {
    padding: 22px 18px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 12px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.module:hover {
    border-color: var(--gold);

    background: var(--gold-soft);
}

.module b {
    display: block;

    margin-bottom: 6px;

    font-family: var(--font-head);
    font-size: 1.6rem;

    color: var(--gold);
}

.module span {
    color: var(--navy);

    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   APPROACH
   ========================================================= */

.approach {
    background: var(--navy);

    color: var(--white);
}

.approach h2 {
    color: var(--white);
}

.approach .section-head p {
    color: rgba(255, 255, 255, 0.7);
}

.steps {
    position: relative;

    display: flex;
    justify-content: space-between;

    gap: 10px;

    counter-reset: step;
}

.steps::before {
    content: "";

    position: absolute;

    top: 32px;
    left: 6%;
    right: 6%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--teal)
        );
}

.step {
    position: relative;

    flex: 1;

    text-align: center;
}

.step i {
    position: relative;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin: 0 auto 14px;

    border: 2px solid var(--gold);
    border-radius: 50%;

    background: var(--navy);

    color: var(--gold);

    font-style: normal;
    font-weight: 600;

    counter-increment: step;
}

.step i::before {
    content: counter(step);
}

.step span {
    font-weight: 600;

    letter-spacing: 0.04em;
}


/* =========================================================
   FACULTY
   ========================================================= */

.faculty {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.person {
    padding: 36px 24px;

    text-align: center;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.avatar {
    width: 120px;
    height: 120px;

    display: grid;
    place-items: center;

    margin: 0 auto 18px;

    border: 4px solid var(--gold-soft);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2.2rem;
}

.person h3 {
    margin-bottom: 6px;

    font-size: 1.2rem;
}

.person .role {
    margin-bottom: 12px;

    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}

.person p {
    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   FOUNDER QUOTE
   ========================================================= */

.founder-quote {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--white)
        );
}

.founder-quote blockquote {
    position: relative;

    max-width: 880px;

    margin: 0 auto;
    padding-top: 40px;

    font-family: var(--font-head);
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);

    color: var(--navy);
}

.founder-quote blockquote::before {
    content: "“";

    position: absolute;

    top: -30px;
    left: 50%;

    transform: translateX(-50%);

    color: var(--gold);

    font-size: 6rem;
    line-height: 1;
}

.founder-quote cite {
    display: block;

    margin-top: 22px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
}


/* =========================================================
   TESTIMONIALS + UPCOMING
   ========================================================= */

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;

    gap: 40px;
}

.col-title {
    margin-bottom: 22px;

    font-size: 1.5rem;
}

.testi {
    margin-bottom: 18px;
    padding: 24px;

    background: var(--white);

    border-left: 4px solid var(--gold);
    border-radius: 10px;

    box-shadow: var(--shadow);
}

.testi p {
    margin-bottom: 10px;

    color: var(--muted);

    font-style: italic;
}

.testi b {
    color: var(--navy);

    font-size: 0.9rem;
}

.event {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-bottom: 14px;
    padding: 18px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 12px;
}

.date {
    min-width: 64px;

    padding: 10px 6px;

    text-align: center;

    background: var(--navy);
    color: var(--white);

    border-radius: 10px;

    line-height: 1.1;
}

.date b {
    display: block;

    color: var(--gold);

    font-size: 1.5rem;
}

.date small {
    font-size: 0.7rem;

    text-transform: uppercase;
}

.event h4 {
    color: var(--navy);

    font-family: var(--font-body);
    font-size: 1rem;
}

.event p {
    color: var(--muted);

    font-size: 0.85rem;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);
}

.cta h2 {
    margin-bottom: 16px;

    color: var(--white);

    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cta p {
    max-width: 620px;

    margin: 0 auto 32px;

    opacity: 0.85;
}

.cta strong {
    color: var(--gold);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 60px 0 24px;

    background: #07152A;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;

    gap: 40px;

    margin-bottom: 40px;
}

footer h4 {
    margin-bottom: 14px;

    color: var(--white);

    font-family: var(--font-body);
    font-size: 0.95rem;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
}

footer a:hover {
    color: var(--gold);
}

.footer-logo {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--white);

    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--gold);
}

.copy {
    padding-top: 20px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.8rem;
}


/* =========================================================
   RESPONSIVE — SMALL LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .navbar-container {
        padding: 0 20px;

        gap: 18px;
    }

    .navbar-logo {
        width: 120px;
    }

    .navbar-logo img {
        width: 118px;
    }

    .navbar-menu {
        gap: 15px;
    }

    .navbar-menu a {
        font-size: 12px;
    }

    .student-login-btn {
        min-width: 116px;

        padding: 0 14px;

        font-size: 11px;
    }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 960px) {

    .navbar-container {
        min-height: 76px;
    }

    .navbar-logo img {
        height: 68px;
    }

    .navbar-menu {
        display: none;
    }

    .student-login-btn {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: 72px 0;
    }

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

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .about-grid,
    .two-col {
        grid-template-columns: 1fr;

        gap: 36px;
    }

    .cards-3,
    .faculty {
        grid-template-columns: 1fr;
    }

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

    .steps {
        flex-wrap: wrap;
    }

    .steps::before {
        display: none;
    }

    .step {
        flex: 0 0 30%;
    }

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


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .navbar-container {
        min-height: 70px;

        padding: 0 14px;

        gap: 10px;
    }

    .navbar-logo {
        width: 100px;
    }

    .navbar-logo img {
        width: 98px;
        height: 62px;
    }

    .student-login-btn {
        min-width: 100px;
        height: 38px;

        padding: 0 12px;

        font-size: 10px;
    }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
    }

    section {
        padding: 64px 0;
    }

    .hero {
        padding: 90px 0 120px;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats {
        margin-top: -55px;
    }

    .stat {
        padding: 22px 12px;
    }

    .stat b {
        font-size: 1.7rem;
    }

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

    .step {
        flex: 0 0 45%;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }
}
.hero h1 span,
.hero h1 em {
    display: block;
}
/* =========================================================
   ABOUT PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- ABOUT HERO (same look as home hero) ---------- */

.about-page-hero {
    position: relative;
    overflow: hidden;

    padding: 120px 0 110px;

    color: var(--white);
    text-align: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 162, 39, 0.18),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-2) 60%,
            var(--teal) 130%
        );
}

.about-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 22px 22px;

    pointer-events: none;
}

.about-page-hero .container {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

.about-page-hero h1 {
    margin-bottom: 20px;

    color: var(--white);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.about-page-hero h1 em {
    display: block;

    color: var(--gold);
    font-style: normal;
}

.about-page-hero p {
    max-width: 640px;
    margin: 0 auto;

    font-size: 1.15rem;
    opacity: 0.85;
}


/* ---------- WHO WE ARE ---------- */

.about-page-intro {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: start;

    gap: 60px;
}

.about-page-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-page-intro h2::after {
    content: "";
    display: block;

    width: 60px;
    height: 3px;

    margin-top: 20px;

    background: var(--gold);
    border-radius: 3px;
}

.about-intro-text p {
    margin-bottom: 18px;

    color: var(--muted);
    font-size: 1.02rem;
}

.about-intro-text p:last-child {
    margin-bottom: 0;
}

.about-intro-text strong {
    color: var(--navy);
}


/* ---------- REAL BUSINESS EXPERIENCE ---------- */

.about-experience-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    align-items: center;

    gap: 50px;
}

.about-founder-card {
    position: relative;
    overflow: hidden;

    aspect-ratio: 4 / 4.3;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 36px;

    border-radius: var(--radius);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 39, 0.3),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);

    box-shadow: var(--shadow);
}

.about-founder-card::before {
    content: "PP";

    position: absolute;
    top: 36px;
    left: 36px;

    width: 96px;
    height: 96px;

    display: grid;
    place-items: center;

    border: 3px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2rem;
}

.about-founder-small {
    margin-bottom: 8px;

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--gold);
}

.about-founder-card h3 {
    margin-bottom: 6px;

    color: var(--white);
    font-size: 1.9rem;
}

.about-founder-card p {
    opacity: 0.8;
}

.about-experience-content p {
    margin-bottom: 16px;

    color: var(--muted);
}

.about-experience-content strong {
    color: var(--navy);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    overflow: hidden;

    margin-top: 30px;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-stats div {
    padding: 24px 12px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.about-stats div:last-child {
    border-right: 0;
}

.about-stats b {
    display: block;

    font-family: var(--font-head);
    font-size: 2rem;

    color: var(--navy);
}

.about-stats span {
    font-size: 0.85rem;
    color: var(--muted);
}


/* ---------- WHAT MAKES US DIFFERENT ---------- */

.about-difference {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 60px;
}

.about-difference h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.about-difference > div:last-child {
    padding: 34px;

    background: var(--gold-soft);

    border-left: 4px solid var(--gold);
    border-radius: 10px;
}

.about-difference p {
    margin-bottom: 14px;

    color: var(--navy);
    font-size: 1.05rem;
}

.about-difference p:last-child {
    margin-bottom: 0;
}


/* ---------- WHAT YOU WILL LEARN ---------- */

.about-learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.about-learning-item {
    padding: 22px 18px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 12px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.about-learning-item:hover {
    border-color: var(--gold);
    background: var(--gold-soft);

    transform: translateY(-4px);
}

.about-learning-item span {
    display: block;

    margin-bottom: 6px;

    font-family: var(--font-head);
    font-size: 1.6rem;

    color: var(--gold);
}

.about-learning-item p {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}


/* ---------- WHY REUSSITE (navy band like Approach) ---------- */

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

.about-why h2 {
    color: var(--white);
}

.about-why-content {
    max-width: 780px;
    margin: 0 auto;

    text-align: center;
}

.about-why-content p {
    margin-bottom: 18px;

    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
}

.about-why-content strong {
    display: block;

    margin-top: 30px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    font-family: var(--font-head);
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    font-weight: 600;

    color: var(--gold);
}


/* ---------- MISSION + VISION ---------- */

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 28px;
}

.mission-vision-card {
    position: relative;

    padding: 40px 36px;

    background: var(--white);

    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mission-vision-card:nth-child(2) {
    border-top-color: var(--teal);
}

.mission-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.mission-vision-card h2 {
    margin-bottom: 14px;

    font-size: 1.7rem;
}

.mission-vision-card p {
    color: var(--muted);
    font-size: 1.02rem;
}


/* ---------- OUR BELIEF ---------- */

.about-belief {
    max-width: 780px;

    text-align: center;
}

.about-belief h2 {
    margin-bottom: 22px;

    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.about-belief p {
    margin-bottom: 14px;

    color: var(--muted);
    font-size: 1.05rem;
}

.about-belief .belief-highlight {
    margin: 22px 0;

    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);

    color: var(--navy);
}

.about-belief .belief-highlight strong {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

    .about-page-hero {
        padding: 90px 0 80px;
    }

    .about-page-intro,
    .about-experience-grid,
    .about-difference,
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-founder-card {
        aspect-ratio: auto;
        min-height: 300px;
    }

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

@media (max-width: 560px) {

    .about-page-hero {
        padding: 70px 0 60px;
    }

    .about-page-hero p {
        font-size: 1rem;
    }

    .about-learning-grid {
        grid-template-columns: 1fr;
    }

    .about-stats b {
        font-size: 1.5rem;
    }

    .about-stats span {
        font-size: 0.75rem;
    }

    .about-difference > div:last-child,
    .mission-vision-card {
        padding: 28px 22px;
    }
}
/* =========================================================
   FACULTY PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- OVERVIEW CARDS ---------- */

.fac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.fac-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 28px 32px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

.fac-avatar {
    flex-shrink: 0;

    width: 110px;
    height: 110px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border: 4px solid var(--gold-soft);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2rem;
}

.fac-tag {
    display: inline-block;

    margin-bottom: 12px;
    padding: 5px 14px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fac-card h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;
}

.fac-role {
    margin-bottom: 14px;

    color: var(--teal);

    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
}

.fac-summary {
    flex: 1;

    margin-bottom: 22px;

    color: var(--muted);
    font-size: 0.93rem;
}

.fac-highlights {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-bottom: 24px;
    padding: 16px 0;

    list-style: none;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fac-highlights li + li {
    border-left: 1px solid var(--line);
}

.fac-highlights b {
    display: block;

    font-family: var(--font-head);
    font-size: 1.4rem;

    color: var(--navy);
}

.fac-highlights span {
    font-size: 0.75rem;
    color: var(--muted);
}

.fac-card .btn {
    width: 100%;

    border: 0;

    font-family: var(--font-body);

    cursor: pointer;
}

.fac-soon {
    margin-top: auto;

    background: var(--bg-alt);
    color: var(--muted);

    cursor: default !important;
}


/* ---------- PROFILE POPUP ---------- */

body.fac-lock {
    overflow: hidden;
}

.fac-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(7, 21, 42, 0.72);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.fac-modal[hidden] {
    display: none;
}

.fac-modal.is-open {
    opacity: 1;
}

.fac-modal-box {
    position: relative;

    width: 100%;
    max-width: 860px;
    max-height: 90vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);

    transform: translateY(20px);

    transition: transform 0.25s ease;
}

.fac-modal.is-open .fac-modal-box {
    transform: translateY(0);
}

.fac-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: var(--white);

    font-size: 1.6rem;
    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease;
}

.fac-close:hover {
    background: var(--gold);
    color: var(--navy);
}

.fac-modal-head {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 24px;

    padding: 36px 70px 32px 36px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(201, 162, 39, 0.25),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-2) 60%,
            var(--teal) 140%
        );

    color: var(--white);
}

.fac-modal-head .fac-avatar {
    width: 92px;
    height: 92px;

    margin: 0;

    border-color: var(--gold);

    font-size: 1.7rem;
}

.fac-modal-head h2 {
    margin-bottom: 8px;

    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.fac-modal-head p {
    font-size: 0.92rem;
    opacity: 0.85;
}

.fac-modal-head small {
    color: var(--gold);
    font-size: 0.8rem;
}

.fac-modal-body {
    overflow-y: auto;

    padding: 32px 36px 40px;
}

.fac-modal-body > p {
    margin-bottom: 14px;

    color: var(--muted);
}

.fac-modal-body strong {
    color: var(--navy);
}

.fac-modal-body h3 {
    margin: 30px 0 14px;

    font-size: 1.25rem;
}

.fac-modal-body h3::after {
    content: "";
    display: block;

    width: 44px;
    height: 3px;

    margin-top: 8px;

    background: var(--gold);
    border-radius: 3px;
}

.fac-list {
    list-style: none;
}

.fac-list li {
    position: relative;

    margin-bottom: 12px;
    padding-left: 22px;

    color: var(--muted);
}

.fac-list li::before {
    content: "";

    position: absolute;
    top: 10px;
    left: 0;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--gold);
}

.fac-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    overflow: hidden;

    margin-top: 24px;

    background: var(--bg-alt);
    border-radius: 12px;
}

.fac-numbers div {
    padding: 20px 10px;

    text-align: center;
}

.fac-numbers div + div {
    border-left: 1px solid var(--line);
}

.fac-numbers b {
    display: block;

    font-family: var(--font-head);
    font-size: 1.6rem;

    color: var(--navy);
}

.fac-numbers span {
    font-size: 0.78rem;
    color: var(--muted);
}

.fac-chips {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.fac-chips span {
    padding: 7px 16px;

    border-radius: 50px;

    background: var(--navy);
    color: var(--white);

    font-size: 0.85rem;
    font-weight: 500;
}

.fac-chips-soft span {
    background: var(--gold-soft);
    color: var(--navy);
}

.fac-chips .fac-chip-muted {
    background: transparent;
    color: var(--muted);

    border: 1px dashed var(--line);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

@media (max-width: 640px) {

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

    .fac-modal {
        padding: 0;
        align-items: flex-end;
    }

    .fac-modal-box {
        max-height: 94vh;

        border-radius: var(--radius) var(--radius) 0 0;
    }

    .fac-modal-head {
        flex-direction: column;
        align-items: flex-start;

        gap: 16px;

        padding: 28px 60px 24px 22px;
    }

    .fac-modal-head .fac-avatar {
        width: 72px;
        height: 72px;

        font-size: 1.4rem;
    }

    .fac-modal-body {
        padding: 24px 22px 32px;
    }

    .fac-numbers {
        grid-template-columns: 1fr;
    }

    .fac-numbers div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}
/* =========================================================
   TESTIMONIALS PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- FEATURED TESTIMONIAL ---------- */

.tst-featured {
    position: relative;

    max-width: 880px;

    margin: 0 auto;
    padding: 56px 56px 44px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--white)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.tst-featured-mark {
    position: absolute;
    top: -38px;
    left: 50%;

    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--navy);
    color: var(--gold);

    font-family: var(--font-head);
    font-size: 3.4rem;
    line-height: 1;

    padding-top: 18px;
}

.tst-featured-text {
    margin-bottom: 30px;

    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    line-height: 1.5;

    color: var(--navy);
}

.tst-featured .tst-person {
    justify-content: center;

    text-align: left;
}


/* ---------- PERSON (name + course) ---------- */

.tst-person {
    display: flex;
    align-items: center;

    gap: 14px;
}

.tst-avatar {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 3px solid var(--gold-soft);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.05rem;
}

.tst-person b {
    display: block;

    color: var(--navy);
    font-size: 0.98rem;
}

.tst-person span {
    color: var(--muted);
    font-size: 0.82rem;
}


/* ---------- CARDS GRID ---------- */

.tst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}

.tst-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px 28px 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tst-card::after {
    content: "\201D";

    position: absolute;
    top: 10px;
    right: 22px;

    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1;

    color: var(--gold-soft);

    pointer-events: none;
}

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

.tst-stars {
    margin-bottom: 14px;

    color: var(--gold);

    font-size: 1rem;
    letter-spacing: 3px;
}

.tst-text {
    flex: 1;

    margin-bottom: 24px;

    color: var(--muted);

    font-size: 0.97rem;
    font-style: italic;
}

.tst-card .tst-person {
    padding-top: 18px;

    border-top: 1px solid var(--line);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

@media (max-width: 640px) {

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

    .tst-featured {
        padding: 50px 24px 32px;
    }

    .tst-featured .tst-person {
        flex-direction: column;

        text-align: center;
    }
}
/* =========================================================
   TESTIMONIALS PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- FEATURED TESTIMONIAL ---------- */

.tst-featured {
    position: relative;

    max-width: 880px;

    margin: 0 auto;
    padding: 56px 56px 44px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--white)
        );

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.tst-featured-mark {
    position: absolute;
    top: -38px;
    left: 50%;

    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--navy);
    color: var(--gold);

    font-family: var(--font-head);
    font-size: 3.4rem;
    line-height: 1;

    padding-top: 18px;
}

.tst-featured-text {
    margin-bottom: 30px;

    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    line-height: 1.5;

    color: var(--navy);
}

.tst-featured .tst-person {
    justify-content: center;

    text-align: left;
}


/* ---------- PERSON (name + course) ---------- */

.tst-person {
    display: flex;
    align-items: center;

    gap: 14px;
}

.tst-avatar {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border: 3px solid var(--gold-soft);
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.05rem;
}

.tst-person b {
    display: block;

    color: var(--navy);
    font-size: 0.98rem;
}

.tst-person span {
    color: var(--muted);
    font-size: 0.82rem;
}


/* ---------- CARDS GRID ---------- */

.tst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}

.tst-card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 32px 28px 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tst-card::after {
    content: "\201D";

    position: absolute;
    top: 10px;
    right: 22px;

    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1;

    color: var(--gold-soft);

    pointer-events: none;
}

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

.tst-stars {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;

    gap: 2px;

    margin-bottom: 18px;
    padding: 6px 14px;

    border-radius: 50px;

    background: var(--navy);
    color: var(--gold);

    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 3px;

    text-shadow: 0 0 10px rgba(201, 162, 39, 0.55);

    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.18);
}

.tst-stars::after {
    content: "5.0";

    margin-left: 8px;
    padding-left: 10px;

    border-left: 1px solid rgba(255, 255, 255, 0.25);

    color: var(--white);

    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;

    text-shadow: none;
}

.tst-text {
    flex: 1;

    margin-bottom: 24px;

    color: var(--muted);

    font-size: 0.97rem;
    font-style: italic;
}

.tst-card .tst-person {
    padding-top: 18px;

    border-top: 1px solid var(--line);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

@media (max-width: 640px) {

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

    .tst-featured {
        padding: 50px 24px 32px;
    }

    .tst-featured .tst-person {
        flex-direction: column;

        text-align: center;
    }
}

/* =========================================================
   CONTACT PAGE — paste at the END of main.css
   (if you pasted the older contact CSS, delete that first)
   ========================================================= */


/* ---------- HERO (extra space so card overlaps it) ---------- */

.contact-hero {
    padding-bottom: 170px;
}


/* ---------- SECTION ---------- */

.contact-section {
    padding-top: 0;
}


/* ---------- CENTERED CARD ---------- */

.contact-card {
    position: relative;
    z-index: 5;

    max-width: 600px;

    margin: -110px auto 0;
    padding: 34px 34px 30px;

    background: var(--white);

    border-top: 5px solid var(--gold);
    border-radius: 18px;

    box-shadow: 0 25px 60px rgba(11, 31, 58, 0.14);
}

.contact-card-head {
    margin-bottom: 22px;

    text-align: center;
}

.contact-card-head h2 {
    margin-bottom: 8px;

    font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}

.contact-card-head h2::after {
    content: "";
    display: block;

    width: 56px;
    height: 3px;

    margin: 12px auto 0;

    background: var(--gold);
    border-radius: 3px;
}

.contact-card-head p {
    margin-top: 10px;

    color: var(--muted);
    font-size: 0.88rem;
}


/* ---------- DJANGO FORM (form.as_p) — 2 column grid ---------- */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 16px;
}

.contact-form p {
    display: flex;
    flex-direction: column;

    margin-bottom: 14px;
}

/* Message box, errors and button take full width */
.contact-form p:has(textarea),
.contact-form .errorlist,
.contact-form .contact-submit {
    grid-column: 1 / -1;
}

.contact-form label {
    margin-bottom: 6px;

    color: var(--navy);

    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 10px 14px;

    background: var(--bg-alt);

    border: 1.5px solid var(--line);
    border-radius: 10px;

    color: var(--ink);

    font-family: var(--font-body);
    font-size: 0.9rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.contact-form textarea {
    min-height: 110px;

    resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #CBD3DE;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    background: var(--white);

    border-color: var(--gold);

    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.contact-form .helptext {
    margin-top: 6px;

    color: var(--muted);
    font-size: 0.78rem;
}


/* Field errors */

.contact-form .errorlist {
    margin: 0 0 6px;
    padding: 0;

    list-style: none;

    color: #C0392B;

    font-size: 0.82rem;
    font-weight: 500;
}


/* Submit */

.contact-submit {
    width: 100%;

    margin-top: 4px;
    padding: 12px 24px;

    border: 0;

    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.02em;

    cursor: pointer;

    box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}


/* ---------- SUCCESS / ERROR MESSAGES ---------- */

.contact-alert {
    margin-bottom: 22px;
    padding: 14px 18px;

    text-align: center;

    border-radius: 12px;

    background: var(--gold-soft);
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 500;
}

.contact-alert.success {
    background: #E6F4EA;
    color: #1E7B3A;
}

.contact-alert.error {
    background: #FDECEA;
    color: #C0392B;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 640px) {

    .contact-hero {
        padding-bottom: 140px;
    }

    .contact-card {
        margin-top: -90px;
        padding: 34px 22px 30px;

        border-radius: 14px;
    }

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


/* ---------- DIRECT CONTACT ICONS ---------- */

.contact-direct {
    margin-top: 24px;
    padding-top: 20px;

    text-align: center;

    border-top: 1px dashed var(--line);
}

.contact-direct-title {
    display: block;

    margin-bottom: 14px;

    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;
}

.cs-link {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--navy);

    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.cs-link svg {
    width: 18px;
    height: 18px;

    fill: var(--gold);

    transition: fill 0.25s ease;
}

.cs-link:hover {
    transform: translateY(-5px);
}

.cs-link:hover svg {
    fill: var(--white);
}

/* each icon gets its own colour on hover */
.cs-phone:hover     { background: var(--teal); }
.cs-email:hover     { background: #D44638; }
.cs-whatsapp:hover  { background: #25D366; }
.cs-linkedin:hover  { background: #0A66C2; }
.cs-instagram:hover {
    background:
        radial-gradient(
            circle at 30% 107%,
            #FDF497 0%,
            #FD5949 45%,
            #D6249F 60%,
            #285AEB 90%
        );
}
.cs-twitter:hover   { background: #000000; }


@media (max-width: 640px) {

    .cs-link {
        width: 46px;
        height: 46px;
    }

    .cs-link svg {
        width: 20px;
        height: 20px;
    }
}
/* =========================================================
   COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- FILTER BAR ---------- */

.crs-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-bottom: 40px;
}

.crs-chip {
    padding: 10px 22px;

    border: 1.5px solid var(--line);
    border-radius: 50px;

    background: var(--white);
    color: var(--navy);

    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.crs-chip:hover {
    border-color: var(--gold);
}

.crs-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}


/* ---------- LIST ---------- */

.crs-list {
    max-width: 1050px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.crs-row[hidden] {
    display: none;
}


/* ---------- ROW CARD ---------- */

.crs-row {
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    align-items: stretch;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.crs-row:hover {
    transform: translateY(-4px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

/* ---------- LEFT PANEL ---------- */

.crs-side {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 30px 16px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 39, 0.25),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );
}

.crs-num {
    position: absolute;
    top: 12px;
    left: 16px;

    color: rgba(255, 255, 255, 0.4);

    font-family: var(--font-head);
    font-size: 1.1rem;
}

.crs-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: var(--white);

    font-family: var(--font-head);
    font-size: 2rem;
}

.crs-img {
    width: 84px;
    height: 84px;

    object-fit: cover;

    border: 3px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.crs-tag {
    padding: 4px 12px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.15);
    color: var(--white);

    text-align: center;

    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ---------- MIDDLE ---------- */

.crs-main {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px 32px;
}

.crs-main h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;
}

.crs-main h3 a {
    transition: color 0.2s ease;
}

.crs-main h3 a:hover,
.crs-row:hover .crs-main h3 a {
    color: var(--teal);
}

.crs-main p {
    color: var(--muted);
    font-size: 0.95rem;
}


/* ---------- RIGHT: FEE + DURATION + BUTTON ---------- */

.crs-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: 10px;

    padding: 24px 26px;

    border-left: 1px dashed var(--line);
}

.crs-fee {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;

    color: var(--navy);
}

.crs-fee small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crs-duration {
    align-self: flex-start;

    padding: 4px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 600;
}

.crs-btn {
    margin-top: 6px;
    padding: 11px 18px;

    font-size: 0.88rem;
    white-space: nowrap;
}


/* ---------- EMPTY STATE ---------- */

.crs-empty {
    max-width: 520px;

    margin: 0 auto;
    padding: 50px 30px;

    text-align: center;

    background: var(--white);

    border: 1px dashed var(--line);
    border-radius: var(--radius);

    color: var(--muted);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {

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

    .crs-side {
        flex-direction: row;
        justify-content: flex-start;

        padding: 18px 20px;
    }

    .crs-num {
        position: static;
    }

    .crs-icon,
    .crs-img {
        width: 52px;
        height: 52px;

        font-size: 1.5rem;
    }

    .crs-main {
        padding: 22px 22px 8px;
    }

    .crs-action {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;

        padding: 12px 22px 22px;

        border-left: 0;
    }

    .crs-fee {
        font-size: 1.4rem;
    }

    .crs-btn {
        width: 100%;
    }
}
/* =========================================================
   COURSE DETAIL PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- HERO ---------- */

.cd-hero {
    padding: 70px 0 120px;
}

.cd-hero .container {
    max-width: 860px;
}

.cd-back {
    display: inline-block;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.85rem;
    font-weight: 500;

    transition: color 0.2s ease;
}

.cd-back:hover {
    color: var(--gold);
}

.cd-tag {
    display: table;

    margin: 0 auto 16px;
    padding: 5px 16px;

    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 50px;

    background: rgba(201, 162, 39, 0.12);
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
}


/* ---------- QUICK INFO STRIP ---------- */

.cd-info-wrap {
    position: relative;
    z-index: 5;

    margin-top: -60px;
    padding: 0;
}

.cd-info {
    max-width: 860px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cd-info div {
    padding: 24px 16px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.cd-info div:last-child {
    border-right: 0;
}

.cd-info span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-info b {
    font-family: var(--font-head);
    font-size: 1.35rem;

    color: var(--navy);
}


/* ---------- BODY GRID ---------- */

.cd-body {
    padding-top: 60px;
}

.cd-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: start;

    gap: 44px;
}

.cd-block {
    margin-bottom: 44px;
}

.cd-block:last-child {
    margin-bottom: 0;
}

.cd-title {
    margin-bottom: 20px;

    font-size: 1.55rem;
}

.cd-title::after {
    content: "";
    display: block;

    width: 50px;
    height: 3px;

    margin-top: 12px;

    background: var(--gold);
    border-radius: 3px;
}

.cd-text p {
    margin-bottom: 12px;

    color: var(--muted);
}

.cd-text p:last-child {
    margin-bottom: 0;
}


/* ---------- CURRICULUM ---------- */

.cd-modules {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.cd-module {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 20px 22px;

    background: var(--bg-alt);

    border-left: 3px solid var(--gold);
    border-radius: 10px;
}

.cd-module-num {
    flex-shrink: 0;

    font-family: var(--font-head);
    font-size: 1.4rem;
    line-height: 1.2;

    color: var(--gold);
}

.cd-module h3 {
    margin-bottom: 4px;

    font-size: 1.05rem;
}


/* ---------- FACULTY ---------- */

.cd-faculty-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-faculty {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cd-faculty-photo {
    flex-shrink: 0;

    width: 76px;
    height: 76px;

    object-fit: cover;

    border: 3px solid var(--gold-soft);
    border-radius: 50%;
}

.cd-faculty-initial {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.8rem;
}

.cd-faculty h3 {
    margin-bottom: 2px;

    font-size: 1.15rem;
}

.cd-faculty-role {
    margin-bottom: 8px;

    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}


/* ---------- MEDIA ---------- */

.cd-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 14px;
}

.cd-media-item {
    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: var(--bg-alt);
}

.cd-media-item img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.cd-media-item figcaption {
    padding: 10px 12px;

    color: var(--muted);
    font-size: 0.82rem;
}

.cd-media-video {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 20px;

    background: var(--navy);
    color: var(--white);

    font-weight: 600;

    transition: background 0.2s ease;
}

.cd-media-video:hover {
    background: var(--teal);
}

.cd-media-video small {
    display: block;

    font-weight: 400;
    opacity: 0.7;
}

.cd-play {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);
    color: var(--navy);
}


/* ---------- SIDEBAR ---------- */

.cd-side {
    position: sticky;
    top: 110px;
}

.cd-side-card {
    padding: 28px 26px;

    background: var(--white);

    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.cd-side-label {
    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-side-fee {
    margin: 2px 0 18px;

    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 700;

    color: var(--navy);
}

.cd-side-list {
    margin-bottom: 22px;

    list-style: none;

    border-top: 1px solid var(--line);
}

.cd-side-list li {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    font-size: 0.9rem;
}

.cd-side-list span {
    color: var(--muted);
}

.cd-side-list b {
    color: var(--navy);
    text-align: right;
}

.cd-side-btn {
    width: 100%;

    margin-bottom: 10px;
    padding: 12px 20px;

    font-size: 0.9rem;
}

.cd-btn-outline {
    border: 2px solid var(--navy);

    color: var(--navy);
}

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

.cd-side-links {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 10px;
    padding-top: 16px;

    border-top: 1px dashed var(--line);
}

.cd-side-links a {
    color: var(--teal);

    font-size: 0.88rem;
    font-weight: 600;
}

.cd-side-links a:hover {
    color: var(--gold);
}


/* ---------- UPCOMING BATCHES ---------- */

.cd-batches {
    max-width: 900px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-batch {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;

    gap: 24px;

    padding: 20px 24px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition: box-shadow 0.2s ease;
}

.cd-batch:hover {
    box-shadow: var(--shadow);
}

.cd-batch-date {
    padding: 12px 6px;

    text-align: center;

    border-radius: 12px;

    background: var(--navy);
    color: var(--white);

    line-height: 1.1;
}

.cd-batch-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2rem;
}

.cd-batch-date span {
    font-size: 0.72rem;
    text-transform: uppercase;
}

.cd-status {
    display: inline-block;

    margin-bottom: 10px;
    padding: 3px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.cd-status-seats_full,
.cd-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.cd-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.cd-batch-info ul {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 26px;

    list-style: none;
}

.cd-batch-info li {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}

.cd-batch-info li span {
    display: block;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cd-full {
    padding: 10px 18px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.85rem;
    font-weight: 700;
}

.cd-empty {
    padding: 40px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.cd-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.cd-empty a {
    color: var(--teal);

    font-weight: 600;
}

.cd-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

    .cd-side {
        position: static;

        order: -1;
    }
}

@media (max-width: 640px) {

    .cd-hero {
        padding: 50px 0 100px;
    }

    .cd-info div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .cd-info div:last-child {
        border-bottom: 0;
    }

    .cd-batch {
        grid-template-columns: 76px 1fr;

        gap: 16px;

        padding: 18px;
    }

    .cd-batch-action {
        grid-column: 1 / -1;
    }

    .cd-batch-action .btn,
    .cd-full {
        display: block;

        width: 100%;

        text-align: center;
    }

    .cd-faculty {
        flex-direction: column;
    }
}
/* =========================================================
   COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- FILTER BAR ---------- */

.crs-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-bottom: 40px;
}

.crs-chip {
    padding: 10px 22px;

    border: 1.5px solid var(--line);
    border-radius: 50px;

    background: var(--white);
    color: var(--navy);

    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.crs-chip:hover {
    border-color: var(--gold);
}

.crs-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}


/* ---------- LIST ---------- */

.crs-list {
    max-width: 1050px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.crs-row[hidden] {
    display: none;
}


/* ---------- ROW CARD ---------- */

.crs-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: stretch;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.crs-row:hover {
    transform: translateY(-4px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

/* every 2nd row gets the gold panel, like the home page */
.crs-row:nth-child(even) .crs-side {
    background:
        linear-gradient(
            135deg,
            #8A6A10,
            var(--gold)
        );
}


/* ---------- LEFT PANEL ---------- */

.crs-side {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 30px 16px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 39, 0.25),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );
}

.crs-num {
    position: absolute;
    top: 12px;
    left: 16px;

    color: rgba(255, 255, 255, 0.4);

    font-family: var(--font-head);
    font-size: 1.1rem;
}

.crs-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: var(--white);

    font-family: var(--font-head);
    font-size: 2rem;
}

.crs-img {
    width: 84px;
    height: 84px;

    object-fit: cover;

    border: 3px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.crs-tag {
    padding: 4px 12px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.15);
    color: var(--white);

    text-align: center;

    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ---------- MIDDLE ---------- */

.crs-main {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px 32px;
}

.crs-main h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;
}

.crs-main h3 a {
    transition: color 0.2s ease;
}

.crs-main h3 a:hover,
.crs-row:hover .crs-main h3 a {
    color: var(--teal);
}

.crs-main p {
    color: var(--muted);
    font-size: 0.95rem;
}


/* ---------- RIGHT: FEE + DURATION + BUTTON ---------- */

.crs-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: 10px;

    padding: 24px 32px 24px 0;
}

.crs-fee {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;

    color: var(--navy);
}

.crs-fee small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crs-duration {
    align-self: center;

    padding: 4px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 600;
}

.crs-btn {
    padding: 11px 22px;

    font-size: 0.88rem;
    white-space: nowrap;
}


/* ---------- EMPTY STATE ---------- */

.crs-empty {
    max-width: 520px;

    margin: 0 auto;
    padding: 50px 30px;

    text-align: center;

    background: var(--white);

    border: 1px dashed var(--line);
    border-radius: var(--radius);

    color: var(--muted);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {

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

    .crs-side {
        flex-direction: row;
        justify-content: flex-start;

        padding: 18px 20px;
    }

    .crs-num {
        position: static;
    }

    .crs-icon,
    .crs-img {
        width: 52px;
        height: 52px;

        font-size: 1.5rem;
    }

    .crs-main {
        padding: 22px 22px 8px;
    }

    .crs-action {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;

        padding: 12px 22px 22px;

        border-left: 0;
    }

    .crs-fee {
        font-size: 1.4rem;
    }

    .crs-btn {
        width: 100%;
    }
}
/* =========================================================
   COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- SMALLER HERO (courses page only) ---------- */

.crs-hero {
    padding: 60px 0 55px;
}

.crs-hero h1 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.crs-hero p {
    font-size: 1rem;
}

.alt:has(.crs-list) {
    padding-top: 50px;
}


/* ---------- FILTER BAR ---------- */

.crs-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-bottom: 40px;
}

.crs-chip {
    padding: 10px 22px;

    border: 1.5px solid var(--line);
    border-radius: 50px;

    background: var(--white);
    color: var(--navy);

    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.crs-chip:hover {
    border-color: var(--gold);
}

.crs-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}


/* ---------- LIST ---------- */

.crs-list {
    max-width: 1050px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.crs-row[hidden] {
    display: none;
}


/* ---------- ROW CARD ---------- */

.crs-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: stretch;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.crs-row:hover {
    transform: translateY(-4px);

    border-color: transparent;

    box-shadow: var(--shadow);
}

/* every 2nd row gets the gold panel, like the home page */
.crs-row:nth-child(even) .crs-side {
    background:
        linear-gradient(
            135deg,
            #8A6A10,
            var(--gold)
        );
}


/* ---------- LEFT PANEL ---------- */

.crs-side {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 30px 16px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 39, 0.25),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );
}

.crs-num {
    position: absolute;
    top: 12px;
    left: 16px;

    color: rgba(255, 255, 255, 0.4);

    font-family: var(--font-head);
    font-size: 1.1rem;
}

.crs-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: var(--white);

    font-family: var(--font-head);
    font-size: 2rem;
}

.crs-img {
    width: 84px;
    height: 84px;

    object-fit: cover;

    border: 3px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.crs-tag {
    padding: 4px 12px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.15);
    color: var(--white);

    text-align: center;

    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ---------- MIDDLE ---------- */

.crs-main {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 28px 32px;
}

.crs-main h3 {
    margin-bottom: 8px;

    font-size: 1.35rem;
}

.crs-main h3 a {
    transition: color 0.2s ease;
}

.crs-main h3 a:hover,
.crs-row:hover .crs-main h3 a {
    color: var(--teal);
}

.crs-main p {
    color: var(--muted);
    font-size: 0.95rem;
}


/* ---------- RIGHT: FEE + DURATION + BUTTON ---------- */

.crs-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;

    gap: 10px;

    padding: 24px 32px 24px 0;
}

.crs-fee {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;

    color: var(--navy);
}

.crs-fee small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crs-duration {
    align-self: center;

    padding: 4px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 600;
}

.crs-btn {
    padding: 11px 22px;

    font-size: 0.88rem;
    white-space: nowrap;
}


/* ---------- EMPTY STATE ---------- */

.crs-empty {
    max-width: 520px;

    margin: 0 auto;
    padding: 50px 30px;

    text-align: center;

    background: var(--white);

    border: 1px dashed var(--line);
    border-radius: var(--radius);

    color: var(--muted);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 860px) {

    .crs-hero {
        padding: 45px 0 40px;
    }

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

    .crs-side {
        flex-direction: row;
        justify-content: flex-start;

        padding: 18px 20px;
    }

    .crs-num {
        position: static;
    }

    .crs-icon,
    .crs-img {
        width: 52px;
        height: 52px;

        font-size: 1.5rem;
    }

    .crs-main {
        padding: 22px 22px 8px;
    }

    .crs-action {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;

        padding: 12px 22px 22px;

        border-left: 0;
    }

    .crs-fee {
        font-size: 1.4rem;
    }

    .crs-btn {
        width: 100%;
    }
}
/* =========================================================
   GALLERY PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- COMPACT HERO ---------- */

.gal-hero {
    padding: 60px 0 55px;
}

.gal-hero h1 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.gal-hero p {
    font-size: 1rem;
}

.gal-section {
    padding-top: 50px;
}


/* ---------- FILTER ---------- */

.gal-filter {
    display: flex;
    justify-content: center;

    gap: 10px;

    margin-bottom: 36px;
}

.gal-chip {
    padding: 9px 22px;

    border: 1.5px solid var(--line);
    border-radius: 50px;

    background: var(--white);
    color: var(--navy);

    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.gal-chip:hover {
    border-color: var(--gold);
}

.gal-chip.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}


/* ---------- GRID ---------- */

.gal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: dense;

    gap: 16px;
}

/* first photo is big (2 x 2) */
.gal-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gal-item[hidden] {
    display: none;
}


/* ---------- TILE ---------- */

.gal-item {
    position: relative;

    margin: 0;

    overflow: hidden;

    border-radius: var(--radius);

    background: var(--navy);

    box-shadow: 0 6px 18px rgba(11, 31, 58, 0.08);
}

.gal-open {
    display: block;

    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;

    background: none;

    cursor: zoom-in;
}

.gal-open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center top;  
    transition: transform 0.5s ease;
}

.gal-item:hover .gal-open img {
    transform: scale(1.07);
}

.gal-zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);

    font-size: 1rem;

    opacity: 0;
    transform: scale(0.8);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.gal-item:hover .gal-zoom {
    opacity: 1;
    transform: scale(1);
}


/* Caption overlay (bottom) */

.gal-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    padding: 40px 18px 16px;

    background:
        linear-gradient(
            to top,
            rgba(7, 21, 42, 0.9),
            transparent
        );

    color: var(--white);

    pointer-events: none;
}

.gal-title {
    display: block;

    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.gal-item:first-child .gal-title {
    font-size: 1.4rem;
}

.gal-date {
    display: inline-block;

    margin-top: 6px;
    padding: 2px 10px;

    border-radius: 50px;

    background: var(--gold);
    color: var(--navy);

    font-size: 0.7rem;
    font-weight: 700;
}

/* description shows only inside the popup */
.gal-desc {
    display: none;
}


/* ---------- VIDEO TILES ---------- */

.gal-video-wrap,
.gal-video-wrap video {
    width: 100%;
    height: 100%;
}

.gal-video-wrap video {
    display: block;

    object-fit: cover;

    background: #000;
}

.gal-video .gal-caption {
    padding-bottom: 54px; /* keep caption above video controls */
}

.gal-video-link {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding-bottom: 40px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 162, 39, 0.25),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);

    font-weight: 600;
}

.gal-play {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--gold);
    color: var(--navy);

    font-size: 1.4rem;

    box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.2);

    transition: transform 0.25s ease;
}

.gal-video-link:hover .gal-play {
    transform: scale(1.1);
}


/* ---------- EMPTY ---------- */

.gal-empty {
    grid-column: 1 / -1;

    padding: 50px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);

    color: var(--muted);
}


/* ---------- LIGHTBOX ---------- */

.gal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 80px;

    background: rgba(7, 21, 42, 0.94);

    opacity: 0;

    transition: opacity 0.2s ease;
}

.gal-lightbox[hidden] {
    display: none;
}

.gal-lightbox.is-open {
    opacity: 1;
}

.gal-lb-box {
    max-width: 1000px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#gal-lb-img {
    display: block;

    max-width: 100%;
    max-height: 72vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.gal-lb-info {
    max-width: 720px;

    margin-top: 18px;

    text-align: center;

    color: rgba(255, 255, 255, 0.85);
}

.gal-lb-info b {
    display: block;

    color: var(--white);

    font-family: var(--font-head);
    font-size: 1.3rem;
}

#gal-lb-date {
    display: inline-block;

    margin-top: 6px;

    color: var(--gold);

    font-size: 0.82rem;
    font-weight: 600;
}

#gal-lb-desc p {
    margin-top: 8px;

    font-size: 0.92rem;
}

.gal-lb-close,
.gal-lb-nav {
    position: absolute;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: var(--white);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gal-lb-close:hover,
.gal-lb-nav:hover {
    background: var(--gold);
    color: var(--navy);
}

.gal-lb-close {
    top: 22px;
    right: 22px;

    width: 44px;
    height: 44px;

    font-size: 1.6rem;
}

.gal-lb-nav {
    top: 50%;

    width: 52px;
    height: 52px;

    transform: translateY(-50%);

    font-size: 2rem;
    line-height: 1;
}

.gal-lb-prev {
    left: 20px;
}

.gal-lb-next {
    right: 20px;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 560px) {

    .gal-hero {
        padding: 45px 0 40px;
    }

    .gal-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }

    .gal-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gal-zoom {
        opacity: 1;
        transform: scale(1);
    }

    .gal-lightbox {
        padding: 70px 14px 30px;
    }

    .gal-lb-nav {
        top: auto;
        bottom: 20px;

        transform: none;
    }
}
/* =========================================================
   UPCOMING COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- COMPACT HERO ---------- */

.up-hero {
    padding: 60px 0 55px;
}

.up-hero h1 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.up-hero p {
    font-size: 1rem;
}

.up-section {
    padding-top: 50px;
}


/* ---------- LIST ---------- */

.up-list {
    max-width: 1000px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* ---------- CARD ---------- */

.up-card {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;

    gap: 28px;

    padding: 24px 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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


/* Date box */

.up-date {
    padding: 16px 8px;

    text-align: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);

    line-height: 1.1;
}

.up-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2.4rem;
}

.up-date span {
    display: block;

    margin-top: 4px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.up-date small {
    font-size: 0.72rem;
    opacity: 0.7;
}


/* Main */

.up-top {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 10px;
}

.up-status,
.up-mode {
    padding: 3px 12px;

    border-radius: 50px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-status {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.up-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.up-status-seats_full,
.up-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.up-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.up-mode {
    background: var(--bg-alt);
    color: var(--navy);
}

.up-main h3 {
    margin-bottom: 12px;

    font-size: 1.35rem;
}

.up-main h3 a {
    transition: color 0.2s ease;
}

.up-main h3 a:hover {
    color: var(--teal);
}

.up-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 30px;

    list-style: none;
}

.up-meta li {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}

.up-meta li span {
    display: block;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Seats + progress bar */

.up-seats {
    max-width: 360px;

    margin-top: 16px;
}

.up-seats-text {
    margin-top: 14px;
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.82rem;
}

.up-seats .up-seats-text {
    margin-top: 0;
}

.up-seats-text b {
    color: var(--navy);
}

.up-bar {
    height: 7px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-alt);
}

.up-bar span {
    display: block;

    height: 100%;
    max-width: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--gold)
        );
}


/* Action */

.up-action {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}

.up-btn {
    padding: 12px 22px;

    font-size: 0.9rem;
    white-space: nowrap;
}

.up-link {
    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}

.up-link:hover {
    color: var(--gold);
}

.up-full {
    padding: 11px 20px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.88rem;
    font-weight: 700;
}


/* ---------- EMPTY ---------- */

.up-empty {
    max-width: 560px;

    margin: 0 auto;
    padding: 50px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.up-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.up-empty a {
    color: var(--teal);
    font-weight: 600;
}

.up-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {

    .up-hero {
        padding: 45px 0 40px;
    }

    .up-card {
        grid-template-columns: 80px 1fr;

        gap: 18px;

        padding: 20px;
    }

    .up-date b {
        font-size: 1.8rem;
    }

    .up-action {
        grid-column: 1 / -1;

        flex-direction: row;
        justify-content: space-between;
    }

    .up-btn,
    .up-full {
        flex: 1;

        text-align: center;
    }
}
/* =========================================================
   UPCOMING COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- COMPACT HERO ---------- */

.up-hero {
    padding: 60px 0 55px;
}

.up-hero h1 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.up-hero p {
    font-size: 1rem;
}

.up-section {
    padding-top: 50px;
}


/* ---------- LIST ---------- */

.up-list {
    max-width: 1000px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* ---------- CARD ---------- */

.up-card {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;

    gap: 28px;

    padding: 24px 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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


/* Date box */

.up-date {
    padding: 16px 8px;

    text-align: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);

    line-height: 1.1;
}

.up-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2.4rem;
}

.up-date span {
    display: block;

    margin-top: 4px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.up-date small {
    font-size: 0.72rem;
    opacity: 0.7;
}


/* Main */

.up-top {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 10px;
}

.up-status,
.up-mode {
    padding: 3px 12px;

    border-radius: 50px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-status {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.up-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.up-status-seats_full,
.up-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.up-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.up-mode {
    background: var(--bg-alt);
    color: var(--navy);
}

.up-main h3 {
    margin-bottom: 0;

    font-size: 1.45rem;
}

.up-main h3 a {
    transition: color 0.2s ease;
}

.up-main h3 a:hover {
    color: var(--teal);
}

.up-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 30px;

    list-style: none;
}

.up-meta li {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}

.up-meta li span {
    display: block;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Seats + progress bar */

.up-seats {
    max-width: 360px;

    margin-top: 16px;
}

.up-seats-text {
    margin-top: 14px;
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.82rem;
}

.up-seats .up-seats-text {
    margin-top: 0;
}

.up-seats-text b {
    color: var(--navy);
}

.up-bar {
    height: 7px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-alt);
}

.up-bar span {
    display: block;

    height: 100%;
    max-width: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--gold)
        );
}


/* Action */

.up-action {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}

.up-btn {
    padding: 12px 22px;

    font-size: 0.9rem;
    white-space: nowrap;
}

.up-link {
    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}

.up-link:hover {
    color: var(--gold);
}

.up-full {
    padding: 11px 20px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.88rem;
    font-weight: 700;
}


/* ---------- EMPTY ---------- */

.up-empty {
    max-width: 560px;

    margin: 0 auto;
    padding: 50px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.up-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.up-empty a {
    color: var(--teal);
    font-weight: 600;
}

.up-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {

    .up-hero {
        padding: 45px 0 40px;
    }

    .up-card {
        grid-template-columns: 80px 1fr;

        gap: 18px;

        padding: 20px;
    }

    .up-date b {
        font-size: 1.8rem;
    }

    .up-action {
        grid-column: 1 / -1;

        flex-direction: row;
        justify-content: space-between;
    }

    .up-btn,
    .up-full {
        flex: 1;

        text-align: center;
    }
}
/* =========================================================
   COURSE DETAIL PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- HERO ---------- */

.cd-hero {
    padding: 70px 0 120px;
}

.cd-hero .container {
    max-width: 860px;
}

.cd-back {
    display: inline-block;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.85rem;
    font-weight: 500;

    transition: color 0.2s ease;
}

.cd-back:hover {
    color: var(--gold);
}

.cd-tag {
    display: table;

    margin: 0 auto 16px;
    padding: 5px 16px;

    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 50px;

    background: rgba(201, 162, 39, 0.12);
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
}


/* ---------- QUICK INFO STRIP ---------- */

.cd-info-wrap {
    position: relative;
    z-index: 5;

    margin-top: -60px;
    padding: 0;
}

.cd-info {
    max-width: 860px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cd-info div {
    padding: 24px 16px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.cd-info div:last-child {
    border-right: 0;
}

.cd-info span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-info b {
    font-family: var(--font-head);
    font-size: 1.35rem;

    color: var(--navy);
}


/* ---------- BODY GRID ---------- */

.cd-body {
    padding-top: 60px;
}

.cd-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: start;

    gap: 44px;
}

.cd-block {
    margin-bottom: 44px;
}

.cd-block:last-child {
    margin-bottom: 0;
}

.cd-title {
    margin-bottom: 20px;

    font-size: 1.55rem;
}

.cd-title::after {
    content: "";
    display: block;

    width: 50px;
    height: 3px;

    margin-top: 12px;

    background: var(--gold);
    border-radius: 3px;
}

.cd-text p {
    margin-bottom: 12px;

    color: var(--muted);
}

.cd-text p:last-child {
    margin-bottom: 0;
}


/* ---------- CURRICULUM ---------- */

.cd-modules {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.cd-module {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 20px 22px;

    background: var(--bg-alt);

    border-left: 3px solid var(--gold);
    border-radius: 10px;
}

.cd-module-num {
    flex-shrink: 0;

    font-family: var(--font-head);
    font-size: 1.4rem;
    line-height: 1.2;

    color: var(--gold);
}

.cd-module h3 {
    margin-bottom: 4px;

    font-size: 1.05rem;
}


/* ---------- FACULTY ---------- */

.cd-faculty-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-faculty {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cd-faculty-photo {
    flex-shrink: 0;

    width: 76px;
    height: 76px;

    object-fit: cover;

    border: 3px solid var(--gold-soft);
    border-radius: 50%;
}

.cd-faculty-initial {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.8rem;
}

.cd-faculty h3 {
    margin-bottom: 2px;

    font-size: 1.15rem;
}

.cd-faculty-role {
    margin-bottom: 8px;

    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}


/* ---------- MEDIA ---------- */

.cd-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 14px;
}

.cd-media-item {
    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: var(--bg-alt);
}

.cd-media-item img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.cd-media-item figcaption {
    padding: 10px 12px;

    color: var(--muted);
    font-size: 0.82rem;
}

.cd-media-video {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 20px;

    background: var(--navy);
    color: var(--white);

    font-weight: 600;

    transition: background 0.2s ease;
}

.cd-media-video:hover {
    background: var(--teal);
}

.cd-media-video small {
    display: block;

    font-weight: 400;
    opacity: 0.7;
}

.cd-play {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);
    color: var(--navy);
}


/* ---------- SIDEBAR ---------- */

.cd-side {
    position: sticky;
    top: 110px;
}

.cd-side-card {
    padding: 28px 26px;

    background: var(--white);

    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.cd-side-label {
    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-side-fee {
    margin: 2px 0 18px;

    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 700;

    color: var(--navy);
}

.cd-side-list {
    margin-bottom: 22px;

    list-style: none;

    border-top: 1px solid var(--line);
}

.cd-side-list li {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    font-size: 0.9rem;
}

.cd-side-list span {
    color: var(--muted);
}

.cd-side-list b {
    color: var(--navy);
    text-align: right;
}

.cd-side-btn {
    width: 100%;

    margin-bottom: 10px;
    padding: 12px 20px;

    font-size: 0.9rem;
}

.cd-btn-outline {
    border: 2px solid var(--navy);

    color: var(--navy);
}

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

.cd-side-links {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 10px;
    padding-top: 16px;

    border-top: 1px dashed var(--line);
}

.cd-side-links a {
    color: var(--teal);

    font-size: 0.88rem;
    font-weight: 600;
}

.cd-side-links a:hover {
    color: var(--gold);
}


/* ---------- UPCOMING BATCHES ---------- */

.cd-batches {
    max-width: 900px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-batch {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;

    gap: 24px;

    padding: 20px 24px;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition: box-shadow 0.2s ease;
}

.cd-batch:hover {
    box-shadow: var(--shadow);
}

.cd-batch-date {
    padding: 12px 6px;

    text-align: center;

    border-radius: 12px;

    background: var(--navy);
    color: var(--white);

    line-height: 1.1;
}

.cd-batch-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2rem;
}

.cd-batch-date span {
    font-size: 0.72rem;
    text-transform: uppercase;
}

.cd-status {
    display: inline-block;

    margin-bottom: 10px;
    padding: 3px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.cd-status-seats_full,
.cd-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.cd-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.cd-batch-info ul {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 26px;

    list-style: none;
}

.cd-batch-info li {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}

.cd-batch-info li span {
    display: block;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Seats progress bar */

.cd-seats {
    max-width: 380px;

    margin-top: 14px;
}

.cd-seats-text {
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.82rem;
}

.cd-seats-text b {
    color: var(--navy);
}

.cd-bar {
    height: 8px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-alt);
}

.cd-bar span {
    display: block;

    height: 100%;
    min-width: 4%;
    max-width: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--gold)
        );
}

.cd-full {
    padding: 10px 18px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.85rem;
    font-weight: 700;
}

.cd-empty {
    padding: 40px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.cd-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.cd-empty a {
    color: var(--teal);

    font-weight: 600;
}

.cd-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

    .cd-side {
        position: static;

        order: -1;
    }
}

@media (max-width: 640px) {

    .cd-hero {
        padding: 50px 0 100px;
    }

    .cd-info div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .cd-info div:last-child {
        border-bottom: 0;
    }

    .cd-batch {
        grid-template-columns: 76px 1fr;

        gap: 16px;

        padding: 18px;
    }

    .cd-batch-action {
        grid-column: 1 / -1;
    }

    .cd-batch-action .btn,
    .cd-full {
        display: block;

        width: 100%;

        text-align: center;
    }

    .cd-faculty {
        flex-direction: column;
    }
}
/* =========================================================
   UPCOMING COURSES PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- COMPACT HERO ---------- */

.up-hero {
    padding: 60px 0 55px;
}

.up-hero h1 {
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.up-hero p {
    font-size: 1rem;
}

.up-section {
    padding-top: 50px;
}


/* ---------- LIST ---------- */

.up-list {
    max-width: 1000px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* ---------- CARD ---------- */

.up-card {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;

    gap: 28px;

    padding: 24px 28px;

    background: var(--white);

    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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


/* Date box */

.up-date {
    padding: 16px 8px;

    text-align: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--white);

    line-height: 1.1;
}

.up-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2.4rem;
}

.up-date span {
    display: block;

    margin-top: 4px;

    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.up-date small {
    font-size: 0.72rem;
    opacity: 0.7;
}


/* Main */

.up-top {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 10px;
}

.up-status,
.up-mode {
    padding: 3px 12px;

    border-radius: 50px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.up-status {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.up-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.up-status-seats_full,
.up-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.up-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.up-mode {
    background: var(--bg-alt);
    color: var(--navy);
}

.up-main h3 {
    margin-bottom: 0;

    font-size: 1.45rem;
}

.up-main h3 a {
    transition: color 0.2s ease;
}

.up-main h3 a:hover {
    color: var(--teal);
}

.up-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 30px;

    list-style: none;
}

.up-meta li {
    color: var(--navy);

    font-size: 0.92rem;
    font-weight: 600;
}

.up-meta li span {
    display: block;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* Seats + progress bar */

.up-seats {
    max-width: 360px;

    margin-top: 14px;
}

.up-seats-text {
    margin-top: 14px;
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.82rem;
}

.up-seats .up-seats-text {
    margin-top: 0;
}

.up-seats-text b {
    color: var(--navy);
}

.up-bar {
    height: 7px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-alt);
}

.up-bar span {
    display: block;

    height: 100%;
    min-width: 4%;
    max-width: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--gold)
        );
}


/* Action */

.up-action {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}

.up-btn {
    padding: 12px 22px;

    font-size: 0.9rem;
    white-space: nowrap;
}

.up-link {
    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}

.up-link:hover {
    color: var(--gold);
}

.up-full {
    padding: 11px 20px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.88rem;
    font-weight: 700;
}


/* ---------- EMPTY ---------- */

.up-empty {
    max-width: 560px;

    margin: 0 auto;
    padding: 50px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.up-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.up-empty a {
    color: var(--teal);
    font-weight: 600;
}

.up-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {

    .up-hero {
        padding: 45px 0 40px;
    }

    .up-card {
        grid-template-columns: 80px 1fr;

        gap: 18px;

        padding: 20px;
    }

    .up-date b {
        font-size: 1.8rem;
    }

    .up-action {
        grid-column: 1 / -1;

        flex-direction: row;
        justify-content: space-between;
    }

    .up-btn,
    .up-full {
        flex: 1;

        text-align: center;
    }
}
/* =========================================================
   COURSE DETAIL PAGE — paste at the END of main.css
   ========================================================= */


/* ---------- HERO ---------- */

.cd-hero {
    padding: 36px 0 90px;
}

.cd-hero .container {
    max-width: 860px;
}

.cd-back {
    display: inline-block;

    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.85rem;
    font-weight: 500;

    transition: color 0.2s ease;
}

.cd-back:hover {
    color: var(--gold);
}

.cd-tag {
    display: table;

    margin: 0 auto 12px;
    padding: 5px 16px;

    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 50px;

    background: rgba(201, 162, 39, 0.12);
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-hero h1 {
    margin-bottom: 10px;

    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
}

.cd-hero p {
    font-size: 1rem;
}


/* ---------- QUICK INFO STRIP ---------- */

.cd-info-wrap {
    position: relative;
    z-index: 5;

    margin-top: -55px;
    padding: 0;
}

.cd-info {
    max-width: 860px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));

    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cd-info div {
    padding: 24px 16px;

    text-align: center;

    border-right: 1px solid var(--line);
}

.cd-info div:last-child {
    border-right: 0;
}

.cd-info span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-info b {
    font-family: var(--font-head);
    font-size: 1.35rem;

    color: var(--navy);
}


/* ---------- BODY GRID ---------- */

.cd-body {
    padding-top: 60px;
}

.cd-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: start;

    gap: 44px;
}

.cd-block {
    margin-bottom: 44px;
}

.cd-block:last-child {
    margin-bottom: 0;
}

.cd-title {
    margin-bottom: 20px;

    font-size: 1.55rem;
}

.cd-title::after {
    content: "";
    display: block;

    width: 50px;
    height: 3px;

    margin-top: 12px;

    background: var(--gold);
    border-radius: 3px;
}

.cd-text p {
    margin-bottom: 12px;

    color: var(--muted);
}

.cd-text p:last-child {
    margin-bottom: 0;
}


/* ---------- CURRICULUM ---------- */

.cd-modules {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.cd-module {
    display: flex;
    align-items: flex-start;

    gap: 18px;

    padding: 20px 22px;

    background: var(--bg-alt);

    border-left: 3px solid var(--gold);
    border-radius: 10px;
}

.cd-module-num {
    flex-shrink: 0;

    font-family: var(--font-head);
    font-size: 1.4rem;
    line-height: 1.2;

    color: var(--gold);
}

.cd-module h3 {
    margin-bottom: 4px;

    font-size: 1.05rem;
}


/* ---------- FACULTY ---------- */

.cd-faculty-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-faculty {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cd-faculty-photo {
    flex-shrink: 0;

    width: 76px;
    height: 76px;

    object-fit: cover;

    border: 3px solid var(--gold-soft);
    border-radius: 50%;
}

.cd-faculty-initial {
    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.8rem;
}

.cd-faculty h3 {
    margin-bottom: 2px;

    font-size: 1.15rem;
}

.cd-faculty-role {
    margin-bottom: 8px;

    color: var(--teal);

    font-size: 0.85rem;
    font-weight: 600;
}


/* ---------- MEDIA ---------- */

.cd-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 14px;
}

.cd-media-item {
    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: var(--bg-alt);
}

.cd-media-item img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.cd-media-item figcaption {
    padding: 10px 12px;

    color: var(--muted);
    font-size: 0.82rem;
}

.cd-media-video {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 20px;

    background: var(--navy);
    color: var(--white);

    font-weight: 600;

    transition: background 0.2s ease;
}

.cd-media-video:hover {
    background: var(--teal);
}

.cd-media-video small {
    display: block;

    font-weight: 400;
    opacity: 0.7;
}

.cd-play {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--gold);
    color: var(--navy);
}


/* ---------- SIDEBAR ---------- */

.cd-side {
    position: sticky;
    top: 110px;
}

.cd-side-card {
    padding: 28px 26px;

    background: var(--white);

    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.cd-side-label {
    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cd-side-fee {
    margin: 2px 0 18px;

    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 700;

    color: var(--navy);
}

.cd-side-list {
    margin-bottom: 22px;

    list-style: none;

    border-top: 1px solid var(--line);
}

.cd-side-list li {
    display: flex;
    justify-content: space-between;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    font-size: 0.9rem;
}

.cd-side-list span {
    color: var(--muted);
}

.cd-side-list b {
    color: var(--navy);
    text-align: right;
}

.cd-side-btn {
    width: 100%;

    margin-bottom: 10px;
    padding: 12px 20px;

    font-size: 0.9rem;
}

.cd-btn-outline {
    border: 2px solid var(--navy);

    color: var(--navy);
}

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

.cd-side-links {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 10px;
    padding-top: 16px;

    border-top: 1px dashed var(--line);
}

.cd-side-links a {
    color: var(--teal);

    font-size: 0.88rem;
    font-weight: 600;
}

.cd-side-links a:hover {
    color: var(--gold);
}


/* ---------- UPCOMING BATCHES ---------- */

.cd-batches {
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.cd-batch {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;

    gap: 36px;

    padding: 32px 36px;

    border-left: 4px solid var(--gold);

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition: box-shadow 0.2s ease;
}

.cd-batch:hover {
    box-shadow: var(--shadow);
}

.cd-batch-date {
    padding: 20px 8px;

    text-align: center;

    border-radius: 12px;

    background: var(--navy);
    color: var(--white);

    line-height: 1.1;
}

.cd-batch-date b {
    display: block;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 2.8rem;
}

.cd-batch-date span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cd-status {
    display: inline-block;

    margin-bottom: 10px;
    padding: 3px 12px;

    border-radius: 50px;

    background: var(--gold-soft);
    color: var(--gold-dark);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cd-status-registration_open {
    background: #E6F4EA;
    color: #1E7B3A;
}

.cd-status-seats_full,
.cd-status-cancelled {
    background: #FDECEA;
    color: #C0392B;
}

.cd-status-completed {
    background: var(--bg-alt);
    color: var(--muted);
}

.cd-batch-info ul {
    display: flex;
    flex-wrap: wrap;

    gap: 14px 40px;

    list-style: none;
}

.cd-batch-info li {
    color: var(--navy);

    font-size: 1rem;
    font-weight: 600;
}

.cd-batch-info li span {
    display: block;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Seats progress bar */

.cd-seats {
    max-width: 460px;

    margin-top: 20px;
}

.cd-seats-text {
    margin-bottom: 6px;

    color: var(--muted);

    font-size: 0.82rem;
}

.cd-seats-text b {
    color: var(--navy);
}

.cd-bar {
    height: 8px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--bg-alt);
}

.cd-bar span {
    display: block;

    height: 100%;
    min-width: 4%;
    max-width: 100%;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--teal),
            var(--gold)
        );
}

.cd-batch-action .btn {
    padding: 15px 30px;

    font-size: 1rem;
}

.cd-full {
    padding: 10px 18px;

    border-radius: 50px;

    background: #FDECEA;
    color: #C0392B;

    font-size: 0.85rem;
    font-weight: 700;
}

.cd-empty {
    padding: 40px 24px;

    text-align: center;

    background: var(--white);

    border: 1px dashed #CBD3DE;
    border-radius: var(--radius);
}

.cd-empty p {
    margin-bottom: 8px;

    color: var(--muted);
}

.cd-empty a {
    color: var(--teal);

    font-weight: 600;
}

.cd-empty a:hover {
    color: var(--gold);
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 960px) {

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

    .cd-side {
        position: static;

        order: -1;
    }
}

@media (max-width: 640px) {

    .cd-hero {
        padding: 50px 0 100px;
    }

    .cd-info div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .cd-info div:last-child {
        border-bottom: 0;
    }

    .cd-batch {
        grid-template-columns: 76px 1fr;

        gap: 16px;

        padding: 18px;
    }

    .cd-batch-action {
        grid-column: 1 / -1;
    }

    .cd-batch-action .btn,
    .cd-full {
        display: block;

        width: 100%;

        text-align: center;
    }

    .cd-faculty {
        flex-direction: column;
    }
}
/* ===== COURSES: same colour for all cards (final override) ===== */

.crs-list .crs-row .crs-side,
.crs-list .crs-row:nth-child(even) .crs-side {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(201, 162, 39, 0.25),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        ) !important;
}

.crs-list .crs-row .crs-action {
    border-left: 0 !important;
}
/* =========================================================
   REGISTRATION PAGE — paste at the END of main.css
   (uses the Contact page styles + these small additions)
   ========================================================= */


/* slightly smaller hero */
.reg-hero {
    padding-top: 60px;
}

.reg-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}


/* a little wider card for more fields */
.reg-card {
    max-width: 680px;
}


/* dropdown arrow for Course / Batch */
.reg-form select {
    appearance: none;
    -webkit-appearance: none;

    padding-right: 40px;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1F3A' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;

    cursor: pointer;
}


/* Message box full width */
.reg-form p:has(textarea) {
    grid-column: 1 / -1;
}


/* Consent checkbox: one line, full width */
.reg-form p:has(input[type="checkbox"]) {
    grid-column: 1 / -1;

    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;

    padding: 12px 14px;

    background: var(--gold-soft);

    border-radius: 10px;
}

.reg-form p:has(input[type="checkbox"]) label {
    margin: 0;

    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;

    cursor: pointer;
}

.reg-form input[type="checkbox"] {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    padding: 0;

    accent-color: var(--navy);

    cursor: pointer;
}
/* =========================================================
   REGISTRATION SUCCESS PAGE — paste at the END of main.css
   ========================================================= */

.reg-success-section {
    min-height: 60vh;

    display: flex;
    align-items: center;

    padding: 80px 0;
}

.reg-success {
    max-width: 560px;

    margin: 0 auto;
    padding: 50px 40px 44px;

    text-align: center;

    background: var(--white);

    border-top: 5px solid var(--gold);
    border-radius: 18px;

    box-shadow: 0 25px 60px rgba(11, 31, 58, 0.12);

    animation: regPop 0.5s ease both;
}

.reg-success-icon {
    width: 84px;
    height: 84px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--teal)
        );

    box-shadow: 0 0 0 10px var(--gold-soft);

    animation: regPop 0.5s 0.15s ease both;
}

.reg-success-icon svg {
    width: 42px;
    height: 42px;

    fill: var(--gold);
}

.reg-success h1 {
    margin-bottom: 16px;

    font-size: clamp(1.7rem, 3.6vw, 2.3rem);
}

.reg-success p {
    margin-bottom: 6px;

    color: var(--muted);
    font-size: 1rem;
}

.reg-success p strong {
    color: var(--navy);
}

.reg-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.reg-btn-outline {
    border: 2px solid var(--navy);

    color: var(--navy);
}

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

@keyframes regPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 560px) {

    .reg-success {
        padding: 40px 22px 34px;
    }

    .reg-success-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   ACTIVE MENU LINK — paste at the END of main.css
   ========================================================= */

.navbar-menu a.active {
    color: var(--gold);
    font-weight: 600;
}

.navbar-menu a.active::after {
    width: 100%;
    height: 3px;

    border-radius: 3px;
}
/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1500;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: var(--gold);

    box-shadow: 0 10px 25px rgba(11, 31, 58, 0.25);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.25s ease;
}

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

.back-to-top:hover {
    background: var(--navy);
    transform: translateY(-4px);
}

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

    fill: var(--navy);

    transition: fill 0.25s ease;
}

.back-to-top:hover svg {
    fill: var(--gold);
}

@media (max-width: 560px) {

    .back-to-top {
        right: 16px;
        bottom: 16px;

        width: 44px;
        height: 44px;
    }
}
/* ===== CONSULTANCY PAGE ===== */

.cns-hero { padding: 70px 0 70px; }
.cns-hero h1 { margin-bottom: 14px; font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.cns-hero p { margin-bottom: 28px; }

.cns-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* Services */
.cns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cns-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.cns-num {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-head);
    font-size: 1.8rem;
    line-height: 1;
    color: var(--gold);
}

.cns-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.cns-card p { color: var(--muted); font-size: 0.93rem; }

/* Who we help */
.cns-who {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.cns-who-item {
    padding: 28px 22px;
    text-align: center;
    background: var(--bg-alt);
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.cns-who-item:hover { background: var(--gold-soft); }

.cns-who-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(11, 31, 58, 0.08);
}

.cns-who-item b {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 1.1rem;
}

.cns-who-item p { color: var(--muted); font-size: 0.88rem; }

.cns-why-title {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Responsive */
@media (max-width: 960px) {
    .cns-grid, .cns-who { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .cns-hero { padding: 50px 0; }
    .cns-grid, .cns-who { grid-template-columns: 1fr; }
}
/* =========================================================
   MOBILE MENU + WHATSAPP BUTTON — paste at the END of main.css
   ========================================================= */


/* ---------- Hamburger → X animation ---------- */

.mobile-menu-btn span {
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ---------- Dropdown menu (tablet + mobile) ---------- */

@media (max-width: 960px) {

    .navbar-container {
        position: relative;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 8px 20px 18px;

        background: var(--white);

        border-bottom: 3px solid var(--gold);

        box-shadow: 0 20px 40px rgba(11, 31, 58, 0.15);

        /* hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .navbar-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-menu a {
        min-height: auto;

        padding: 14px 6px;

        border-bottom: 1px solid var(--line);

        font-size: 15px;
    }

    .navbar-menu a:last-child {
        border-bottom: 0;
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-menu a.active {
        padding-left: 14px;

        border-left: 3px solid var(--gold);
    }
}


/* On small phones, keep only Login in the header (Sign Up is in the footer) */
@media (max-width: 560px) {

    .student-login-btn.signup-btn {
        display: none;
    }
}


/* ---------- Floating WhatsApp button ---------- */

.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1500;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #25D366;

    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);

    transition: transform 0.25s ease, box-shadow 0.25s ease;

    animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;

    fill: #ffffff;
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* move Back to Top above the WhatsApp button */
.back-to-top {
    bottom: 96px;
    right: 29px;
}

@media (max-width: 560px) {

    .whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .back-to-top {
        right: 19px;
        bottom: 78px;
    }
}
/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* =========================================================
   FAQ ACCORDION — paste at the END of main.css
   ========================================================= */

.faq-list {
    max-width: 860px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 14px;

    overflow: hidden;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.faq-item summary {
    position: relative;

    padding: 20px 64px 20px 24px;

    list-style: none;
    cursor: pointer;

    color: var(--navy);

    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* + / − icon */
.faq-item summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 22px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    transform: translateY(-50%);

    border-radius: 50%;

    background: var(--gold-soft);
    color: var(--gold-dark);

    font-family: var(--font-body);
    font-size: 1.3rem;
    line-height: 1;

    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
    content: "−";

    background: var(--navy);
    color: var(--gold);
}

.faq-item summary:hover {
    color: var(--teal);
}

.faq-answer {
    padding: 0 24px 22px;

    animation: faqOpen 0.3s ease;
}

.faq-answer p {
    color: var(--muted);
    font-size: 0.97rem;
}

.faq-answer a {
    color: var(--teal);
    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer a:hover {
    color: var(--gold);
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {

    .faq-item summary {
        padding: 18px 56px 18px 18px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }
}
/* =========================================================
   OFFICE MAP (Home + Contact) — paste at the END of main.css
   ========================================================= */

.map-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;

    max-width: 1100px;
    margin: 0 auto;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.map-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 40px 34px;

    background: linear-gradient(160deg, var(--navy), var(--navy-2));
    color: rgba(255, 255, 255, 0.85);
}

.map-pin {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 50%;
    background: var(--gold);
}

.map-pin svg {
    width: 26px;
    height: 26px;
    fill: var(--navy);
}

.map-info address {
    margin-bottom: 26px;

    font-style: normal;
    font-size: 0.98rem;
    line-height: 1.75;
}

.map-info address strong {
    display: inline-block;
    margin-bottom: 4px;

    color: var(--gold);

    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.map-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.93rem;

    text-decoration: underline;
    text-underline-offset: 4px;
}

.map-link:hover {
    color: var(--gold);
}

.map-frame {
    min-height: 380px;
}

.map-frame iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 380px;

    border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {

    .map-wrap {
        grid-template-columns: 1fr;
    }

    .map-info {
        padding: 30px 24px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 300px;
    }
}
.about-visual {
    padding: 0;
    overflow: hidden;
}

.about-visual-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}
.tst-grid { align-items: start; }