/* b2bpage.css */

#module-ibif_b2bpage-b2b .l-footer {
    padding-top: 0;
}

.b2b-page-container h2,
.b2b-page-container h3,
.b2b-page-container h4 {
    font-weight: 600;
    color: #5B3A21;
    margin-bottom: 20px;
}

.b2b-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.b2b-btn,
.b2b-submit-btn {
    background-color: #5F7757;
    border-color: #5F7757;
    color: #fff;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s;
}

.b2b-btn:hover,
.b2b-submit-btn:hover {
    background-color: #4a5c43;
    border-color: #4a5c43;
    color: #fff;
}

/* Hero Section */
.b2b-hero {
    background-color: #f7eee2;
    background-image: url("../assets/hero.png");
    background-position: center;
    background-size: cover;
    padding: 20px max(7%, 20px);
    /* border-radius: 10px; */
    min-height: 24.5vw;
    display: flex;
    align-items: center;
}

.b2b-hero-content {
    max-width: 50%;
}

.b2b-hero-content p {
    margin-bottom: 20px;
}

.b2b-hero-title {
    color: #5B3A21;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin: 10px 0;
}

.b2b-badge {
    display: inline-block;
    color: #5F7757;
    font-size: 14px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.b2b-badge img {
    margin-right: 10px;
}

@media (max-width: 767px) {
    .b2b-hero-content {
        max-width: 90%;
    }

    .btn {
        margin: auto;
        display: block;
        width: fit-content;
    }
}

/* Grids */
.b2b-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.b2b-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.b2b-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.b2b-image-placeholder {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 991px) {
    .b2b-grid-2 {
        grid-template-columns: 1fr;
    }

    .b2b-grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .b2b-grid-5 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .b2b-image-placeholder {
        justify-content: center;
    }

    .b2b-grid-2 .b2b-image-placeholder {
        order: 1;
    }

    .b2b-section:not(:last-child) {
        padding: 0;
        margin: 40px 0;
    }
}

@media (max-width: 479px) {
    .b2b-grid-4 {
        grid-template-columns: 1fr;
    }

    .b2b-grid-5 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .b2b-image-placeholder:has(>img:nth-child(2))>img {
        max-width: calc(50% - 5px);
    }
}

/* Boxes/Features */
.b2b-feature-box {
    background-color: #c99c6b;
    background-image: url("../assets/box.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 40px 20px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.b2b-feature-box h3 {
    color: #fff;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    margin: 0;
}

.b2b-center-title {
    text-align: center;
    margin-bottom: 40px;
}

.b2b-center-title .b2b-subtitle {
    font-size: 18px;
    font-weight: 500;
}

.b2b-features-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 18px;
    font-weight: 500;
}

.b2b-fsc-logo {
    border-radius: 20px;
    background: #EEE4D5;
    display: flex;
    padding: 20px 40px;
    margin: 30px 0;
    align-items: center;
    width: fit-content;
    gap: 30px;
    color: #000;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 479px) {
    .b2b-fsc-logo {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 1rem;
    }
}

/* Steps */
.b2b-step-box {
    background: #fff;
    padding: 30px 20px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.b2b-step-icon {
    font-size: 30px;
    color: #5F7757;
    margin-bottom: 15px;
}

.b2b-step-number {
    color: #5F7757;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 40px 0 20px;
}

@media (max-width: 767px) {
    .b2b-step-number {
        font-size: 20px;
        margin: 20px 0 10px;
    }
}

/* Form Styles */
.b2b-form-container {
    position: relative;
}

.b2b-form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: url('../assets/background.png') no-repeat;
    background-size: contain;
    background-position: center bottom;
    z-index: -1;
}

.b2b-form-container .b2b-form {
    max-width: 630px;
    margin: 0 auto;
    padding: 20px 50px;
    background: #FFF;
    box-shadow: 4px 4px 30px 0 rgba(0, 0, 0, 0.10);
}

.b2b-form .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 10px 15px;
    box-shadow: none;
}

.b2b-form .form-group {
    margin-bottom: 20px;
    vertical-align: center;
}

.b2b-radio-group .custom-radio {
    margin-right: 15px;
    vertical-align: middle;
}

.b2b-form-disclaimer {
    font-size: 9px;
    font-weight: 400;
    line-height: 110%;
}

.b2b-form-container .form-footer .btn.btn-primary {
    width: fit-content;
}