﻿:root {
    --cw-body-bg: #f8f9fa;
    --cw-surface: #ffffff;
    --cw-surface-soft: #f8f9fa;
    --cw-surface-blue: #f3f7ff;
    --cw-text: #212529;
    --cw-heading: #111827;
    --cw-muted: #6c757d;
    --cw-border: #dee2e6;
    --cw-primary: #0d6efd;
    --cw-primary-hover: #0b5ed7;
    --cw-primary-soft: rgba(13, 110, 253, 0.08);
    --cw-success: #198754;
    --cw-warning: #ffc107;
    --cw-danger: #dc3545;
    --cw-dark: #111827;
    --cw-radius-sm: .5rem;
    --cw-radius: .75rem;
    --cw-radius-lg: 1rem;
    --cw-radius-xl: 1.25rem;
    --cw-shadow-sm: 0 .125rem .35rem rgba(17, 24, 39, .06);
    --cw-shadow: 0 .5rem 1.25rem rgba(17, 24, 39, .08);
    --cw-shadow-lg: 0 1rem 2.25rem rgba(17, 24, 39, .12);
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --bs-body-color: #212529;
    --bs-body-bg: #f8f9fa;
    --bs-border-color: #dee2e6;
    --bs-link-color: #0d6efd;
    --bs-link-hover-color: #0a58ca;
    --bs-border-radius: .75rem;
    --bs-border-radius-lg: 1rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
body.no-overflow-x {
    margin: 0;
    overflow-x: hidden;
    color: var(--cw-text);
    background: var(--cw-body-bg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--cw-primary);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

    a:hover {
        color: var(--cw-primary-hover);
    }

::selection {
    color: #fff;
    background: var(--cw-primary);
}

.container,
.container-lg,
.container-xl,
.container-xxl {
    padding-inline: 1rem;
}

.measure {
    max-width: 68ch;
}

.text-balance {
    text-wrap: balance;
}

.text-muted {
    color: var(--cw-muted) !important;
}

.bg-light {
    background-color: var(--cw-surface-soft) !important;
}

/* =========================================================
   2. Typography
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    letter-spacing: -.015em;
}

h1,
.h1 {
    color: var(--cw-heading);
    font-weight: 700;
    line-height: 1.08;
}

h2,
.h2 {
    color: var(--cw-heading);
    font-weight: 700;
    line-height: 1.15;
}

h3,
.h3 {
    color: var(--cw-heading);
    font-weight: 650;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

.lead {
    color: #495057;
    font-weight: 400;
    line-height: 1.7;
}

section h2 {
    font-size: clamp(1.85rem, 2.5vw, 2.75rem);
}

    section h2 + p {
        color: var(--cw-muted);
    }

/* =========================================================
   3. Navbar
========================================================= */

.navbar {
    min-height: 72px;
    border-bottom: 1px solid var(--cw-border) !important;
    background-color: rgba(255, 255, 255, .96) !important;
    box-shadow: var(--cw-shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand {
    color: var(--cw-heading) !important;
    font-weight: 700;
}

    .navbar-brand i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: var(--cw-radius);
        color: #fff !important;
        background-color: var(--cw-primary);
    }

.navbar .nav-link {
    color: #495057 !important;
    border-radius: var(--cw-radius-sm);
    font-weight: 500;
    padding: .55rem .75rem !important;
}

    .navbar .nav-link:hover,
    .navbar .nav-link.active,
    .navbar .nav-link:focus {
        color: var(--cw-primary) !important;
        background-color: var(--cw-primary-soft);
    }

.navbar-toggler {
    border-color: var(--cw-border);
    border-radius: var(--cw-radius-sm);
}

.dropdown-menu {
    padding: .5rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-lg);
    box-shadow: var(--cw-shadow);
}

.dropdown-item {
    border-radius: var(--cw-radius-sm);
    color: var(--cw-text);
    font-weight: 500;
    padding: .65rem .8rem;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: var(--cw-primary);
        background-color: var(--cw-primary-soft);
    }

/* =========================================================
   4. Buttons
========================================================= */

.btn {
    border-radius: var(--cw-radius);
    font-weight: 600;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn:focus-visible {
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .18);
    }

.btn-brand,
.btn-primary {
    color: #fff !important;
    border-color: var(--cw-primary) !important;
    background-color: var(--cw-primary) !important;
    box-shadow: 0 .5rem 1rem rgba(13, 110, 253, .18);
}

    .btn-brand:hover,
    .btn-brand:focus,
    .btn-primary:hover,
    .btn-primary:focus {
        color: #fff !important;
        border-color: var(--cw-primary-hover) !important;
        background-color: var(--cw-primary-hover) !important;
        box-shadow: 0 .75rem 1.35rem rgba(13, 110, 253, .22);
    }

.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-primary {
    border-color: var(--cw-border) !important;
    color: var(--cw-heading) !important;
    background-color: #fff !important;
}

    .btn-outline-dark:hover,
    .btn-outline-secondary:hover,
    .btn-outline-primary:hover {
        color: #fff !important;
        border-color: var(--cw-dark) !important;
        background-color: var(--cw-dark) !important;
    }

.btn-light {
    color: var(--cw-heading) !important;
    border-color: #fff !important;
    background-color: #fff !important;
}

.btn-sm {
    border-radius: .6rem;
    font-weight: 600;
}

/* =========================================================
   5. Hero
========================================================= */

.hero,
.hero-404 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    border-bottom: 1px solid var(--cw-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

    .hero::before,
    .hero-404::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(circle at 10% 0%, rgba(13, 110, 253, .08), transparent 28rem), radial-gradient(circle at 90% 10%, rgba(25, 135, 84, .06), transparent 26rem);
        pointer-events: none;
    }

    .hero::after,
    .hero-404::after {
        content: none !important;
    }

    .hero h1,
    .error-code {
        max-width: 880px;
        color: var(--cw-heading) !important;
        font-size: clamp(2.25rem, 5vw, 4.75rem) !important;
        font-weight: 750 !important;
        line-height: 1.05 !important;
        letter-spacing: -.04em !important;
    }

        .hero h1::after,
        .error-code::after,
        main > section.py-5 h1::after {
            content: "";
            display: block;
            width: 88px;
            height: 4px;
            margin-top: 1.25rem;
            border-radius: 999px;
            background-color: var(--cw-primary);
        }

    .hero .lead,
    .error-subtitle {
        max-width: 720px;
        color: #495057 !important;
        font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
        line-height: 1.75;
    }

    .chip,
    .hero-404 .chip {
        display: inline-flex !important;
        align-items: center;
        gap: .5rem;
        width: fit-content;
        padding: .45rem .75rem !important;
        border: 1px solid rgba(13, 110, 253, .20) !important;
        border-radius: 999px !important;
        color: var(--cw-primary) !important;
        background-color: var(--cw-primary-soft) !important;
        box-shadow: none !important;
        font-size: .925rem;
        font-weight: 600 !important;
    }

    .hero .points,
    .points {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem;
        margin-top: 1.75rem;
    }

        .hero .points > div,
        .points > div {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            padding: .6rem .8rem;
            border: 1px solid var(--cw-border);
            border-radius: 999px;
            color: #495057;
            background-color: #fff;
            box-shadow: var(--cw-shadow-sm);
            font-weight: 500;
        }

        .hero .points i,
        .points i {
            color: var(--cw-success);
        }

    .hero-card,
    .hero .hero-card {
        position: relative;
        overflow: hidden;
        padding: 1.5rem !important;
        border: 1px solid var(--cw-border) !important;
        border-radius: var(--cw-radius-xl) !important;
        color: var(--cw-text) !important;
        background: #fff !important;
        box-shadow: var(--cw-shadow) !important;
        transform: none !important;
    }

        .hero-card::before,
        .hero-card::after,
        .hero .hero-card::before,
        .hero .hero-card::after {
            content: none !important;
        }

        .hero-card strong,
        .hero .hero-card strong {
            color: var(--cw-heading) !important;
            font-weight: 650 !important;
        }

        .hero-card small,
        .hero-card .text-muted,
        .hero .hero-card small,
        .hero .hero-card .text-muted {
            color: var(--cw-muted) !important;
        }

        .hero-card .d-flex,
        .hero .hero-card .d-flex {
            padding: .85rem;
            border: 1px solid var(--cw-border);
            border-radius: var(--cw-radius-lg);
            background-color: var(--cw-surface-soft);
        }

            .hero-card .d-flex + .d-flex,
            .hero .hero-card .d-flex + .d-flex {
                margin-top: .85rem;
            }

/* =========================================================
   6. Sections
========================================================= */

.section-comfy {
    padding: clamp(4rem, 6vw, 6.5rem) 0;
}

.section-tight {
    padding: clamp(2.75rem, 4vw, 4.5rem) 0;
}

    .section-comfy.bg-light,
    .section-tight.bg-light,
    #about.bg-light,
    #testimonials.bg-light,
    main > header.hero + section.section-comfy.py-5.bg-light {
        background: var(--cw-surface-soft) !important;
    }

    .section-comfy p.measure,
    .section-tight p.measure {
        color: #495057;
        font-size: 1.03rem;
        line-height: 1.75;
    }

/* =========================================================
   7. Shared Card System
========================================================= */

.card-soft,
.topic-card,
.t-card,
.review-card,
.video-card,
.review-mini,
.helper-card,
.stat,
.faq-side,
.tl-item,
main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5,
main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3 {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cw-border) !important;
    border-radius: var(--cw-radius-xl) !important;
    background: #fff !important;
    box-shadow: var(--cw-shadow-sm) !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

    .card-soft:hover,
    .topic-card:hover,
    .t-card:hover,
    .review-card:hover,
    .video-card:hover,
    .review-mini:hover,
    .helper-card:hover,
    .stat:hover,
    .tl-item:hover,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5:hover,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3:hover {
        transform: translateY(-3px);
        border-color: rgba(13, 110, 253, .28) !important;
        box-shadow: var(--cw-shadow) !important;
    }

    .card-soft::before,
    .card-soft::after,
    .topic-card::before,
    .topic-card::after,
    .t-card::before,
    .t-card::after,
    .review-card::before,
    .review-card::after,
    .video-card::before,
    .video-card::after,
    .review-mini::before,
    .review-mini::after,
    .helper-card::before,
    .helper-card::after,
    .stat::before,
    .stat::after,
    .faq-side::before,
    .faq-side::after,
    .tl-item::before,
    .tl-item::after,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5::before,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5::after,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3::before,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3::after {
        content: none !important;
    }

    .card-soft > *,
    .topic-card > *,
    .t-card > *,
    .review-card > *,
    .review-mini > *,
    .helper-card > *,
    .stat > *,
    .tl-item > * {
        position: relative;
        z-index: 1;
    }

    .card-soft .card-body,
    .card-body {
        padding: clamp(1.25rem, 2vw, 1.75rem);
    }

    .card-soft h3,
    .card-soft .h5,
    .topic-card h3,
    .t-card strong,
    .review-card strong,
    .review-mini strong,
    .helper-card h3,
    .stat .h3,
    .tl-item h3 {
        color: var(--cw-heading);
    }

    .card-soft p,
    .topic-card p,
    .t-card p,
    .review-card p,
    .review-mini p,
    .helper-card p,
    .tl-item p {
        color: #495057;
        line-height: 1.7;
    }

    /* =========================================================
   8. Icons, Badges, Pills
========================================================= */

    .topic-icon,
    .icon-pill,
    .helper-card .display-6,
    .col-lg-5 > .card-soft.mb-4 i,
    main > header.hero + section.section-comfy.py-5.bg-light h2.h4 i {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 46px;
        height: 46px;
        border-radius: var(--cw-radius);
        color: #fff !important;
        background-color: var(--cw-primary) !important;
        box-shadow: none !important;
    }

        .topic-icon i,
        .icon-pill i,
        .helper-card .display-6 i {
            color: #fff !important;
            font-size: 1.2rem;
        }

.badge.text-bg-light.border,
.flag-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .75rem;
    border: 1px solid var(--cw-border) !important;
    border-radius: 999px;
    color: #343a40 !important;
    background-color: #fff !important;
    box-shadow: none !important;
    font-size: .875rem;
    font-weight: 600;
}

    .badge.text-bg-light.border i {
        color: var(--cw-primary);
    }

    .flag-pill:hover {
        transform: none;
        border-color: rgba(13, 110, 253, .28) !important;
    }

.flag-icon {
    width: 24px;
    height: 17px;
    object-fit: cover;
    border-radius: .25rem;
    box-shadow: none;
}

/* =========================================================
   9. Topic / Training Cards
========================================================= */

.topic-card,
#training .topic-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.25rem;
}

