/* ---- Font faces ---- */

@font-face {
    font-family: "Host Grotesk Light";
    src: url("../fonts/Host_Grotesk/HostGrotesk-Light.ttf");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk Light Italic";
    src: url("../fonts/Host_Grotesk/HostGrotesk-LightItalic.ttf");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-Regular.ttf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-Italic.ttf");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-Medium.ttf");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-MediumItalic.ttf");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-SemiBold.ttf");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-SemiBoldItalic.ttf");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-Bold.ttf");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-BoldItalic.ttf");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-ExtraBold.ttf");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/Host_Grotesk/HostGrotesk-ExtraBoldItalic.ttf");
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Basote";
    src: url("../fonts/Basote/Basote.ttf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---- Default font ---- */

body {
    font-family: "Host Grotesk", sans-serif;
}

/* ---- Type scale ---- */

.title_15 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
}

.title_16 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
}

.title_18 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.title_18-bold {
    font-family: "Host Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.title_20 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 28px;
}

.title_22-Basote {
    font-family: "Basote", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

.title_22 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}
.title_24{
    font-family: "Basote", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    color: #010720;
}
.title_28 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 34px;
}

.title_30 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 40px;
}

.title_36 {
    font-family: "Basote", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
}

.title_32 {
    font-family: "Basote", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
}

.title_45 {
    font-family: "Basote", sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 50px;
}

.title_50 {
    font-family: "Host Grotesk", sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 60px;
}

#menu-toggle-btn .hamburger-line {
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

#menu-toggle-btn.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#menu-toggle-btn.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle-btn.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Mobile menu overlay */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: #ffffff;
    overflow-y: auto;
}

#mobile-menu.menu-open {
    display: block;
}

.page-hero-bg {
    background-image: url('../images/Imazhe/bg/bg.webp');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

@media (max-width: 767px) {
    .page-hero-bg {
        background-image: url('../images/Imazhe/bg/bg-mob.webp');
    }
}



@media (max-width: 767px) {

    .title_45 {
        font-size: 24px;
        line-height: 30px;
    }

    .title_32 {
        font-size: 20px;
        line-height: 28px;
    }

    .title_36 {
        font-size: 20px;
        line-height: 24px;
    }
    .title_28{
        font-size: 20px;
        line-height: 24px;
    }
    .title_22{
        font-size: 16px;
        line-height: 20px;
    }
    .title_24{
        font-size: 16px;
        line-height: 20px;
    }   
}
/* ---- Carousels (all pages): [data-carousel] + .cards-track, driven by footer.php ---- */
/* Hide scrollbar on the carousel track but keep it scrollable */
.cards-track::-webkit-scrollbar {
    display: none;
}

.cards-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    /* Stop at the first/last card: no bounce, and no browser back/forward swipe */
    overscroll-behavior-x: contain;
}

.cards-track>* {
    scroll-snap-align: start;
}

.cards-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.carousel-arrow {
    transition: transform 0.15s ease;
    background-color: transparent;
    appearance: none;
    border: none;
    padding: 0;
}

.carousel-arrow:hover,
.carousel-arrow:focus,
.carousel-arrow:focus-visible {
    background-color: transparent;
    outline: none;
}

.carousel-arrow:active {
    transform: scale(0.94);
}

/* Gray arrow = can scroll that way, white arrow = reached the end */
.carousel-arrow .arrow-inactive,
.carousel-arrow.is-disabled .arrow-active {
    display: none;
}

.carousel-arrow.is-disabled .arrow-inactive {
    display: block;
}

.carousel-arrow.is-disabled {
    cursor: default;
}

.carousel-arrow.is-disabled:active {
    transform: none;
}

/* ---- Header: mobile layout (all pages) ---- */
@media (max-width: 640px) {
    header nav {
        padding: 10px 21px 0 !important;
    }

    header nav img {
        width: 76px !important;
        height: auto !important;
        margin-right: 0 !important;
    }

    #menu-toggle-btn {
        width: 31px !important;
        height: 31px !important;
        margin-right: 0 !important;
        gap: 5px !important;
    }

    #menu-toggle-btn .hamburger-line {
        width: 23px !important;
        height: 2px !important;
    }
}

/* ---- Footer: mobile layout (all pages) ---- */
@media (max-width: 767px) {
    footer {
        padding: 40px 30px 24px !important;
    }

    /* Brand, Insights | Main Pages, Contact */
    footer > div > div:first-child {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 24px;
        row-gap: 32px;
    }

    footer > div > div:first-child > div:nth-child(1),
    footer > div > div:first-child > div:nth-child(4) {
        grid-column: 1 / -1;
    }

    /* Brand block centered */
    footer > div > div:first-child > div:nth-child(1) {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer > div > div:first-child > div:nth-child(1) > a > img {
        width: 120px;
        padding-bottom: 20px;
    }

    footer > div > div:first-child > div:nth-child(1) > p {
        max-width: 280px;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 18px;
    }

    footer > div > div:first-child > div:nth-child(1) > div {
        gap: 14px;
    }

    footer > div > div:first-child > div:nth-child(1) > div > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 10px;
    }

    footer > div > div:first-child > div:nth-child(1) > div > a img {
        width: 20px;
        height: 20px;
    }

    /* Column headings and links */
    footer .title_18-bold {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 22px;
    }

    footer ul {
        gap: 8px !important;
    }

    footer .title_15 {
        font-size: 13px;
        line-height: 20px;
    }

    footer ul a img {
        width: 14px;
        height: 14px;
    }

    footer ul a {
        gap: 10px !important;
    }

    /* Contact */
    footer > div > div:first-child > div:nth-child(4) > div:last-child {
        gap: 12px;
    }

    footer > div > div:first-child > div:nth-child(4) img {
        width: 18px;
        height: 18px;
    }

    /* Bottom bar left aligned */
    footer > div > div:last-child {
        margin-top: 32px;
        padding-top: 20px;
        align-items: flex-start;
        gap: 8px;
    }

    footer > div > div:last-child > div {
        gap: 12px;
    }
}
