@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #F43000;
    --dark-blue: #031227;
    --white: #FFFCF9;
    --skin: #FFF1E3;
    --light-orange: #FFB9A8;

    --text-main: #031227;
    --text-muted: #6b7280;
    --gray-light: #e5e7eb;

    --font-main: 'Satoshi', system-ui, -apple-system, sans-serif;

    --transition: 0.3s ease;

    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 99px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button {
    font-family: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Badges & Buttons */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--skin);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
}

.badge--soft-orange {
    background-color: var(--light-orange);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 0.4rem 1.25rem;
}

.badge--white {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    gap: 0.5rem;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background-color: #d12900;
}

.btn--secondary {
    background-color: var(--skin);
    color: var(--primary);
}

.btn--skin {
    background-color: var(--skin);
    color: var(--dark-blue);
}

.btn--secondary:hover,
.btn--skin:hover {
    background-color: #ffe4c4;
}

.btn--dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ─── Header ──────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 252, 249, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(3, 18, 39, 0.065);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 28px rgba(3, 18, 39, 0.09);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1rem;
}

@media (max-width: 768px) {
    .header__container {
        padding: 0 1rem;
        /* Reduced from 1.5rem to bring logo closer to edge */
        height: 64px;
        /* Slightly shorter header on mobile */
    }
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo__img {
    height: 38px;
    /* Slightly smaller on mobile-first for better alignment */
    width: auto;
}

@media (min-width: 768px) {
    .logo__img {
        height: 42px;
    }
}

/* ─── Desktop Nav ─────────────────────────────────────────────── */
.nav {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.nav__link:hover,
.nav__link.active,
.nav__item--dropdown:hover>.nav__link {
    color: var(--primary);
    background-color: rgba(244, 48, 0, 0.06);
}

.nav__caret {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
    pointer-events: none;
}

.nav__item--dropdown {
    position: relative;
}

/* Desktop Hover Behaviors (moved to media query below) */

/* ─── Desktop Dropdown Panel ──────────────────────────────────── */
.nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 280px;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 24px 64px rgba(3, 18, 39, 0.14), 0 4px 16px rgba(3, 18, 39, 0.07);
    border: 1px solid rgba(3, 18, 39, 0.07);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 200;
}

/* Arrow pointer */
.nav__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid rgba(3, 18, 39, 0.07);
    border-left: 1px solid rgba(3, 18, 39, 0.07);
    border-radius: 2px;
}

/* Bridge the hover gap */
.nav__dropdown::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Desktop Show Behavior (moved to media query below) */

.nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.nav__dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.85;
}

.nav__dropdown-item:hover {
    background-color: rgba(244, 48, 0, 0.06);
    color: var(--primary);
}

.nav__dropdown-item:hover i {
    opacity: 1;
}

/* ─── Header Actions ──────────────────────────────────────────── */
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header .btn,
.header .header__cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* ─── Mobile Toggle Button ────────────────────────────────────── */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: rgba(3, 18, 39, 0.05);
    font-size: 1.25rem;
    color: var(--text-main);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .mobile-toggle {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }
}

.mobile-toggle:hover {
    background-color: rgba(244, 48, 0, 0.09);
    color: var(--primary);
}

/* Mobile-only elements hidden on desktop */
.nav__mobile-cta {
    display: none;
}

