/* =========================================================
   1. CAREERS HERO SECTION (Work With)
   ========================================================= */

section.collab-hero {
    height: 120vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.collab-hero .container {
    max-width: none;
    width: 100%;
    padding: 0;
    height: 100%;
}

.collab-hero-media {
    height: 100%;
    width: 100%;
    position: relative;
}

.collab-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.collab-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collab-hero-overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    width: 100%;
    height: 100%;
    background: #00000057;
}

.collab-hero-overlay-content {
    padding-left: 64px;
}

.collab-hero-overlay h1 {
    font-weight: 500;
    font-size: 40px;
    max-width: 480px;
    margin-bottom: 12px;
}

.collab-hero-overlay p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    max-width: 480px;
}

.collab-hero-segment-tag {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 24px;
    border: 1px solid rgba(186, 186, 186, 0.35);
    background: none;
    backdrop-filter: blur(12px);
    color: var(--ibdic-white);
}

/* =========================================================
   OFFERINGS COMPARE TABLE
   ========================================================= */

.offerings-compare-table {
    width: 100%;
    border-collapse: separate;
    table-layout: auto;
    background: #ffffff;
    border-radius: 20px;
    overflow-x: auto;
    display: block;
    margin-right: -24px;
    padding-right: 24px;
    width: calc(100% + 24px);
}

.offerings-compare-table td,
.offerings-compare-table th {
    vertical-align: middle;
    padding: 0;
    margin: 0;
}

.offerings-compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

/* =========================================================
   LABEL COLUMN
   ========================================================= */

.label-cell {
    background: #ffffff;
    border: 1px solid;
    border-top: none;
    width: 200px;
    min-width: 200px;
}

.label-content {
    padding: 36px 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.label-content img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.label-content p {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
}

.label-header-cell .label-content {
    visibility: hidden;
    padding-top: 36px;
    padding-bottom: 24px;
}

/* =========================================================
   DATA COLUMNS
   ========================================================= */

.data-cell {
    border: 1px solid;
    border-left: none;
    border-top: none;
    background: #ffffff;
    max-width: 520px;
}

.col-header-td {
    background: transparent;
    padding: 0;
}

.traditional-header-cell,
.onetrade-header-cell {
    position: relative;
    overflow: hidden;
}

.col-header-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.col-header-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* =========================================================
   HEADER CELLS
   ========================================================= */

.offerings-compare-col-header {
    position: relative;
    z-index: 2;
    padding: 32px;
    color: white;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}

.offerings-compare-col-header > * {
    position: relative;
    z-index: 2;
}

.offerings-compare-col-header img {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.offerings-compare-col-header h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    margin-bottom: 8px;
}

.offerings-compare-col-header p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.traditional-header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.1) 100%);
}

.onetrade-header {
    background-size: cover;
    background-position: center 30%;
}

/* =========================================================
   ROW CONTENT
   ========================================================= */

.compare-row-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 28px;
}

.compare-row-content > img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 4px;
}

.offerings-compare-row-text {
    flex: 1;
}

.offerings-compare-row-title h3 {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 8px 0;
}

.offerings-compare-row-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.onetrade-col .compare-row-content .offerings-compare-row-title h3 {
    color: #003366;
}

.onetrade-col .compare-row-content .offerings-compare-row-text p {
    color: #1d6dd0;
}

/* =========================================================
   BORDERS & BORDER RADIUS
   ========================================================= */

.offerings-compare-table tr:first-child td {
    border-top: 1px solid;
}

.offerings-compare-table tr:first-child td:first-child {
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom: none;
    border-right: none;
    z-index: 10;
}

.offerings-compare-table td:first-child {
    border-left: 1px solid;
}

.offerings-compare-table td:last-child {
    border-right: 1px solid #1d6dd0;
    border-bottom: 1px solid #1d6dd0;
    border-left: none;
}

.last-row .label-cell,
.last-row .data-cell {
    border-bottom: 1px solid;
}

.offerings-compare-table tr:first-child td:nth-child(2) {
    border-top-left-radius: 20px;
    overflow: hidden;
    border-left: 1px solid;
}

.offerings-compare-table tr:first-child td:last-child {
    border-top-right-radius: 20px;
    overflow: hidden;
    position: relative;
}

.offerings-compare-table tr.last-row td:first-child {
    border-bottom-left-radius: 20px;
    overflow: hidden;
}

.offerings-compare-table tr.last-row td:last-child {
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.offerings-compare-table tbody tr:nth-child(2) td:first-child {
    border: 1px solid;
    border-top-left-radius: 16px;
}

/* =========================================================
   ALTERNATING ROW BACKGROUND
   ========================================================= */

.alternate-bg-row .label-cell,
.alternate-bg-row .data-cell {
    background-color: #eef6fd;
}

/* =========================================================
   COMPARISON WRAPPER
   ========================================================= */

.comparison-wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 40px;
}