.topic-head,
#training .topic-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.topic-card h3,
#training .topic-card h3 {
    margin-bottom: .25rem;
    color: var(--cw-heading);
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.3;
}

.topic-meta,
#training .topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    color: var(--cw-muted);
    font-size: .875rem;
    font-weight: 500;
}

    #training .topic-meta span {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        padding: .25rem .5rem;
        border: 1px solid rgba(13, 110, 253, .15);
        border-radius: 999px;
        color: var(--cw-primary);
        background-color: var(--cw-primary-soft);
    }

.topic-card ul,
#training .topic-card ul,
.card-soft ul,
aside .card-soft ul {
    padding-left: 0;
    list-style: none;
}

.topic-card li,
#training .topic-card li,
.card-soft li,
aside .card-soft li,
.helper-card li,
.review-card li {
    position: relative;
    margin-bottom: .55rem;
    padding-left: 1.45rem;
    color: #495057;
    line-height: 1.55;
}

    .topic-card li::before,
    #training .topic-card li::before,
    .card-soft li::before,
    aside .card-soft li::before,
    .helper-card li::before,
    .review-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 0;
        color: var(--cw-success);
        font-weight: 700;
    }

.topic-footer,
#training .topic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--cw-border);
    background: transparent;
}

    .topic-footer .text-muted,
    #training .topic-footer .text-muted {
        font-weight: 500;
    }

/* =========================================================
   10. Facts / Stats
========================================================= */

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem !important;
}

    .facts .item {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1 1 220px;
        min-width: 220px;
        padding: 1rem;
        border: 1px solid var(--cw-border);
        border-radius: var(--cw-radius-lg);
        background-color: #fff;
        box-shadow: var(--cw-shadow-sm);
    }

        .facts .item::before {
            content: none !important;
        }

        .facts .item:hover {
            transform: none;
            border-color: rgba(13, 110, 253, .25);
            box-shadow: var(--cw-shadow-sm);
        }

        .facts .item strong {
            color: var(--cw-heading);
            font-weight: 650;
        }

