﻿html {
    box-sizing: border-box;
    padding: 0;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

/* UTILITY */

.container{
    max-width: 1195px;
    width: 100%;
    margin: 0 auto;
}

/* FLEX UTILITY */

.flex{
    display: flex;
}

.col{
    flex-direction: column;
}

.row, .mobile-row{
    flex-direction: row;
}

.justify-center{
    justify-content: center;
}

.align-center{
    align-items: center;
}

.space-between{
    justify-content: space-between;
}

.gap{
    gap: 1rem;
}

@media screen and (max-width: 950px){
    .row{
        flex-direction: column;
    }
}

/* FONT STYLES */

.heading {
    font-family: "Montserrat", sans-serif;
}

.text {
    font-family: "Lato", sans-serif;
}

.text-center{
    text-align: center;
}

.bold{
    font-weight: 700;
}

.primary {
    color: #0E518B;
}

.secondary {
    color: #FA9500;
}

.light{
    color: #FFFFFF;
}

.dark {
    color: #0B0B0B;
}

/* COMPONENT STYLES */

.cta_btn {
    background: linear-gradient(to right, #FA9500, #EB6424);
    border-radius: 50px;
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    border: none;
    padding: 1.5rem;
    cursor: pointer;
}

/* ANIMATIONS */

@keyframes pulse{
    0%{
        transform: scale(1)
    }
    50%{
        transform: scale(.9)
    }
    100%{
        transform: scale(1)
    }
}

.pulse{
    animation: pulse 1.5s forwards infinite;
}

@keyframes cardSwitch{
    0% {
        z-index: 10;
        transform: translate(15%, 3%) rotate(5deg) scale(0.9);
    }

    16.67% {
        z-index: 20;
        transform: translate(0%, 0%) scale(1);
    }

    33.33% {
        z-index: 20;
        transform: translate(0%, 0%) scale(1);
    }

    50% {
        z-index: 10;
        transform: translate(-15%, 3%) rotate(-5deg) scale(0.9);
    }

    66.67% {
        z-index: 10;
        transform: translate(-15%, 3%) rotate(-5deg) scale(0.9);
    }

    83.33% {
        z-index: 10;
        transform: translate(15%, 3%) rotate(5deg) scale(0.9);
    }

    100% {
        z-index: 10;
        transform: translate(15%, 3%) rotate(5deg) scale(0.9);
    }
}

.card1 {
    animation: cardSwitch 6s linear infinite;
}

.card2 {
    animation: cardSwitch 6s linear 2s infinite;
}

.card3 {
    animation: cardSwitch 6s linear 4s infinite;
}

.card-container{
    max-width: 400px;
    width: 100%;
}

@media screen and (max-width: 768px){
    .card-container{
        min-height: 200px;
    }
}

/* HEADER SECTION STYLES */

.nav_brand{
    max-width: 350px;
    width:  100%;
}

.header{
    padding: 1rem;
}

.header h1{
    font-size: 50px;
    line-height: 50px;
}

.card_img {
    display: block;
    max-width: 300px;
    position: absolute;
    filter: drop-shadow(6px 22px 17px rgba(0,0,0,.35));
}

@media screen and (max-width: 1045px){
    .header br{
        display: none;
    }
}

@media screen and (max-width: 950px){
    .nav_brand{
        align-self: center;
    }

    .header h1{
        font-size: 35px;
        line-height: 35px;
    }

    .header p{
        display: none;
    }
}


/* CTA SECTION STYLES */

.cta_section {
    background: linear-gradient(to bottom, #2492EB, #0E518B);
    padding: 3rem 1rem;
}

.cta_section h2{
    color: #FFFFFF;
}

.cta-form_container {
    background: #0E518B;
    border: 1px solid #2492EB;
    border-radius: 5px;
    padding: 1rem;
    width: 100%;
}

.cta-form{
    width: 100%;
}

.cta-form label{
    color: #FFFFFF;
}

#cta-form input {
    padding: 1rem !important;
    background: #FFFFFF !important;
    border: 1px solid #999AB2;
    border-radius: 5px;
    font-family: "Lato", sans-serif;
    margin-top: 1.5rem;
}

    #cta-form input::placeholder {
        color: #0C2141;
    }

.error{
    position: absolute;
    left: 0;
    top: 75px;
}

.form-input_block .field {
    width: 100% !important
}

.tcpa {
    font-family: "Lato", sans-serif;
    color: #FFFFFF;
    font-size: 12px;
    margin-top: 2rem;
}

    .tcpa a {
        color: #88B9E7;
    }

.tcpa-checkbox_container{
    margin-top: 1rem;
}

.tcpa-head {
    background: #6D933E;
    width: 100%;
    padding: 1rem;
}

.tcpa-head input{
    cursor: pointer;
}

.tcpa-body{
    background: #FFFFFF;
    padding: 1rem 1rem 2rem 1rem;
}

@media screen and (max-width: 950px){
    div.form-input_block.flex.row.gap {
        gap: 0 !important;
    }

}

/* CONTENT SECTION STYLES */

.content_section {
    padding: 2rem 1rem;
    background: #F5F5F5;
}

.content_container{
    background: #FFFFFF;
    padding: 44px;
    border-radius: 8px;
}

.content_box{
    max-width: 50%;
    text-align: center;
}

.content_box h2{
    font-size: 42px;
}

.content_box p{
    font-size: 21px;
}

.icon{
    color: #FFFFFF;
    width: 130px;
    height: 130px;
    border-radius: 100%;
}

@media screen and (max-width: 950px){
    .content_box {
        max-width: 100%;
        border: none !important;
        padding: 44px 0 44px 0 !important;
        
    }

    div .content_box {
        border-bottom: 2px solid #E5E5E5 !important;
    }

    .content_box h2{
        font-size: 30px;
        line-height: 30px;
    }
}

/* FOOTER STYLES */

.footer {
    background: #F0F0F0;
    padding: 2rem 1rem;
    color: #999AB2;
}

    .footer a {
        color: #999AB2;
    }