/* CSS Document */

/* Images as Background Images */

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

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

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

.octane-position {
    position: relative;
}


/* hero */

#hero {
    position: relative;
    background: var(--style-main);
    overflow: hidden;
}

#hero .octane-content {
    background: linear-gradient(86deg, rgba(5,104,57,1) 0%, rgba(235,243,239,0) 25%, rgba(255,255,255,0) 50%, rgba(165,201,184,0) 75%, rgba(30,119,77,1) 100%);
}

#hero .octane-background img {
    animation: fadeInScale 1.5s ease-out;
}

@keyframes fadeInScale {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#hero .wrap {
    max-width: 850px;
    margin: auto;
    padding: 150px 0px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    text-align: center;
    color: #fff;
    font-weight: 900;
    font-size: 60px;
    line-height: 68px;
    text-wrap: balance;
    text-transform: uppercase;
}



/* Links */

#links {
    position: relative;
    padding: 15px;
    overflow:hidden;
    background-image: url('/wp-content/uploads/2024/06/Background.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
}

#links>.octane-background img {
    opacity: .1;
}

.links-flex {
    display: flex;
    gap: 15px;
}

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

.link-box {
    position: relative;
    background: var(--style-main);
    padding: 100px 30px;
    width: 50%;
    box-shadow: var(--shadow);
    border-radius: 3px;
    transition: .5s ease;
    animation: slideRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.link-box:nth-of-type(2) {
    animation: slideLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideRight {
    0% {
        transform: translatex(-700px);
        opacity: .1
    }

    100% {
        transform: translatex(0px);
        opacity: 1
    }
}

@keyframes slideLeft {
    0% {
        transform: translatex(700px);
        opacity: .1
    }

    100% {
        transform: translatex(0px);
        opacity: 1
    }
}

.link-box:hover {
    /* background: #565656; */
    transform: scale(.95)
}

.link-box .octane-position {
    max-width: 500px;
    margin: auto;
}

.link-box img {
    mix-blend-mode: multiply;
}

.link-title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    text-wrap: balance;
}



.all-link {
    padding: 10px 30px;
    background: var(--style-main);
    color: #fff;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: .3s;
    display: block;
    width: fit-content;
}


.all-link:hover {
    box-shadow: var(--shadow);
    color: #fff;
    transform: translatey(-10px);
}

.white-link {
    background: #fff;
    color: var(--style-main);
    margin-inline: auto;
    display: block;
    width: fit-content;
}

.white-link:hover {
    color: var(--style-main);
    box-shadow: 0px 3px 6px #ffffff82;
}


/* why */

.pad {
    padding: 150px 0px;
}

#why {
    background: var(--style-tri);
}

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

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

.why-left, .why-right {
    width: 50%;
}

.why-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.why-left img {
    width: 48%;
    border-radius: var(--radius);
    box-shadow: 0px 3px 6px #00000029;
    aspect-ratio: 5 / 6;
    height: auto;
    display: block;
    object-fit: cover;
}

.why-left img:last-of-type {
    margin-top: auto;
}

.why-right {
    padding: 70px 0px;
}

.why-right p {
    font-weight: 600;
}

.green-text {
    color: var(--style-main)
}

.all-title {
    font-weight: 900;
    font-size: 48px;
    line-height: 64px;
    text-wrap: balance;
    color: var(--style-sec)
}


/* services */

#services {
    position: relative;
    overflow:hidden;
    background-image: url('/wp-content/uploads/2024/06/background-gears-new.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
}


.titles-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#services .all-title {
    margin: 0px;
}

.services {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.services img {
    height: 75px;
    margin-bottom: 20px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #A5A5A5;
    padding: 20px;
    width: 25%;
    position: relative;
    transition: box-shadow .3s;
}

.active-card {
    box-shadow: var(--shadow);
}

.service-text {
    font-size: 16px;
    line-height: 25px;
}

.service-title {
    font-weight: bold;
    color: var(--style-sec);
}

.active-card .service-text {
    display: block;
}

.service-card i {
    font-size: 40px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--style-sec);
}

.service-card a {
    font-weight: bold;
    color: var(--style-main);
}

.fa-square-minus {
    display:none;
}

.active-card .fa-square-minus {
    display:block;
}

.active-card .fa-square-plus {
    display: none;
}


/* reviews */

#reviews {
    background: var(--style-tri);
}

#reviews .all-title {
    text-align: center;
}


/* faq */

#faq {
    background-image: url('/wp-content/uploads/2024/06/Background.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
}

#faq .all-title {
    text-align: center;
}

#faq .all-link {
    margin-inline: auto;
    text-align: center;
}

