﻿:root {
    --hm-blue: #002b8f;
    --hm-blue-dark: #001f66;
    --hm-blue-bright: #1ea7ff;
    --hm-blue-soft: #edf6ff;
    --hm-green: #28c840;
    --hm-green-dark: #16a34a;
    --hm-green-soft: #edfff1;
    --hm-purple: #6d5dfc;
    --hm-purple-soft: #f3f1ff;
    --hm-orange: #f59e0b;
    --hm-orange-soft: #fff8e8;
    --hm-pink: #ec4899;
    --hm-pink-soft: #fff0f7;
    --hm-indigo: #3b82f6;
    --hm-indigo-soft: #eef5ff;
    --hm-text: #16314f;
    --hm-muted: #60738a;
    --hm-border: #dce9f7;
    --hm-bg-soft: #f8fbff;
    --hm-card: #ffffff;
    --hm-shadow: 0 12px 32px rgba(0, 43, 143, .08);
    --hm-shadow-lg: 0 22px 60px rgba(0, 43, 143, .13);
    --hm-radius: 22px;
}


/* =========================================================
   HOME IMAGE CAROUSEL
========================================================= */

.hm-carousel-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.hm-carousel {
    width: 100%;
}

.hm-carousel-slide {
    height: clamp(430px, 43vw, 610px);
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.hm-carousel-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 7s ease;
}

.hm-carousel .carousel-item.active .hm-carousel-image {
    transform: scale(1.07);
}

.hm-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(2, 6, 23, .82) 0%, rgba(2, 6, 23, .63) 38%, rgba(2, 6, 23, .25) 70%, rgba(2, 6, 23, .16) 100% );
}

.hm-carousel-content-wrap {
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hm-carousel-content {
    width: min(100%, 650px);
    padding-left: 48px;
    color: #ffffff;
    animation: hmCarouselContentIn .7s ease both;
}

@keyframes hmCarouselContentIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hm-carousel-badge {
    margin-bottom: 18px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbeafe;
    background: rgba(37, 99, 235, .88);
    border: 1px solid rgba(191, 219, 254, .32);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .3px;
    backdrop-filter: blur(10px);
}

    .hm-carousel-badge.green {
        color: #dcfce7;
        background: rgba(22, 163, 74, .88);
        border-color: rgba(187, 247, 208, .30);
    }

.hm-carousel-content h2 {
    max-width: 650px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -2.4px;
    text-shadow: 0 5px 30px rgba(2, 6, 23, .25);
}

    .hm-carousel-content h2 span {
        display: block;
        color: #60a5fa;
    }

.hm-carousel-content p {
    max-width: 560px;
    margin: 0 0 26px;
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.72;
    text-shadow: 0 3px 18px rgba(2, 6, 23, .28);
}

.hm-carousel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .hm-carousel-actions .btn {
        min-height: 48px;
        padding: 11px 21px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 13px;
        font-size: .82rem;
        font-weight: 800;
        box-shadow: 0 14px 34px rgba(2, 6, 23, .20);
    }

    .hm-carousel-actions .btn-light {
        color: #1d4ed8;
        background: rgba(255, 255, 255, .96);
        border-color: rgba(255, 255, 255, .96);
    }

        .hm-carousel-actions .btn-light:hover {
            color: #1e40af;
            background: #eff6ff;
            border-color: #eff6ff;
        }

.hm-carousel-control {
    width: 72px;
    opacity: 1;
}

.hm-carousel-control-prev {
    justify-content: flex-start;
    padding-left: 18px;
}

.hm-carousel-control-next {
    justify-content: flex-end;
    padding-right: 18px;
}

.hm-carousel-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #0f172a;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 15px 36px rgba(2, 6, 23, .24);
    backdrop-filter: blur(12px);
    transition: .22s ease;
}

.hm-carousel-control:hover .hm-carousel-arrow {
    color: #ffffff;
    background: var(--hm-blue);
    transform: scale(1.06);
}

.hm-carousel-indicators {
    bottom: 23px;
    z-index: 5;
    gap: 7px;
    margin-bottom: 0;
}

    .hm-carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0;
        border: 2px solid rgba(255, 255, 255, .72);
        border-radius: 50%;
        background: transparent;
        opacity: 1;
        transition: .22s ease;
    }

    .hm-carousel-indicators .active {
        width: 28px;
        border-radius: 999px;
        border-color: #ffffff;
        background: #ffffff;
    }