/* ─── Responsive: Mobile ≤ 991px ─────────────────────────────── */
@media (max-width: 991px) {

    /* Hide desktop CTA button in header actions */
    .header__cta {
        display: none;
    }

    /* Simple Dropdown from Header */
    .nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        z-index: 999;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        box-shadow: 0 15px 30px rgba(3, 18, 39, 0.08);
        border-top: 1px solid rgba(3, 18, 39, 0.05);
    }

    .nav.active {
        max-height: 90vh;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
    }





    /* Nav list */
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1.5rem 1rem;
        flex: 1;
    }

    .nav__link {
        padding: 0.875rem 1rem;
        border-radius: 10px;
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }

    /* Mobile dropdown: stack below parent */
    .nav__dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0.25rem 0 0.25rem 0.75rem;
        background: transparent;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        display: none;
        transition: none;
        margin-bottom: 0.25rem;
    }

    .nav__dropdown::before {
        display: none;
    }

    .nav__item--dropdown.open .nav__dropdown {
        display: block;
        animation: slideDown 0.2s ease;
    }

    .nav__item--dropdown.open .nav__caret {
        transform: rotate(180deg);
    }

    .nav__item--dropdown.open>.nav__link {
        color: var(--primary);
        background-color: rgba(244, 48, 0, 0.06);
    }

    .nav__dropdown-item {
        padding: 0.6rem 1rem;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    /* Mobile CTA at bottom of drawer */
    .nav__mobile-cta {
        display: block;
        padding: 1rem 1.25rem 2rem;
        flex-shrink: 0;
    }

    .nav__mobile-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem;
        border-radius: 12px;
    }
}

/* ─── Desktop ≥ 992px ─────────────────────────────────────────── */
@media (min-width: 992px) {
    .nav {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }

    /* Desktop Hover Dropdowns */
    .nav__item--dropdown:hover>.nav__caret,
    .nav__item--dropdown:hover .nav__caret {
        transform: rotate(180deg);
    }

    .nav__item--dropdown:hover .nav__dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glow Effects */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.glow--hero {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--skin) 0%, rgba(255, 241, 227, 0) 70%);
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.glow--community {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--light-orange) 0%, rgba(255, 185, 168, 0) 70%);
    bottom: -100px;
    right: -100px;
    opacity: 0.5;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding-top: 4rem;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 6rem;
    }
}

/* Decorative squares — hidden on small screens */
.hero-decorative {
    position: absolute;
    z-index: -1;
}

.hero-decorative--left {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 200px;
}

.hero-decorative--left .hero-square:nth-child(1) {
    grid-column: 2;
}

.hero-decorative--left .hero-square:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.hero-decorative--right {
    top: 15%;
    right: 10%;
}

.hero-square {
    width: 100px;
    height: 100px;
    background-color: var(--skin);
    opacity: 0.3;
}

/* Hide decoratives on mobile — they overflow */
@media (max-width: 767px) {
    .hero-decorative {
        display: none;
    }
}

/* Badge */
.badge--hero {
    background-color: var(--light-orange);
    color: var(--text-main);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .badge--hero {
        padding: 0.4rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }
}

/* Title */
.hero__title {
    font-size: 2rem;
    margin-bottom: 1.15rem;
    color: var(--dark-blue);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
    /* avoid hyphenation on small screens */
    word-break: keep-all;
}

@media (min-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 4rem;
    }
}

/* Subtitle */
.hero__subtitle {
    font-size: 0.9rem;
    color: #0312278d;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

/* hide the <br> on small screens so text wraps naturally */
@media (max-width: 479px) {
    .hero__subtitle br {
        display: none;
    }
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1024px) {
    .hero__subtitle {
        font-size: 1.4rem;
        line-height: 1.1;
    }
}

/* Buttons */
.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 3rem;
}

.hero__buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .hero__buttons {
        gap: 1rem;
        margin-bottom: 4rem;
    }

    .hero__buttons .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* ─── Hero Course Slider ───────────────────────────────────────── */
.hero-slider-wrap {
    width: 100%;
    overflow: hidden;
    /* Fade edges for infinite-scroll effect */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-slider {
    display: flex;
    gap: 1.25rem;
    animation: heroScroll 30s linear infinite;
    width: max-content;
    padding: 0.5rem 0 1.5rem;
}

.hero-slider:hover {
    animation-play-state: paused;
}

/* Duplicate group for seamless loop */
.hero-slide {
    display: flex;
    gap: 1.25rem;
    flex-shrink: 0;
}

/* Skeleton placeholder */
.hero-slide--placeholder {
    padding: 0 1.5rem;
}

.hero-slide__thumb {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 14px;
    flex-shrink: 0;
}

/* Thumb cards injected by JS */
.hero-thumb-card {
    position: relative;
    width: 360px;
    height: 225px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-light);
    box-shadow: 0 8px 24px rgba(3, 18, 39, 0.1);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
}

