/* CSS Document */


#popup {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100000;
    transition: .5s;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.popup-bg {
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    background-color: rgba(0,0,0,.7);
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.popup-box {
    max-width: 800px;
    margin: 20px;
    z-index: 90;
    background: #fff;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    transition: .5s;
    transition-delay: .5s;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
}

.hidden-popup .popup-box {
    opacity: 0;
    transform: translatey(50px);
}

.visible-popup .popup-box {
    opacity: 1;
    transform: translatey(0px);
}

.hidden-popup {
    opacity: 0;
    pointer-events: none;
}

.visible-popup {
    opacity: 1;
    pointer-events: all;
}

.close-btn {
    color: #fff;
    background: black;
    height: 30px;
    width: 30px;
    cursor: pointer;
    margin-left: auto;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-box img {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
    display: block;
    aspect-ratio:  1 / 1;
    object-fit: cover;
    object-position: bottom;
    border-radius: 5px;
}

.popup-title {
    color: var(--style-main); 
    font-size: 22px;
    font-weight: bold;
}


/* 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%;
}

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

.octane-position {
    position: relative;
}



/* hero */

#hero img {
    /* width: 100%;
    object-fit: cover;
    aspect-ratio: 2560 / 792; */
}

#hero {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 900px;
    width: 100%;
}

#hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* products */

.pad {
    padding: 85px 0px;
}

.con-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--style-main);
}

.black-title {
    color: var(--style-sec);
}

#products .black-title {
    text-align: center;
}

.products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product {
    flex: 1 0 calc(25% - 15px);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.product img {
    width: 100%;
    aspect-ratio: 7 / 6;
    max-height: 250px;
    object-fit: cover;
}

.product-titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: var(--style-main);
    padding: 7px;
    flex-grow: 1;
    transition: .4s;
}

.product-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px;
}

.product-titles i {
    font-size: 18px;
    color: #fff;
    transition: .3s;
}

.product:hover .product-titles i {
    transform: rotate(-45deg);
}

.product:hover .product-titles {
    background: var(--style-sec);
}

.product:hover {
    transform: translatey(-10px);
}


/* about */

.about-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 70px 0px;
}

.con-break {
    border-top: 3px solid var(--style-main);
    width: 80%;
    margin-inline: auto;
}

.about-left {
    max-width: 550px;
    display: flex;
    flex-direction: column;
}

.con-p {
    font-size: 24px;
    font-weight: 500;
    color: var(--style-sec);
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-right {
    width: 100%;
    display: flex;
    flex-grow: 1;
}

#about img {
    aspect-ratio: 2 / 2;
    max-width: 600px;
    width: 100%;
    object-fit: cover;
    margin-inline: auto;
    object-position: bottom;
}

.con-link {
    background: var(--style-main);
    color: #fff;
    display: block;
    width: fit-content;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 500;
    transition: .4s;
}

.con-link:hover {
    background: var(--style-sec);
    color: #fff;
    transform: translatey(-10px);
    box-shadow: var(--shadow);
    font-size: 18px;
}

/* why */

.white-title {
    color: #fff;
}

#why .con-p {
    color: #fff;
}

.why-flex {
    display: flex;
}

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

.why-left img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
}

.why-right {
    background: var(--style-tri);
    display: flex;
    align-items: center;
    padding: 30px;
}

.why-text {
    max-width: 650px;
}


/* ita */

.white-bg {
    background: #fff;
}

.gray-bg {
    background: var(--style-quad);
}

.ita-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.right-side .ita-flex {
    flex-direction: row-reverse;
}

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

.ita-text, .ita-images {
    width: 50%;
}

.ita-links {
    display: flex;
    gap: 10px;
}

.ita-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4 / 3;
    height: auto;
}

.ita-images img {
    width: calc(50% - 10px);
    height: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: white;
}


/* faq */

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

.faq-left {
    width: 60%;
}

.faq-right {
    width: 40%;
    box-shadow: var(--shadow);
}

.faq-form-title {
    width: 100%;
    background: var(--style-main);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
}

.faq-right .gform_wrapper {
    padding: 0px 15px;
}

.faq-right input, .faq-right textarea {
    background: var(--style-quad);
    border: 0px;
}

.faq-right input[type=submit] {
    background: var(--style-main);
}

.faq-right input[type=submit]:hover {
    transform: translatey(-10px);
}

.faq-right .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 5px!important;
}

#faq .con-title {
    text-align: center;
    color: var(--style-sec);
}

#faq .con-break {
    max-width: 350px;
}

/* reviews */

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

#reviews .con-break {
    max-width: 350px;
    margin-left: initial;
}

/* Blog */

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

.blog-posts {
    display: flex;
    gap:20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.blog-post {
    box-shadow: var(--shadow);
    padding: 15px;

    display: flex;
    flex-direction: column;
    width: calc(33.3% - 14px);
    transition: .4s;
}

.blog-post:hover {
    transform: translatey(-10px);
}

.blog-title {
    color: var(--style-main);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.blog-excerpt {
    font-size: 16px;
    line-height: 1.2;
    flex-grow: 1;
}

.blog-post-link {
    text-align: right;
    display: block;
    font-weight: bold;
}

.blog-link {
    text-align: center;
    display: block;
    color: var(--style-sec);
    font-weight: bold;
    font-size: 18px;
}

.blog-link:hover {
    color: var(--style-main);
}



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

@media(max-width: 1440px) {
    .product-title {
        font-size: 16px;
    }

    .product {
        flex: 1 0 calc(33.3% - 15px);
    }
}

@media(max-width: 1250px) {
    .ita-flex {
        flex-direction: column!important;
    }

    .ita-text, .ita-images {
        width: 100%;
    }

    .ita-images img {
        aspect-ratio: 4 / 3;
    }
}

@media(max-width: 1024px) {

    /* about */

    .about-flex {
        flex-direction: column-reverse;
        padding: 20px 0px;
    }

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

    /* why */

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

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

    .why-left {
        height: 300px;
        position: relative;
    }

    .why-left img {
        position: absolute;
        top: 0;
        left: 0;
    }

    /* faq */

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

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

    /* blog */

    .blog-post {
        width: calc(50% - 15px);
        flex-grow: 1;
    }
    
}

@media(max-width: 768px) {
    #hero img {
        aspect-ratio: 4 / 3;
    }

    .pad {
        padding: 40px 0px;
    }

    .product {
        flex: 1 0 calc(50% - 15px);
    }

    .products {
        gap: 10px;
    }

    /* about */

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

    .con-link {
        font-size: 16px;
        text-align: center;
        margin-inline: auto;
    }

    .con-p {
        font-size: 16px;
    }

    /* ita */

    .ita-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ita-links .con-link {
        margin-inline: initial;
    }

    /* reviews */

    #reviews .con-break {
        margin-inline: auto;
    }

    /* blog */

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

@media(max-width: 550px) {
    
}