.hm-carousel + .hm-hero {
    border-top: 1px solid rgba(226, 232, 240, .75);
}

@media (max-width: 991.98px) {
    .hm-carousel-slide {
        height: 510px;
    }

    .hm-carousel-content {
        padding: 0 72px;
    }

    .hm-carousel-overlay {
        background: linear-gradient( 90deg, rgba(2, 6, 23, .82) 0%, rgba(2, 6, 23, .68) 52%, rgba(2, 6, 23, .33) 100% );
    }
}

@media (max-width: 767.98px) {
    .hm-carousel-slide {
        height: 500px;
    }

    .hm-carousel-content {
        width: 100%;
        padding: 0 58px;
    }

        .hm-carousel-content h2 {
            font-size: clamp(2.35rem, 10vw, 3.6rem);
            letter-spacing: -1.6px;
        }

        .hm-carousel-content p {
            font-size: .9rem;
        }

    .hm-carousel-control {
        width: 54px;
    }

    .hm-carousel-control-prev {
        padding-left: 8px;
    }

    .hm-carousel-control-next {
        padding-right: 8px;
    }

    .hm-carousel-arrow {
        width: 39px;
        height: 39px;
        font-size: .95rem;
    }
}

@media (max-width: 575.98px) {
    .hm-carousel-slide {
        height: 540px;
    }

    .hm-carousel-image {
        object-position: 62% center;
    }

    .hm-carousel-overlay {
        background: linear-gradient( 90deg, rgba(2, 6, 23, .86) 0%, rgba(2, 6, 23, .75) 65%, rgba(2, 6, 23, .48) 100% );
    }

    .hm-carousel-content {
        padding: 0 28px;
    }

        .hm-carousel-content h2 {
            font-size: 2.55rem;
        }

    .hm-carousel-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .hm-carousel-actions .btn {
            width: 100%;
        }

    .hm-carousel-control {
        display: none;
    }

    .hm-carousel-indicators {
        bottom: 16px;
    }
}

.hm-hero {
    min-height: 650px;
    padding: 58px 0 62px;
    overflow: hidden;
    background: radial-gradient(circle at 75% 20%, rgba(37, 99, 235, .11), transparent 30%), linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eef6ff 100%);
}

.hm-eyebrow,
.hm-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hm-blue);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.hm-hero h1 {
    max-width: 650px;
    margin: 14px 0 18px;
    color: var(--hm-text);
    font-size: clamp(3rem, 4.35vw, 4.25rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -2.3px;
}

    .hm-hero h1 span {
        display: block;
        color: var(--hm-blue);
    }

.hm-hero-copy {
    max-width: 600px;
    margin-bottom: 22px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.hm-search {
    max-width: 610px;
    height: 58px;
    padding: 7px 7px 7px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: 999px;
    box-shadow: var(--hm-shadow);
}

    .hm-search > i {
        color: #94a3b8;
        font-size: 1.05rem;
    }

    .hm-search input {
        min-width: 0;
        flex: 1;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--hm-text);
        font-size: .95rem;
    }

    .hm-search button {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        color: #fff;
        background: var(--hm-blue);
        border: 0;
        border-radius: 50%;
        transition: .22s ease;
    }

        .hm-search button:hover {
            background: var(--hm-blue-dark);
            transform: translateX(2px);
        }

.hm-hero-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hm-stats {
    margin-top: 26px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

    .hm-stats > div {
        display: flex;
        align-items: center;
        gap: 11px;
    }

.hm-stat-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.1rem;
}

    .hm-stat-icon.blue,
    .hm-floating-icon.blue,
    .hm-step-icon.blue,
    .hm-review-avatar.blue {
        color: var(--hm-blue);
        background: var(--hm-blue-soft);
    }

    .hm-stat-icon.purple,
    .hm-floating-icon.purple,
    .hm-step-icon.purple,
    .hm-review-avatar.purple {
        color: var(--hm-purple);
        background: var(--hm-purple-soft);
    }

    .hm-stat-icon.green,
    .hm-floating-icon.green,
    .hm-step-icon.green,
    .hm-review-avatar.green {
        color: var(--hm-green);
        background: var(--hm-green-soft);
    }

.hm-stats strong {
    display: block;
    color: var(--hm-text);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 900;
}

.hm-stats small {
    color: var(--hm-muted);
    font-size: .76rem;
}

.hm-hero-visual {
    min-height: 440px;
    position: relative;
    display: grid;
    place-items: center;
    padding: 16px 20px;
}

.hm-hero-visual-main {
    width: min(100%, 455px);
    min-height: 420px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient( circle at 82% 14%, rgba(255, 255, 255, .18), transparent 29% ), linear-gradient( 145deg, #1d4ed8 0%, #2563eb 52%, #4f46e5 100% );
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 32px;
    box-shadow: 0 34px 90px rgba(37, 99, 235, .26);
}

.hm-hero-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    color: var(--hm-blue);
    background: #fff;
    border-radius: 20px;
    font-size: 1.85rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.hm-visual-label {
    color: #bfdbfe;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.hm-hero-visual-main h3 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: 1.9rem;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.8px;
}

.hm-hero-visual-main > p {
    max-width: 360px;
    margin-bottom: 22px;
    color: #dbeafe;
    font-size: .88rem;
    line-height: 1.65;
}

.hm-feature-pills {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hm-feature-pill {
    min-height: 82px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hm-text);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .13);
}

.hm-floating-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
}

