﻿.bm-stay-connected {
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;

    background: #f7f9fc;
    color: #17212b;

    font-family: Arial, Helvetica, sans-serif;
}

.bm-sc-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.bm-sc-header {
    max-width: 850px;
    margin: 0 auto 45px;

    text-align: center;
}

.bm-sc-header > span,
.bm-sc-title > span,
.bm-sc-social-content > span,
.bm-sc-newsletter-content > span {
    display: inline-block;

    margin-bottom: 10px;

    color: #1d6f42;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.bm-sc-header h1 {
    margin: 0 0 14px;

    font-size: 38px;
    line-height: 1.25;
}

.bm-sc-header p {
    margin: 0;

    color: #68737e;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   MAIN CONNECTION BOX
========================================================= */

.bm-sc-main {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 0;

    margin-bottom: 75px;

    overflow: hidden;

    border-radius: 9px;

    background: #17212b;
    color: #ffffff;
}

.bm-sc-main-content {
    padding: 55px;
}

.bm-sc-label {
    display: inline-block;

    margin-bottom: 13px;

    color: #7bc69c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bm-sc-main-content h2 {
    max-width: 650px;

    margin: 0 0 15px;

    font-size: 32px;
    line-height: 1.25;
}

.bm-sc-main-content p {
    max-width: 680px;

    margin: 0 0 28px;

    color: #c5cdd2;

    font-size: 12px;
    line-height: 1.8;
}

.bm-sc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bm-sc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 19px;

    border-radius: 4px;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    transition: .25s ease;
}

.bm-sc-btn-primary {
    background: #1d6f42;
    color: #ffffff;
}

.bm-sc-btn-primary:hover {
    background: #258653;
}

.bm-sc-btn-outline {
    border: 1px solid rgba(255,255,255,.22);
    color: #ffffff;
}

.bm-sc-btn-outline:hover {
    border-color: #7bc69c;
    color: #7bc69c;
}

.bm-sc-community {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px 35px;

    border-left: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.035);
}

.bm-sc-community-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin-bottom: 20px;

    border-radius: 50%;

    background: #1d6f42;
    color: #ffffff;

    font-size: 28px;
}

.bm-sc-community h3 {
    margin: 0 0 10px;

    font-size: 18px;
}

.bm-sc-community p {
    margin: 0 0 20px;

    color: #b7c1c6;

    font-size: 10px;
    line-height: 1.8;
}

.bm-sc-community-line {
    width: 45px;
    height: 2px;
    margin-bottom: 15px;

    background: #7bc69c;
}

.bm-sc-community strong {
    color: #7bc69c;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.bm-sc-title {
    margin-bottom: 30px;

    text-align: center;
}

.bm-sc-title h2 {
    margin: 0 0 10px;

    font-size: 28px;
}

.bm-sc-title p {
    margin: 0;

    color: #68737e;

    font-size: 12px;
}


/* =========================================================
   CONNECT CARDS
========================================================= */

.bm-sc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-bottom: 75px;
}

.bm-sc-card {
    position: relative;

    padding: 28px 24px;

    border: 1px solid #e1e6e9;
    border-radius: 8px;

    background: #ffffff;

    transition: .3s ease;
}

.bm-sc-card:hover {
    transform: translateY(-5px);

    border-color: #b7d3c3;

    box-shadow: 0 12px 30px rgba(23,33,43,.08);
}

.bm-sc-card-number {
    position: absolute;
    top: 20px;
    right: 20px;

    color: #c4ccc8;

    font-size: 10px;
    font-weight: 700;
}

.bm-sc-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    margin-bottom: 18px;

    border-radius: 7px;

    background: #eaf4ee;
    color: #1d6f42;

    font-size: 18px;
    font-weight: 700;
}

.bm-sc-card h3 {
    margin: 0 0 9px;

    font-size: 15px;
}

.bm-sc-card p {
    min-height: 53px;

    margin: 0 0 18px;

    color: #68737e;

    font-size: 10px;
    line-height: 1.7;
}

.bm-sc-card a {
    color: #1d6f42;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.bm-sc-card a:hover {
    color: #258653;
}


/* =========================================================
   SOCIAL SECTION
========================================================= */

.bm-sc-social {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;

    margin-bottom: 25px;
    padding: 42px;

    border-radius: 9px;

    background: #eaf4ee;
}

.bm-sc-social-content {
    align-self: center;
}

.bm-sc-social-content h2 {
    margin: 0 0 12px;

    color: #17212b;

    font-size: 27px;
    line-height: 1.3;
}