.stat {
    padding: 1.25rem;
}

    .stat .h3 {
        margin-bottom: .2rem;
        color: var(--cw-heading);
        font-size: clamp(1.5rem, 2.4vw, 2.15rem);
        font-weight: 700;
        letter-spacing: -.03em;
    }

    .stat .small {
        color: var(--cw-muted) !important;
        font-weight: 500;
    }

/* =========================================================
   11. About / Profile Images and Lists
========================================================= */

.about-img,
.hero .about-img,
.section-comfy .about-img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-xl);
    background-color: #fff;
    box-shadow: var(--cw-shadow);
    transform: none !important;
    transition: box-shadow .15s ease, border-color .15s ease;
}

    .about-img:hover,
    .hero .about-img:hover,
    .section-comfy .about-img:hover {
        border-color: rgba(13, 110, 253, .25);
        box-shadow: var(--cw-shadow-lg);
        transform: none !important;
    }

#about p {
    color: #495057;
    line-height: 1.75;
}

#about ul,
.section-comfy .container-xxl > .row ul,
.section-comfy .container-xxl .col-lg-5 ul,
.section-comfy .col-lg-7 > ul,
.section-comfy .col-lg-5 > ul,
.section-comfy .col-lg-6 > ul {
    padding-left: 0;
    list-style: none;
}

    #about li,
    .section-comfy .container-xxl > .row li,
    .section-comfy .container-xxl .col-lg-5 li,
    .section-comfy .col-lg-7 > ul > li,
    .section-comfy .col-lg-5 > ul > li,
    .section-comfy .col-lg-6 > ul > li {
        position: relative;
        margin-bottom: .6rem;
        padding: .7rem .9rem .7rem 2.35rem;
        border: 1px solid var(--cw-border);
        border-radius: var(--cw-radius);
        color: #495057;
        background-color: #fff;
        box-shadow: none;
        font-weight: 500;
        line-height: 1.55;
    }

        #about li::before,
        .section-comfy .container-xxl > .row li::before,
        .section-comfy .container-xxl .col-lg-5 li::before,
        .section-comfy .col-lg-7 > ul > li::before,
        .section-comfy .col-lg-5 > ul > li::before,
        .section-comfy .col-lg-6 > ul > li::before {
            content: "✓";
            position: absolute;
            left: .9rem;
            top: .7rem;
            display: block;
            width: auto;
            height: auto;
            color: var(--cw-success);
            background: transparent;
            font-weight: 700;
        }

.hero .col-lg-7::after {
    content: none !important;
}

.section-comfy.bg-light .d-flex.flex-column.gap-3 > .d-flex.gap-3 {
    padding: 1rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-lg);
    background-color: #fff;
    box-shadow: var(--cw-shadow-sm);
}

    .section-comfy.bg-light .d-flex.flex-column.gap-3 > .d-flex.gap-3:hover {
        transform: none;
        border-color: rgba(13, 110, 253, .25);
    }

.section-comfy.bg-light .d-flex.flex-column.gap-3 strong {
    color: var(--cw-heading);
    font-weight: 650;
}

.section-comfy.bg-light .col-lg-5.ms-lg-auto {
    padding: 1.25rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-xl);
    background-color: #fff;
    box-shadow: var(--cw-shadow-sm);
}

/* =========================================================
   12. Testimonials / Reviews
========================================================= */

.t-card,
.review-card,
.review-mini {
    padding: 1.25rem;
}

    .t-stars,
    .stars,
    .review-mini .stars {
        color: #f59f00;
        letter-spacing: .02rem;
    }

    .t-avatar,
    .avatar,
    .review-mini .avatar {
        width: 52px;
        height: 52px;
        flex: 0 0 auto;
        object-fit: cover;
        border: 2px solid #fff;
        border-radius: 999px;
        background-color: #e9ecef;
        box-shadow: var(--cw-shadow-sm);
    }

    .review-mini .avatar {
        width: 44px;
        height: 44px;
    }

.masonry {
    column-count: 3;
    column-gap: 1.25rem;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 1.25rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #111827;
}

    .video-thumb::before {
        content: none !important;
    }

    .video-thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .9;
        transition: opacity .15s ease, transform .15s ease;
    }

.video-card:hover .video-thumb img {
    opacity: .82;
    transform: scale(1.02);
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(17, 24, 39, .18);
}

.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    color: #fff;
    background-color: var(--cw-primary);
    box-shadow: var(--cw-shadow);
}

.video-body {
    padding: 1rem 1.15rem 1.15rem;
}

    .video-body strong {
        color: var(--cw-heading);
        font-weight: 650;
    }

    .video-body small {
        color: var(--cw-muted) !important;
    }

.quote {
    color: #343a40 !important;
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    line-height: 1.75;
    font-weight: 500;
}

    .quote i {
        color: var(--cw-primary);
        opacity: .55;
    }

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next,
#reviewCarousel .carousel-control-prev,
#reviewCarousel .carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-control-icon,
#reviewCarousel .carousel-control-prev-icon,
#reviewCarousel .carousel-control-next-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background-color: rgba(17, 24, 39, .75);
    background-size: 48%;
    box-shadow: var(--cw-shadow-sm);
}

/* =========================================================
   13. Forms / Modal / Contact
========================================================= */

.modal-content {
    overflow: hidden;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-xl) !important;
    box-shadow: var(--cw-shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--cw-border);
    background-color: var(--cw-surface-soft);
}

.modal-title {
    color: var(--cw-heading);
    font-weight: 700;
}

.form-label {
    margin-bottom: .4rem;
    color: #343a40;
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 48px;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    color: var(--cw-text);
    background-color: #fff;
    font-weight: 400;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
}

.form-control.input-validation-error,
.form-select.input-validation-error,
.input-validation-error {
    border-color: var(--cw-danger) !important;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .12) !important;
}

.field-validation-error,
.text-danger {
    display: block;
    margin-top: .35rem;
    color: var(--cw-danger) !important;
    font-size: .875rem;
    font-weight: 500;
}

.field-validation-valid {
    display: none;
}

.form-check {
    padding: .9rem .9rem .9rem 2.6rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    background-color: var(--cw-surface-soft);
}

.form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-left: -1.65rem;
    border-color: #adb5bd;
}

    .form-check-input:checked {
        border-color: var(--cw-primary);
        background-color: var(--cw-primary);
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
    }

.form-check-label {
    color: #495057;
    font-weight: 500;
    line-height: 1.55;
}

form.needs-validation header {
    padding: 1rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-lg);
    background-color: var(--cw-surface-soft);
}

    form.needs-validation header .h2,
    #contact-form {
        color: var(--cw-heading);
        font-weight: 700;
    }

.card-soft hr {
    border-color: var(--cw-border);
    opacity: 1;
}

    .card-soft hr + .small {
        padding: .85rem;
        border: 1px solid var(--cw-border);
        border-radius: var(--cw-radius);
        background-color: var(--cw-surface-soft);
        line-height: 1.6;
    }

.col-lg-5 > .card-soft.mb-4 .card-body > .d-flex.flex-column.gap-2 > div {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--cw-border);
    color: #495057;
}

    .col-lg-5 > .card-soft.mb-4 .card-body > .d-flex.flex-column.gap-2 > div:last-child {
        border-bottom: 0;
    }

/* =========================================================
   14. FAQ / Accordion
========================================================= */

