/* Shared Premium Button Styles (transition and hover lift/color shift) for the subscription button */
.subscription-form-input-button {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform, background-color;
}

.subscription-form-input-button:hover {
    background-color: #ef6860 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 104, 96, 0.3) !important;
}

.subscription {
    background-color: #f4f7fa;
    padding-bottom: 120px;
}

.subscription-background-img {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 133px 0 40px 0;
    height: 694px;
    box-sizing: border-box;
}

/* BC-591: per mockup there is a gap under the social icons before the contacts section starts */
.subscription-background-img {
    padding-bottom: 60px;
}

.subscription-header {
    font-family: Geologica;
    font-weight: 800;
    font-size: 70px;
    line-height: 61px;
    letter-spacing: -0.92px;
    text-align: center;
    color: #073248;
    padding-bottom: 18px;
    margin: 0;
}

.subscription-desc {
    font-family: Geologica;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -1.2px;
    text-align: center;
    color: #0083DA;
    padding-bottom: 60px;
    margin: 0;
}

.subscription-block {
    margin: 0 auto;    
    width: fit-content;
    padding-bottom: 0;
}

.subscription-form {
    font-size: 20px;
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 35px;
}

.subscription-form-input {
    width: 100%;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;      
    background: #FAFCFD;
    box-shadow: 10px 10px 30px 0px #8BA2B4;
    border-radius: 27px;
    font-family: Geologica;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -1.1975007057189941px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 26px 70px 24px 30px !important;
    color: rgba(7, 50, 72, 1);
    height: 80px !important;
}

.subscription-form-input::placeholder {
    font-family: Geologica;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -1.2px;
    color: rgba(7, 50, 72, 0.5);
    opacity: 1;
}

.subscription-form-input::-webkit-input-placeholder {
    font-family: Geologica;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -1.2px;
    color: rgba(7, 50, 72, 0.5);
}

.subscription-form-input::-ms-input-placeholder {
    font-family: Geologica;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -1.2px;
    color: rgba(7, 50, 72, 0.5);
}

.subscription-form-input-button {
    width: 176px;
    height: 56px;
    border-radius: 22px;
    float: right;
    position: relative;
    top: -67px; 
    right: 12px;
    background: rgba(0, 131, 218, 1);
    font-family: Geologica;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    letter-spacing: -0.8290389776229858px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 1);
    border: none;
}

.subscription-checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-left: 30px;
    margin-top: 30px;
    max-width: 454px;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: Geologica;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.84px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #4C7E9B;
}

.subscription-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.subscription-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #eee;
    border-radius: 6px;
}

.subscription-checkbox-container:hover .subscription-checkbox ~ .subscription-checkmark {
    background-color: #ccc;
}

.subscription-checkbox-container .subscription-checkbox:checked ~ .subscription-checkmark {
    background: rgba(0, 131, 218, 1);
}

.subscription-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.subscription-checkbox-container .subscription-checkbox:checked ~ .subscription-checkmark:after {
    display: block;
}

.subscription-checkbox-container .subscription-checkmark:after {
    left: 5px;
    top: 5px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.subscription-social {
    margin: 54px auto 0 auto;
    width: fit-content;
}

.subscription-social-icon {
    height: 52px;
    width: 52px;
    margin-right: 30px;
}

@media (max-width: 768px) {
    .subscription-checkbox-container {
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 767px) {
    .subscription-header {
        font-family: Geologica;
        font-weight: 800;
        font-size: 42px;
        line-height: 38px;
        letter-spacing: -0.55px;
        text-align: center;
        color: #073248;
        padding-bottom: 9px;
    }
    .subscription-desc {
        font-family: Geologica;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.74px;
        text-align: center;
        color: #0083DA;
        padding-bottom: 40px;
    }
    .subscription-form-input-button {
        width: 100%;
        position: static;
        float: none;
        margin-top: 20px;
        height: 56px !important;
        border-radius: 12px !important;
    }
    .subscription-checkbox-container {
        margin-top: 46px;
        margin-left: 0;
        max-width: 100%;
        font-family: Geologica;
        font-weight: 500;
        font-size: 13px;
        line-height: 17px;
        letter-spacing: -0.68px;
        color: #4C7E9B;
    }
    .subscription-social {
        margin-top: 50px !important;
    }
    .subscription-social-icon {
        width: 46px !important;
        height: 46px !important;
    }
    .subscription-background-img {
        padding: 60px 0 40px;
        height: auto;
        box-sizing: border-box;
    }
    .subscription {
        padding-bottom: 80px;
    }
    .subscription-block {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .subscription-form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .subscription-form-input {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
        height: 56px !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
    }
    .subscription-form-input::placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
    .subscription-form-input::-webkit-input-placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
    .subscription-form-input::-ms-input-placeholder {
        font-family: Geologica;
        font-weight: 700;
        font-size: 18px;
        leading-trim: none;
        line-height: 24px;
        letter-spacing: -0.83px;
    }
}

.subscription-message {
    font-family: Geologica;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 760px;
}

.subscription-message--success {
    color: #073248;
    padding: 24px 30px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 10px 10px 30px 0 rgba(139, 162, 180, 0.35);
}

.subscription-message--error {
    color: #c0392b;
    padding-bottom: 12px;
}