@media (min-width: 640px) {
    .hero-thumb-card {
        width: 560px;
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .hero-thumb-card {
        width: 800px;
        height: 500px;
    }
}

.hero-thumb-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(3, 18, 39, 0.18);
}

.hero-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #031227;
}

.hero-thumb-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(3, 18, 39, 0.85) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
}

.hero-thumb-card__title {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}

.hero-thumb-card__price {
    color: var(--light-orange);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.hl-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    letter-spacing: 0.02em;
}

@keyframes heroScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* Trusted */
.trusted__logos {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.trusted__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Features */
.features__container-wide {
    max-width: 1440px;
}

.features__inner {
    background-color: var(--skin);
    padding: 3rem 1.25rem;
    border-radius: 2rem;
    overflow: hidden;
}

@media (min-width: 576px) {
    .features__inner {
        padding: 4rem 2rem;
        border-radius: 3rem;
    }
}

@media (min-width: 992px) {
    .features__inner {
        padding: 6rem 4rem;
    }
}

.features__header {
    margin-bottom: 2.5rem;
    max-width: 900px;
}

@media (min-width: 768px) {
    .features__header {
        margin-bottom: 4rem;
    }
}

.features__title {
    font-size: 1.6rem;
    color: var(--dark-blue);
    line-height: 1.25;
    font-weight: 500;
}

.features__title strong {
    font-weight: 700;
}

@media (min-width: 768px) {
    .features__title {
        font-size: 2.75rem;
    }
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .features__grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 6rem;
    }
}

.features__list {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    position: relative;
}

.features__line {
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    border-left: 2px dashed rgba(3, 18, 39, 0.15);
    z-index: 1;
}