.faq-side {
    position: sticky;
    top: 96px;
    padding: 1.15rem;
}

    .faq-side h2 {
        color: var(--cw-heading);
        font-weight: 700;
    }

    .faq-side hr {
        border-color: var(--cw-border);
        opacity: 1;
    }

.list-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem .8rem;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    color: #495057;
    background-color: #fff;
    font-weight: 500;
    text-decoration: none;
}

    .list-link:hover {
        color: var(--cw-primary);
        border-color: rgba(13, 110, 253, .25);
        background-color: var(--cw-primary-soft);
        text-decoration: none;
        transform: none;
    }

    .list-link i {
        color: var(--cw-primary);
    }

.col-lg-9 > h2[id^="faq-"] {
    display: flex;
    align-items: center;
    gap: .75rem;
    scroll-margin-top: 105px;
    color: var(--cw-heading);
    font-weight: 700;
}

    .col-lg-9 > h2[id^="faq-"]::before {
        content: "?";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
        border-radius: var(--cw-radius);
        color: #fff;
        background-color: var(--cw-primary);
        font-size: 1.05rem;
        font-weight: 700;
    }

.accordion,
#syllabus .accordion,
.col-lg-9 .accordion {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.accordion-item,
#syllabus .accordion-item,
.col-lg-9 .accordion-item[data-faq] {
    overflow: hidden;
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius-lg) !important;
    background-color: #fff;
    box-shadow: var(--cw-shadow-sm);
}

.accordion-button,
#syllabus .accordion-button,
.col-lg-9 .accordion-button {
    padding: 1rem 1.15rem;
    color: var(--cw-heading);
    background-color: #fff;
    font-weight: 600;
    box-shadow: none;
}

    .accordion-button:not(.collapsed),
    #syllabus .accordion-button:not(.collapsed),
    .col-lg-9 .accordion-button:not(.collapsed) {
        color: var(--cw-primary);
        background-color: var(--cw-primary-soft);
        box-shadow: inset 0 -1px 0 var(--cw-border);
    }

    .accordion-button:focus,
    #syllabus .accordion-button:focus,
    .col-lg-9 .accordion-button:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
    }

.accordion-body,
#syllabus .accordion-body,
.col-lg-9 .accordion-body {
    padding: 1rem 1.15rem 1.15rem;
    color: #495057;
    background-color: #fff;
    line-height: 1.7;
}

    #syllabus .accordion-body ul {
        padding-left: 0;
        list-style: none;
    }

    #syllabus .accordion-body li {
        position: relative;
        margin-bottom: .55rem;
        padding-left: 1.45rem;
        color: #495057;
        line-height: 1.55;
    }

        #syllabus .accordion-body li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--cw-success);
            font-weight: 700;
        }

#syllabus aside .card-soft {
    position: sticky;
    top: 96px;
}

/* =========================================================
   15. Timeline
========================================================= */

.timeline {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: .35rem;
        top: .5rem;
        bottom: .5rem;
        width: 2px;
        border-radius: 999px;
        background-color: var(--cw-border);
    }

.tl-item {
    padding: 1.15rem;
}

