body {
    font-family: Outfit, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container{
    max-width: 1215px;
    margin: 0 auto;
}

.sr-only{
    width: 0px;
    height: 0px;
    text-indent: -6000px;
}

#video-wrapper{
    z-index: 1000;
    position: fixed;
    display: none;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
}

#video-wrapper .video{
    width: 70%;
    height: auto;
    margin: 0 auto;
    z-index: 1001;
    max-height: 80vh;
    position: relative;
}

.close{
    position: absolute;
    top: -20px;
    right: 0;
    z-index: 1002;
    background: none;
    font-size: 48px;
    font-weight: 100;
    color: #fff;
    cursor: pointer;
    border: none;
    font-family: Outfit, Arial, Helvetica, sans-serif;
}

header {
    padding: 3rem 0rem;
}

.logo {
    text-decoration: none;
}

.bg-line-right{
    background: no-repeat url('assets/images/bg-lines-right.svg');
    width: 100%;
    background-position: right -180px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    padding: 2rem;
    padding-bottom: 0px;
}

.hero .content {
    height: min-content;
}

.hero .content p {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #000;
    width: 80%;
}

.tagline {
    background-color: #F20587;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    
}

h1 {
    font-size: 72px;
    line-height: 80px;
    margin-top: 0.5rem;
    color: #000;
    margin-bottom: 0px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}



.cta-buttons .btn {
    margin-right: 1rem;
    padding: 11px 41px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: 3px solid #036ED7;
    &:focus{
        outline-offset: .2rem;
    }
}

.cta-form .btn {
    margin-right: 1rem;
    padding: 0px 41px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: 3px solid #036ED7;
    &:focus{
        outline-offset: .2rem;
    }
}

.btn-primary {
    background-color: #036ED7;
    color: #fff;
    padding: 1rem 1.5rem;
}

.btn-secondary {
    background-color: #fff;
    color: #036ED7;
    
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #1b3050;
    border-color: #1b3050;
}

.btn-secondary:hover {
    color: #fff;
}

.hero-image{
    height:auto;
}

.hero-image img {
    max-width: 100%;
    width: auto;
    position: relative;
    top: -70px;
    filter: drop-shadow(0 31px 10px rgba(0,0,0,0.1));
}

.trusted-by {
    text-align: center;
    padding: 2rem;
    padding-top:0px;
}

.logos{
    display: flex;
    justify-content: space-between;
    align-items: baseline;

}

.logos img {
    max-height: max-content;
    max-width: max-content;
}

.features {
    padding: 2rem;
    text-align: center;
}

.features h2{
    font-size: 52px;
    line-height: 55px;

}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 2rem;
}

.feature{
    padding: 0 10px;
}

.feature p{
    font-size: 18px;
    line-height: 24px;
    width: 80%;
    margin: 0 auto;
}

.feature-icon {
    height: 276px;
    width:276px;
    display: grid;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.feature-icon h3{
    color: #fff;
    font-weight: 500;
    font-size: 32px;
}

.background-wrapper{
    width: 100%;
    background: top center no-repeat url('assets/images/leading-solution-bg.svg');
    background-size: 100% auto;
    padding-top: 140px;
    position: relative;
}

.lines-left{
    position: absolute;
    left: 0;
    height: 100%;
    top:-640px;
}

.solution {
    padding-top:40px;
    color: #fff;
    text-align: center;
}

.solution h2{
    padding-top: 40px;
    font-size: 52px;
    margin-bottom: 0px;
    font-weight: 600;
}

.solution p{
    font-size: 24px;
    margin-top: 0px;
    font-weight: 300;
}

.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
}

.metric h3 {
    font-size: 62px;
    margin-top: 0px;
    font-weight: 500;
    margin-bottom: 0px;
}

.metric p{
    margin-bottom: 0px;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 500;
}

.metric p:last-child{
    font-size: 18px;
    text-transform: none;
    font-weight: 300;
    line-height: 18px;
    width: 90%;
    margin: 0 auto;
}

.testimonials {
    padding: 2rem;
    text-align: center;
    margin-top: 110px;
}

