/* ============================================
   Home New Hero
   ============================================ */

.new-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 112px;
    isolation: isolate;
}

.new-hero-section::before,
.new-hero-section::after {
    content: "";
    position: absolute;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    z-index: 1;
}

.new-hero-section::before {
    top: 18px;
    left: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(46, 138, 110, 0.16) 0%, rgba(46, 138, 110, 0) 72%);
}

.new-hero-section::after {
    right: -120px;
    bottom: -150px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(239, 241, 244, 0.88) 0%, rgba(239, 241, 244, 0) 76%);
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(46, 138, 110, 0.31) 0%, rgba(46, 138, 110, 0.08) 31%, #ffffff 100%);
    z-index: 0;
}

.hero-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(95deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.14) 43%, rgba(255, 255, 255, 0.04) 100%),
        /* url("../imgs/sahla-plus/Group185.png"),
        url("../imgs/sahla-plus/hero-pattern.svg"),
        url("../imgs/sahla-plus/hero-pattern.svg") */
    ;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%, 780px auto, 118px 118px, 88px 88px;
    background-position: center, 48px 96px, 63% 26%, 58% 62%;
    opacity: 0.28;
    z-index: 1;
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 3;
}

.min-vh-hero {
    min-height: calc(100vh - 112px - 58px);
}

.hero-text-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-width: 0;
    z-index: 4;
}

.hero-text-content {
    max-width: 720px;
    width: 100%;
    min-width: 0;
    padding: 28px 0 54px;
}

.hero-main-title {
    margin: 10px 0 12px;
    font-size: clamp(1.2rem, 5vw, 3rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -1.7px;
    color: #171717;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
}

.hero-title-highlight {
    color: #2e8a6e;
}

.hero-accent-text {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 2.1vw, 1.5rem);
    /* line-height: 1.45; */
    font-weight: 600;
    color: #8a8a8a;
}

.hero-accent-highlight {
    color: #2e8a6e;
    font-weight: 800;
}

.hero-desc-text {
    max-width: 545px;
    margin: 0 0 34px;
    font-size: 1.1rem;
    line-height: 1.75;
    font-weight: 500;
    color: #3F3F46;
}

.hero-actions {
    gap: 14px;
}

.hero-btn-primary,
.hero-btn-outline {
    min-height: 56px;
    padding: 0 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.hero-btn-primary {
    background: #2e8a6e;
    border: 1px solid #2e8a6e;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(46, 138, 110, 0.18);
}

.hero-btn-primary:hover {
    background: #24745c;
    border-color: #24745c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(46, 138, 110, 0.22);
}

.hero-btn-outline {
    background: #ffffff;
    border: 1px solid #d7ddde;
    color: #111827;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.hero-btn-outline:hover {
    background: #f8fafb;
    border-color: #c5cccc;
    color: #111827;
    transform: translateY(-1px);
}

.hero-image-col {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-image-wrapper {
    position: relative;
    width: min(100%, 586px);
    aspect-ratio: 586 / 504;
    max-width: 586px;
    margin: 0 auto;
    overflow: visible;
}

.hero-plus-bg {
    position: absolute;
    top: -3.82%;
    left: 1.61%;
    width: 750px;
    height: 550px;
    object-fit: cover;
    object-position: left top;
    display: block;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    opacity: 0.4;
    /* Fade the bottom of the image to transparent */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 78%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Fallback overlay when CSS mask isn't supported: fade to the page background */
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255 255 255 / 0%) 100%);
    z-index: 2;
}

.hero-main-image {
    position: absolute;
    top: 4.96%;
    left: 6.31%;
    width: 72.53%;
    height: 95.04%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(19, 48, 38, 0.16));
    z-index: 3;
}

html[dir="ltr"] .hero-main-image,
html[dir="ltr"] .hero-plus-bg {
    transform: scaleX(-1);
}

html[dir="rtl"] .hero-main-image,
html[dir="rtl"] .hero-plus-bg {
    transform: scaleX(1);
}

.hero-bubble {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    color: #474747;
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    animation: bubbleFloat 4.2s ease-in-out infinite;
}

.hero-bubble::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.96);
    transform: rotate(45deg);
    border-radius: 3px;
}

.hero-bubble-1 {
    top: 0;
    left: 7.68%;
}

.hero-bubble-1::after {
    right: 26px;
    bottom: -5px;
}

.hero-bubble-2 {
    top: 32.74%;
    right: 5.29%;
}

.hero-bubble-2::after {
    left: 28px;
    bottom: -5px;
}

.hero-bubble-3 {
    right: 0;
    bottom: 20.63%;
}

.hero-bubble-3::after {
    right: 28px;
    bottom: -5px;
}

.hero-bubble-4 {
    left: 0;
    bottom: 13.69%;
}

.hero-bubble-4::after {
    left: 28px;
    bottom: -5px;
}