.tl-dot {
    position: absolute;
    left: -1.55rem;
    top: 1.35rem;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 999px;
    background-color: var(--cw-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.tl-item p.small {
    color: var(--cw-primary) !important;
    font-weight: 600;
}

.tl-item ul {
    margin-top: .85rem;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.tl-item li {
    position: relative;
    margin-bottom: .45rem;
    padding-left: 1.25rem;
    color: #495057;
}

    .tl-item li::before {
        content: "•";
        position: absolute;
        left: .15rem;
        color: var(--cw-primary);
        font-weight: 700;
    }

/* =========================================================
   16. CTA Band
========================================================= */

.cta-band,
.col-lg-9 .cta-band,
main > header.hero + section.section-comfy.py-5.bg-light + section.section-tight .cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--cw-radius-xl) !important;
    color: #fff !important;
    background: var(--cw-dark) !important;
    box-shadow: var(--cw-shadow) !important;
}

    .cta-band::before,
    .cta-band::after,
    .col-lg-9 .cta-band::before,
    .col-lg-9 .cta-band::after,
    main > header.hero + section.section-comfy.py-5.bg-light + section.section-tight .cta-band::before,
    main > header.hero + section.section-comfy.py-5.bg-light + section.section-tight .cta-band::after {
        content: none !important;
    }

    .cta-band h2,
    .col-lg-9 .cta-band h2,
    main > header.hero + section.section-comfy.py-5.bg-light + section.section-tight .cta-band h2 {
        color: #fff !important;
    }

    .cta-band p,
    .col-lg-9 .cta-band p,
    main > header.hero + section.section-comfy.py-5.bg-light + section.section-tight .cta-band p {
        color: rgba(255, 255, 255, .78) !important;
        line-height: 1.7;
    }

    .cta-band .btn-light {
        color: var(--cw-heading) !important;
        background-color: #fff !important;
        border-color: #fff !important;
    }

/* =========================================================
   17. 404 and Thank You Pages
========================================================= */

.hero-404 .chip {
    border-color: rgba(220, 53, 69, .20) !important;
    color: var(--cw-danger) !important;
    background-color: rgba(220, 53, 69, .08) !important;
}

.helper-card {
    height: 100%;
    padding: 1.25rem !important;
}

    .helper-card a {
        color: var(--cw-primary);
        font-weight: 600;
        text-decoration: none;
    }

        .helper-card a:hover {
            text-decoration: underline;
        }

.quick-links .list-group {
    gap: .5rem;
}

.quick-links .list-group-item {
    margin-bottom: 0 !important;
    padding: .8rem .9rem;
    border: 1px solid var(--cw-border) !important;
    border-radius: var(--cw-radius) !important;
    color: #343a40;
    background-color: #fff;
    font-weight: 500;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

    .quick-links .list-group-item:hover {
        color: var(--cw-primary);
        border-color: rgba(13, 110, 253, .25) !important;
        background-color: var(--cw-primary-soft);
        text-decoration: none;
        transform: none;
    }

    .quick-links .list-group-item i {
        color: var(--cw-primary);
    }

.search-wrap {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem !important;
    border: 1px solid var(--cw-border) !important;
    border-radius: var(--cw-radius) !important;
    background-color: #fff !important;
}

    .search-wrap input {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

/* Contact thank you page */
main > section.py-5 {
    position: relative;
}

    main > section.py-5 .bi-check-circle-fill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 82px;
        height: 82px;
        border-radius: 999px;
        color: #fff !important;
        background-color: var(--cw-success);
        box-shadow: 0 .75rem 1.5rem rgba(25, 135, 84, .18);
        font-size: 2.75rem !important;
    }

    main > section.py-5 h1 {
        color: var(--cw-heading);
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.08;
        font-weight: 750;
    }

        main > section.py-5 h1::after {
            margin-inline: auto;
            background-color: var(--cw-success);
        }

    main > section.py-5 .card {
        max-width: 760px;
        margin-inline: auto;
        border: 1px solid var(--cw-border) !important;
        border-radius: var(--cw-radius-xl);
        box-shadow: var(--cw-shadow) !important;
    }

        main > section.py-5 .card::before,
        main > section.py-5 .card::after {
            content: none !important;
        }

        main > section.py-5 .card li {
            padding: .7rem 0;
            border-bottom: 1px solid var(--cw-border);
            color: #495057;
            line-height: 1.6;
        }

            main > section.py-5 .card li:last-child {
                border-bottom: 0;
            }

/* =========================================================
   18. Sitemap Page
========================================================= */

main > header.hero + section.section-comfy.py-5.bg-light {
    padding: clamp(4rem, 6vw, 6rem) 0 !important;
}

    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3 {
        padding: 1.25rem !important;
    }

    main > header.hero + section.section-comfy.py-5.bg-light h2.h4 {
        display: flex;
        align-items: center;
        gap: .7rem;
        margin-bottom: 1rem !important;
        padding-bottom: .85rem !important;
        border-bottom: 1px solid var(--cw-border) !important;
        color: var(--cw-heading);
        font-size: 1.2rem;
        font-weight: 700;
    }

    main > header.hero + section.section-comfy.py-5.bg-light .list-group {
        display: grid;
        gap: .65rem;
    }

    main > header.hero + section.section-comfy.py-5.bg-light .list-group-item {
        padding: .85rem 1rem;
        border: 1px solid var(--cw-border) !important;
        border-radius: var(--cw-radius) !important;
        background-color: #fff !important;
        box-shadow: none;
        transition: background-color .15s ease, border-color .15s ease;
    }

        main > header.hero + section.section-comfy.py-5.bg-light .list-group-item::before {
            content: none !important;
        }

        main > header.hero + section.section-comfy.py-5.bg-light .list-group-item:hover {
            border-color: rgba(13, 110, 253, .25) !important;
            background-color: var(--cw-primary-soft) !important;
            transform: none;
        }

        main > header.hero + section.section-comfy.py-5.bg-light .list-group-item a {
            color: var(--cw-heading);
            font-weight: 600 !important;
            text-decoration: none;
        }

            main > header.hero + section.section-comfy.py-5.bg-light .list-group-item a:hover {
                color: var(--cw-primary);
                text-decoration: underline;
            }

        main > header.hero + section.section-comfy.py-5.bg-light .list-group-item .small.text-muted {
            margin-top: .25rem;
            color: var(--cw-muted) !important;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: .8rem;
            line-height: 1.5;
            word-break: break-word;
        }

    main > header.hero + section.section-comfy.py-5.bg-light .container > .mt-4.small.text-muted {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .6rem .8rem;
        border: 1px solid var(--cw-border);
        border-radius: 999px;
        color: #495057 !important;
        background-color: #fff;
        font-weight: 500;
    }

        main > header.hero + section.section-comfy.py-5.bg-light .container > .mt-4.small.text-muted::before {
            content: "\F3E8";
            color: var(--cw-primary);
            font-family: "bootstrap-icons";
        }

/* =========================================================
   19. Footer
========================================================= */

footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    background: #111827;
}

    footer::before,
    footer::after {
        content: none !important;
    }

    footer > .container-xxl {
        position: relative;
        z-index: 1;
    }

    footer strong,
    footer .footer-title {
        color: #fff;
        font-weight: 700;
    }

    footer .footer-title {
        margin-bottom: .85rem;
    }

    footer p {
        color: rgba(255, 255, 255, .72);
        line-height: 1.7;
    }

    footer a {
        color: rgba(255, 255, 255, .86);
        text-decoration: none;
    }

        footer a:hover {
            color: #fff;
            text-decoration: underline;
        }

    footer .bi-braces-asterisk {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: var(--cw-radius);
        color: #fff;
        background-color: var(--cw-primary);
    }

/* =========================================================
   20. Responsive
========================================================= */

@media (max-width: 1199.98px) {
    .masonry {
        column-count: 2;
    }

    .facts .item {
        flex-basis: calc(50% - .75rem);
    }

    #reviewCarousel .carousel-control-prev {
        left: -.25rem;
    }

    #reviewCarousel .carousel-control-next {
        right: -.25rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 66px;
    }

    .navbar-collapse {
        padding: .75rem 0 1rem;
    }

    .navbar .nav-link {
        padding: .65rem .75rem !important;
    }

    .hero,
    .hero-404 {
        padding: 4.25rem 0;
    }

        .hero h1,
        .error-code {
            font-size: clamp(2.1rem, 10vw, 3.75rem) !important;
        }

        .hero-card,
        .hero .hero-card {
            margin-top: 1rem;
        }

    .section-comfy {
        padding: 3.75rem 0;
    }

    #training .d-flex.align-items-end.justify-content-between,
    #testimonials .d-flex.align-items-end.justify-content-between,
    .section-tight .d-flex.align-items-end.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 1rem;
    }

    .faq-side,
    #syllabus aside .card-soft {
        position: relative;
        top: auto;
    }

    .timeline {
        padding-left: 1.25rem;
    }

    .tl-dot {
        left: -1.3rem;
    }

    form.needs-validation .col-12.d-flex.align-items-center.gap-3 {
        align-items: flex-start !important;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .masonry {
        column-count: 1;
    }

    .card-soft,
    .topic-card,
    .t-card,
    .review-card,
    .video-card,
    .review-mini,
    .helper-card,
    .stat,
    .faq-side,
    .tl-item {
        border-radius: var(--cw-radius-lg) !important;
    }

    .facts {
        gap: .75rem;
    }

        .facts .item {
            flex-basis: 100%;
            min-width: 100%;
        }

    .topic-footer,
    #training .topic-footer {
        align-items: flex-start;
        flex-direction: column;
    }

        .topic-footer .btn,
        #training .topic-footer .btn {
            width: 100%;
            justify-content: center;
        }

    .badge.text-bg-light.border {
        width: 100%;
        justify-content: flex-start;
    }

    .col-lg-9 > h2[id^="faq-"] {
        align-items: flex-start;
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .accordion-button,
    #syllabus .accordion-button,
    .col-lg-9 .accordion-button {
        padding: .9rem 1rem;
        font-size: .96rem;
    }

    .accordion-body,
    #syllabus .accordion-body,
    .col-lg-9 .accordion-body {
        padding: .95rem 1rem;
    }

    #reviewCarousel .carousel-control-prev,
    #reviewCarousel .carousel-control-next,
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    main > section.py-5 .card-body,
    .card-soft .card-body {
        padding: 1.1rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero .d-flex.flex-wrap.gap-3 .btn,
    .hero-404 .d-flex.flex-wrap.gap-2 .btn,
    .cta-band .btn,
    .col-lg-9 .cta-band .btn,
    main > section.py-5 .d-flex.flex-wrap.justify-content-center.gap-3 .btn,
    form.needs-validation .btn-brand {
        width: 100%;
        justify-content: center;
    }

    .hero .points > div,
    .points > div,
    .flag-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-card,
    .hero .hero-card,
    .topic-card,
    #training .topic-card,
    .card-soft,
    aside .card-soft {
        padding: 1.1rem !important;
    }

    .form-control,
    .form-select {
        min-height: 46px;
        border-radius: .65rem;
    }

    .review-mini .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
        gap: .35rem;
    }

    .quick-links .list-group-item:hover,
    .list-link:hover {
        transform: none;
    }
}

