:root {
    --bg: #f4f9fb;
    --surface: #ffffff;
    --surface-soft: #f8fcfd;
    --text: #113642;
    --text-soft: #47626d;
    --accent: #0f6b83;
    --accent-dark: #0b5368;
    --accent-soft: #e7f4f7;
    --accent-glow: rgba(15, 107, 131, 0.12);
    --line: #dce9ee;
    --line-subtle: #e9f1f5;
    --shadow-sm: 0 4px 16px -12px rgba(17, 54, 66, 0.18);
    --shadow-md: 0 14px 36px -20px rgba(17, 54, 66, 0.32);
    --shadow-lg: 0 22px 50px -24px rgba(15, 107, 131, 0.3);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-full: 999px;
    --container: 1120px;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", -apple-system, sans-serif;
    --footer-bg: #0f6b83;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.6;
    background: linear-gradient(180deg, #f9fdfd 0%, var(--bg) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    position: relative;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}
img,
svg {
    display: block;
    max-width: 100%;
}
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

/* ────────── BUTTONS ────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.94rem;
    font-family: var(--font-sans);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(15, 107, 131, 0.55);
}
.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 14px 30px -14px rgba(15, 107, 131, 0.65);
}
.btn-ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--text);
}
.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* ────────── HEADER ────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(248, 252, 253, 0.84);
    border-bottom: 1px solid rgb(15 107 131 / 22%);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    gap: 16px;
    position: relative;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    font-size: 1.05rem;
}
.brand img {
    width: 150px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}
.nav-links a {
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover {
    color: var(--text);
}
.nav .btn-mobile {
    color: #fff !important;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-cta {
    display: inline-flex;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
    z-index: 51;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}
@media (max-width: 800px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(248, 252, 253, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        z-index: 49;
    }
    .nav-links a {
        padding: 12px 24px;
        width: 100%;
        display: block;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .nav .btn-mobile {
        display: inline-flex;
        font-size: 0.82rem;
        padding: 10px 18px;
        width: 90%;
        color: #fff;
    }
    .nav-toggle {
        display: block;
        background: #07667f;
        border-radius: 5px;
    }
    .nav-open .nav-links {
        display: flex;
    }
    .nav-open .nav-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav-open .nav-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
@media (min-width: 801px) {
    .nav .btn-mobile {
        display: none;
    }
    .nav-toggle {
        display: none;
    }
}

/* ────────── SECTIONS ────────── */
.section {
    padding: 76px 0;
}
.section-muted {
    background: linear-gradient(
        180deg,
        rgba(15, 107, 131, 0.03),
        rgba(15, 107, 131, 0.01)
    );
    border-top: 1px solid rgba(15, 107, 131, 0.06);
    border-bottom: 1px solid rgba(15, 107, 131, 0.06);
}
.section-head {
    max-width: 640px;
    margin-bottom: 30px;
}
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    /* color: var(--accent); */
    color: #0f6b83;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.76rem;
    font-weight: 800;
}
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
    line-height: 1.5;
    color: var(--text);
}
.section-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    margin-bottom: 8px;
}
.section-head p {
    /* color: var(--text-soft); */
    color: #0f6b83;
    font-size: 0.98rem;
}

/* ────────── HERO ────────── */
.hero {
    padding: 64px 0 60px;
    background: #00caff14;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 40px;
    align-items: center;
}
.hero-copy .hero-eyebrow {
    margin-bottom: 8px;
}
.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    margin-bottom: 10px;
}
.hero-copy h1 span {
    color: var(--accent);
    display: block;
    margin-top: 2px;
    font-size: 0.6em;
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
}
.badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    border: 1px solid rgba(15, 107, 131, 0.14);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
}
.badge.free {
    background: #fef9e7;
    color: #7a5d14;
    border-color: rgba(180, 140, 40, 0.25);
}
.badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}
.hero-lede {
    font-size: 0.98rem;
    color: var(--text-soft);
    max-width: 560px;
    margin-bottom: 22px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

/* Hero form (full fields) */
.hero-form-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-form-wrap h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.hero-form-wrap p {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 4px;
}
.hero-field {
    margin-bottom: 0;
}
.hero-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-soft);
    margin-bottom: 4px;
}
.hero-field input {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    border-radius: 10px;
    border: 1.5px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    transition: border-color 0.2s;
}
.hero-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 107, 131, 0.07);
}
.hero-form-wrap .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 0.98rem;
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-form-wrap {
        max-width: 480px;
        margin: 0 auto;
    }
    .hero {
        padding: 44px 0 48px;
    }
}