.hm-feature-pill > span:last-child {
    min-width: 0;
}

.hm-feature-pill strong {
    display: block;
    margin-bottom: 3px;
    color: var(--hm-text);
    font-size: .72rem;
    line-height: 1.25;
    font-weight: 850;
}

.hm-feature-pill small {
    display: block;
    color: var(--hm-muted);
    font-size: .58rem;
    line-height: 1.35;
}

.hm-progress-card {
    padding: 15px 16px;
    color: var(--hm-text);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 17px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

    .hm-progress-card > div:first-child {
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .hm-progress-card strong {
        color: var(--hm-text);
        font-size: .78rem;
        font-weight: 850;
    }

    .hm-progress-card span {
        color: var(--hm-muted);
        font-size: .7rem;
    }

    .hm-progress-card .progress {
        height: 9px;
        overflow: hidden;
        background: #e2e8f0;
        border-radius: 999px;
    }

    .hm-progress-card .progress-bar {
        background: linear-gradient( 90deg, var(--hm-green), #4ade80 );
        border-radius: 999px;
    }

.hm-section {
    padding: 86px 0;
    background: #fff;
}

.hm-section-soft {
    background: var(--hm-bg-soft);
}

.hm-section-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

    .hm-section-heading h2,
    .hm-centered-heading h2 {
        margin: 7px 0 8px;
        color: var(--hm-text);
        font-size: clamp(2rem, 3.8vw, 3rem);
        font-weight: 950;
        letter-spacing: -1.2px;
    }

    .hm-section-heading p,
    .hm-centered-heading p {
        margin: 0;
        color: var(--hm-muted);
    }

.hm-centered-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.hm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hm-blue);
    font-size: .84rem;
    font-weight: 800;
    white-space: nowrap;
}

.hm-category-card {
    min-height: 180px;
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--hm-text);
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
    transition: .24s ease;
}

    .hm-category-card:hover {
        color: var(--hm-text);
        border-color: #bfdbfe;
        transform: translateY(-7px);
        box-shadow: var(--hm-shadow-lg);
    }

.hm-category-icon,
.hm-step-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.35rem;
}

.hm-category-media {
    width: 64px;
    height: 64px;
    display: block;
    position: relative;
}

    .hm-category-media .hm-category-icon {
        width: 64px;
        height: 64px;
    }

.hm-category-image {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: cover;
    border: 1px solid var(--hm-border);
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(15, 35, 65, .10);
}

.hm-category-image-fallback {
    position: absolute;
    inset: 0;
}

.hm-category-icon.blue {
    color: var(--hm-blue);
    background: var(--hm-blue-soft);
}

.hm-category-icon.green {
    color: var(--hm-green);
    background: var(--hm-green-soft);
}