@media (width > 1800px) {
 .testimonials h2{
    color: #fff!important;
    background: #213f66;
 }   
}

.testimonials h2{
    font-size: 32px;
    font-weight: 600;
    color: #000;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    grid-column-gap: 1rem;
    margin-top: 2rem;
}

.testimonial {
    padding: 2rem;
    border-radius: 5px;
    background-color: #fff;
    text-align: left;
    margin-bottom: 1rem;
    box-shadow: 0 5px 13px rgba(0,0,0,0.1);
}

.testimonial p{
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;
}

.testimonial footer{
    font-size: 18px;
    padding-top: 15px;
}

.testimonial footer strong{
    display: block;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 18px;
    font-weight: 500;
}

.testimonial span{
    font-size: 122px;
    color: #F20587;
    display: block;
    text-align: left;
    padding-top: 20px;
    margin-bottom: 15px;
    line-height: 0;
}

.cta-form {
    padding: 3rem;
    text-align: center;
    line-height: 52px;
    background: #F1F2F5 no-repeat 0px 100px url('assets/images/footer-bg.svg');
    background-size: 100% auto;
    padding-bottom: 300px;
}

.cta-form h2{
    font-size: 72px;
    line-height: 80px;
    font-weight: 600;
    margin-bottom: 30px;
}

.cta-form form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

label {
    font-weight: 300;
    display: block;
    color: #3B4045;
    font-size: 20px;;
}

input, select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-bottom: 1px solid #000;
    background: #F1F2F5;
}

select{
    padding-left: 0;
    font-size: 16px;
    font-family: Outfit, Arial, Helvetica, sans-serif;
    font-weight: 300;
}

select:invalid {
    color:#3B4045;
}

.checkbox-group label {
    display: block;
    margin-bottom: 0.5rem;
    margin: 0;
    line-height: 12px;
}

.checkbox-group label input{
    display: inline-block;
    width: min-content;
}

input[type="submit"] {
    border-radius: 5px;
    background-color: #036ED7;
    color: #fff;
    padding: 1rem 1.5rem;
    width: auto;
    margin-top: 20px;
    font-weight: 500;
    font-family: Outfit, Arial, Helvetica, sans-serif;
    font-size: 19px;
    cursor: pointer;
    &:hover{
        background-color: #1b3050;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    font-size: 20px;
    font-weight: 300;
    align-items: center;
}

.footer-left{
    display: flex;
    justify-content: space-between;
    width: 30%;
}

.footer-content nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #000;
}

.footer-content nav a:hover {
    text-decoration: underline;
}

@media (width <= 1450px) {
    .background-wrapper{
        background-size: cover;
    }
}

@media (width <= 1215px) {
    .container{
        max-width: 100%;
        padding-left: 4rem;
        padding-right: 4rem;
        margin: 0 auto;
    }

    .feature-grid{
        grid-template-columns: 1fr 1fr;
    }

    .feature{
        margin-bottom: 50px;
    }
}

