/* ============================================================
   Homzready — New Theme (Navbar + Home Hero)
   Single shared file for EN (LTR) and AR (RTL).
   RTL rules live under [dir="rtl"] at the bottom of each block.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    --hz-navy: #0e2c4f;
    --hz-navy-deep: #0b2440;
    --hz-teal: #06b2bb;
    --hz-teal-dark: #0f989f;
    --hz-yellow: #fcd137;
    --hz-orange: #f5a31c;
    --hz-border: #e6e9ef;
    --hz-text-muted: #8b97a8;
}

/* ============================== NAVBAR ============================== */

.navbar-home {
    background: #fff;
}

.navbar-home .sps {
    background: #fff !important;
    box-shadow: 0 2px 14px rgba(11, 36, 64, .07);
    padding-top: 6px;
    padding-bottom: 6px;
}

/* the old top_header (80px) was removed — pin the fixed navbar to the top */
.navbar-home .sps--abv {
    top: 0;
    padding-bottom: 6px;
}

.navbar-home .navbar-nav .nav-item .nav-link {
    color: var(--hz-navy) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.navbar-home .navbar-nav .nav-item .nav-link:hover {
    color: var(--hz-teal) !important;
}

/* right-side actions cluster */
.hz-nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-inline-start: auto;
}

.hz-nav-actions .nav-item {
    display: flex;
    align-items: center;
}

.hz-join-link {
    white-space: nowrap;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.hz-btn-outline {
    display: inline-block;
    padding: 9px 22px;
    border: 1.5px solid var(--hz-teal);
    color: var(--hz-teal);
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all .2s ease;
}

.hz-btn-outline:hover {
    background: var(--hz-teal);
    color: #fff;
    text-decoration: none;
}

.hz-btn-lang {
    display: inline-block;
    padding: 9px 14px;
    background: var(--hz-teal);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: all .2s ease;
}

.hz-btn-lang:hover {
    background: var(--hz-teal-dark);
    color: #fff;
    text-decoration: none;
}

.hz-btn-solid {
    display: inline-block;
    padding: 9px 18px;
    background: var(--hz-teal);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: background .2s ease;
}

.hz-btn-solid:hover {
    background: var(--hz-teal-dark);
    text-decoration: none;
}

/* header layout: brand | links (collapsible) | actions | toggler */
.hz-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hz-nav-collapse {
    flex: 1 1 auto;
}

@media (min-width: 992px) {
    .hz-nav-collapse {
        justify-content: center;
    }

    /* center the services megamenu under the bar (it positions against
       the fixed .sps wrapper, which spans the full viewport width) */
    .hz-nav-links .menu-dropdown .submenu {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 720px !important;
        max-width: 92vw;
    }
}

.hz-toggler {
    position: static !important;
    margin: 0 !important;
    right: auto !important;
    flex: 0 0 auto;
}

/* auth icons (chat / notifications) inside the actions cluster */
.hz-nav-actions .notification_btn {
    position: relative;
}

.hz-nav-actions .notification_btn > .nav-link,
.hz-nav-actions .notification_btn #notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--hz-border);
    border-radius: 50%;
    padding: 0 !important;
    color: var(--hz-navy) !important;
}

.hz-nav-actions .notification_btn ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* the notifications panel is toggled with .d-none by JS, not Bootstrap .show */
.ShowNotifications:not(.d-none) {
    display: block;
}

/* avatar dropdown */
.hz-nav-actions .user-data-parent {
    margin: 0 !important;
}

