/* ============================================================
   Organization Sale Landing
   Colors are injected from Razor through CSS custom properties.
   ============================================================ */

.org-landing {
    /* ----------------------------------------------------------
     Base
     ---------------------------------------------------------- */

    --ol-base: #484848;
    --ol-border: #d9d9d9;
    --ol-radius: 10px;
    /* ----------------------------------------------------------
     Theme colors
     These values are fallbacks.
     Razor overrides them on .org-landing.
     ---------------------------------------------------------- */

    --ol-primary: #2563EB;
    --ol-accent: #F59E0B;
    --ol-primary-soft: rgba(37, 99, 235, 0.10);
    --ol-primary-border: rgba(37, 99, 235, 0.30);
    --ol-accent-soft: rgba(245, 158, 11, 0.10);
    --ol-accent-border: rgba(245, 158, 11, 0.30);
    /* ---------------------------------------------------------- */

    color: var(--ol-base);
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 32px;
}

    .org-landing *,
    .org-landing *::before,
    .org-landing *::after {
        box-sizing: border-box;
    }

    .org-landing img {
        max-width: 100%;
        height: auto;
    }

    .org-landing h2,
    .org-landing h3,
    .org-landing p,
    .org-landing span {
        color: var(--ol-base);
    }

    .org-landing p {
        margin: 0;
        line-height: 1.9;
    }

    .org-landing ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }


/* ============================================================
   Container
   ============================================================ */

.ol-container {
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .ol-container {
        max-width: 900px;
    }
}

@media (min-width: 992px) {
    .ol-container {
        max-width: 1120px;
    }
}

@media (min-width: 1200px) {
    .ol-container {
        max-width: 1280px;
    }
}


/* ============================================================
   Typography
   ============================================================ */

.ol-title {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
}


/* ============================================================
   Banner slots
   Empty slots take no space.
   ============================================================ */

.ol-slot:empty {
    display: none;
}

.ol-slot img {
    display: block;
}

.ol-slot--top_banner,
.ol-slot--bottom_banner {
    width: 100%;
}


/* ============================================================
   Alerts
   ============================================================ */

.ol-alert {
    border-radius: var(--ol-radius);
    padding: 12px 16px;
    margin: 20px 0;
    font-weight: bold;
}

.ol-alert--success {
    background: #e8f6ee;
    color: #14663a;
    border: 1px solid #a9dcc0;
}

.ol-alert--error {
    background: #fdecea;
    color: #a12622;
    border: 1px solid #f3b7b3;
}


/* ============================================================
   Services
   ============================================================ */

.ol-services {
    display: flex;
    gap: 43px;
    padding: 53px 0;
    align-items: center;
}

.ol-services__content {
    width: 55%;
}

.ol-services__text p {
    padding-top: 26px;
    font-size: 20px;
    text-align: justify;
}

.ol-services__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ol-services > .ol-slot {
    width: 45%;
}


/* ============================================================
   Cooperate
   ============================================================ */

.ol-cooperate {
    margin: 40px 0;
}