@media (width <= 1000px) {

    .container{
        padding-left: 88px;
        padding-right: 88px;
    }

    .bg-line-right{
        background-position:right -30px;
    }

    header {
        padding: 1.5rem 0;
        padding-left: 88px;
    }

    .tagline{
        margin-bottom: 10px;
        display: inline-block;
    }

    h1{
        font-size: 48px;
        line-height: 56px;
    }

    .logos img{
        flex: 1;
    }

    .logos{
        flex-wrap: wrap;
    }

    .metrics{
        grid-template-columns: 1fr;
    }

    .logos div{
        width: 33%;
        margin-bottom: 25px;
    }

    .logos div:nth-child(4),
    .logos div:nth-child(5) {
        width: 40%;
    }

    .logos div:nth-child(4) {
        padding-left: 10%;
    }

    .logos div:nth-child(5) {
        padding-right: 10%;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image{
        height: auto
    }

    .hero-image img{
        top: 0;
        width: auto;
    }

    .features{
        background: no-repeat url('assets/images/bg-lines-left.svg');
        background-position: left -530px;
    }

    .feature-icon{
        width: 235px;
        height: 235px;
    }

    .background-wrapper{
        width: 100%;
        background: no-repeat url('assets/images/mobile-bg.svg');
        background-size: 100% auto;
        padding-top: 140px;
        position: relative;
    }

    .lines-left{
        display: none;
    }

    .testimonials{
        padding-top: 490px;
    }

    .testimonial-grid{
        grid-template-columns: 1fr;
    }

    .testimonial{
        max-width: 400px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .footer-left{
        width: 50%;
    }

    .footer-content{
        font-size: 16px;
    }

    #video-wrapper .video{
        width: 80%;
        padding: 45% 0 0 0!important;
    }
}



@media (width <= 780px) { 
    .testimonials{
        padding-top: 290px;
    }
}

@media (width < 768px) {
    .container{
        padding-left: 44px;
        padding-right: 44px;
    }

    #video-wrapper .video{
        width: 90%;
        max-height: 70vh;
    }



    .bg-line-right{
        background: none;
    }

    .logos{
        align-items: center;
    }

    .logos div{
        width: 50%!important;
        padding: 0!important;
        margin-bottom: 35px;
    }

    .logos div:last-child {
        width: 100%!important;
    }

    .feature-grid{
        grid-template-columns: 1fr;
    }

    .features{
        background-position: -50px -530px;
    }

    h1{
        font-size: 40px;
        line-height: 48px;
    }

    .hero .content p{
        font-size: 16px;
        line-height: 24px;
    }

    .cta-buttons .btn{
        font-size: 15px;
    }

    .tagline{
        font-size: 14px;
    }

    .logo img{
        width: 151px;
        height: auto;
    }

    header{
        padding: 2.5rem 0 0;
    }

    .features h2{
        font-size: 32px;
        line-height: 40px;
    }
    .feature-icon h3{
        font-size: 26px;
    }
    .feature p{
        font-size: 16px;
        line-height: 20px;
    }

    .solution h2{
        font-size: 42px;
        line-height: 50px;
    }

    .solution p{
        font-size: 20px;
        line-height: 28px;
    }

    .metric h3{
        font-size: 48px;
    }

    .metric p{
        font-size: 20px;
    }

    .metric p:last-child{
        font-size: 14px;
        line-height: 18px;
    }

     .testimonials{
        background-image: linear-gradient(to bottom, transparent 49%, #F1F2F5 50%);
    } 

    .testimonials h2{
        font-size: 24px;
    }

    .testimonial p{
        font-size: 20px;
    }
    .testimonial footer{
        font-size: 16px;
    }

    .cta-form h2{
        font-size: 32px;
        line-height: 40px;
    }

    label{
        font-size: 16px;
    }

    input[type="submit"]{
        font-size: 16px;
    }

    .footer-content{
        font-size: 12px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-left p{
        font-size: 12px;
        margin: 0;
    }

    .footer-left img{
        width: 26px;
    }

    .cta-form form{
        max-width: 400px;
    }
    
}

@media (width <= 680px) {
    .testimonials {
        padding-top: 200px;
    }
    .background-wrapper{
        padding-top: 100px;
    }
}

@media (width <= 580px) {
    .background-wrapper{
        padding-top: 100px;
        background-size: 670px auto;
        background-position: -100px 0px;
    }

    .cta-buttons .btn{
        margin-right: 8px;
        padding: 11px 31px;
    }

    .hero .content p{
        width: 100%;
    }

    .logos img{
        max-width: 102px;
    }
    
    #video-wrapper .video{
        width: 95%;
        padding: 35% 0 0 0!important;
    }
}

/* Height-based media queries for small screens */
@media (height <= 650px) {
    #video-wrapper .video{
        max-height: 85vh;
        padding: 40% 0 0 0!important;
    }

}

@media (height <= 450px) {
    #video-wrapper .video{
        max-height: 90vh;
        padding: 35% 0 0 0!important;
    }
    
}

@media (height <= 350px) {
    #video-wrapper .video{
        max-height: 95vh;
        padding: 35% 0 0 0!important;
    }
    
}

@media (width < 414px) {
    .cta-buttons .btn {
        margin-right: 5px;
        padding: 11px 21px;
    }
}