.hz-nav-actions .user-data-parent > .nav-link span {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* ---------- mobile header ---------- */
@media (max-width: 991.98px) {
    .hz-nav-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .hz-nav-inner .navbar-brand {
        order: 0;
    }

    .hz-nav-inner .logo {
        max-width: 150px !important;
    }

    .hz-nav-actions {
        order: 1;
        margin-inline-start: auto;
        gap: 8px;
        padding: 0;
    }

    .hz-toggler {
        order: 2;
    }

    .hz-nav-collapse {
        order: 3;
        flex-basis: 100%;
        text-align: start !important;
        background: #fff;
        border-top: 1px solid var(--hz-border);
        margin-top: 6px;
        padding: 8px 6px 14px;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .hz-nav-links .nav-item {
        padding: 6px 4px;
    }

    /* hide the user's name next to the avatar on small screens */
    .hz-nav-actions .user-data-parent > .nav-link span {
        display: none;
    }

    .hz-nav-actions .notification_btn > .nav-link,
    .hz-nav-actions .notification_btn #notifications {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .hz-btn-lang {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* services submenu opens inline inside the collapsed menu */
    .hz-nav-links .menu-dropdown .submenu {
        display: none;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100%;
        margin: 8px 0 4px !important;
        padding: 14px 16px;
        background: #f6f9fb;
        border-radius: 10px;
        border-top: 3px solid var(--hz-teal);
        border-bottom: none;
        box-shadow: none;
    }

    .hz-nav-links .menu-dropdown.hz-submenu-open .submenu {
        display: flex;
    }

    /* Bootstrap makes navbar dropdown-menus static below lg, which pushes
       them into the header row and breaks it — keep them anchored panels */
    .hz-nav-actions .dropdown-menu,
    .hz-nav-actions .ShowNotifications {
        position: absolute !important;
        top: calc(100% + 10px);
        inset-inline-end: 0 !important;
        inset-inline-start: auto !important;
        left: auto;
        float: none;
        margin: 0 !important;
        width: 260px;
        max-width: calc(100vw - 24px);
        z-index: 1050;
        background: #fff;
        border: 1px solid var(--hz-border);
        border-radius: 10px;
        box-shadow: 0 14px 34px rgba(11, 36, 64, .16);
    }

    /* physical left/right only — logical inset-inline-* would flip in RTL
       and land the menu on the wrong side */
    .hz-nav-actions .user-data-parent .dropdown-menu.user-data {
        position: fixed !important;
        top: 70px !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        will-change: auto !important;
    }

    html[dir="rtl"] .hz-nav-actions .user-data-parent .dropdown-menu.user-data {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
}

/* very small screens: tighten the header so nothing wraps */
@media (max-width: 575px) {
    .hz-nav-inner {
        gap: 6px;
    }

    .hz-nav-inner .logo {
        max-width: 116px !important;
    }

    .hz-nav-actions {
        gap: 6px;
    }

    .hz-nav-actions .user-data-parent > .nav-link > i {
        display: none;
    }

    .hz-nav-actions .user-data-parent img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50%;
        object-fit: cover;
    }

    .hz-nav-actions .notification_btn > .nav-link,
    .hz-nav-actions .notification_btn #notifications {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hz-btn-lang {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* =============================== HERO =============================== */

.hz-hero {
    position: relative;
    background-color: var(--hz-navy-deep);
    background-size: cover;
    background-position: center;
    /* top padding clears the fixed navbar */
    padding: 165px 0 150px;
    overflow: hidden;
    /* bottom edge dips at the center and rises at the sides */
    border-radius: 0 0 50% 50% / 0 0 80px 80px;
}

.hz-hero-container {
    position: relative;
    z-index: 2;
}

.hz-hero-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    padding: 9px 22px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}

.hz-badge-accent {
    color: var(--hz-teal);
    font-weight: 800;
}

.hz-hero-title {
    color: #fff;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 54px;
    line-height: 1.18;
    font-weight: 600;
    margin: 28px 0 18px;
    max-width: 620px;
}

.hz-hero-title em {
    color: var(--hz-teal);
    font-style: italic;
}

.hz-hero-desc {
    color: rgba(255, 255, 255, .75);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* search */
.hz-hero-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    max-width: 640px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.hz-search-select {
    border: none;
    outline: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: var(--hz-navy);
    padding: 10px 14px;
    max-width: 170px;
    border-inline-end: 1px solid var(--hz-border);
    cursor: pointer;
}

.hz-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--hz-navy);
}

.hz-search-input::placeholder {
    color: #a9b3c1;
}

.hz-search-btn {
    background: var(--hz-teal);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s ease;
}

.hz-search-btn:hover {
    background: var(--hz-teal-dark);
}

.hz-search-btn i {
    margin-inline-start: 6px;
    font-size: 13px;
}

/* stats */
.hz-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
}