/* =========================================================
   21. Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   Compact Professional Refinement
   Font + spacing polish for a cleaner Bootstrap 5.x look
   Additions placed at the end intentionally so they override above rules.
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap");

:root {
    --cw-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body,
body.no-overflow-x {
    font-family: var(--cw-font-sans);
    font-size: 0.96rem;
    line-height: 1.55;
}

.navbar {
    min-height: 64px;
}

.navbar-brand i {
    width: 34px;
    height: 34px;
    border-radius: .65rem;
}

.navbar .nav-link {
    padding: .45rem .65rem !important;
    font-size: .92rem;
}

.btn {
    padding: .55rem .9rem;
    font-size: .94rem;
}

.btn-sm {
    padding: .32rem .55rem;
    font-size: .78rem;
}

.hero,
.hero-404 {
    padding: clamp(3.25rem, 5vw, 5.25rem) 0 clamp(3rem, 4.5vw, 4.75rem);
}

    .hero h1,
    .error-code {
        font-size: clamp(2.05rem, 4.65vw, 4.35rem) !important;
        line-height: 1.04 !important;
        letter-spacing: -.045em !important;
    }

        .hero h1::after,
        .error-code::after,
        main > section.py-5 h1::after {
            width: 72px;
            height: 3px;
            margin-top: .9rem;
        }

    .hero .lead,
    .error-subtitle {
        max-width: 680px;
        font-size: clamp(1rem, 1.25vw, 1.14rem) !important;
        line-height: 1.6;
    }

    .chip,
    .hero-404 .chip {
        padding: .36rem .65rem !important;
        font-size: .82rem;
    }

    .hero .points,
    .points {
        gap: .55rem;
        margin-top: 1.25rem;
    }

        .hero .points > div,
        .points > div {
            padding: .45rem .65rem;
            font-size: .82rem;
        }

    .hero-card,
    .hero .hero-card {
        padding: 1.15rem !important;
    }

        .hero-card .d-flex,
        .hero .hero-card .d-flex {
            padding: .7rem;
            border-radius: .75rem;
        }

            .hero-card .d-flex + .d-flex,
            .hero .hero-card .d-flex + .d-flex {
                margin-top: .65rem;
            }

.section-comfy {
    padding: clamp(3rem, 4.25vw, 4.75rem) 0;
}

.section-tight {
    padding: clamp(2.25rem, 3vw, 3.5rem) 0;
}

section h2 {
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
}

    section h2 + p {
        margin-bottom: .85rem;
    }

.section-comfy p.measure,
.section-tight p.measure {
    font-size: .98rem;
    line-height: 1.62;
}

.card-soft,
.topic-card,
.t-card,
.review-card,
.video-card,
.review-mini,
.stat,
.helper-card,
.faq-side,
.tl-item,
.hero .hero-card,
main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5,
main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3 {
    border-radius: .95rem !important;
}

    .card-soft .card-body,
    .t-card,
    .review-card,
    .review-mini,
    .stat,
    .helper-card,
    .faq-side,
    .tl-item,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-5,
    main > header.hero + section.section-comfy.py-5.bg-light .container > .mb-3 {
        padding: 1rem !important;
    }

.topic-card,
#training .topic-card {
    padding: 1rem;
}

.topic-head,
#training .topic-head {
    gap: .7rem;
    margin-bottom: .75rem;
}

.topic-icon,
#training .topic-icon,
.icon-pill {
    width: 42px;
    height: 42px;
    border-radius: .75rem;
}

    .topic-icon i,
    #training .topic-icon i,
    .icon-pill i {
        font-size: 1rem;
    }

.topic-card h3,
#training .topic-card h3 {
    font-size: .98rem;
    line-height: 1.25;
}

.topic-meta,
#training .topic-meta {
    font-size: .76rem;
    margin-top: .3rem;
}

.topic-card p,
#training .topic-card p,
.card-soft p,
.t-card p,
.review-card p,
.review-mini p {
    font-size: .88rem;
    line-height: 1.55;
}

.topic-card ul,
#training .topic-card ul,
.card-soft ul,
aside .card-soft ul {
    margin-bottom: .9rem;
}

.topic-card li,
#training .topic-card li,
.card-soft li,
aside .card-soft li {
    margin-bottom: .38rem;
    font-size: .84rem;
    line-height: 1.45;
}

.topic-footer,
#training .topic-footer {
    margin: auto -1rem -1rem;
    padding: .75rem 1rem;
}

.flag-pill {
    padding: .42rem .65rem;
    font-size: .82rem;
}

.flag-icon {
    width: 22px;
    height: 15px;
}

.facts {
    gap: .75rem;
    margin-top: 1.25rem !important;
}

    .facts .item {
        min-width: 210px;
        padding: .85rem;
        border-radius: .95rem;
    }

#about p {
    font-size: .96rem;
    line-height: 1.62;
}

#about li,
.section-comfy .container-xxl > .row li,
.section-comfy .container-xxl .col-lg-5 li,
.section-comfy .col-lg-7 > ul > li,
.section-comfy .col-lg-5 > ul > li,
.section-comfy .col-lg-6 > ul > li {
    margin-bottom: .55rem;
    padding: .58rem .75rem .58rem 2.2rem;
    border-radius: .75rem;
    font-size: .88rem;
    line-height: 1.45;
}

    #about li::before,
    .section-comfy .container-xxl > .row li::before,
    .section-comfy .container-xxl .col-lg-5 li::before,
    .section-comfy .col-lg-7 > ul > li::before,
    .section-comfy .col-lg-5 > ul > li::before,
    .section-comfy .col-lg-6 > ul > li::before {
        left: .75rem;
        top: .6rem;
        width: 20px;
        height: 20px;
        font-size: .72rem;
    }

.about-img,
.hero .about-img,
.section-comfy .about-img {
    border-radius: 1rem;
}

#syllabus .accordion {
    gap: .6rem;
    margin-top: 1rem;
}

#syllabus .accordion-item,
.col-lg-9 .accordion-item[data-faq] {
    border-radius: .85rem;
}

#syllabus .accordion-button,
.col-lg-9 .accordion-button {
    padding: .9rem 1rem;
    font-size: .94rem;
}

#syllabus .accordion-body,
.col-lg-9 .accordion-body {
    padding: .9rem 1rem 1rem;
    font-size: .92rem;
    line-height: 1.58;
}

.form-control,
.form-select {
    min-height: 44px;
    border-radius: .75rem;
    font-size: .94rem;
}

.form-label,
.form-check-label {
    font-size: .9rem;
}

.cta-band {
    border-radius: 1rem;
}

    .cta-band.p-4,
    .cta-band.p-md-5 {
        padding: 1.5rem !important;
    }

footer {
    padding-top: 2.25rem !important;
    padding-bottom: 1.75rem !important;
}

    footer p,
    footer a,
    footer li,
    footer .small,
    footer small {
        font-size: .84rem;
        line-height: 1.55;
    }

    footer .footer-title {
        margin-bottom: .55rem;
        font-size: .92rem;
    }

    footer .bi-braces-asterisk {
        width: 34px;
        height: 34px;
        border-radius: .65rem;
    }

@media (max-width: 991.98px) {
    .navbar {
        min-height: 60px;
    }

    .hero,
    .hero-404 {
        padding-top: 2.75rem;
    }

    .section-comfy {
        padding: 2.75rem 0;
    }

    .section-tight {
        padding: 2rem 0;
    }
}

@media (max-width: 767.98px) {
    body,
    body.no-overflow-x {
        font-size: .94rem;
    }

    .hero h1,
    .error-code {
        font-size: clamp(2rem, 9vw, 3.1rem) !important;
    }

    .hero .lead,
    .error-subtitle {
        font-size: 1rem !important;
    }

    .section-comfy {
        padding: 2.35rem 0;
    }

    .section-tight {
        padding: 1.85rem 0;
    }

    .card-soft .card-body,
    .t-card,
    .review-card,
    .review-mini,
    .stat,
    .helper-card,
    .faq-side,
    .tl-item {
        padding: .9rem !important;
    }
}

@media (max-width: 575.98px) {
    .container,
    .container-lg,
    .container-xl,
    .container-xxl {
        padding-inline: .85rem;
    }

    .hero,
    .hero-404 {
        padding-block: 2.35rem;
    }

        .hero .points > div,
        .points > div,
        .flag-pill {
            width: auto;
        }

        .hero .d-flex.flex-wrap.gap-3 .btn,
        .cta-band .btn,
        form.needs-validation .btn-brand {
            width: 100%;
            justify-content: center;
        }
}

/* =========================================================
   Professional Bootstrap 5 Navbar
========================================================= */