.hm-category-icon.purple {
    color: var(--hm-purple);
    background: var(--hm-purple-soft);
}

.hm-category-icon.orange {
    color: var(--hm-orange);
    background: var(--hm-orange-soft);
}

.hm-category-icon.pink {
    color: var(--hm-pink);
    background: var(--hm-pink-soft);
}

.hm-category-icon.indigo {
    color: var(--hm-indigo);
    background: var(--hm-indigo-soft);
}

.hm-category-card strong {
    margin-top: 20px;
    font-size: .96rem;
    font-weight: 850;
}

.hm-category-card small {
    margin-top: 4px;
    color: var(--hm-muted);
    font-size: .74rem;
}

.hm-category-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    color: var(--hm-blue);
}

.hm-course-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
    transition: .24s ease;
}

    .hm-course-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--hm-shadow-lg);
    }

.hm-course-image {
    height: 205px;
    position: relative;
    overflow: hidden;
    background: var(--hm-blue-soft);
}

    .hm-course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hm-course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 11px;
    color: #fff;
    background: var(--hm-blue);
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 850;
}

    .hm-course-badge.green {
        background: var(--hm-green);
    }

.hm-course-placeholder {
    height: 100%;
    padding: 25px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--hm-blue);
    text-align: center;
    font-weight: 850;
}

    .hm-course-placeholder i {
        font-size: 2rem;
    }

.hm-course-body {
    padding: 22px;
}

.hm-course-top,
.hm-course-rating,
.hm-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .hm-course-top > span {
        padding: 5px 9px;
        color: var(--hm-blue);
        background: var(--hm-blue-soft);
        border-radius: 999px;
        font-size: .65rem;
        font-weight: 850;
    }

    .hm-course-top small {
        color: var(--hm-muted);
        font-size: .7rem;
    }

.hm-course-body h3 {
    min-height: 52px;
    margin: 15px 0 9px;
    color: var(--hm-text);
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 900;
}

.hm-course-body > p {
    min-height: 60px;
    margin-bottom: 15px;
    color: var(--hm-muted);
    font-size: .8rem;
    line-height: 1.6;
}

.hm-course-rating {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--hm-border);
}

    .hm-course-rating span {
        color: #f59e0b;
        font-size: .76rem;
        font-weight: 850;
    }

    .hm-course-rating small {
        color: var(--hm-muted);
        font-size: .72rem;
    }

.hm-course-footer {
    padding-top: 15px;
}

    .hm-course-footer > span {
        color: var(--hm-green);
        font-size: .72rem;
        font-weight: 750;
    }

    .hm-course-footer a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: var(--hm-blue);
        font-size: .72rem;
        font-weight: 850;
    }

.hm-steps {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
    align-items: center;
}

.hm-step-card {
    min-height: 265px;
    padding: 28px;
    position: relative;
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
}

.hm-step-number {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--hm-blue);
    border-radius: 50%;
    font-size: .7rem;
    font-weight: 900;
}

.hm-step-card h3 {
    margin: 22px 0 10px;
    color: var(--hm-text);
    font-size: 1rem;
    font-weight: 900;
}

.hm-step-card p {
    margin: 0;
    color: var(--hm-muted);
    font-size: .8rem;
    line-height: 1.65;
}

.hm-step-connector {
    display: grid;
    place-items: center;
    color: var(--hm-blue);
}

.hm-trust-strip {
    padding: 28px 34px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #64748b;
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
}

    .hm-trust-strip span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 1.05rem;
        font-weight: 850;
        opacity: .82;
    }

.hm-review-card {
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
}

.hm-review-top,
.hm-review-user {
    display: flex;
    align-items: center;
}

.hm-review-top {
    justify-content: space-between;
}

.hm-quote {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--hm-blue);
    background: var(--hm-blue-soft);
    border-radius: 13px;
    font-size: 1.2rem;
}

.hm-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: .8rem;
}

.hm-review-card > p {
    min-height: 105px;
    margin: 22px 0;
    color: #334155;
    font-size: .9rem;
    line-height: 1.75;
}

.hm-review-user {
    gap: 11px;
}

.hm-review-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 900;
}

.hm-review-user strong {
    display: block;
    color: var(--hm-text);
    font-size: .8rem;
}

