/* CSS Document */

/* Images as Background Images */

.octane-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.octane-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.octane-content {
    position: relative;
    height: 100%;
}

.octane-position {
    position: relative;
}


/* hero */

:root {
    --h-size: 120px;
}

#hero {
    border-bottom: 50px solid var(--style-main);
    /* margin-top: calc(-1 * var(--h-size)); */
    margin-top: 0;
}

.hero-bg {
    position: relative;
    max-height: 800px;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pad {
    padding: 120px 0px;
}

.hero-flex {
    display: flex;
    gap: 100px;
}

.hero-flex::before, .hero-flex::after {
    content: none;
}

.hero-title {
    color: var(--black);
    font-size: 1.3rem;
    font-weight: 500;
}

.hero-content {
    max-width: 500px;
}

.hero-content p {
    font-size: .9rem;
    color: var(--black);
}

.ww-link {
    background: var(--style-main);
    padding: 10px 50px;
    color: var(--white);
    text-transform: uppercase;
    font-size: .9rem;
    background: linear-gradient(120deg, rgba(131,31,25,1) 50%, rgba(208,58,51,1) 50%);
    background-size: 300%;
    background-position: left;
    transition: background-position .7s ease-out;
    display: block;
    width: fit-content;
}

.ww-link:hover {
    background-position: right;
    color: var(--white);
    /* box-shadow: var(--shadow); */
}

.hero-image {
    width: 100%;
    flex-grow: 1;
    position: relative;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}



@media(max-width: 1920px) {
    .pad {
        padding: 100px 0px;
    }

    .hero-flex {
        gap: 50px;
    }
}

@media(max-width: 1024px) {
    .pad {
        padding: 70px 0px;
    }

    .hero-flex {
        flex-direction: column;
    }

    .hero-content, .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        aspect-ratio: 16 / 9;
    }
    
}

@media(max-width: 768px) {
    .pad {
        padding: 40px 0px;
    }

    .hero-content .ww-link {
        margin-inline: auto;
    }

}

@media(max-width: 550px) {
    #hero {
        margin: 0px;
    }
}



/* services */

.ww-title {
    text-align: center;
    font-weight: 500;
    color: var(--black);
    font-size: 1.8rem;
    text-wrap: balance;
}

.services {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: var(--shadow);
    background: var(--white);
    gap: 20px;

    background: linear-gradient(121deg, rgb(255 255 255) 50%, rgba(208,58,51,1) 50%);
    background-size: 300%;
    background-position: left;
    transition: background-position .5s ease-out;
}

.service-card:hover {
    background-position: right;
}

.service-icon, .service-icon image {
    height: 50px;
    width: 50px;
    transition: .5s
}

.service-card:hover .service-icon {
    filter: contrast(100%) brightness(0) invert(100%);
}

.service-card-title {
    margin: 0px;
    font-size: 1.3rem;
    color: var(--black);
    transition: .5s;
    font-weight: 500;
	text-align:center;
}

.service-card:hover .service-card-title {
    color: var(--white);
}

.service-card p {
    color: black;
    font-size: .9rem;
    line-height: 1.3;
    text-align: center;
    transition: .5s;
    margin: 0px;
}

.service-card:hover p {
    color: var(--white);
}

@media(max-width: 1350px) {
    .service-card {
        width: 47%;
    }
}

@media(max-width: 1024px) {
    .service-card {
        padding: 15px;
    }

    .service-card-title {
        font-size: 1.1rem;
    }

}

@media(max-width: 768px) {
    .ww-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        width: 100%;
    }

    .service-card-title {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: .8rem;
    }

}



/* cta */

#cta {
     background-color: var(--style-sec);
    background-image: linear-gradient(170deg, var(--style-sec) 45%, #d03a3300), url(/wp-content/themes/high-octane-3.3.0/assets/img/icons/ww-pattern.svg);
    -webkit-text-fill-color: inherit;
    background-position: 0 0, 0 0;
    background-size: auto, 75px;
    background-clip: border-box;
    border-block: 5px solid var(--style-main);
}

#cta .octane-background {
    mix-blend-mode: multiply;
    display:none;
}

#cta .octane-background, #blog-section .octane-background {
    /* mix-blend-mode: multiply; */
}

.white-title {
    color: var(--white);
    font-weight: bold;
}

#cta p {
    text-align: center;
    color: var(--white);
    font-size: 1.3rem;
    max-width: 900px;
    margin-inline: auto;
    line-height: 1.3;
}

.white-link {
    color: var(--style-main);
    margin-inline: auto;

    background: linear-gradient(120deg, rgb(255 255 255) 50%, var(--style-main) 50%);
    background-size: 300%;
    background-position: left;
    transition: background-position .7s ease-out, color .7s ease-out;
}

@media(max-width: 768px) {
    #cta p {
        font-size: 1rem;
    }
}


/* team */

.team-intro p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 1100px;
    margin-inline: auto;
    color: var(--black);
}