/* ────────── FIXED CONTACT BUTTONS ────────── */
.fixed-contact-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fixed-contact-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    color: #fff;
}
.fixed-contact-btns a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.whatsapp-btn {
    background: #25d366;
}
.call-btn {
    background: var(--accent);
}
.fixed-contact-btns a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ────────── FOUNDER ────────── */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: start;
}
.founder-visual {
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #e7f4f7 0%, #f0f7f9 40%, #fdfbf7 100%);
    border: 2px dashed rgba(15, 107, 131, 0.18);
    text-align: center;
    padding: 20px;
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.founder-visual::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(15, 107, 131, 0.07);
    top: -20px;
    right: -20px;
    pointer-events: none;
}
.founder-visual-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.founder-visual-inner img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}
.founder-text p {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 14px;
    line-height: 1.65;
}
.founder-text .signoff {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text);
    margin-top: 20px;
}
@media (max-width: 780px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .founder-visual {
        min-height: 200px;
        max-height: 100%;
    }
    .founder-visual-inner img {
        max-width: 100%;
    }
}

/* ────────── ROADMAP TIMELINE (unchanged) ────────── */
.roadmap-wrapper {
    position: relative;
    padding: 30px 0 20px;
    max-width: 900px;
    margin: 0 auto;
}
.roadmap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.roadmap::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--accent-soft) 0%,
        var(--accent) 50%,
        var(--accent-soft) 100%
    );
    z-index: 0;
}
.milestone {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}
.milestone:nth-child(1) {
    animation-delay: 0.1s;
}
.milestone:nth-child(2) {
    animation-delay: 0.2s;
}
.milestone:nth-child(3) {
    animation-delay: 0.3s;
}
.milestone:nth-child(4) {
    animation-delay: 0.4s;
}
.milestone:nth-child(5) {
    animation-delay: 0.5s;
}
.milestone:nth-child(6) {
    animation-delay: 0.6s;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.milestone:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
}
.milestone:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-start;
}
.milestone-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0f6b83;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 107, 131, 0.15);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}
.milestone:hover .milestone-marker {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-dark);
    transform: scale(1.08);
    box-shadow: 0 14px 32px rgba(15, 107, 131, 0.3);
}
.milestone-card {
    flex: 1;
    max-width: 360px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}
.milestone:hover .milestone-card {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.milestone:nth-child(odd) .milestone-card {
    margin-left: 15px;
}
.milestone:nth-child(even) .milestone-card {
    margin-right: 15px;
    text-align: right;
}
.milestone-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text);
}
.milestone-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.4;
}
.timeline-dots {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(15, 107, 131, 0.15);
    animation: dotPulse 2.5s infinite ease-in-out;
}
@keyframes dotPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .roadmap::before {
        left: 25px;
        transform: none;
    }
    .milestone,
    .milestone:nth-child(odd),
    .milestone:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
    }
    .milestone-card {
        margin-left: 28px !important;
        margin-right: 0 !important;
        text-align: left !important;
        max-width: 100%;
        flex: 1;
    }
    .milestone-marker {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    .timeline-dots {
        left: 30px;
        transform: translateX(0);
    }
    .timeline-dot {
        left: 0;
        transform: translateY(-50%);
    }
    @keyframes dotPulse {
        0%,
        100% {
            transform: translateY(-50%) scale(1);
            opacity: 0.7;
        }
        50% {
            transform: translateY(-50%) scale(1.5);
            opacity: 1;
        }
    }
}