.comparison-wrapper::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   COLLAB HERO BUTTONS
   ========================================================= */

.onetrade-logo {
    max-width: 90% !important;
    height: auto !important;
}

.collab-hero-cta-btn {
    font-weight: 500;
    font-size: 12px;
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--ibdic-blue-2);
    border: none;
    color: var(--ibdic-white);
    cursor: pointer;
}

.onetrade-hero-btn-wrapper {
    margin-top: 40px;
}

.onetrade-hero-btn-wrapper .collab-hero-cta-btn {
    padding: 12px 24px;
    line-height: 1.4;
}

.transparent-btn {
    backdrop-filter: blur(12px);
    background: #bababa59;
    border: 1px solid #bababa59;
    margin-left: 12px;
}

/* =========================================================
   HOW IT WORKS SECTION
   ========================================================= */

.collab-header p {
    font-weight: 400;
    font-size: 20px;
    line-height: 38px;
    max-width: 770px;
    color: #0a40a1;
    margin-top: 20px;
}

.full-width {
    max-width: 100% !important;
}

.how-it-work-anim {
    width: 100%;
}

.plane-anim {
    width: 100%;
}

/* =========================================================
   BENEFITS SECTION
   ========================================================= */

.benefits-grid-item:last-child {
    grid-column: span 2;
}

.benefits-grid-overlay-content h3 {
    font-weight: 400;
    font-size: 16px;
    max-width: 380px;
}

.benefit-description {
    font-weight: 700;
    font-size: 12px;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 11px;
}

/* =========================================================
   BENEFITS HOVER
   ========================================================= */

.benefits-grid-item {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.benefits-grid-item > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.benefits-grid-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hover-benefit-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 2;
    box-sizing: border-box;
    transition: height 0.4s ease;
}

.hover-benefit-content .hover-inner {
    padding: 32px 24px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s ease 0.25s, transform 0.3s ease 0.25s;
    color: #fff;
}