.hm-review-user small {
    color: var(--hm-muted);
    font-size: .7rem;
}

.hm-empty-state {
    padding: 55px 25px;
    color: var(--hm-muted);
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--hm-radius);
    text-align: center;
}

    .hm-empty-state i {
        color: var(--hm-blue);
        font-size: 2.2rem;
    }

    .hm-empty-state h3 {
        margin: 12px 0 6px;
        color: var(--hm-text);
        font-size: 1.15rem;
        font-weight: 900;
    }

.hm-cta-wrap {
    padding: 0 0 88px;
    background: var(--hm-bg-soft);
}

.hm-cta {
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 22px;
    color: #fff;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 25%), linear-gradient(135deg, #1d4ed8, #2563eb 55%, #4f46e5);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(37, 99, 235, .26);
}

.hm-cta-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.14);
    border-radius: 20px;
    font-size: 1.8rem;
}

.hm-cta h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
}

.hm-cta p {
    margin: 0;
    color: #dbeafe;
}

.hm-cta-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

@media (max-width: 1199.98px) {
    .hm-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .hm-step-connector {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .hm-hero {
        min-height: auto;
        padding: 50px 0 58px;
    }

        .hm-hero h1 {
            letter-spacing: -2px;
        }

    .hm-hero-visual {
        min-height: auto;
        margin-top: 12px;
        padding: 18px 0;
    }

    .hm-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hm-cta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .hm-cta-actions {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .hm-hero {
        min-height: auto;
        padding: 42px 0 50px;
    }

    .hm-search {
        height: 58px;
    }

    .hm-stats {
        gap: 18px;
    }

    .hm-hero-visual {
        min-height: auto;
        padding: 30px 0 8px;
    }

    .hm-hero-visual-main {
        min-height: auto;
        padding: 32px 26px;
    }

    .hm-section {
        padding: 64px 0;
    }

    .hm-steps {
        grid-template-columns: 1fr;
    }

    .hm-step-card {
        min-height: auto;
    }

    .hm-review-card > p {
        min-height: auto;
    }

    .hm-cta {
        padding: 28px 24px;
    }

    .hm-cta-actions {
        flex-direction: column;
    }

        .hm-cta-actions .btn {
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .hm-hero h1 {
        font-size: 2.75rem;
    }

    .hm-search {
        padding-left: 14px;
    }

    .hm-hero-actions .btn {
        width: 100%;
    }

    .hm-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hm-course-body h3,
    .hm-course-body > p {
        min-height: auto;
    }

    .hm-hero-visual-main {
        border-radius: 25px;
    }

    .hm-feature-pill strong {
        font-size: .75rem;
    }

    .hm-feature-pill small {
        font-size: .62rem;
    }

    .hm-cta-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }
}


/* =========================================================
   BRIGHT BLUE + GREEN HEALTHCARE THEME
========================================================= */

body {
    background: #f8fbff;
    color: var(--hm-text);
}

/* Image carousel */
.hm-carousel-section,
.hm-carousel-slide {
    background: #edf6ff;
}

.hm-carousel-overlay {
    background: linear-gradient( 90deg, rgba(0, 43, 143, .68) 0%, rgba(0, 43, 143, .46) 38%, rgba(30, 167, 255, .18) 72%, rgba(255, 255, 255, .05) 100% );
}

.hm-carousel-badge {
    color: #ffffff;
    background: rgba(0, 43, 143, .90);
    border-color: rgba(255, 255, 255, .28);
}

    .hm-carousel-badge.green {
        color: #ffffff;
        background: rgba(40, 200, 64, .92);
        border-color: rgba(255, 255, 255, .30);
    }

.hm-carousel-content h2 span {
    color: #9be8ff;
}

.hm-carousel-actions .btn-primary,
.hm-hero-actions .btn-primary {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
    border-color: transparent;
}

    .hm-carousel-actions .btn-primary:hover,
    .hm-hero-actions .btn-primary:hover {
        color: #ffffff;
        background: linear-gradient( 135deg, var(--hm-green-dark), var(--hm-green) );
        border-color: transparent;
    }

.hm-carousel-actions .btn-success {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--hm-green-dark), var(--hm-green) );
    border-color: transparent;
}

    .hm-carousel-actions .btn-success:hover {
        background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
    }