/* ────────── MODULE CARDS ────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.card-visual {
    height: 15rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.card-visual.cv-1 {
    background:
        linear-gradient(#00151b00 0%, #d4ecf318 60%, #c8e6ef1a 100%),
        url("images/know_ourself.png");
    background-size: cover;
}
.card-visual.cv-2 {
    background:
        linear-gradient(#00151b00 0%, #d4ecf318 60%, #c8e6ef1a 100%),
        url("images/own_path.png");
    background-size: cover;
}
.card-visual.cv-3 {
    background:
        linear-gradient(#00151b00 0%, #d4ecf318 60%, #c8e6ef1a 100%),
        url("images/build_skill.jpg");
    background-size: cover;
}
.card-visual.cv-4 {
    background:
        linear-gradient(#00151b00 0%, #d4ecf318 60%, #c8e6ef1a 100%),
        url("images/plan_own_path.jpg");
    background-size: cover;
}
.card-visual.cv-5 {
    background:
        linear-gradient(#00151b00 0%, #d4ecf318 60%, #c8e6ef1a 100%),
        url("images/mindset.jpg");
    background-size: cover;
}
.card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card .card-num {
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.card h3 {
    font-size: 1.08rem;
    margin-bottom: 6px;
}
.card p {
    color: var(--text-soft);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 860px) {
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 520px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ────────── WHO SECTION ────────── */
.who-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.who-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    text-align: center;
}
.who-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.who-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin: 0 auto 12px;
}
.who-card h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}
.who-card p {
    color: var(--text-soft);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.45;
}
@media (max-width: 860px) {
    .who-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 500px) {
    .who-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ────────── BEFORE YOU BEGIN ────────── */
.prep-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.prep-card {
    background: var(--surface);
    border: 1px solid var(--line-subtle);
    border-radius: var(--radius-lg);
    padding: 26px 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.prep-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.prep-card .prep-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--accent-soft);
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    color: var(--accent);
    transition:
        background 0.3s,
        color 0.3s;
}
.prep-card:hover .prep-icon-wrap {
    background: var(--accent);
    color: #fff;
}
.prep-card .prep-icon-wrap svg {
    width: 22px;
    height: 22px;
}
.prep-card span {
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--text);
}
.prep-card .prep-sub {
    display: block;
    font-size: 0.74rem;
    color: var(--text-soft);
    font-weight: 500;
    margin-top: 3px;
}
@media (max-width: 700px) {
    .prep-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .prep-card {
        padding: 20px 14px 18px;
    }
    .prep-card .prep-icon-wrap {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 380px) {
    .prep-grid {
        grid-template-columns: 1fr;
    }
}

/* ────────── CTA BANNER ────────── */
.cta-banner {
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
.cta-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    margin: 0;
}
.cta-banner p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
}
.cta-banner .btn-primary {
    background: #fff;
    color: var(--accent);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.cta-banner .btn-primary:hover {
    background: #f0f9fc;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* ────────── START LEARNING TWO-COLUMN ────────── */
.start-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.start-image {
    height: 100%;
}
.start-image img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.start-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.final-head {
    text-align: left;
    max-width: 100%;
    margin: 0;
}
.final-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}
.final-head p {
    color: var(--text-soft);
    font-size: 0.94rem;
}
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
}
.form-card h3 {
    font-size: 1.15rem;
    margin-bottom: 22px;
}
.field {
    margin-bottom: 14px;
}
.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-soft);
    margin-bottom: 5px;
}
.field .hint {
    font-weight: 500;
    color: #7a8f97;
    font-size: 0.72rem;
}
.field input[type="text"],
.field input[type="email"],
.field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    transition: border-color 0.2s;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 107, 131, 0.07);
}
.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 22px;
    font-size: 0.85rem;
    color: var(--text-soft);
}
.checkbox-row input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.form-card .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 0.98rem;
}
.confirm-panel {
    display: none;
    text-align: center;
    padding: 14px 0 0;
}
.confirm-panel .check-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
}
.confirm-panel h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.confirm-panel p {
    color: var(--text-soft);
    font-size: 0.88rem;
}
@media (max-width: 800px) {
    .start-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .start-image img {
        max-height: 300px;
        object-fit: cover;
    }
    .final-head {
        text-align: center;
    }
}
@media (max-width: 500px) {
    .row-2 {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 24px 16px;
    }
}

/* ────────── FOOTER ────────── */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.92);
    padding: 48px 0 0;
    margin-top: 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-col h4 {
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #fff;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}
.footer-brand .brand-mark-ft {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent);
    background: #fff;
}
.footer-bottom {
    padding: 20px 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #fff;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background 0.25s;
}
.footer-social a:hover {
    background: rgba(255, 255, 255, 0.25);
}
.footer-social a svg {
    width: 15px;
    height: 15px;
}
@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }
}
@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Proper hero form */
.hero-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px 30px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-form-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.hero-form-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
    /* margin-bottom: 6px; */
}
.hero-field {
    margin-bottom: 0;
}
.hero-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-soft);
    margin-top: 10px;
}
.hero-field input,
.hero-field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    transition: border-color 0.2s;
}
.hero-field input:focus,
.hero-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 107, 131, 0.07);
}

.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    border-radius: 11px;
    border: 1.5px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    transition: border-color 0.2s;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 107, 131, 0.07);
}
.hero-form-card .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 0.98rem;
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-form-card {
        max-width: 480px;
        margin: 0 auto;
    }
    .hero {
        padding: 44px 0 48px;
    }
}

/* ────────── COURSES LIST & MODULES PAGES ────────── */

/* Page wrapper */
.page-courses,
.page-modules {
    padding: 60px 0;
}

/* Header row (title + logout button) */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: var(--text);
}

/* Logout button */
.logout-btn {
    background: transparent;
    border: 1.5px solid #dc3545;
    color: #dc3545;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font-sans);
}
.logout-btn:hover {
    background: #dc3545;
    color: #fff;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: 0.2s;
}
.back-link:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* The grid uses your existing .cards-grid – nothing new needed */

/* Ensure cards inside .cards-grid have full height */
.cards-grid .card {
    height: 100%;
}

/* Video ratio container */
.ratio-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}
.ratio-16x9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Card title inside modules */
.cards-grid .card-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text);
}
.cards-grid .card-text {
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-soft);
}
