@import url('contact_us.css');
@import url('styles.css');

.card {
    gap: 8px !important;
    background-color: rgba(246, 248, 251, 1) !important;
    box-shadow: none !important;
    border: none !important;
}

.card .title {
    font-size: 16px;
}

.card .text {
    font-size: 14px;
}

.icon-wrapper {
    padding: 12px !important;
}

/* ============================================================
 * Partners Section
 * ============================================================ */

.b2b-partners {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: var(--padding-lg) var(--padding-md);
    padding-bottom: 140px;
}

.b2b-packages-bullets {
    padding: 40px 52px !important;
}

.b2b-partners-list {
    display: flex;
    gap: 20px;
}

.b2b-partner-card {
    flex: 1;
}

/* ============================================================
 * Packages Section
 * ============================================================ */

.b2b-packages {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 140px var(--padding-md);
}

.b2b-packages-layout {
    display: flex;
    gap: 96px;
}

.b2b-packages-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b2b-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b2b-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.b2b-feature-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.b2b-packages-bullets {
    flex: 1;
}

.b2b-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b2b-bullet-item {
    display: flex;
    gap: 12px;
    align-items: start;
}

.b2b-feature-title.title {
    font-size: 16px;
}

/* ============================================================
 * Brokers Section
 * ============================================================ */

.b2b-brokers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: var(--padding-lg) var(--padding-md);
    padding-bottom: 140px;
    background-color: rgba(226, 232, 240, 1);
}

.b2b-brokers-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.b2b-brokers-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    grid-auto-rows: 1fr;
}

/* ============================================================
 * Ideas Section
 * ============================================================ */

.b2b-ideas-layout {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: var(--padding-lg) var(--padding-md);
    padding-bottom: 140px;
}

.b2b-ideas-list {
    display: flex;
    gap: 12px;
    text-align: left;
}

.b2b-idea-item {
    flex: 1;
}


#b2bIdeasSection .b2b-section-title.title,
#b2bIdeasSection .b2b-section-subtitle.text,
#b2bIdeasSection .b2b-ideas-quote.text {
    text-align: center;
    width: 50vw;
}


/* ============================================================
 * Mobile  ≤ 600px
 * ============================================================ */

@media (max-width: 600px) {

    .b2b-partners,
    .b2b-packages,
    .b2b-brokers,
    .b2b-ideas-layout {
        padding: var(--padding-sm) var(--padding-xs);
    }

    /* Partners: stack cards */
    .b2b-partners-list {
        flex-direction: column;
    }

    /* Packages: stack features + bullets */
    .b2b-packages-layout {
        flex-direction: column;
        gap: 40px;
    }

    /* Brokers: single column */
    .b2b-brokers-list {
        grid-template-columns: 1fr;
    }

    /* Ideas: stack items */
    .b2b-ideas-list {
        flex-direction: column;
    }

    /* Contact form: already handled by contact_us.css */
}

/* ============================================================
 * Tablet  601px – 1024px
 * ============================================================ */

@media (min-width: 601px) and (max-width: 1024px) {

    .b2b-partners,
    .b2b-packages,
    .b2b-brokers,
    .b2b-ideas-layout {
        padding: var(--padding-sm) var(--padding-sm);
    }

    /* Partners: wrap so cards don't get too narrow */
    .b2b-partners-list {
        flex-wrap: wrap;
    }

    .b2b-partner-card {
        flex: 1 1 calc(50% - 10px);
    }

    /* Packages: stack features + bullets */
    .b2b-packages-layout {
        flex-direction: column;
        gap: 48px;
    }

    /* Brokers: already 2-col grid, keep as-is */

    /* Ideas: wrap items */
    .b2b-ideas-list {
        flex-wrap: wrap;
    }

    .b2b-idea-item {
        flex: 1 1 calc(50% - 6px);
    }
}

/* ============================================================
 * Desktop  ≥ 1025px
 * ============================================================ */

@media (min-width: 1025px) {
    /* All desktop styles are in the base rules above */
}
