/* =========================================================
   NEWSLETTER CARD
========================================================= */

.newsletter-card {
    max-width: 850px;
    margin: 0 auto;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.06) !important;

    overflow: hidden;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.newsletter-card:hover {
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08) !important;
}


/* =========================================================
   NEWSLETTER HEADER
========================================================= */

.newsletter-header {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;
}


.newsletter-icon {
    width: 66px;
    height: 66px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(13, 110, 253, 0.10);

    color: #0d6efd;

    font-size: 29px;

    box-shadow:
        0 5px 15px rgba(13, 110, 253, 0.08);
}


.newsletter-title {
    margin-bottom: 10px;

    font-size: 30px;

    font-weight: 700;

    color: #212529;
}


.newsletter-description {
    max-width: 650px;

    margin: 0 auto;

    color: #6c757d;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   MAILCHIMP
========================================================= */

#mc_embed_shell {
    width: 100%;
}


#mc_embed_signup {
    max-width: 720px;

    margin: 0 auto;
}


#mc_embed_signup form {
    padding: 0 !important;
}


#mc_embed_signup_scroll {
    width: 100%;
}


/* =========================================================
   REQUIRED NOTE
========================================================= */

.required-note {
    color: #6c757d;

    font-size: 13px;

    font-weight: 400;
}


.asterisk {
    color: #dc3545;

    font-weight: 700;
}


/* =========================================================
   FORM LABELS
========================================================= */

#mc_embed_signup .form-label {
    margin-bottom: 7px;

    color: #343a40;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   INPUT GROUP
========================================================= */

#mc_embed_signup .input-group {
    width: 100%;
}


#mc_embed_signup .input-group-text {
    min-width: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #f7b718;

    background: #112866;

    border-color: #112866;

    font-size: 17px;
}


#mc_embed_signup .form-control {
    min-height: 52px;

    border-color: #112866;

    color: #212529;

    background: #ffffff;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#mc_embed_signup .form-control::placeholder {
    color: #ccc;
}


#mc_embed_signup .form-control:focus {
    border-color: #112866;

    box-shadow:
        0 0 0 0.20rem rgba(13, 110, 253, 0.12);
}


#mc_embed_signup .input-group:focus-within .input-group-text {
    color: #112866;

    background: #f7b718;

    border-color: #f7b718;
}


/* =========================================================
   RECAPTCHA
========================================================= */

.recaptcha-wrapper {
    display: flex;

    justify-content: center;

    width: 100%;
}


/* =========================================================
   HONEYPOT
========================================================= */

.mailchimp-honeypot {
    position: absolute;

    left: -5000px;

    width: 1px;

    height: 1px;

    overflow: hidden;
}


/* =========================================================
   SUBMIT
========================================================= */

.newsletter-submit {
    margin-top: 10px;
}


.btn-koc {
    min-width: 210px;

    min-height: 50px;

    padding: 11px 24px;

    border-radius: 8px;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.1px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.btn-koc:not(:disabled):hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(13, 110, 253, 0.25);
}


.btn-koc:not(:disabled):active {
    transform: translateY(0);
}


.btn-koc:disabled {
    cursor: not-allowed;

    opacity: 0.55;
}


/* =========================================================
   PRIVACY
========================================================= */

.privacy-note {
    color: #8a8f98;

    font-size: 12px;

    line-height: 1.5;
}


.privacy-note i {
    color: #198754;
}


/* =========================================================
   MAILCHIMP BRAND
========================================================= */

.mailchimp-brand {
    padding-top: 20px;

    border-top: 1px solid #eeeeee;
}


.mailchimp-brand a {
    display: inline-block;
}


.mailchimp-logo {
    width: 180px;

    height: auto;

    opacity: 0.60;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.mailchimp-logo:hover {
    opacity: 1;

    transform: translateY(-1px);
}


/* =========================================================
   SUBSCRIPTION MODAL
========================================================= */

.subscription-modal {
    border: 0;

    border-radius: 18px;

    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.20);
}


.subscription-modal .modal-body {
    min-height: 380px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* =========================================================
   SUCCESS / ERROR ICON
========================================================= */

.subscription-result-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 43px;

    animation: subscriptionIconPop 0.35s ease-out;
}


/* SUCCESS */

.subscription-result-icon.success {
    color: #198754;

    background: rgba(25, 135, 84, 0.12);
}


/* ERROR */

.subscription-result-icon.error {
    color: #dc3545;

    background: rgba(220, 53, 69, 0.12);
}


@keyframes subscriptionIconPop {

    0% {
        transform: scale(0.5);

        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);

        opacity: 1;
    }

}


/* =========================================================
   MODAL TEXT
========================================================= */

.subscription-modal h3 {
    color: #212529;

    font-size: 25px;
}


.subscription-modal p {
    max-width: 480px;

    margin-left: auto;
    margin-right: auto;

    line-height: 1.7;
}


/* =========================================================
   MODAL BUTTONS
========================================================= */

.subscription-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;
}


#subscriptionHomeButton,
#subscriptionTryAgainButton {
    min-width: 180px;

    min-height: 48px;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   MODAL BACKDROP
========================================================= */

.modal-backdrop.show {
    opacity: 0.65;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .newsletter-card {
        border-radius: 13px;
    }


    .newsletter-card .card-body {
        padding: 28px 20px !important;
    }


    .newsletter-icon {
        width: 58px;
        height: 58px;

        font-size: 25px;
    }


    .newsletter-title {
        font-size: 25px;
    }


    .newsletter-description {
        font-size: 14px;

        line-height: 1.6;
    }


    #mc_embed_signup .form-control {
        min-height: 48px;
    }


    .btn-koc {
        width: 100%;
    }


    .newsletter-submit {
        width: 100%;
    }


    .subscription-modal {
        margin: 15px;
    }


    .subscription-modal .modal-body {
        min-height: 350px;

        padding: 35px 20px !important;
    }


    .subscription-result-icon {
        width: 72px;
        height: 72px;

        font-size: 36px;
    }


    .subscription-modal h3 {
        font-size: 22px;
    }


    .subscription-buttons {
        flex-direction: column;

        width: 100%;
    }


    #subscriptionHomeButton,
    #subscriptionTryAgainButton {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .newsletter-card .card-body {
        padding: 25px 15px !important;
    }


    .newsletter-title {
        font-size: 23px;
    }


    .newsletter-description {
        font-size: 13px;
    }


    .mailchimp-logo {
        width: 160px;
    }

}