/* keep all four stats on one line on desktop (row may run
   slightly past the column into the gap before the card) */
@media (min-width: 992px) {
    .hz-hero-stats {
        flex-wrap: nowrap;
        width: max-content;
    }
}

.hz-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    white-space: nowrap;
}

.hz-stat-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}

.hz-stat-star i {
    color: var(--hz-yellow);
}

.hz-stat-new {
    background: var(--hz-yellow);
    color: var(--hz-navy-deep);
    font-size: 10px;
    font-weight: 800;
    border-radius: 999px;
    padding: 5px 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hz-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.hz-stat-text b {
    font-size: 16px;
}

.hz-stat-text small {
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
}

/* finance card */
.hz-finance-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    max-width: 380px;
    margin-inline-start: auto;
}

.hz-card-eyebrow {
    color: var(--hz-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hz-card-title {
    color: var(--hz-navy-deep);
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    margin: 14px 0 20px;
}

.hz-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.hz-card-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #33445c;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 13px;
}

.hz-card-benefits li i {
    color: var(--hz-teal);
    font-size: 16px;
    flex: 0 0 auto;
}

.hz-apply-btn {
    display: block;
    text-align: center;
    background: var(--hz-teal);
    color: #fff !important;
    border-radius: 10px;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    transition: background .2s ease;
}

.hz-apply-btn:hover {
    background: var(--hz-teal-dark);
    text-decoration: none;
}

.hz-apply-btn i {
    margin-inline-start: 8px;
}

.hz-partner-note {
    text-align: center;
    color: var(--hz-text-muted);
    font-size: 12px;
    margin: 18px 0 10px;
}

.hz-partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.hz-logo-takka {
    color: #3e9b3e;
    font-weight: 800;
    font-size: 20px;
    text-transform: lowercase;
}

.hz-logo-adib {
    color: #12356b;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}

.hz-logo-adib i {
    color: #4d8fd1;
    font-size: 12px;
}


/* ======================== SERVICES SLIDER =========================== */

.hz-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.hz-section-title {
    color: var(--hz-navy-deep);
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

.hz-see-all {
    color: var(--hz-navy);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.hz-see-all:hover {
    color: var(--hz-teal);
    text-decoration: none;
}

.hz-see-all i {
    font-size: 12px;
    margin-inline-start: 6px;
}

.hz-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    /* gradient shows as fallback when the service has no image */
    background: linear-gradient(135deg, var(--hz-navy-deep) 0%, #14506e 60%, var(--hz-teal-dark) 130%);
    background-size: cover;
    background-position: center;
    padding: 20px 16px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hz-service-card:hover {
    box-shadow: 0 14px 30px rgba(11, 36, 64, .18);
    text-decoration: none;
}

.hz-service-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: start;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.hz-service-cta {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.hz-service-cta i {
    font-size: 12px;
    margin-inline-start: 6px;
}

/* small screens only: a centered link under the cards to the full list */
.hz-services-cta {
    display: none;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 991px) {
    .hz-services-cta {
        display: block;
    }
}

/* ============================ OFFERS ================================ */

.hz-offer-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hz-navy-deep);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hz-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 36, 64, .18);
    text-decoration: none;
}

.hz-offer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* the images have the solid color panel on the left — mirror them in RTL
   so the panel stays under the text */
.hz-offer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    /* the artwork only leaves the color panel for text */
    max-width: 70%;
    padding: 22px 20px;
    /* the card height is locked by aspect-ratio, so long copy must be
       clipped here instead of spilling over the artwork */
    overflow: hidden;
}

.hz-offer-title {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    /* max 2 lines, then ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.hz-offer-desc {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
    /* max 4 lines — fills the space left between the title and the CTA */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.hz-offer-cta {
    margin-top: auto;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.hz-offer-cta i {
    font-size: 12px;
    margin-inline-start: 6px;
}

/* ====================== HOW HOMZREADY HELPS YOU ===================== */

.hz-how-title {
    text-align: center;
    margin-bottom: 38px;
}

.hz-steps {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.hz-step-card {
    position: relative;
    flex: 1;
    background: #fff;
    border: 1px solid var(--hz-border);
    border-radius: 14px;
    padding: 30px 18px 24px;
    text-align: center;
}

.hz-step-num {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    width: 26px;
    height: 26px;
    background: var(--hz-teal);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hz-step-icon {
    display: block;
    font-size: 34px;
    color: var(--hz-navy);
    margin-bottom: 16px;
}

.hz-step-title {
    color: var(--hz-navy-deep);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hz-step-desc {
    color: var(--hz-text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.hz-step-arrow {
    align-self: center;
    color: #b9c2cf;
    font-size: 20px;
    flex: 0 0 auto;
}

.hz-how-cta {
    text-align: center;
    margin-top: 32px;
}

.hz-how-cta-text {
    color: var(--hz-text-muted);
    font-size: 15px;
    margin: 0 0 8px;
}

.hz-how-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hz-teal);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.hz-how-cta-link:hover,
.hz-how-cta-link:focus {
    color: var(--hz-teal-dark);
    text-decoration: none;
}

.hz-how-cta-link i {
    font-size: 14px;
}

/* small-screen card: dark overlay on a background image, titles only */

.hz-how-mobile {
    display: none;
}

.hz-how-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background-color: var(--hz-navy-deep);
    background-size: cover;
    background-position: center;
}

.hz-how-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 36, 64, .3) 0%, rgba(11, 36, 64, .2) 40%, rgba(11, 36, 64, .4) 100%);
}

.hz-how-card-inner {
    position: relative;
    padding: 26px 18px 22px;
}

.hz-how-eyebrow {
    display: block;
    color: var(--hz-teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hz-how-card-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 22px;
}

.hz-how-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.hz-how-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hz-how-row:last-child {
    margin-bottom: 0;
}

.hz-how-num {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--hz-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hz-how-row-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.hz-how-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--hz-teal);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.hz-how-btn:hover,
.hz-how-btn:focus {
    background: var(--hz-teal-dark);
    color: #fff;
}

.hz-how-btn i {
    font-size: 13px;
}

@media (max-width: 991px) {
    .hz-how-desktop {
        display: none !important;
    }

    .hz-how-mobile {
        display: block;
    }
}

/* ========================= PROJECTS SLIDER ========================== */

#hz-projects-slider .owl-wrapper {
    display: flex !important;
    align-items: stretch;
}

#hz-projects-slider .owl-item {
    display: flex;
    height: auto;
}

#hz-projects-slider .owl-item > .item {
    padding: 0 8px;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.hz-project-card {
    background: #fff;
    border: 1px solid var(--hz-border);
    border-radius: 14px;
    padding: 8px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hz-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(11, 36, 64, .12);
}

.hz-project-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hz-navy-deep) 0%, #14506e 60%, var(--hz-teal-dark) 130%);
}

.hz-project-media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.hz-project-media img,
.hz-project-media .hz-project-noimg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hz-project-like {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.hz-project-like i {
    color: var(--hz-navy);
    font-size: 14px;
}

.hz-project-body {
    padding: 12px 8px 8px;
    flex: 1 1 auto;
}

.hz-project-name {
    display: block;
    color: var(--hz-navy-deep);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}

.hz-project-name:hover {
    color: var(--hz-teal);
    text-decoration: none;
}

.hz-project-loc {
    color: var(--hz-text-muted);
    font-size: 12.5px;
    margin: 0 0 10px;
}

.hz-project-meta {
    font-size: 12.5px;
    line-height: 1.5;
    color: #33445c;
    margin: 0;
    border-top: 1px solid var(--hz-border);
    padding-top: 10px;
}

.hz-project-meta a {
    color: var(--hz-teal);
    font-weight: 600;
}

.hz-project-meta a:hover {
    text-decoration: none;
    color: var(--hz-teal-dark);
}

.hz-meta-dot {
    color: var(--hz-text-muted);
    margin: 0 3px;
}

/* ============================ JOIN CARDS ============================ */

.hz-join-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-radius: 16px;
    padding: 26px 24px;
    height: 100%;
}

.hz-join-mint {
    background: #e9f7f6;
}

.hz-join-cream {
    background: #fdf5e3;
}

.hz-join-icon {
    flex: 0 0 auto;
    font-size: 40px;
    line-height: 1;
    margin-top: 4px;
}

.hz-join-mint .hz-join-icon {
    color: var(--hz-teal-dark);
}

.hz-join-cream .hz-join-icon {
    color: var(--hz-orange);
}

.hz-join-title {
    color: var(--hz-navy-deep);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hz-join-desc {
    color: #4a5b70;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hz-join-btn {
    display: inline-block;
    color: #fff !important;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    transition: filter .2s ease;
}

.hz-join-btn:hover {
    text-decoration: none;
    filter: brightness(1.08);
}

.hz-join-mint .hz-join-btn {
    background: var(--hz-teal-dark);
}

.hz-join-cream .hz-join-btn {
    background: var(--hz-orange);
}

.hz-join-btn i {
    font-size: 12px;
    margin-inline-start: 6px;
}

/* ==================== TRUSTED PARTNERS & APP ======================== */

.hz-title-accent {
    color: var(--hz-teal);
}

#hz-partners-slider .item {
    padding: 0 8px;
}

.hz-partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--hz-border);
    border-radius: 14px;
    height: 92px;
    padding: 16px 22px;
}