.faq-subtitle {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    color: var(--style-sec);
}

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

.faq-left, .faq-right {
    width: 50%;
}


/* blog */

#blog-section {
    background: var(--style-tri);
}

#blog-section .all-title {
    text-align: center;
}

.blog-container {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    grid-template-columns: repeat(
    auto-fit, 
      minmax(calc((1200px / 3) - 20px), 1fr)
    );
}

.blog-image-flex {
    height: 200px;
}

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

.blog-post {
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow:hidden;
}

.blog-text-flex {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-title {
    color: var(--style-main);
    font-weight: bold;
}

.blog-excerpt {
    font-size: 16px;
    line-height: 23px;
}

.blog-link {
    margin-top: auto;
    display: block;
    font-weight: bold;
    color: var(--style-main);
}

.blog-link::after {
    font-family: "Font Awesome 6 Free";
    content: "\f054";
    font-weight: 900;
    margin-left: 10px;
}


/* guarantee */

.g-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-left {
    width: 50%;
}

.g-right {
    width: 50%;
}

.g-right p {
    margin: 0px;
    font-size: 24px;
    font-weight: 500;
    color: var(--style-sec);
}







@media(max-width: 1550px) {
    #hero .wrap {
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 50px;
        line-height: 55px;
    }
}

@media(max-width: 1250px) {
    #hero .wrap {
        padding: 30px 20px;
        max-width: 600px;
    }

    #hero .octane-content {
        background: radial-gradient(circle, rgba(5,104,57,1) 0%, rgba(255,255,255,0) 100%);
    }

    .hero-title {
        font-size: 40px;
        line-height: 40px;
    }

    .pad {
        padding: 120px 0px;
    }

    /* why */

    .why-flex {
        gap: 30px;
    }

    .why-left {
        display:block;
        position: relative;
    }
    
    .why-left img {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .why-left img:last-of-type {
        top: initial;
        bottom: 0px!important;
        right: 0%;
        left: initial;
        transform: translatey(-50%)
    }

    /* services */
    .services {
        flex-wrap: wrap;
    }
    
    .service-card {
        width: calc(50% - 15px)
    }    

}

@media(max-width: 1024px) {
    .link-title {
        font-size: 20px;
    }

    .link-box {
        padding: 70px 20px;
    }

    .pad {
        padding: 70px 0px;
    }

    /* why */

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

    .why-left img {
        position: relative;
        transform: none!important;
        aspect-ratio: 1 / 1;
    }

    .why-left {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .why-right {
        width: 100%;
        padding: 0px;
    }

    .all-title {
        font-size: 40px;
        line-height: 44px;
        text-align: center;
    }

    .all-link {
        margin: auto;
        display: block;
        width: fit-content;
    }

    /* services */

    #services .all-link {
        margin: 0px!important;
    }

    /* guarantee */

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

    .g-left, .g-right {
        width: 100%;
    }

    .g-right p {
        font-size: 20px;
    }
    
}

@media(max-width: 768px) {
    #hero .octane-background {
        height: 50%;
        top: initial;
        bottom: 0px;
    }

    #hero .wrap img {
        background: radial-gradient(circle, rgba(5,104,57,1) 0%, rgba(255,255,255,0) 100%);
    }

    .hero-title {
        font-size: 35px;
        line-height: 35px;
    }

    /* links */

    #links {
        background-image: none;
    }

    #links .wrap {
        max-width: 100%;
    }

    .links-flex {
        gap: 10px;
    }

    .all-link {
        font-size: 16px;
    }

    .link-title {
        font-size: 18px;
    }

    .link-box .octane-position {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .pad {
        padding: 40px 0px;
    }

    .all-title {
        font-size: 30px;
        line-height: 30px;
    }

    /* why */

    .why-right p {
        font-size: 16px;
        line-height: 23px;
        font-weight: 500;
    }

    /* services */
    #services {
        background: none;
    }

    .service-card img {
        height: 50px;
    }

    .titles-flex {
        flex-direction: column;
        gap: 10px;
    }

    .service-card {
        width: 100%;
        padding: 10px;
    }

    .services {
        gap: 10px;
    }

    .service-title {
        font-size: 25px;
    }

    /* faq */

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

    .faq-left, .faq-right {
        width: 100%;
    }

    /* guarantee */

    .g-right p {
        font-size: 16px;
        line-height: 23px;
    }

}

@media(max-width: 650px) {
    .links-flex {
        flex-direction: column;
    }

    .link-box {
        width: 100%;
        padding: 40px 20px;
    }

    .why-left img:first-of-type {
        display: none;
    }

    /* blog */

    .blog-container {
        display: flex;
        flex-direction: column;
    }
}