.bm-sc-social-content p {
    margin: 0;

    color: #68737e;

    font-size: 11px;
    line-height: 1.8;
}

.bm-sc-social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bm-sc-social-link {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px;

    border: 1px solid #d6e6dc;
    border-radius: 6px;

    background: #ffffff;

    color: #17212b;

    text-decoration: none;

    transition: .25s ease;
}

.bm-sc-social-link:hover {
    transform: translateY(-2px);

    border-color: #1d6f42;
}

.bm-sc-social-link > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #1d6f42;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

.bm-sc-social-link strong {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
}

.bm-sc-social-link small {
    display: block;

    color: #7b858d;

    font-size: 8px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.bm-sc-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 65px;
    padding: 30px 35px;

    border: 1px solid #e1e6e9;
    border-radius: 8px;

    background: #ffffff;
}

.bm-sc-newsletter-content {
    flex: 1;
}

.bm-sc-newsletter-content h2 {
    margin: 0 0 7px;

    font-size: 21px;
}

.bm-sc-newsletter-content p {
    max-width: 600px;

    margin: 0;

    color: #68737e;

    font-size: 10px;
    line-height: 1.7;
}

.bm-sc-newsletter-form {
    display: flex;

    width: 390px;

    overflow: hidden;

    border: 1px solid #dfe5e9;
    border-radius: 5px;
}

.bm-sc-newsletter-form input {
    width: 100%;
    min-width: 0;

    padding: 12px;

    border: 0;
    outline: none;

    font-size: 10px;
}

.bm-sc-newsletter-form button {
    padding: 0 17px;

    border: 0;

    background: #1d6f42;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.bm-sc-newsletter-form button strong {
    margin-left: 6px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.bm-sc-final {
    padding: 45px 25px;

    border-radius: 8px;

    background: #17212b;

    text-align: center;
}

.bm-sc-final h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 27px;
}

.bm-sc-final p {
    margin: 0 0 20px;

    color: #b8c2c7;

    font-size: 11px;
}

.bm-sc-final a {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 4px;

    background: #1d6f42;
    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.bm-sc-final a:hover {
    background: #258653;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .bm-sc-main {
        grid-template-columns: 1fr;
    }

    .bm-sc-community {
        border-top: 1px solid rgba(255,255,255,.08);
        border-left: 0;
    }

    .bm-sc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bm-sc-social {
        grid-template-columns: 1fr;
    }

    .bm-sc-newsletter {
        align-items: flex-start;
        flex-direction: column;
    }

    .bm-sc-newsletter-form {
        width: 100%;
    }

}


@media (max-width: 700px) {

    .bm-stay-connected {
        padding: 60px 18px;
    }

    .bm-sc-header h1 {
        font-size: 30px;
    }

    .bm-sc-main-content {
        padding: 38px 28px;
    }

    .bm-sc-main-content h2 {
        font-size: 27px;
    }

    .bm-sc-community {
        padding: 35px 28px;
    }

    .bm-sc-grid {
        grid-template-columns: 1fr;
    }

    .bm-sc-social {
        padding: 30px 25px;
    }

    .bm-sc-social-links {
        grid-template-columns: 1fr;
    }

    .bm-sc-newsletter {
        padding: 25px;
    }

}


@media (max-width: 450px) {

    .bm-stay-connected {
        padding: 45px 14px;
    }

    .bm-sc-header h1 {
        font-size: 26px;
    }

    .bm-sc-header p {
        font-size: 12px;
    }

    .bm-sc-main-content {
        padding: 30px 20px;
    }

    .bm-sc-buttons {
        flex-direction: column;
    }

    .bm-sc-btn {
        justify-content: center;
    }

    .bm-sc-community {
        padding: 30px 20px;
    }

    .bm-sc-title h2 {
        font-size: 24px;
    }

    .bm-sc-social {
        padding: 25px 18px;
    }

    .bm-sc-newsletter {
        padding: 22px 18px;
    }

    .bm-sc-newsletter-form {
        flex-direction: column;
        gap: 8px;

        overflow: visible;
        border: 0;
    }

    .bm-sc-newsletter-form input {
        border: 1px solid #dfe5e9;
        border-radius: 4px;
    }

    .bm-sc-newsletter-form button {
        padding: 12px;
        border-radius: 4px;
    }

    .bm-sc-final {
        padding: 35px 18px;
    }

    .bm-sc-final h2 {
        font-size: 23px;
    }

}