.hz-partner-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* tall white card on the side holding the phones; slider and panel clear it */
.hz-partners-wrap {
    position: relative;
}

.hz-phone-card {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: visible;
}

.hz-phone-card img {
    width: 300px;
    max-width: none;
    display: block;
    /* phones pop slightly above the card like the mock */
    margin-top: -24px;
}

/* owl sets width:100% and forces direction:ltr on itself, so use physical
   margins with an RTL override instead of margin-inline-start */
#hz-partners-slider {
    width: calc(100% - 334px) !important;
    margin-left: 334px;
}

[dir="rtl"] #hz-partners-slider {
    margin-left: 0;
    margin-right: 334px;
}

.hz-app-panel {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #e7f4f3;
    border-radius: 18px;
    padding: 30px 34px;
    padding-inline-start: 350px;
    margin-top: 26px;
}

.hz-app-content {
    flex: 1;
    min-width: 220px;
}

.hz-app-title {
    color: var(--hz-navy-deep);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    max-width: 300px;
}

.hz-app-desc {
    color: #4a5b70;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    max-width: 360px;
}

.hz-app-stores {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hz-app-stores img {
    width: 150px;
    display: block;
}

.hz-app-qr {
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

.hz-app-qr img {
    width: 108px;
    display: block;
}

@media (max-width: 991px) {
    .hz-phone-card {
        position: static;
        width: 100%;
        margin-bottom: 20px;
        padding: 16px 0;
    }

    .hz-phone-card img {
        width: 260px;
        margin-top: 0;
    }

    #hz-partners-slider,
    [dir="rtl"] #hz-partners-slider {
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .hz-app-panel {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 30px 24px;
    }

    .hz-app-title,
    .hz-app-desc {
        max-width: 100%;
    }

    .hz-app-stores {
        flex-direction: row;
    }

    .hz-offer-card {
        aspect-ratio: 2/1;
    }

    .hz-offer-content {
        padding: 16px;
    }

    .hz-offer-title {
        font-size: 19px;
        margin-bottom: 6px;
    }

    .hz-offer-desc {
        margin-bottom: 6px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* three narrow cards in a row: the shortest card of all, so tighten
   the type and drop the description to a single line */
@media (min-width: 768px) and (max-width: 991px) {
    .hz-offer-content {
        padding: 14px 12px;
        max-width: 78%;
    }

    .hz-offer-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .hz-offer-desc {
        font-size: 12px;
        margin-bottom: 6px;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .hz-offer-cta {
        font-size: 13px;
    }
}

/* ========================== NEWSLETTER CTA ========================== */

.hz-newsletter {
    display: flex;
    align-items: stretch;
    background: #f5b511;
}

.hz-newsletter-main {
    flex: 1;
    display: flex;
    align-items: center;
    /* keep lead + form as one balanced group so wide screens
       don't open a huge empty gap in the middle */
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px clamp(40px, 6vw, 120px);
    padding: 18px 40px;
}

.hz-newsletter-lead {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* envelope inside an outlined rounded box like the mock */
.hz-newsletter-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 2px solid var(--hz-navy-deep);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hz-navy-deep);
    font-size: 20px;
    line-height: 1;
}

.hz-newsletter-text {
    color: var(--hz-navy-deep);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
}

.hz-newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 400px;
    min-width: 260px;
    flex-wrap: wrap;
}

.hz-newsletter-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: none;
    outline: none;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 13.5px;
    color: var(--hz-navy);
}

.hz-newsletter-input::placeholder {
    color: #a9b3c1;
}

.hz-newsletter-btn {
    height: 44px;
    border: none;
    border-radius: 8px;
    background: var(--hz-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 26px;
    white-space: nowrap;
    transition: background .2s ease;
}

.hz-newsletter-btn:hover {
    background: var(--hz-teal-dark);
}

.hz-newsletter-img {
    flex: 0 0 28%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .hz-newsletter-img {
        display: none;
    }

    .hz-newsletter-main {
        text-align: center;
        justify-content: center;
    }

    .hz-newsletter-form {
        flex: 1 1 100%;
    }
}

/* =============================== FOOTER ============================= */

.hz-footer {
    padding-bottom: 0;
}

.hz-footer p {
    font-size: 13px;
    line-height: 1.8;
    text-align: start;
    padding-right: 0;
}

.hz-footer .box h4 {
    font-size: 15px;
}

.hz-footer .box ul {
    margin-top: 28px;
}

.hz-footer .box ul li {
    font-size: 14px;
    margin-bottom: 12px;
}

.hz-footer .box ul li a {
    font-size: 13.5px;
}

.hz-footer .box ul.social-icon li {
    font-size: 13.5px;
}

.hz-footer-social {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 24px 0 0;
}

.hz-footer-social li a {
    color: #fff;
    font-size: 15px;
    transition: color .2s ease;
}

.hz-footer-social li a:hover {
    color: var(--hz-yellow);
}

/* darker strip with copyright + legal links */
.hz-footer-bottom {
    margin-top: 40px;
    background: rgba(0, 0, 0, .14);
}

.hz-footer-bottom-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.hz-copyright {
    color: #fff;
    font-size: 12.5px;
    margin: 0;
}

.hz-copyright a {
    color: white;
    text-decoration: underline;
    transition: .3s ease-in-out;
}

.hz-copyright a:hover {
    color: var(--hz-yellow);
}

.hz-footer-legal {
    position: absolute;
    inset-inline-end: 15px;
    display: flex;
    gap: 28px;
}

.hz-footer-legal a {
    color: #fff;
    font-size: 12.5px;
    transition: color .2s ease;
}

.hz-footer-legal a:hover {
    color: var(--hz-yellow);
    text-decoration: none;
}

@media (max-width: 767px) {
    .hz-footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }

    .hz-footer-legal {
        position: static;
    }
}

/* ================================ RTL =============================== */

[dir="rtl"] .hz-flip-rtl {
    display: inline-block;
    transform: scaleX(-1);
}

[dir="rtl"] .hz-hero-badge {
    letter-spacing: 0;
}

[dir="rtl"] .hz-card-eyebrow {
    letter-spacing: 0;
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1199px) {
    .hz-hero-title {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .hz-hero {
        padding: 50px 0 120px;
    }

    .hz-hero .row.align-items-center {
        margin-top: 5rem;
    }

    .hz-hero-title {
        font-size: 36px;
    }

    .hz-finance-card {
        margin: 40px auto 0;
    }

    .hz-hero-stats {
        gap: 22px;
    }

}

@media (max-width: 575px) {
    .hz-hero {
        padding: 36px 0 100px;
    }

    .hz-hero-title {
        font-size: 30px;
    }

    .hz-hero-search {
        flex-wrap: wrap;
        gap: 6px;
    }

    .hz-search-select {
        width: 100%;
        max-width: 100%;
        border-inline-end: none;
        border-bottom: 1px solid var(--hz-border);
    }

    .hz-search-input {
        flex: 1 1 auto;
    }

    .hz-search-btn {
        width: 100%;
    }

    .hz-hero-stats {
        gap: 18px 12px;
    }

    .hz-hero-stats .hz-stat {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
        white-space: normal;
    }

    .hz-finance-card {
        padding: 26px 22px;
    }
}