.team-members {
    display:flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.member {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    max-width: 460px;
    width: 20%;
    flex-grow: 1;
}

.member-content {
    padding: 20px;
}

.member img {
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: top;
    background: linear-gradient(120deg, rgb(255 255 255) 50%, rgba(208,58,51,1) 50%);
    background-size: 300%;
    background-position: left;
    transition: background-position .7s ease-out;
}

.member:hover img {
  background-position: right;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
}

.member-top {
    display: flex;
    justify-content: space-between;
}

.member-link {
    text-align: center;
    color: var(--style-main);
    font-weight: 500;
    font-size: .9rem;
}

.member-title {
    color: var(--style-main);
    font-size: .9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.member-contact {
    display: block;
    width: fit-content;
    font-size: .9rem;
    color: var(--style-main);
    text-decoration: underline;
}

.member-contact i {
    margin-right: 10px;
}

@media(max-width: 1250px) {
    .member-name {
        font-size: 1.1rem;
    }

    .member-contact {
        font-size: .75rem;
    }
}

@media(max-width: 1550px) {
    .team-members {
        flex-wrap: wrap;
    }

    .member {
        width: 48%;
    }
}

@media(max-width: 768px) {
    .member-title {
        text-align: left;
    }

    .member {
        width: 100%;
    }

    .team-intro p {
        font-size: .9rem;
    }
}


/* reviews */

#reviews {
     /* background-color: #ababab; */
    background-image: linear-gradient(170deg, var(--style-tri) 45%, #d03a3300), url(/wp-content/themes/high-octane-3.3.0/assets/img/icons/ww-pattern-gray.svg);
    -webkit-text-fill-color: inherit;
    background-position: 0 0, 0 0;
    background-size: auto, 75px;
    background-clip: border-box;
    border-block: 5px solid var(--style-main);
}

#reviews .octane-background {
    display:none;
}

.red-title {
    color: var(--style-main);
}

.ti-reviews-container .ti-reviews-container-wrapper {
    justify-content: center;
}


/* faq */

.faq-flex {
    display: flex;
    gap: 20px;
}

.faq-flex::before, .faq-flex::after {
    content: none;
}

.faq-accord, .faq-form {
    width: 50%;
}

.faq-form {
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    border: 5px solid var(--style-main);
    height: fit-content;
}

.cform-title {
    color: var(--style-main);
    text-align: center;
    font-weight: bold;
    font-size: 2.2rem;
}

.cform-title::after {
    content: "Complete the form below to get assistance";
    font-size: .8rem;
    font-weight: 500;
    display: block;
    margin-top: 5px;
    color: var(--black);
}

.faq-form input:not([type="submit"]), 
.faq-form select, 
.faq-form textarea {
    padding: 15px !important;
    background: var(--style-tri);
    border-radius: 10px;
}

@media(max-width: 1024px) {
    /* faq */

    .faq-flex {
        flex-direction: column;
    }

    .faq-accord, .faq-form {
        width: 100%;
    }
}

@media(max-width: 768px) {
    /* faq */

    .cform-title {
        font-size: 1.4rem;
    }

    .faq-form {
        padding-inline: 10px;
        border: 0px;
    }

    .faq-form input[type="submit"] {
        width: 100%;
    }

    .faq-form .gform_footer.before {
        padding: 0px!important;
    }
}


/* blog */

#blog-section {
     background-color: var(--style-main);
    background-image: linear-gradient(170deg, var(--style-sec) 45%, #d03a3300), url(/wp-content/themes/high-octane-3.3.0/assets/img/icons/ww-pattern.svg);
    -webkit-text-fill-color: inherit;
    background-position: 0 0, 0 0;
    background-size: auto, 75px;
    background-clip: border-box;
}

#blog-section .octane-background {
    mix-blend-mode: multiply;
    display:none;
}

.blog-posts {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.blog-post {
    background: var(--white);
    box-shadow: var(--shadow);
    width: 20%;
    flex-grow: 1;
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-text-flex {
    padding: 15px;
    border-top: 3px solid var(--style-main);
}

.blog-post-title {
    color: var(--black);
    font-weight: 500;
    font-size: 1.2rem;
}

.blog-link-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-post-date {
    margin: 0px;
    color: var(--style-sec);
    font-size: .8rem;
}

.blog-link {
    font-size: .9rem;
    font-weight:bold;
}

@media(max-width: 1250px) {
    .blog-posts {
        flex-wrap: wrap;
    }

    .blog-post {
        width: 40%;
    }
}

@media(max-width: 768px) {
    .blog-posts {
        gap: 10px;
    }
    
    .blog-img {
        height: 120px;
    }

    .blog-post-date, .blog-link {
        text-align: center;
        width: 100%;
    }

    .blog-post-title {
        font-size: 1rem;
    }
}

@media(max-width: 600px) {
    .blog-post {
        width: 100%;
    }
}

@media(max-width: 350px) {
    .blog-post {
        width: 100%;
    }
}