.ol-cooperate__row {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.ol-cooperate__main {
    width: 55%;
}

    .ol-cooperate__main p {
        font-size: 20px;
    }

.ol-cooperate__cta {
    margin-top: 24px;
}

.ol-cooperate__cards {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ol-card {
    box-shadow: 0 4px 30px 0 rgba(167, 167, 167, .25);
    padding: 20px 35px;
    border-radius: 13px;
    border: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    .ol-card:hover {
        border-color: var(--ol-primary-border);
        box-shadow: 0 14px 34px rgba(0,0,0,.08);
        transform: translateY(-3px);
    }

.ol-card__head {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ol-card__title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.ol-card p {
    margin-top: 9px;
    font-size: 16px;
}


/* ============================================================
   Form
   ============================================================ */

.ol-form {
    position: relative;
    border: 1px solid var(--ol-primary-border);
    padding: 36px 33px;
    border-radius: 50px;
    display: flex;
    gap: 38px;
    margin-top: 56px;
    background: linear-gradient( 180deg, rgba(255,255,255,.98), rgba(255,255,255,1) );
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.ol-form__title {
    position: absolute;
    top: -40px;
    inset-inline-start: 50px;
    max-width: calc(100% - 80px);
    background: #fff;
    padding: 10px 16px;
    border-radius: 13px;
    font-size: 30px;
    line-height: 1.3;
    margin: 0;
    white-space: normal;
    word-break: break-word;
    color: var(--ol-primary) !important;
}

.ol-form__side {
    width: 50%;
}

.ol-form__body {
    width: 50%;
}

.ol-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.ol-field {
    flex: 1 1 100%;
    min-width: 0;
}

.ol-field--half {
    flex: 1 1 calc(50% - 10px);
}

.ol-label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.ol-req {
    color: #d33;
    margin-inline-start: 3px;
}

.ol-field input[type=text],
.ol-field input[type=email],
.ol-field input[type=tel],
.ol-field input[type=date],
.ol-field select,
.ol-field textarea {
    width: 100%;
    border: 1px solid #b9b9b9;
    border-radius: var(--ol-radius);
    padding: 12px 13px;
    background: #fff;
    font: inherit;
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .ol-field input::placeholder,
    .ol-field textarea::placeholder {
        color: #a6a6a6;
    }

    .ol-field input:focus,
    .ol-field select:focus,
    .ol-field textarea:focus {
        border-color: var(--ol-primary);
        box-shadow: 0 0 0 3px var(--ol-primary-soft);
        outline: 0;
    }

.ol-field--invalid input,
.ol-field--invalid select,
.ol-field--invalid textarea {
    border-color: #d33;
}

.ol-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0 0 6px;
}

    .ol-check input {
        width: 20px;
        height: 20px;
        flex: none;
        accent-color: var(--ol-primary);
    }

.ol-options {
    display: flex;
    flex-direction: column;
}

.ol-help {
    display: block;
    color: #7a7a7a;
    margin-top: 4px;
}

.ol-error {
    display: block;
    color: #d33;
    margin-top: 4px;
    font-size: 14px;
}

.ol-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ============================================================
   Submit
   ============================================================ */

.ol-submit {
    width: 100%;
    margin-top: 18px;
    padding: 13px;
    border: 0;
    border-radius: var(--ol-radius);
    cursor: pointer;
    color: #fff;
    font: inherit;
    font-weight: bold;
    background: linear-gradient( 90deg, var(--ol-accent), var(--ol-primary) );
    box-shadow: 0 8px 22px var(--ol-primary-soft);
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .ol-submit:hover {
        filter: brightness(1.06);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px var(--ol-primary-soft);
    }

    .ol-submit:focus-visible {
        outline: 3px solid var(--ol-primary-soft);
        outline-offset: 3px;
    }


/* ============================================================
   Clients
   ============================================================ */

.ol-clients-head {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--ol-primary-border);
}

    .ol-clients-head p {
        margin-top: 10px;
    }

.ol-marquee {
    margin: 26px 0 10px;
    overflow: hidden;
}

.ol-marquee__track {
    display: flex;
    gap: 42px;
    width: max-content;
}

.ol-marquee__item {
    flex: none;
    width: 120px;
    text-align: center;
}

    .ol-marquee__item .ol-slot img {
        margin: 0 auto;
        max-height: 90px;
        max-width: 110px;
        width: auto;
    }

.ol-marquee__name {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ol-primary) !important;
    font-weight: 700;
}

.ol-marquee--run .ol-marquee__track {
    animation: ol-marquee 40s linear infinite;
}

.ol-marquee--run:hover
.ol-marquee__track {
    animation-play-state: paused;
}

@keyframes ol-marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 21px));
    }
}

.org-landing[dir="rtl"]
.ol-marquee--run
.ol-marquee__track {
    animation-name: ol-marquee-rtl;
}

@keyframes ol-marquee-rtl {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(50% + 21px));
    }
}


/* ============================================================
   Why Us
   ============================================================ */

.ol-why {
    position: relative;
    margin: 56px 0 32px;
    padding: 40px clamp(18px, 4vw, 40px) 36px;
    border: 1px solid var(--ol-primary-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(0,0,0,.07);
    overflow: hidden;
}


    /* Gradient top line */

    .ol-why::before {
        content: "";
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        inset-inline-end: 0;
        height: 5px;
        background: linear-gradient( 90deg, var(--ol-primary), var(--ol-accent) );
    }


    /* Title */

    .ol-why > .ol-title {
        margin: 0;
        padding-bottom: 8px;
        color: var(--ol-primary) !important;
        font-size: clamp(22px, 3vw, 28px);
        line-height: 1.5;
        font-weight: 800;
    }

    .ol-why > p {
        max-width: 820px;
        margin: 8px 0 0;
        line-height: 2;
    }


/* Subtitle */

.ol-why__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 26px 0 20px;
    padding: 8px 16px;
    border: 1px solid var(--ol-accent-border);
    border-radius: 999px;
    color: var(--ol-accent) !important;
    background: var(--ol-accent-soft);
    font-size: 16px;
    font-weight: 800;
}

    .ol-why__subtitle::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ol-accent);
        flex: none;
    }


/* Why list */

