/* -------------------
    Landing Page
------------------- */

/* Typography */
h1,
h2,
h3,
h4 {
    color: #314148;
    font-family: 'latoregular',sans-serif;
    font-weight: bold;
    text-transform: none;
}
h1 {
    font-family: 'latobold', sans-serif;
    font-size: 44px;
    line-height: 52px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
h2 {
    font-size: 31px;
    line-height: 38px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
h3 {
    color: #0DBBB6;
    font-size: 31px;
    line-height: 38px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
h4 {
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
p {
    color: #314148;
    line-height: 28px;
}
.btn.btn-primary,
button,
input[type="submit"] {
    background: #EB7729;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 20px;
    text-transform: uppercase;
}

/* Contact */
.landing-contact {
    border-bottom: 3px solid #0DBBB6;
    display: flex;
    justify-content: flex-end;
    font-family: 'latobold', sans-serif;
    font-weight: bold;
    padding: 7px 25px;
}
.landing-contact span {
    margin-right: 5px;
}
.landing-contact a {
    color: #0DBBB6;
}

/* Globals */
.html-landing,
body {
    overflow-x: hidden;
}
section {
    padding: 60px;
    position: relative;
}
img {
    max-width: 100%;
}

/* Banner Title */
.hero-image {
    display: flex;
    align-items: flex-end;
}
.banner-content h1 {
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Centered Content */
.centered-content {
    padding: 30px 60px;
}
.centered-content h1 {
    color: #0DBBB6;
    font-family: 'latoregular', sans-serif;
    font-weight: 400;
    text-shadow: none;
}

/* Alternating Content */
.alternating-content.bg-gray{
    background: #f5f5f5;
}
@media only screen and (min-width: 768px) {
    .alternating-content .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}
.alternating-content h2 {
    color: #0DBBB6;
    font-weight: 400;
}
.alternating-content p {
    font-size: 18px;
    line-height: 30px;
}
.alternating-content.content-left .ac-img {
    text-align: right;
}

/* Benefits */
.landing-benefits.bg-gray {
    background: #f5f5f5;
}
.landing-benefits.bg-image {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}
.landing-benefits .content-wrap {
    max-width: 650px;
    margin: 0 auto 30px;
    text-align: center;
}
.landing-benefits .content-wrap h2 {
    color: #0DBBB6;
    font-weight: 400;
}
.landing-benefits .content-wrap p {
    font-size: 18px;
    line-height: 30px;
}
.landing-benefits .col-md-6:nth-of-type(2n+1) {
    clear: left;
}
.landing-benefits .benefit-item {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}
.landing-benefits .benefit-item h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.landing-benefits .benefit-item:before {
    content: url('../images/landing/check-icon.png');
    position: relative;
    margin-right: 20px;
}

/* Form */
.form-header {
    border-bottom: 1px solid #D8D8D8;
    margin: 0 -30px 30px;
    padding: 0 30px 10px;
}
.form-header h3 {
    color: #314148;
    margin-top: 0;
    text-shadow: none;
}
.form-container {
    margin: 60px auto 0;
    max-width: none;
    width: 100%;
}
.form-container .label-big {
    font-size: 20px;
    font-weight: 500;
}
.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.wpcf7-checkbox .wpcf7-list-item {
    display: flex;
    margin: 5px 20px 5px 0;
    align-items: center;
}

/* Media Queries */
@media only screen and (max-width: 1024px) {

    /* General */
    section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Banner */
    .banner {
        min-height: 600px;
        padding-left: 50px;
        padding-right: 50px;
    }
    .banner-content {
        padding-top: 100px;
    }

}

@media only screen and (max-width: 991px) {

    /* General */
    section {
        padding: 30px 0;
    }

    /* Alternating Content */
    .alternating-content.content-left .ac-img,
    .ac-img {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .ac-img img {
        margin-top: 30px;
    }

    /* Buckets */
    .bucket-section {
        padding: 30px 0;
    }
    .bucket-section h2 {
        margin-bottom: 0;
    }
    .bucket-row {
        flex-wrap: wrap;
        padding: 0 30px;
    }
    .bucket-row .bucket {
        margin: 30px 0 0;
        max-width: none;
        width: 48%;
    }
    .bucket-row .bucket:last-of-type {
        margin: 30px auto 0;
    }

    /* Form & Testimonial */
    .landing-form .testimonial-wrap {
        margin-top: 30px;
        padding-left: 0;
    }
    .landing-form .testimonial-image{
        padding-left: 0;
    }

}

@media only screen and (max-width: 767px) {

    /* General */
    section {
        padding-left: 30px;
        padding-right: 30px;
    }

}

@media only screen and (max-width: 640px) {

    /* Typography */
    h1 {
        font-size: 36px;
        line-height: 44px;
    }
    h2 {
        font-size: 28px;
        line-height: 34px;
    }
    h3 {
        font-size: 28px;
        line-height: 34px;
    }
    h4 {
        font-size: 24px;
    }

    /* Header */
    header {
        background: #efefef;
        position: relative;
    }

    /* Banner */
    .banner {
        background-image: none !important;
        background-color: #efefef;
        min-height: 0;
    }
    /*.banner-content {
        padding: 0 30px 30px;
    }
    .banner-content h1 {
        margin-bottom: 10px;
        text-shadow: none;
    }*/
    .banner-content h3 {
        text-shadow: none;
    }

    /* Buckets */
    .bucket-section {
        padding: 30px;
    }
    .bucket-row-desktop {
        display: none;
    }
    .bucket-row-mobile {
        display: flex;
    }
    .bucket-row {
        padding: 0 15px;
    }
    .bucket-row .bucket {
        width: 100%;
    }
    .bucket .title-card.title-card-mobile {
        position: relative;
        padding: 20px 55px 20px 25px;
    }
    .title-card-mobile:after {
        content: '\f067';
        font-family: FontAwesome;
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
        transition: all 0.5s ease-in-out;
    }
    .title-card-mobile.active:after {
        transform: translateY(-50%) rotate(45deg);
    }
    .bucket-mobile .bucket-content {
        display: none;
    }

    /* Form */
    .form-container {
        padding: 20px;
    }
    .form-container hr {
        width: calc(100% + 40px);
        margin-left: -20px;
    }

}