@keyframes bubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-ticker-bar {
    position: relative;
    z-index: 6;
    width: 100%;
    overflow: hidden;
    padding: 14px 0;
}

.hero-ticker-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background-image: url("../imgs/sahla-plus/Group185.png"); */
    background-repeat: repeat-x;
    background-size: 410px auto;
    background-position: left center;
    /* opacity: 0.065; */
    pointer-events: none;
}

.hero-ticker-bar .ticker-icon {
    width: 30px;
    height: 30px;
}

.hero-ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 34s linear infinite;
    position: relative;
    z-index: 1;
}

.hero-ticker-track:hover {
    animation-play-state: paused;
}

.hero-ticker-group {
    display: flex;
    align-items: center;
    gap: 34px;
    padding-inline-end: 34px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color:  #474747;
    white-space: nowrap;
}

.ticker-item img {
    /* opacity: 70%; */
}


.ticker-icon,
.ticker-heart {
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

@media (min-width: 1400px) {
    .hero-text-content {
        max-width: 780px;
    }
}

@media (min-width: 1100px) and (max-width: 1250px) {
    .hero-shell .row {
        --bs-gutter-x: 4.25rem;
    }

    .hero-text-content {
        max-width: 560px;
    }

    .hero-main-title {
        font-size: 2.45rem;
        line-height: 1.12;
        white-space: normal;
    }

    .hero-accent-text {
        font-size: 1.22rem;
        line-height: 1.4;
    }

    .hero-desc-text {
        max-width: 500px;
        font-size: 1rem;
    }

    .hero-image-wrapper {
        max-width: 500px;
    }
}

@media (min-width: 992px) and (max-width: 1099.98px) {
    .hero-shell .row {
        --bs-gutter-x: 3.5rem;
    }

    .hero-text-content {
        max-width: 500px;
    }

    .hero-main-title {
        font-size: 2.1rem;
        line-height: 1.14;
        white-space: normal;
    }

    .hero-accent-text {
        font-size: 1.08rem;
        line-height: 1.35;
    }

    .hero-desc-text {
        max-width: 460px;
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .hero-image-wrapper {
        max-width: 460px;
    }
}

@media (max-width: 1199.98px) {
    .hero-bubble-1 {
        left: 6%;
    }

    .hero-bubble-4 {
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .new-hero-section {
        min-height: auto;
        padding-top: 36px;
    }

    .new-hero-section::before {
        width: 320px;
        height: 320px;
        left: -120px;
    }

    .hero-pattern-overlay {
        background-size: 100% 100%, 520px auto, 88px 88px, 66px 66px;
        background-position: center, 8px 82px, 76% 20%, 66% 58%;
        opacity: 0.2;
    }

    .min-vh-hero {
        min-height: auto;
        padding: 24px 0 18px;
    }

    .hero-text-col,
    .hero-image-col {
        justify-content: center;
    }

    .hero-text-content {
        max-width: 100%;
        text-align: center;
        padding: 20px 0 12px;
    }

    .hero-desc-text {
        max-width: 100%;
        margin-inline: auto;
        font-size: 1.02rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 440px;
    }

    .hero-bubble {
        font-size: 0.8rem;
        min-height: 42px;
        padding: 10px 14px;
    }

    .hero-bubble-1 {
        top: 1.6%;
        left: 4%;
    }

    .hero-bubble-2 {
        top: 29%;
        right: 2%;
    }

    .hero-bubble-3 {
        right: 0;
        bottom: 19%;
    }

    .hero-bubble-4 {
        left: 0;
        bottom: 11%;
    }
}

@media (max-width: 767.98px) {
    .hero-main-title {
        font-size: 2.25rem;
        letter-spacing: -1.2px;
    }

    .hero-accent-text {
        font-size: 1.18rem;
    }

    .hero-desc-text {
        font-size: 0.94rem;
        line-height: 1.8;
        margin-bottom: 26px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
    }

    .hero-image-wrapper {
        max-width: 320px;
    }

    .hero-bubble-1,
    .hero-bubble-2,
    .hero-bubble-3,
    .hero-bubble-4 {
        font-size: 0.72rem;
        min-height: 38px;
        padding: 9px 12px;
    }

    .hero-bubble-1 {
        top: -3%;
        left: 2%;
    }

    .hero-bubble-2 {
        top: 25%;
        right: -3%;
    }

    .hero-bubble-3 {
        bottom: 30%;
        right: -2%;
    }

    .hero-bubble-4 {
        bottom: 5%;
        left: 0%;
    }

    .ticker-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .new-hero-section {
        padding-top: 24px;
    }

    .hero-main-title {
        font-size: 1.95rem;
    }

    .hero-accent-text {
        font-size: 1rem;
    }

    .hero-image-wrapper {
        max-width: 280px;
    }
}