@media (min-width: 768px) {
    .features__line {
        left: 24px;
        top: 24px;
        bottom: 24px;
    }
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.feature-icon--active {
    background-color: var(--primary);
    box-shadow: 0 8px 15px rgba(244, 48, 0, 0.2);
}

.feature-text h3 {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #031227a6;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 350px;
}

.features__image-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features__main-img {
    width: 100%;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.features__stats-box {
    background-color: var(--primary);
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    border-radius: 1.5rem;
    color: var(--white);
    width: 100%;
}

@media (min-width: 768px) {
    .features__stats-box {
        padding: 2rem;
    }
}

.f-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.f-stat__num {
    font-size: 2.25rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .f-stat__num {
        font-size: 3rem;
    }
}

.f-stat__label {
    font-size: 0.875rem;
    line-height: 1.2;
}

.f-stat__divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
}

@media (min-width: 768px) {
    .f-stat__divider {
        height: 40px;
        margin: 0 2rem;
    }
}

.courses__title {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .courses__title {
        font-size: 1.5rem;
    }

    .process .courses__title br {
        display: none;
    }
}

@media (min-width: 768px) {
    .courses__title {
        font-size: 2.25rem;
    }
}

.courses__title strong {
    font-weight: 800;
}

.courses__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .courses__controls {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.courses__search-container {
    width: 100%;
    max-width: 500px;
}

.courses__search-box {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    padding: 0.35rem;
    border-radius: 12px;
    width: 100%;
}

.courses__search-input {
    flex: 1;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--dark-blue);
    font-size: 0.95rem;
}

.courses__search-btn {
    background-color: var(--dark-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .courses__search-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

.courses__search-btn:hover {
    background-color: var(--primary);
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100vw;
    margin: 0 calc(-50vw + 50%);
    /* Pull out of container padding */
    padding: 0.25rem 1.5rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .filter-pills {
        flex-wrap: wrap;
        overflow-x: visible;
        width: auto;
        margin: 0;
        padding: 0;
        justify-content: center;
    }
}

.pill {
    padding: 0.45rem 1.15rem;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .pill {
        padding: 0.6rem 1.5rem;
        font-size: 0.825rem;
    }
}

.pill.active {
    background-color: var(--primary);
    color: var(--white);
}

.pill:hover:not(.active) {
    background-color: #e2e8f0;
}

.courses__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .courses__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.course-card {
    background-color: var(--gray-light);
    height: 250px;
    border-radius: var(--radius-md);
}

/* CTA */
.cta__box {
    background-color: var(--primary);
    border-radius: 2rem;
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    color: var(--white);
    overflow: hidden;
}

@media (min-width: 992px) {
    .cta__box {
        padding: 2.5rem 1.5rem 2.5rem 4rem;
        /* Reduced top, bottom, and right padding */
        gap: 5rem;
        flex-direction: row;
        align-items: center;
    }
}

.cta__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    /* Default flex */
}

@media (min-width: 992px) {
    .cta__content {
        flex: 1;
        /* Stays 1 on desktop */
    }
}

.cta__title {
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    max-width: 600px;
}

.cta__title strong {
    color: var(--white);
    font-weight: 700;
}

@media (min-width: 768px) {
    .cta__title {
        font-size: 2.1rem;
    }
}

.cta__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100vw;
    margin: 0 calc(-50vw + 50%);
    /* Pull out to edges */
    padding: 0.25rem 1.25rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cta__tags::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .cta__tags {
        flex-wrap: wrap;
        overflow-x: visible;
        width: auto;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: var(--primary);
    color: var(--white);
}

@media (min-width: 768px) {
    .badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
}

.badge--soft-orange {
    background-color: #FFB9A8;
    color: var(--dark-blue);
    font-weight: 500;
}

.cta__tag {
    background-color: rgba(255, 255, 255, 0.12);
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .cta__tag {
        padding: 0.6rem 1rem;
        font-size: 0.825rem;
    }
}

.cta__card {
    background-color: var(--dark-blue);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

@media (min-width: 992px) {
    .cta__card {
        flex: 1.1;
        /* Slightly reduced from 1.35 */
        max-width: 460px;
        /* Reduced from 540px */
        padding: 2rem;
        /* Adjusted padding */
    }
}

.cta__illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.cta__svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.cta__quote-bar {
    background-color: var(--white);
    color: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .cta__quote-bar {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

.cta__quote-bar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Process */
.process__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .process__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-card {
    background-color: #FFE1C4;
    border-radius: 1.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.process-card__illustration {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
}

@media (min-width: 992px) {
    .process-card__illustration {
        min-height: 220px;
        padding: 1.5rem 0.5rem;
    }
}

.process-card__svg {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.process-card:nth-of-type(1) .process-card__svg {
    max-width: 250px;
}

.process-card:nth-of-type(2) .process-card__svg {
    max-width: 130px;
    margin-top: 2rem;
}

.process-card:nth-of-type(3) .process-card__svg {
    max-width: 180px;
    margin-top: 1rem;
}

.process-card__info {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
    text-align: left;
}

@media (min-width: 768px) {
    .process-card__info {
        padding: 1.5rem 1.25rem;
    }
}

.process-card__info h3 {
    font-size: 1.15rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .process-card__info h3 {
        font-size: 1.25rem;
    }
}

.process-card__info p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

/* Community */
.community {
    position: relative;
    padding: 4rem 0;
    background: radial-gradient(circle at left center, rgba(252, 232, 222, 0.8) 0%, transparent 40%),
        radial-gradient(circle at right center, rgba(252, 232, 222, 0.8) 0%, transparent 40%),
        #FFFFFF;
    overflow: hidden;
}

@media (min-width: 768px) {
    .community {
        padding: 8rem 0;
    }
}

.community__tagline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--dark-blue);
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .community__tagline br {
        display: none;
    }
}

.community__tagline strong {
    font-weight: 800;
}

@media (min-width: 768px) {
    .community__tagline {
        font-size: 2.25rem;
    }
}

.community__center {
    position: relative;
    display: inline-block;
    margin: 2rem 0 2rem 0;
    /* Reduced from 4rem */
    max-width: 100%;
}

@media (min-width: 768px) {
    .community__center {
        margin: 4rem 0 3rem 0;
    }
}

.community__block {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 1.5rem 3rem;
    /* Wider horizontal padding, less vertical */
    border-radius: 1.5rem;
    box-shadow: 0 8px 0 var(--primary), 0 20px 0 #FFDAC8;
    min-width: 280px;
    width: fit-content;
    margin: 0 auto;
}

.community__block .number {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.counter {
    display: inline-block;
    width: 4ch;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (min-width: 768px) {
    .community__block {
        padding: 3rem 11rem;
    }

    .community__block .number {
        font-size: 9.5rem;
    }
}

.community__avatar {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
    z-index: -1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .community__avatar {
        z-index: 1;
    }

    .av-1 {
        width: 120px;
        height: 150px;
        top: -40px;
        left: -190px;
    }

    .av-2 {
        width: 120px;
        height: 140px;
        bottom: -30px;
        left: -160px;
    }

    .av-3 {
        width: 90px;
        height: 110px;
        top: -30px;
        right: -140px;
    }

    .av-4 {
        width: 110px;
        height: 150px;
        bottom: -50px;
        right: -160px;
    }
}

@media (max-width: 991px) {
    .community__avatar {
        display: none;
    }
}

.community__sub {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 500;
}

.community__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.05rem;
}

/* Testimonials */
.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.test-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    padding: 1.5rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 2.25rem 2rem;
    }
}

.test-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .test-text {
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }
}

.author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    order: 1;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 400;
}

.author-img {
    order: 2;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .author-img {
        width: 52px;
        height: 52px;
    }
}

/* Modifier Classes */
.testimonial-card--skin {
    background-color: #FFF1E3;
    border-color: #FFF1E3;
    padding: 3rem 2rem;
    flex-grow: 1;
}

.testimonial-card--skin .test-text {
    color: #64748b;
    font-size: 1.15rem;
}

.testimonial-card--primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 4rem 2.5rem;
    flex-grow: 1;
}

.testimonial-card--primary .test-text {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 400;
}

.testimonial-card--primary .author-info h4,
.testimonial-card--primary .author-info span {
    color: var(--white);
}

.testimonial-card--primary .author-info span {
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 3rem 1rem 1.5rem 1rem;
    background-color: transparent;
}

.footer__box {
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    width: 100%;
    /* Spans full width on mobile */
    margin: 0 auto;
}

@media (min-width: 992px) {
    .footer__box {
        padding: 4rem 4rem 2rem 4rem;
        border-radius: 2rem;
        width: 98%;
    }
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    /* Reduced from 2.5rem */
}

@media (min-width: 992px) {
    .footer__container {
        grid-template-columns: 1fr 1.5fr;
        row-gap: 4rem;
        column-gap: 6rem;
    }
}

.footer__logo {
    display: inline-flex;
    align-self: flex-start;
}

.logo__img--footer {
    filter: brightness(0) invert(1);
    height: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.25rem;
    /* Reduced from 2rem */
}

.contact-info a {
    color: inherit;
}

.footer__tagline {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    /* Reduced from 2rem */
}

@media (max-width: 768px) {
    .footer__tagline br {
        display: none;
    }
}

@media (min-width: 992px) {
    .footer__tagline {
        font-size: 2.25rem;
        margin-bottom: 0;
    }
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer__links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer__col h4 {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__col a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer__links .footer__col:nth-child(3) {
        display: none;
    }
}

.footer__col a:hover {
    color: var(--white);
}

.footer__bottom {
    margin-top: 1.25rem;
    /* High reduction from 2.5rem */
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer__socials a {
    color: #cbd5e1;
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer__socials a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .footer__bottom {
        margin-top: 2rem;
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer__socials {
        margin-top: 0;
    }
}

/* ═══════════════════════════════════════════════
   HERO COURSE SLIDER
═══════════════════════════════════════════════ */
.hero-slider-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0 1.5rem;
    /* subtle fade-out on left & right edges */
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.hero-slider {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: heroSlide 30s linear infinite;
}

.hero-slider:hover {
    animation-play-state: paused;
}

@keyframes heroSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero-slide {
    display: flex;
    gap: 1.25rem;
    flex-shrink: 0;
}

.hero-slide--placeholder {
    display: flex;
}

/* Individual thumbnail card inside slider */
.hero-thumb-card {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.hero-thumb-card:hover {
    transform: translateY(-4px) scale(1.03);
}

.hero-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay + label — hidden */
.hero-thumb-card__overlay {
    display: none;
}

.hero-thumb-card__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.hero-thumb-card__price {
    font-size: 0.75rem;
    color: var(--light-orange);
    font-weight: 600;
}

/* Highlighted badge on card — hidden */
.hero-thumb-card .hl-badge {
    display: none;
}

/* Placeholder skeleton thumbnails */
.hero-slide__thumb {
    width: 350px;
    height: 350px;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg,
            var(--gray-light) 25%,
            #ece9e4 50%,
            var(--gray-light) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    flex-shrink: 0;
}

@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Mobile: smaller cards */
@media (max-width: 767px) {

    .hero-thumb-card,
    .hero-slide__thumb {
        width: 220px;
        height: 220px;
    }
}

/* ═══════════════════════════════════════════════
   COURSE CARDS (Real / Dynamic)
═══════════════════════════════════════════════ */
.courses__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .courses__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Skeleton state */
.course-card--skeleton {
    background: linear-gradient(90deg,
            var(--gray-light) 25%,
            #ece9e4 50%,
            var(--gray-light) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    height: 260px;
    border-radius: var(--radius-md);
}

/* Real card */
.course-card--real {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.course-card--real:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.course-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--skin);
    flex-shrink: 0;
}

.course-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.course-card--real:hover .course-card__thumb img {
    transform: scale(1.05);
}

.course-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.35;
}

.course-card__category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.course-card__hl {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(3, 18, 39, 0.75);
    color: #FFB9A8;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
    /* Clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-light);
    padding-top: 0.875rem;
    margin-top: auto;
}

.course-card__duration {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.course-card__price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

/* No results state */
.courses-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.courses-empty i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

/* ═══════════════════════════════════════════════
   SINGLE COURSE PAGE
═══════════════════════════════════════════════ */
.single-course__hero {
    background: var(--dark-blue);
    padding: 4rem 0 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.single-course__header {
    max-width: 800px;
}

.single-course__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1.5rem 0 1rem;
    color: var(--white);
}

.single-course__desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.single-course__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #e2e8f0;
}

.single-course__meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.single-course__meta .meta-item i {
    color: var(--light-orange);
    font-size: 1.2rem;
}

.single-course__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .single-course__layout {
        grid-template-columns: 1fr 350px;
        align-items: start;
    }
}

.single-course__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sc-section h2 {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--skin);
    padding-bottom: 0.75rem;
    display: inline-block;
}

.sc-section__body {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Course Outline Icon Styles */
.outline-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.outline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(3, 18, 39, 0.05);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.outline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 18, 39, 0.06);
}

.outline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(244, 48, 0, 0.08);
    color: var(--primary);
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 1.3rem;
}