.site-navbar {
    min-height: 64px;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    z-index: 1030;
}

    .site-navbar .container-xxl {
        min-height: 64px;
    }

/* Brand */
.site-brand {
    color: #111827 !important;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: #0d6efd;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
}

    .brand-mark i {
        font-size: 1rem;
    }

.brand-text {
    line-height: 1;
    white-space: nowrap;
}

/* Nav links */
.site-navbar .nav-link {
    position: relative;
    margin-inline: 0.1rem;
    padding: 0.55rem 0.75rem !important;
    border-radius: 0.55rem;
    color: #334155 !important;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.18s ease, background-color 0.18s ease;
}

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link:focus {
        color: #0d6efd !important;
        background: #f1f6ff;
    }

    .site-navbar .nav-link.active {
        color: #0d6efd !important;
        background: #eef5ff;
    }

/* Dropdown */
.site-navbar .dropdown-menu {
    min-width: 285px;
    margin-top: 0.65rem;
    padding: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
}

.training-dropdown .dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 0.7rem;
    color: #111827;
    white-space: normal;
}

    .training-dropdown .dropdown-item:hover,
    .training-dropdown .dropdown-item:focus {
        color: #0d6efd;
        background: #f1f6ff;
    }

    .training-dropdown .dropdown-item strong {
        display: block;
        color: inherit;
        font-size: 0.88rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .training-dropdown .dropdown-item small {
        display: block;
        margin-top: 0.18rem;
        color: #64748b;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.35;
    }

.dropdown-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    color: #0d6efd;
    background: #eaf2ff;
}

    .dropdown-icon i {
        font-size: 0.95rem;
    }

/* CTA */
.nav-cta {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem !important;
    border-radius: 0.65rem;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.22);
}

    .nav-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(13, 110, 253, 0.28);
    }

/* Toggler */
.site-toggler {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.65rem;
    padding: 0.45rem 0.55rem;
}

    .site-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.14);
    }

/* Mobile */
@media (max-width: 991.98px) {
    .site-navbar {
        min-height: 60px;
    }

        .site-navbar .container-xxl {
            min-height: 60px;
        }

    .navbar-collapse {
        padding: 0.75rem 0 1rem;
    }

    .site-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 0.2rem;
    }

    .site-navbar .nav-link {
        padding: 0.75rem 0.85rem !important;
    }

    .site-navbar .dropdown-menu {
        width: 100%;
        min-width: 100%;
        margin-top: 0.25rem;
        border-radius: 0.8rem;
        box-shadow: none;
    }

    .nav-cta {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .brand-text {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.35rem;
    line-height: 1;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

    .floating-btn:hover,
    .floating-btn:focus {
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    }

.whatsapp-btn {
    background: #25d366;
}

.contact-btn {
    background: #0d6efd;
}

@media (max-width: 575.98px) {
    .floating-cta {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Floating CTA pulse effect */
.whatsapp-btn {
    position: relative;
    isolation: isolate;
    animation: floatingPulse 2.2s ease-out infinite;
}

    .whatsapp-btn::after {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 50%;
        background: rgba(37, 211, 102, 0.28);
        z-index: -1;
        animation: whatsappRipple 2.2s ease-out infinite;
    }

@keyframes floatingPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 18px 42px rgba(37, 211, 102, 0.32);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
    }
}

@keyframes whatsappRipple {
    0% {
        opacity: 0.75;
        transform: scale(0.9);
    }

    70% {
        opacity: 0;
        transform: scale(1.35);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* Keep hover smooth with pulse */
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    animation-play-state: paused;
}

    .whatsapp-btn:hover::after,
    .whatsapp-btn:focus::after {
        animation-play-state: paused;
    }

/* Accessibility: disable animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-btn,
    .whatsapp-btn::after {
        animation: none;
    }
}

/* =========================================================
   Premium Background Depth Refinement
   Reduces the white-white feeling without making the site dark.
========================================================= */

:root {
    --cw-body-bg: #f3f6fb;
    --cw-surface: #ffffff;
    --cw-surface-soft: #eef3f9;
    --cw-surface-blue: #edf5ff;
    --cw-border: #d7deea;
    --cw-primary: #2563eb;
    --cw-primary-hover: #1d4ed8;
    --cw-primary-soft: rgba(37, 99, 235, 0.09);
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-body-bg: #f3f6fb;
    --bs-border-color: #d7deea;
}

body,
body.no-overflow-x {
    background: radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.055), transparent 28rem), radial-gradient(circle at 92% 12%, rgba(25, 135, 84, 0.045), transparent 24rem), var(--cw-body-bg);
}

/* Navbar should still feel clean, but not paper-white */
.site-navbar,
.navbar {
    background: rgba(248, 250, 252, 0.94) !important;
    border-bottom-color: rgba(15, 23, 42, 0.10) !important;
}

/* Hero gets a richer premium canvas */
.hero,
.hero-404 {
    background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.10), transparent 30rem), radial-gradient(circle at 88% 10%, rgba(25, 135, 84, 0.07), transparent 28rem), linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%) !important;
    border-bottom-color: rgba(15, 23, 42, 0.10) !important;
}

/* Light sections should have visible contrast */
.section-comfy.bg-light,
.section-tight.bg-light,
#about.bg-light,
#testimonials.bg-light,
main > header.hero + section.section-comfy.py-5.bg-light,
.bg-light {
    background: linear-gradient(180deg, #eef3f9 0%, #f3f6fb 100%) !important;
}

/* Normal white sections should not look flat */
.section-comfy:not(.bg-light),
.section-tight:not(.bg-light) {
    background-color: rgba(255, 255, 255, 0.54);
}

/* Cards stay white but gain separation from the page */
.card-soft,
.topic-card,
.t-card,
.review-card,
.video-card,
.review-mini,
.helper-card,
.stat,
.faq-side,
.tl-item,
.accordion-item,
.facts .item,
.hero-card,
.hero .hero-card,
main > section.py-5 .card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.105) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055) !important;
}

    /* Subtle blue-tinted inner blocks */
    .hero-card .d-flex,
    .hero .hero-card .d-flex,
    .form-check,
    .card-soft hr + .small {
        background-color: #f6f9fe !important;
    }

/* Pills and flags should not disappear into the background */
.flag-pill,
.badge.text-bg-light.border,
.points > div,
.hero .points > div {
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}