.hover-benefit-content .hover-inner h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.hover-benefit-content .hover-inner ul {
    list-style: none;
    padding: 0;
    margin: 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hover-benefit-content .hover-inner ul li {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    list-style: disc;
}

.benefits-grid-item:hover .benefits-grid-overlay-content {
    opacity: 0;
    visibility: hidden;
}

.benefits-grid-item:hover .hover-benefit-content {
    height: 100%;
}

.benefits-grid-item:hover .hover-benefit-content .hover-inner {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   OFFERINGS CTA SECTION
   ========================================================= */

.offerings-cta-section {
    background: url(wp-content/themes/twentyten/asset/images/offering-banner.png);
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.offerings-cta-content {
    padding-bottom: 24px;
    max-width: 45%;
}

.offerings-cta-text {
    max-width: 540px;
    margin-bottom: 55px;
}

.offerings-cta-text h2 {
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 8px;
}

.offerings-cta-text p {
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
}

.offering-contact-wrapper {
    display: flex;
    gap: 40px;
}

.offering-thankyou {
    display: none;
    width: 100%;
}

.offering-thankyou.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.offering-thankyou .thank-wrapper {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* =========================================================
   TRUST BADGE / RECOGNITION SLIDER
   ========================================================= */

.trust-badge-container {
    position: absolute;
    width: 100%;
    top: 110vh;
    z-index: 20;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-container .awards-bar {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    list-style: none;
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: 1194px;
    min-height: 145px;
    background: #0a40a1;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    justify-content: center;
}

.trust-badge-container .swiper-slide {
    max-width: 208px;
}

.trust-badge-container .award-item {
    flex-direction: column;
}

.trust-badge-container .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition-property: transform;
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accolade-pagination {
    display: none;
}

.achievement-item {
    flex: 1;
    display: flex;
    gap: 10px;
    flex-direction: column;
    position: relative;
}

.achievement-item > img {
    max-width: 32px;
    max-height: 32px;
}

.laurel-icon {
    opacity: 0.55;
    flex-shrink: 0;
}

.achievement-info {
    text-align: start;
    align-self: flex-start;
    max-width: 200px;
}

.achievement-name {
    color: white;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.achievement-meta {
    color: rgba(254, 254, 254, 1);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
}

.recognition-slider {
    position: absolute;
    width: 100%;
    min-height: 200px;
    max-width: 1238px;
    background: #0a40a1;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0px 50px;
    justify-content: center;
}

.recognition-slider .swiper-wrapper {
    box-sizing: initial;
    display: flex;
    height: auto;
    position: relative;
    transition-property: transform;
    width: 100%;
    z-index: 1;
    justify-content: space-around;
    align-items: center;
    padding: 24px 0px;
    gap: 112px;
}

.recognition-slider .swiper-slide {
    display: block;
    flex-shrink: 0;
    height: auto;
    position: relative;
    transition-property: transform;
    width: 100%;
    max-width: 200px;
}

.trust-badge-container .swiper-slide .achievement-item::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 35px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 50%;
}

.trust-badge-container .swiper-slide:last-child .achievement-item::after {
    content: none;
}

.onetrade-logo-text {
    font-family: Manrope;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
    margin-bottom: 32px;
}

.logo-wrapper {
    max-width: 200px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 999px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ss-hero {
    padding-bottom: 100px;
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 768px) {
    .onetrade-logo-text {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .collab-hero-overlay {
        padding: 0 24px;
    }

    .collab-hero-overlay-content {
        padding-left: 0;
    }

    .collab-hero-overlay h1 {
        font-weight: 400;
        font-size: 32px;
        line-height: 40px;
    }

    .collab-header p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 12px;
    }

    .offerings-cta-content {
        padding-bottom: 34px;
        max-width: 100%;
    }

    .offerings-cta-text {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .offerings-cta-text h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .offerings-cta-text p {
        font-size: 14px;
        line-height: 24px;
    }

    .offering-contact-wrapper {
        gap: 0px;
        flex-direction: column;
    }

    .recognition-slider {
        display: block;
        padding: 0px;
        width: 95%;
        min-height: auto;
    }

    .recognition-slider .swiper-slide .achievement-item::after {
        display: none;
    }

    .trust-badge-container .recognition-slider .swiper-slide .achievement-item {
        padding: 24px 38px;
        padding-bottom: 16px;
    }

    .trust-badge-container .recognition-slider .swiper-wrapper {
        gap: initial;
        padding: initial;
    }

    .trust-badge-container .swiper-slide {
        max-width: 100% !important;
        flex-shrink: 0 !important;
    }

    .trust-badge-container .swiper {
        max-width: 95% !important;
        position: relative;
        width: 100%;
        max-width: 1194px;
        min-height: 180px;
        background: #0a40a1;
        border-radius: 18px;
        display: flex;
        align-items: stretch;
        padding: 20px 34px;
        box-shadow: 0 8px 40px rgba(10, 36, 99, .25);
    }

    .trust-badge-container .award-item {
        flex-direction: column;
        align-items: center;
        max-width: initial;
    }

    .achievement-info {
        max-width: 100%;
        text-align: center;
        align-self: center;
    }

    .achievement-item img {
        align-self: center;
    }

    .comparison-wrapper {
        margin-right: -24px;
        padding-right: 24px;
    }

    /* =========================================================
       OFFERINGS COMPARE TABLE - MOBILE STYLES
       ========================================================= */

    .label-content {
        padding: 28px 17px;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .label-content p {
        font-size: 12px;
        line-height: 16px;
    }

    .label-content img {
        width: 24px;
        height: 24px;
    }

    .offerings-compare-col-header {
        padding: 16px;
        min-height: 0;
        gap: 10px;
    }

    .offerings-compare-col-header img {
        padding: 6px;
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .offerings-compare-col-header h2 {
        font-size: 16px;
        line-height: 18px;
    }

    .offerings-compare-col-header p {
        font-size: 12px;
        line-height: 16px;
    }

    .compare-row-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 26px 17px;
    }

    .compare-row-content > img {
        width: 21px;
        height: 21px;
        margin-top: 0;
    }

    .offerings-compare-row-title h3 {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 4px;
    }

    .offerings-compare-row-text p {
        font-size: 10px;
        line-height: 16px;
        margin-top: 0;
    }

    .offerings-compare-table tr:first-child td:first-child {
        display: none;
    }

    .offerings-compare-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .offerings-compare-table .label-cell {
        flex: 0 0 100%;
        border-bottom: 1px solid #eef2f6;
        background-color: #f4f4f4;
    }

    .data-cell.col-header-td.traditional-header-cell,
    .data-cell.col-header-td.onetrade-header-cell,
    .offerings-compare-table .traditional-col,
    .offerings-compare-table .onetrade-col {
        width: 50%;
    }

    .offerings-compare-table .traditional-col {
        border-right: none;
        border-left: 1px solid black;
    }

    .offerings-compare-table tbody tr:nth-child(2) td:first-child {
        border-top-left-radius: 0px;
    }

    .alternate-bg-row .label-cell,
    .alternate-bg-row .data-cell {
        background-color: #ffffff;
    }

    .alternate-bg-row .label-cell {
        background-color: #f4f4f4;
    }

    .offerings-compare-table td:last-child {
        border-right: 1px solid #000000;
        border-bottom: 1px solid #000000;
        border-left: 1px solid #000000;
    }

    .offerings-compare-table tr.last-row td:first-child {
        border-bottom-left-radius: 0;
    }

    .offerings-compare-table td:first-child {
        border-bottom: 1px solid black;
    }

    .offerings-compare-table tr:last-child .traditional-col {
        border-bottom-left-radius: 20px;
    }

    .offerings-compare-table tr:first-child td:nth-child(2) {
        border-right: 0;
        border-bottom: 0;
    }

    .offerings-compare-table tr:first-child td:last-child {
        border-bottom: 0;
    }
}