/* Main hero */
.hm-hero {
    background: radial-gradient( circle at 78% 18%, rgba(30, 167, 255, .16), transparent 30% ), radial-gradient( circle at 88% 78%, rgba(40, 200, 64, .10), transparent 24% ), linear-gradient( 135deg, #ffffff 0%, #f8fbff 55%, #edf7ff 100% );
}

.hm-eyebrow,
.hm-section-eyebrow {
    color: var(--hm-blue);
}

.hm-hero h1 {
    color: var(--hm-blue);
}

    .hm-hero h1 span {
        color: var(--hm-green);
    }

.hm-hero-copy {
    color: #4b6680;
}

.hm-search {
    background: #ffffff;
    border-color: var(--hm-border);
    box-shadow: var(--hm-shadow);
}

    .hm-search button {
        background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
    }

        .hm-search button:hover {
            background: linear-gradient( 135deg, var(--hm-green-dark), var(--hm-green) );
        }

.hm-hero-actions .btn-outline-primary {
    color: var(--hm-blue);
    background: #ffffff;
    border-color: #9ec9f3;
}

    .hm-hero-actions .btn-outline-primary:hover {
        color: #ffffff;
        background: var(--hm-green);
        border-color: var(--hm-green);
    }

/* Right hero learning card */
.hm-hero-visual-main {
    color: var(--hm-text);
    background: radial-gradient( circle at 82% 14%, rgba(30, 167, 255, .18), transparent 30% ), radial-gradient( circle at 15% 88%, rgba(40, 200, 64, .10), transparent 28% ), linear-gradient( 145deg, #ffffff 0%, #f5fbff 56%, #eaf5ff 100% );
    border: 1px solid var(--hm-border);
    box-shadow: 0 26px 70px rgba(0, 43, 143, .14);
}

.hm-hero-icon {
    color: #ffffff;
    background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
}

.hm-visual-label {
    color: var(--hm-green-dark);
}

.hm-hero-visual-main h3 {
    color: var(--hm-blue);
}

.hm-hero-visual-main > p {
    color: var(--hm-muted);
}

.hm-feature-pill,
.hm-progress-card {
    background: #ffffff;
    border: 1px solid var(--hm-border);
    box-shadow: 0 12px 30px rgba(0, 43, 143, .09);
}

    .hm-feature-pill strong,
    .hm-progress-card strong {
        color: var(--hm-blue);
    }

    .hm-feature-pill small,
    .hm-progress-card span {
        color: var(--hm-muted);
    }

    .hm-progress-card .progress-bar {
        background: linear-gradient( 90deg, var(--hm-green-dark), var(--hm-green) );
    }

/* Statistics */
.hm-stat-icon.blue,
.hm-floating-icon.blue,
.hm-step-icon.blue,
.hm-review-avatar.blue {
    color: var(--hm-blue);
    background: var(--hm-blue-soft);
}

.hm-stat-icon.green,
.hm-floating-icon.green,
.hm-step-icon.green,
.hm-review-avatar.green {
    color: var(--hm-green-dark);
    background: var(--hm-green-soft);
}

/* Sections */
.hm-section {
    background: #ffffff;
}

.hm-section-soft {
    background: linear-gradient( 180deg, #f8fbff 0%, #f2f9ff 100% );
}

.hm-section-heading h2,
.hm-centered-heading h2 {
    color: var(--hm-blue);
}

.hm-section-heading p,
.hm-centered-heading p {
    color: var(--hm-muted);
}

.hm-text-link,
.hm-category-arrow,
.hm-course-footer a {
    color: var(--hm-blue);
}

    .hm-text-link:hover,
    .hm-course-footer a:hover {
        color: var(--hm-green-dark);
    }

/* Cards */
.hm-category-card,
.hm-course-card,
.hm-step-card,
.hm-review-card,
.hm-trust-strip,
.hm-empty-state {
    background: #ffffff;
    border-color: var(--hm-border);
    box-shadow: var(--hm-shadow);
}

    .hm-category-card:hover,
    .hm-course-card:hover,
    .hm-step-card:hover,
    .hm-review-card:hover {
        border-color: #b9d9f6;
        box-shadow: var(--hm-shadow-lg);
    }

.hm-course-badge {
    background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
}

    .hm-course-badge.green {
        background: linear-gradient( 135deg, var(--hm-green-dark), var(--hm-green) );
    }

.hm-course-top > span {
    color: var(--hm-blue);
    background: var(--hm-blue-soft);
}

.hm-course-body h3 {
    color: var(--hm-blue);
}

.hm-course-footer > span {
    color: var(--hm-green-dark);
}

/* Steps */
.hm-step-number {
    background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
}

.hm-step-card:nth-child(4n) .hm-step-number,
.hm-step-card:nth-child(4n + 1) .hm-step-number {
    background: linear-gradient( 135deg, var(--hm-green-dark), var(--hm-green) );
}

/* Trust and reviews */
.hm-trust-strip span {
    color: #53708f;
}

.hm-quote {
    color: var(--hm-blue);
    background: linear-gradient( 135deg, var(--hm-blue-soft), var(--hm-green-soft) );
}

.hm-review-user strong {
    color: var(--hm-blue);
}

/* CTA */
.hm-cta {
    background: radial-gradient( circle at 85% 20%, rgba(255, 255, 255, .22), transparent 25% ), linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) 58%, var(--hm-green) 125% );
    border: 1px solid rgba(255, 255, 255, .20);
    box-shadow: 0 24px 65px rgba(0, 43, 143, .22);
}

    .hm-cta h2 {
        color: #ffffff;
    }

    .hm-cta p {
        color: #e8f6ff;
    }

    .hm-cta .btn-light {
        color: var(--hm-blue);
        background: #ffffff;
        border-color: #ffffff;
    }

        .hm-cta .btn-light:hover {
            color: #ffffff;
            background: var(--hm-green);
            border-color: var(--hm-green);
        }

/* Public footer colour alignment */
.public-footer {
    background: linear-gradient( 135deg, #002b8f 0%, #003cad 62%, #0b5cc4 100% );
}

    .public-footer::before {
        background: linear-gradient( 90deg, var(--hm-green-dark), var(--hm-green), #4ade80 );
    }

/* =========================================================
   HOME COURSE THUMBNAIL FALLBACK — FINAL
   Used by Featured / Popular and Latest course cards.
========================================================= */

.hm-course-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: var(--hm-blue-soft);
}

    .hm-course-image > img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform .45s ease;
    }

.hm-course-card:hover .hm-course-image > img {
    transform: scale(1.055);
}

.hm-course-placeholder {
    width: 100%;
    height: 100%;
    min-height: 205px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 11px;
    color: var(--hm-blue);
    background: radial-gradient( circle at 78% 18%, rgba(30, 167, 255, .20), transparent 29% ), radial-gradient( circle at 16% 84%, rgba(40, 200, 64, .13), transparent 26% ), linear-gradient( 145deg, #ffffff 0%, #f7fbff 52%, #eaf6ff 100% );
    text-align: center;
}

    .hm-course-placeholder i {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        display: grid;
        place-items: center;
        color: #ffffff;
        background: linear-gradient( 135deg, var(--hm-blue), var(--hm-blue-bright) );
        border-radius: 18px;
        font-size: 1.45rem;
        box-shadow: 0 13px 28px rgba(0, 43, 143, .18);
    }

    .hm-course-placeholder span {
        max-width: 235px;
        display: block;
        color: var(--hm-blue);
        font-size: .79rem;
        line-height: 1.42;
        font-weight: 850;
    }

    .hm-course-placeholder::after {
        content: "FAST CARE INTERNATIONAL";
        color: var(--hm-green-dark);
        font-size: .48rem;
        font-weight: 900;
        letter-spacing: .65px;
    }

@media (max-width: 767.98px) {
    .hm-course-image,
    .hm-course-placeholder {
        height: 195px;
        min-height: 195px;
    }
}

@media (max-width: 575.98px) {
    .hm-course-image,
    .hm-course-placeholder {
        height: 185px;
        min-height: 185px;
    }

        .hm-course-placeholder i {
            width: 52px;
            height: 52px;
            flex-basis: 52px;
            font-size: 1.3rem;
        }
}