.outline-text {
    font-weight: 500;
    color: var(--dark-blue);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-top: 0.4rem;
}

.sc-section__body p {
    margin-bottom: 1rem;
}

.sc-list {
    list-style: none;
    padding: 0;
}

.sc-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
}

.sc-list li::before {
    content: "\2713";
    /* Checkmark */
    color: var(--primary);
    font-weight: 800;
}

.sc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(3, 18, 39, 0.08);
    overflow: hidden;
    position: sticky;
    top: 100px;
    border: 1px solid var(--gray-light);
}

.sc-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sc-card__body {
    padding: 2rem;
}

.sc-card__price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.sc-card__form .form-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.sc-input {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.sc-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 81, 49, 0.1);
}

.sc-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.sc-card__guarantee {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.sc-accreditation__img {
    max-height: 60px;
    opacity: 0.8;
}

/* ── COOKIE CONSENT ── */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    pointer-events: none;
    transform: translateY(120%) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.cookie-consent__content {
    background: rgba(3, 18, 39, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 360px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    position: relative;
    color: #fff;
    font-family: inherit;
}

.cookie-consent__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.cookie-consent__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(244, 48, 0, 0.15);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.cookie-consent__header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.cookie-consent__body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.cookie-consent__body p strong {
    color: #fff;
    font-weight: 500;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-consent__actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.85rem;
    height: auto;
    border-radius: 12px;
}

.cookie-consent__actions .btn--primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.cookie-consent__actions .btn--outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent__actions .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .cookie-consent__content {
        max-width: 100%;
        padding: 1.25rem;
    }
}

/* â”€â”€ POLICY PAGES â”€â”€ */
.policy-page {
    background: #fafafa;
}

.policy-hero {
    position: relative;
    padding: 7rem 0 3.5rem;
    overflow: hidden;
    background: var(--white);
}

.policy-hero__bg {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 43, 78, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.policy-hero .container {
    position: relative;
    z-index: 1;
}

.policy-hero__title {
    font-size: 3.5rem;
    color: var(--dark-blue);
    margin: 1.25rem 0;
    font-weight: 700;
    letter-spacing: -1px;
}

.policy-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.policy-content {
    padding-top: 0;
    padding-bottom: 6rem;
}

.policy-card {
    max-width: 900px;
    margin: -3rem auto 0;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.policy-card__header {
    background: rgba(10, 43, 78, 0.02);
    padding: 1.5rem 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
}

.last-updated {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.last-updated i {
    color: var(--primary);
    font-size: 1.25rem;
}

.policy-card__body {
    padding: 4rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .policy-card__body {
        padding: 2.5rem 1.5rem;
    }

    .policy-card__header {
        padding: 1.5rem;
        justify-content: center;
    }

    .policy-hero__title {
        font-size: 2.5rem;
    }
}

.policy-card__body h2 {
    font-size: 1.75rem;
    color: var(--dark-blue);
    margin: 3.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.policy-card__body h2:first-child {
    margin-top: 0;
}

.policy-card__body h2::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.policy-card__body p {
    margin-bottom: 1.5rem;
}

.policy-card__body>p:last-child {
    margin-bottom: 0;
}

.policy-card__body ul {
    margin-left: 0;
    margin-bottom: 2.5rem;
    padding-left: 0;
    list-style: none;
}

.policy-card__body ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.policy-card__body ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ── Outline Stylings ── */
.outline-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.outline-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.2rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(3, 18, 39, 0.08);
    /* Clean, elegant slight border */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.outline-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 48, 0, 0.08);
}

.outline-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(244, 48, 0, 0.08);
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 10px;
    flex-shrink: 0;
}

.outline-text {
    font-size: 1.05rem;
    color: var(--dark-blue);
    font-weight: 500;
    line-height: 1.5;
}

/* ── Services Page Stylings ── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    border: 1px solid rgba(3, 18, 39, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(3, 18, 39, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(3, 18, 39, 0.08);
    border-color: rgba(244, 48, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(244, 48, 0, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--primary);
    color: var(--white);
}

.service-card__title {
    font-size: 1.35rem;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card__slogan {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.service-card__desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card__action {
    margin-top: auto;
}

.service-card__action .btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
}