.ol-why__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 991.98px) {

    .ol-why__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {

    .ol-why__list {
        grid-template-columns: 1fr;
    }
}


/* Why item */

.ol-why__list li {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 22px 20px;
    border: 1px solid var(--ol-primary-border);
    border-inline-start: 4px solid var(--ol-accent);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0,0,0,.055);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .ol-why__list li::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, var(--ol-primary-soft), transparent 60% );
        opacity: 0;
        transition: opacity .25s ease;
        pointer-events: none;
    }

    .ol-why__list li:hover {
        transform: translateY(-6px);
        border-color: var(--ol-primary);
        box-shadow: 0 20px 38px rgba(0,0,0,.12);
    }

        .ol-why__list li:hover::after {
            opacity: 1;
        }


/* Why header */

.ol-why__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    .ol-why__head strong {
        color: var(--ol-primary) !important;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.7;
    }

.ol-why__list li p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    padding: 0;
    line-height: 1.95;
    font-size: 14px;
}


/* ============================================================
   Why Icons
   ============================================================ */

.ol-why__head > .ol-slot {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    max-width: 75px;
    padding: 0;
    border-radius: 19px;
    background: var(--ol-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .ol-why__head > .ol-slot > *,
    .ol-why__head > .ol-slot .spaceHomeSection,
    .ol-why__head > .ol-slot .vp-ads-banner,
    .ol-why__head > .ol-slot .vp-ads-banner-container,
    .ol-why__head > .ol-slot .vp-banner {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ol-why__head > .ol-slot img,
    .ol-why__head > .ol-slot .km-responsive {
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }


/* ============================================================
   Gifts
   ============================================================ */

.ol-gifts {
    margin: 36px 0 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.ol-gift {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 9px;
    border: 1px solid var(--ol-primary-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .ol-gift:hover {
        transform: translateY(-3px);
        border-color: var(--ol-primary);
        box-shadow: 0 12px 26px rgba(0,0,0,.09);
    }

    .ol-gift .ol-slot {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid var(--ol-primary);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

        .ol-gift .ol-slot > *,
        .ol-gift .ol-slot .spaceHomeSection,
        .ol-gift .ol-slot .vp-ads-banner,
        .ol-gift .ol-slot .vp-ads-banner-container,
        .ol-gift .ol-slot .vp-banner {
            width: 100% !important;
            height: 100% !important;
            max-width: 100% !important;
            max-height: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .ol-gift .ol-slot img,
        .ol-gift .ol-slot .km-responsive {
            display: block;
            width: 100% !important;
            height: 100% !important;
            max-width: 100% !important;
            max-height: 100% !important;
            object-fit: contain !important;
        }

.ol-gift__title {
    color: var(--ol-base) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199.98px) {

    .ol-services {
        flex-direction: column;
    }

        .ol-services__content,
        .ol-services > .ol-slot {
            width: 100%;
        }
}

@media (max-width: 991.98px) {

    .ol-cooperate__row {
        flex-direction: column;
        gap: 24px;
    }

    .ol-cooperate__main,
    .ol-cooperate__cards {
        width: 100%;
    }

    .ol-form {
        flex-direction: column;
        padding: 30px 18px;
        border-radius: 28px;
    }

    .ol-form__side {
        display: none;
    }

    .ol-form__body {
        width: 100%;
    }

    .ol-field--half {
        flex-basis: 100%;
    }
}

@media (max-width: 767.98px) {

    .ol-container {
        padding-inline: 12px;
    }

    .ol-services {
        padding: 34px 0;
        gap: 24px;
    }

    .ol-services__images {
        grid-template-columns: 1fr;
    }

    .ol-cooperate {
        margin: 30px 0;
    }

    .ol-form {
        padding: 26px 14px;
        border-radius: 24px;
    }

    .ol-form__title {
        top: -30px;
        inset-inline-start: 22px;
        max-width: calc(100% - 44px);
        font-size: 22px;
        padding: 8px 14px;
        border-radius: 12px;
    }

    .ol-why {
        margin-top: 36px;
        padding: 26px 16px 30px;
    }
}

@media (max-width: 480px) {

    .ol-form__title {
        top: -24px;
        inset-inline-start: 14px;
        max-width: calc(100% - 28px);
        font-size: 18px;
        padding: 7px 12px;
        border-radius: 10px;
    }

    .ol-why {
        padding: 20px 14px 26px;
    }

    .ol-why__list li {
        padding: 18px 16px;
    }

    .ol-gift {
        padding: 8px 14px 8px 8px;
    }
}


/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .ol-marquee--run
    .ol-marquee__track {
        animation: none;
    }

    .ol-gift,
    .ol-why__list li,
    .ol-card,
    .ol-submit {
        transition: none;
    }
}
