/* Home (Global) page styles - hero copied from home-bd */
.remark-page--home-global {
    background-color: var(--remark-color-bg);
}

/* Hero */
.remark-home-global-hero.remark-section {
    padding: 100px 24px 0;
    min-height: 780px;
    background-color: var(--remark-color-bg-alt);
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.remark-home-global-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.remark-home-global-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: var(--remark-color-white);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--remark-font-body);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.remark-home-global-hero__title {
    width: clamp(540px, 70vw, 1000px);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--remark-color-primary);
}

.remark-home-global-hero__title-line {
    display: block;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.remark-home-global-hero__subtitle {
    margin: 0;
    width: clamp(360px, 45vw, 540px);
    font-family: var(--remark-font-body);
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.7;
    color: var(--remark-color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.remark-home-global-hero__cta-wrapper {
    display: inline-flex;
}

.remark-home-global-hero__media {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    height: auto;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.remark-home-global-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 48px 48px 16px 16px;
    object-fit: cover;
}

.remark-home-global-hero__title--mobile {
    display: none;
}

/* Brands (copied from Home BD and namespaced for home-global) */
.remark-home-global-brands.remark-section {
    padding: 120px 24px;
    background-color: var(--remark-color-white);
}

.remark-home-global-brands__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.remark-home-global-brands__layout {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.remark-home-global-brands__stats {
    flex: 0 0 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.remark-home-global-brands__card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 28px;
    background: linear-gradient(90deg, #FFF9F8 0%, #FBF1EC 100%);
    box-shadow: none;
}

.remark-home-global-brands__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background-color: var(--remark-color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    flex-shrink: 0;
}

.remark-home-global-brands__icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.remark-home-global-brands__icon span {
    font-family: var(--remark-font-title);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--remark-color-primary);
}

.remark-home-global-brands__card-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.remark-home-global-brands__card-value {
    font-family: var(--remark-font-title);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--remark-color-primary);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.remark-home-global-brands__card-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--remark-color-text-muted);
}

.remark-home-global-brands__content {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.remark-home-global-brands__title {
    margin: 0;
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--remark-color-primary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.remark-home-global-brands__title-line {
    display: block;
}

.remark-home-global-brands__summary {
    margin: 0;
    max-width: 540px;
    font-family: var(--remark-font-body);
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    line-height: 1.6;
    color: var(--remark-color-primary);
}

.remark-home-global-brands__cta-wrapper {
    display: inline-flex;
    align-items: center;
}

/* Logo Marquee */
.remark-home-global-brands__logo-marquee {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    padding: 60px 0;
}

.remark-home-global-brands__logo-row {
    display: flex;
    width: fit-content;
}

.remark-home-global-brands__logo-row--2 {
    margin-top: 20px;
}

.remark-home-global-brands__logo-slide {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
    flex-shrink: 0;
}

.remark-home-global-brands__logo-link {
    display: block;
    text-decoration: none;
}

.remark-home-global-brands__logo-wrapper {
    width: 160px;
    height: 140px;
    border: 1px solid #E3E5EF;
    border-radius: 16px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.remark-home-global-brands__logo-item {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.remark-home-global-brands__logo-item:hover {
    /* intentionally empty - no visual change on hover by default */
}

@media (max-width: 1100px) {
    .remark-home-global-brands__layout {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .remark-home-global-brands__stats {
        width: 100%;
        max-width: 520px;
    }

    .remark-home-global-brands__content {
        align-items: center;
        text-align: center;
    }

    .remark-home-global-brands__summary {
        max-width: 100%;
    }

    .remark-home-global-brands__cta-wrapper {
        justify-content: center;
    }
}

/* Mobile: make logo marquee full-bleed for home-global */
@media (max-width: 640px) {
    .remark-home-global-brands__logo-marquee {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        box-sizing: border-box !important;
    }

    .remark-home-global-brands__logo-row {
        padding-left: 20px;
    }

    .remark-home-global-brands__logo-slide {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Factory (Promo 2) mobile typography & paragraph behavior
   Use the factory block as the closest promo equivalent on home-global. */
@media (max-width: 640px) {
    .remark-home-global-factory__inner {
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .remark-home-global-factory__title {
        font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
        font-size: 28px !important;
        font-weight: 400 !important;
        padding-top: 30px !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        gap: 0 !important;
    }

    .remark-home-global-factory__title-line,
    .remark-home-global-factory__title>span,
    .remark-home-global-factory__title>strong,
    .remark-home-global-factory__title>em {
        display: inline !important;
        white-space: normal !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .remark-home-global-factory__title .remark-home-bd-hero__highlight {
        font-weight: 700 !important;
        -webkit-font-smoothing: antialiased !important;
    }
}

.remark-home-global-brands__card-value-number {
    display: inline-block;
    line-height: 1;
}


.remark-home-global-brands__card-value-text {
    display: inline-block;
    font-family: var(--remark-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--remark-color-text-muted);
}


@media (min-width: 992px) {
    .remark-home-global-hero__image {
        width: 65%;
    }
}

@media (max-width: 991px) {
    .remark-home-global-hero__title--desktop {
        display: none;
    }

    .remark-home-global-hero__title--mobile {
        display: flex;
    }
}

/* Factory (Promo 2) */
.remark-home-global-factory {
    padding: 100px 24px;
    background-color: var(--remark-color-white);
}

.remark-home-global-factory__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 60px;
}

.remark-home-global-factory__content {
    grid-column: 1 / 6;
}

.remark-home-global-factory__media {
    grid-column: 6 / -1;
}

.remark-home-global-factory .remark-home-global-factory__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px 0 0 24px !important;
}

.remark-home-global-factory__badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: #F6F6FA;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--remark-font-body);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.remark-home-global-factory__badge-text {
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.remark-home-global-factory__title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--remark-color-text);
    margin: 0 0 16px;
}

.remark-home-global-factory__subtitle {
    font-family: var(--remark-font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--remark-color-text);
    margin: 0 0 16px;
    line-height: 28px;
}

.remark-home-global-factory__description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--remark-color-text-muted);
    margin: 0;
}

@media (max-width: 991px) {
    .remark-home-global-factory__inner {
        grid-template-columns: 1fr;
    }

    .remark-home-global-factory__content {
        grid-row: 2;
        grid-column: 1;
    }

    .remark-home-global-factory__media {
        grid-row: 1;
        grid-column: 1;
    }

    .remark-home-global-factory .remark-home-global-factory__image {
        border-radius: 24px !important;
    }
}

/* Our Mission section */
.remark-home-global-mission {
    padding: clamp(80px, 12vw, 140px) 24px;
    background-color: #f9f9f9;
    overflow: hidden;
}

/* Force white background when used as a page section variant */
.remark-home-global-mission.remark-section.remark-section--home-global {
    background-color: #ffffff !important;
}

.remark-home-global-mission__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.remark-home-global-mission__content {
    flex: 1;
}

.remark-home-global-mission__title {
    margin: 0 0 24px;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: #101828;
}

.remark-home-global-mission__subtitle {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--remark-color-text-muted);
}

.remark-home-global-mission__media {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: none;
}

.remark-home-global-mission__image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .remark-home-global-mission__inner {
        flex-direction: column;
        gap: 48px;
    }
}

/* Our Vision section */
.remark-home-global-vision {
    padding: clamp(80px, 12vw, 140px) 24px;
    background-color: #ffffff;
    overflow: hidden;
}

.remark-home-global-vision__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.remark-home-global-vision__content {
    flex: 1;
}

.remark-home-global-vision__title {
    margin: 0 0 24px;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: #101828;
}

.remark-home-global-vision__subtitle {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--remark-color-text-muted);
}

.remark-home-global-vision__media {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: none;
}

.remark-home-global-vision__image {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .remark-home-global-vision__inner {
        flex-direction: column;
        gap: 48px;
    }
}

/* Force white backgrounds when used as page sections */
.remark-home-global-vision.remark-section.remark-section--home-global,
.remark-home-global-mission.remark-section.remark-section--home-global {
    background-color: #ffffff !important;
}

/* CTA Banner (Copied from Home BD) */
.remark-home-bd-cta {
    padding: 100px 24px;
    background-color: var(--remark-color-white);
}

.remark-home-bd-cta__inner {
    --remark-home-bd-cta-bg: #00357A;
    max-width: 1180px;
    margin: 0 auto;
    background-color: var(--remark-home-bd-cta-bg);
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.remark-home-bd-cta__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(140% 140% at 80% 20%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.remark-home-bd-cta__media {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.remark-home-bd-cta__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remark-home-bd-cta__content {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 64px 48px 48px !important;
    color: var(--remark-color-white);
    position: relative;
    z-index: 1;
}

.remark-home-bd-cta__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--remark-color-white);
}

.remark-home-bd-cta__description {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    max-width: 440px;
}

.remark-home-bd-cta__cta-wrapper {
    display: inline-flex;
    align-items: center;
}

.remark-home-bd-cta__button {
    background-color: var(--remark-color-white);
    color: var(--remark-color-primary);
}

.remark-home-bd-cta__button .button__label {
    color: var(--remark-color-primary);
}

.remark-home-bd-cta__button .button__label::after {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkuMjQ0NDcgNy4wNjYyM0M5Ljk1NTI5IDYuNTMzMTEgOS45NTUyOSA1LjQ2Njg3IDkuMjQ0NDcgNC45MzM3NUwzLjAyNDc2IDAuMjY4OTcxQzIuMTQ2MTMgLTAuMzkgMC44OTIyODUgMC4yMzY5MjIgMC44OTIyODUgMS4zMzUyMUwwLjg5MjI4NSAxMC42NjQ4QzAuODkyMjg1IDExLjc2MzEgMi4xNDYxMyAxMi4zOSAzLjAyNDc2IDExLjczMUw5LjI0NDQ3IDcuMDY2MjNaIiBmaWxsPSIjRTMzRDNCIi8+PC9zdmc+');
}

.remark-home-bd-cta__button:hover .button__label {
    color: var(--remark-color-white);
}

.remark-home-bd-cta__button:hover .button__label::after {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTkuMjQ0NDcgNy4wNjYyM0M5Ljk1NTI5IDYuNTMzMTEgOS45NTUyOSA1LjQ2Njg3IDkuMjQ0NDcgNC45MzM3NUwzLjAyNDc2IDAuMjY4OTcxQzIuMTQ2MTMgLTAuMzkgMC44OTIyODUgMC4yMzY5MjIgMC44OTIyODUgMS4zMzUyMUwwLjg5MjI4NSAxMC42NjQ4QzAuODkyMjg1IDExLjc2MzEgMi4xNDYxMyAxMi4zOSAzLjAyNDc2IDExLjczMUw5LjI0NDQ3IDcuMDY2MjNaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+');
}

.remark-home-bd-cta__button .button__flair:before {
    background-color: #D71921;
}

.remark-home-bd-cta__shape {
    position: absolute;
    width: 157px;
    height: 157px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 157.06 157.06'%3E%3Crect x='14.33' y='14.33' width='128.39' height='128.39' rx='32' ry='32' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.remark-home-bd-cta__shape--tl {
    top: -60px;
    right: 28%;
    width: 130px;
    height: 130px;
    transform: rotate(45deg);
}

.remark-home-bd-cta__shape--br {
    bottom: -50px;
    right: 40px;
    transform: rotate(45deg);
}

@media (max-width: 640px) {
    .remark-home-bd-cta {
        padding: 80px 20px;
    }

    .remark-home-bd-cta__inner {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 32px;
        text-align: left;
    }

    .remark-home-bd-cta__description {
        max-width: none;
    }
}

/* Hide CTA image on mobile and center content inside CTA section */
@media (max-width: 640px) {

    /* Hide the media block that contains the image */
    body>div.elementor.elementor-12>div.elementor-element.elementor-element-4538244.e-con-full.e-flex.e-con.e-parent>div>div>section .remark-home-bd-cta__media,
    body>div.elementor.elementor-12>div.elementor-element.elementor-element-4538244.e-con-full.e-flex.e-con.e-parent.e-lazyloaded>div>div>section .remark-home-bd-cta__media {
        display: none !important;
    }

    /* Center content (text and CTA) horizontally */
    body>div.elementor.elementor-12>div.elementor-element.elementor-element-4538244.e-con-full.e-flex.e-con.e-parent>div>div>section .remark-home-bd-cta__content,
    body>div.elementor.elementor-12>div.elementor-element.elementor-element-4538244.e-con-full.e-flex.e-con.e-parent.e-lazyloaded>div>div>section .remark-home-bd-cta__content,
    .remark-home-bd-cta.remark-section--home-bd .remark-home-bd-cta__content {
        text-align: center !important;
        align-items: center !important;
        /* since content is a flex column */
        justify-content: center !important;
    }

    /* Make the CTA wrapper center the button */
    .remark-home-bd-cta__cta-wrapper {
        display: inline-flex !important;
        justify-content: center !important;
        width: 100%;
        margin: 0 auto !important;
    }

    /* Ensure button is centered and not full-width */
    .remark-home-bd-cta__button {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}