/* Accordion opened state with richer blue tint */
.accordion-button:not(.collapsed),
#syllabus .accordion-button:not(.collapsed),
.col-lg-9 .accordion-button:not(.collapsed) {
    background-color: rgba(37, 99, 235, 0.085) !important;
    color: var(--cw-primary) !important;
}

/* Footer and CTA already provide contrast, keep them strong */
.cta-band,
footer {
    background: #0f172a !important;
}

/* =========================================================
   Final Font Size Calibration
   Desktop / Tablet / Mobile readability fix only.
   No color, spacing, shadow, border, or layout redesign changes.
========================================================= */

:root {
    --cw-fs-body-desktop: 1rem;
    --cw-fs-body-tablet: .98rem;
    --cw-fs-body-mobile: .96rem;
}

html {
    font-size: 16px;
}

body,
body.no-overflow-x {
    font-size: var(--cw-fs-body-desktop);
    line-height: 1.6;
}

p,
li,
.form-control,
.form-select,
.form-label,
.form-check-label,
.accordion-body,
.card-soft p,
.topic-card p,
.t-card p,
.review-card p,
.review-mini p,
.helper-card p,
.tl-item p {
    font-size: .95rem;
}

.small,
small,
.text-muted.small,
.card-soft .small,
.topic-card .small,
.review-card .small,
.review-mini .small,
footer .small,
footer small {
    font-size: .875rem;
}

.site-brand,
.navbar-brand {
    font-size: 1rem;
}

.site-navbar .nav-link,
.navbar .nav-link {
    font-size: .93rem;
}

.training-dropdown .dropdown-item strong {
    font-size: .92rem;
}

.training-dropdown .dropdown-item small {
    font-size: .82rem;
}

.btn {
    font-size: .96rem;
}

.btn-sm,
.nav-cta {
    font-size: .86rem;
}

.hero h1,
.error-code {
    font-size: clamp(2.25rem, 4.7vw, 4.35rem) !important;
}

.hero .lead,
.error-subtitle,
.lead {
    font-size: clamp(1.04rem, 1.25vw, 1.16rem) !important;
}

section h2 {
    font-size: clamp(1.75rem, 2.25vw, 2.45rem);
}

h3,
.h3 {
    font-size: 1.28rem;
}

.topic-card h3,
#training .topic-card h3 {
    font-size: 1.04rem;
}

.topic-meta,
#training .topic-meta {
    font-size: .82rem;
}

.topic-card li,
#training .topic-card li,
.card-soft li,
aside .card-soft li,
.helper-card li,
.review-card li,
#syllabus .accordion-body li {
    font-size: .9rem;
}

.badge.text-bg-light.border,
.flag-pill,
.hero .points > div,
.points > div,
.chip,
.hero-404 .chip {
    font-size: .86rem;
}

#about p,
.section-comfy p.measure,
.section-tight p.measure {
    font-size: .99rem;
}

#about li,
.section-comfy .container-xxl > .row li,
.section-comfy .container-xxl .col-lg-5 li,
.section-comfy .col-lg-7 > ul > li,
.section-comfy .col-lg-5 > ul > li,
.section-comfy .col-lg-6 > ul > li {
    font-size: .91rem;
}

#syllabus .accordion-button,
.col-lg-9 .accordion-button,
.accordion-button {
    font-size: .97rem;
}

#syllabus .accordion-body,
.col-lg-9 .accordion-body,
.accordion-body {
    font-size: .94rem;
}

.quote {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
}

footer p,
footer a,
footer li,
footer .small,
footer small {
    font-size: .88rem;
}

footer .footer-title {
    font-size: .96rem;
}

@media (max-width: 991.98px) {
    body,
    body.no-overflow-x {
        font-size: var(--cw-fs-body-tablet);
        line-height: 1.58;
    }

    .site-brand,
    .navbar-brand {
        font-size: .98rem;
    }

    .site-navbar .nav-link,
    .navbar .nav-link {
        font-size: .95rem;
    }

    .hero h1,
    .error-code {
        font-size: clamp(2.15rem, 6.5vw, 3.45rem) !important;
    }

    .hero .lead,
    .error-subtitle,
    .lead {
        font-size: 1.02rem !important;
    }

    section h2 {
        font-size: clamp(1.62rem, 4vw, 2.1rem);
    }

    p,
    li,
    .card-soft p,
    .topic-card p,
    .t-card p,
    .review-card p,
    .review-mini p,
    .helper-card p,
    .tl-item p {
        font-size: .94rem;
    }

    .topic-card h3,
    #training .topic-card h3 {
        font-size: 1.02rem;
    }

    .topic-card li,
    #training .topic-card li,
    .card-soft li,
    aside .card-soft li,
    .helper-card li,
    .review-card li,
    #syllabus .accordion-body li {
        font-size: .9rem;
    }

    .btn {
        font-size: .95rem;
    }

    .btn-sm,
    .nav-cta {
        font-size: .86rem;
    }
}

@media (max-width: 767.98px) {
    body,
    body.no-overflow-x {
        font-size: var(--cw-fs-body-mobile);
        line-height: 1.58;
    }

    .hero h1,
    .error-code {
        font-size: clamp(2rem, 10vw, 2.85rem) !important;
        line-height: 1.06 !important;
    }

    .hero .lead,
    .error-subtitle,
    .lead {
        font-size: .99rem !important;
        line-height: 1.58;
    }

    section h2 {
        font-size: clamp(1.48rem, 7vw, 1.9rem);
    }

    h3,
    .h3 {
        font-size: 1.15rem;
    }

    p,
    li,
    .card-soft p,
    .topic-card p,
    .t-card p,
    .review-card p,
    .review-mini p,
    .helper-card p,
    .tl-item p {
        font-size: .93rem;
    }

    .topic-card h3,
    #training .topic-card h3 {
        font-size: 1rem;
    }

    .topic-meta,
    #training .topic-meta {
        font-size: .8rem;
    }

    .topic-card li,
    #training .topic-card li,
    .card-soft li,
    aside .card-soft li,
    .helper-card li,
    .review-card li,
    #syllabus .accordion-body li {
        font-size: .89rem;
    }

    #syllabus .accordion-button,
    .col-lg-9 .accordion-button,
    .accordion-button {
        font-size: .95rem;
    }

    #syllabus .accordion-body,
    .col-lg-9 .accordion-body,
    .accordion-body {
        font-size: .92rem;
    }

    .badge.text-bg-light.border,
    .flag-pill,
    .hero .points > div,
    .points > div,
    .chip,
    .hero-404 .chip {
        font-size: .84rem;
    }

    footer p,
    footer a,
    footer li,
    footer .small,
    footer small {
        font-size: .84rem;
    }
}

@media (max-width: 575.98px) {
    .site-brand,
    .navbar-brand {
        font-size: .95rem;
    }

    .brand-text {
        max-width: 185px;
    }

    .hero h1,
    .error-code {
        font-size: clamp(1.95rem, 11vw, 2.55rem) !important;
    }

    .hero .lead,
    .error-subtitle,
    .lead {
        font-size: .96rem !important;
    }

    section h2 {
        font-size: clamp(1.42rem, 7.5vw, 1.75rem);
    }

    .btn {
        font-size: .94rem;
    }

    .btn-sm,
    .nav-cta {
        font-size: .84rem;
    }

    .small,
    small,
    .text-muted.small,
    .card-soft .small,
    .topic-card .small,
    .review-card .small,
    .review-mini .small {
        font-size: .82rem;
    }
}
