.home-cover {
    /* background-image: url("../images/square-bottle-eco-oil_small.png"); */
    height: 85vh; 
    width: 100%;
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /* background-position: 47% 11%; */
    /* position: relative; */

    position: relative;
    display: grid;
    place-items: center;
    /* justify-content: start; */
}

/* Start of Home page video CSS */

.video-parent-section.loading .econobile-home-video iframe,
.video-parent-section.loading .econobile-home-video video {
    opacity:0.01;
}

.video-parent-section.loaded .econobile-home-video iframe,
.video-parent-section.loaded .econobile-home-video video {
    opacity:1;
    animation:zoom-fade 2.5s cubic-bezier(0.26, 0.54, 0.32, 1) 0s forwards;
    transition:none;
}

.econobile-home-video-container {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
}

.econobile-home-video {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
}

.econobile-home-video:before {
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:3;
    background-color:#000000;
    background-color:var(--colorImageOverlay);
    opacity:0.15;
    opacity:var(--colorImageOverlayOpacity);

}

.econobile-home-video:before {
    pointer-events:none
}

/* .hero__image{
    position:relative;
    width:100%;
    height:100%;
    z-index:1;
    -o-object-fit:cover;
        object-fit:cover;

} */

.econobile-home-video {
    background-repeat:no-repeat;
    background-size:cover;
    z-index: -1;
}

/* .hero__image-wrapper--no-overlay:before{
    content:none;
} */

.econobile-home-video iframe,.econobile-home-video video {
    width:100%;
    height:100%;
    pointer-events:none
}

.video-interactable .econobile-home-video iframe,
.video-interactable .econobile-home-video video {
    pointer-events:auto
}

.video-parent-section.loading .econobile-home-video iframe,
.video-parent-section.loading .econobile-home-video video {
    opacity:0.01
}

.video-parent-section.loaded .econobile-home-video iframe,
.video-parent-section.loaded .econobile-home-video video {
    opacity:1;
    animation:zoom-fade 2.5s cubic-bezier(0.26, 0.54, 0.32, 1) 0s forwards;
    transition:none
}

.econobile-home-video video {
    position:relative;
    -o-object-fit:cover;
        object-fit:cover;
    font-family:"object-fit: cover";
}

.econobile-home-video iframe {
    position:absolute;
    top:0;
    left:0;
    width:300%;
    left:-100%;
    max-width:none
}

@media screen and (min-width:1140px){
    .econobile-home-video iframe{
        width:100%;
        height:300%;
        left:auto;
        top:-100%
    } 
}

.video-interactable .econobile-home-video:before{
    pointer-events:none
}

/* End of Home page video CSS */

/* .home-video {
    position: absolute;
    z-index: -1;
    top: 0%;
    left:0;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
} */

/* @media (min-aspect-ratio: 16/9) {
    .home-video {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
} */

/* @media (max-aspect-ratio: 16/9) {
    .home-video {
        width: auto;
        height: 100%;
        overflow: hidden;
    }
} */

/* .home-cover {
    position: relative;
    height: 90vh;
    overflow: hidden;
} */

/* .home-cover::before {
    content: "";
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/square-bottle-eco-oil.png");
    background-size: cover;
    background-position: 48% -50%;
    background-repeat: no-repeat;
    transform: scale(1.2);
    z-index: -1;
} */

/* .home-cover-title-card {
    position: relative;
    z-index: 1;
} */

.home-cover-title-card {
    /* padding-top: 10%;
    width: 50%;
    margin-left: 5%; */
    text-align: center;
    /* margin-left: 10%; */
}

.home-cover-title {
    display: flex;
    flex-direction: column;
    width: 100%;

    /* position: absolute; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    border: none;
    padding: 0px 60px;
    text-align: center;
    /* display: inline-block; */
    border-radius: 50px;
}

.home-cover-title h1 {
    font-size: 5em;
    width: 100%;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-shadow: 0 3px #000000;
    transform: 0.5s;
}

.home-cover-title h1 .line-break {
    width: 100%;
    display: block;
}

.home-cover-title h1:hover {
    -webkit-text-stroke: 2px white;
    color: transparent;
    text-shadow: none;
}

.home-horizontal-line {
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    margin-top: 2%;
    box-shadow: 5px 5px 10px 2px rgba(0,0,0,.8);
}

.home-cover-title h2 {
    font-size: 5em;
    color: #ffffff;
    text-shadow: 0 3px #000000;
}

.home-page-background {
    background-color: #EEE9E5;
    padding: 1% 3%;
    width: 100%;
    height: 5vh;
    position: relative;
}

.home-page-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.home-page-content-card {
    background-color: white;
    position: relative;
    z-index: 1;
}

.home-page-content-image {
    overflow: hidden;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
}

.home-page-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.home-page-content-text {
    padding-top: 10%;
    padding-right: 5%;
    padding-bottom: 5%;
    padding-left: 5%;
    width: 50%;
    position: relative;
    text-align: center;
    z-index: 2;
}

.home-page-content-text h3 {
    font-size: 3em;
    margin-bottom: -3%;
    color: #859E7E;
    font-weight: bold;
}

.home-page-content-text p {
    margin-top: 5%;
    margin-bottom: 10%;
    color: #859E7E;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

.home-our-perfections-section {
    justify-content: center;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1%;
    padding-top: 5%;
}

.home-our-perfections-content {
    width: 100%;
}

.home-our-perfections-title h2 {
    text-align: center;
    font-size: 3em;
    color: #859E7E;
    margin-bottom: 1%;
    font-weight: bold;
}
  
.home-our-perfections-section .home-our-perfections-cards {
    width: 100%;
}
  
.home-our-perfections-cards .home-our-perfections-cards-content {
    width: 100%;
    padding: 2vh 0vh;
}

.home-our-perfections-grid-content {
    width: 100%;
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: center;
    align-items: center;
}

.home-our-perfections-grid-box a {
    text-decoration: none;
}

.home-our-perfections-grid-content >* {
    flex: 0 1 350px;
}

.home-our-perfections-grid-content .home-our-perfections-grid-box {
    width: 400px;
    align-items: center;
    justify-content: center;
    margin-bottom: 5vh;
    margin: 1%;
}

.home-our-perfections-grid-content .home-our-perfections-grid-box .home-card {
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    height: 500px;
}

.home-card .home-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    justify-content: space-between;
    /* gap: 25px; */
}

.home-card-content .home-card-img {
    overflow: hidden;
    width: 100%;
    height: 360px;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
}

.home-card-img img {
    overflow: hidden;
    width: auto;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 2%;
    border-radius: 30% 30% 0% 0%;
}

.home-card-content .home-card-title {
    text-align: center;
    width: 90%;
    height: 25%;
    display: flex;
    justify-content: center;
}

.home-card-title h1 {
    font-size: 1.5em;
    color: #859E7E;
    font-weight: bold;
}

.home-our-perfections-grid-content .home-our-perfections-grid-box .home-card:hover img {
    transform: scale(1.25);
}

@media screen and (max-width: 1600px) {
    .home-page-content-text {
        padding-top: 5%;
        padding-right: 5%;
        padding-bottom: 1%;
        padding-left: 5%;
        width: 100%;
        position: relative;
        background-color: rgba(255, 255, 255, 0.7);
        background-size: auto;
    }
    .home-our-perfections-section {
        padding-top: 1%;
    }
}

@media screen and (max-width: 1500px) {
    .home-our-perfections-grid-content {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1300px) {
    .home-cover {
        justify-content: initial;
    }
    .home-cover-title-card {
        text-align: center;
    }
    .home-page-content-text {
        padding: 5% 5%;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.7);
        background-size: auto;
    }
    .home-page-content-text p {
        margin-bottom: 5%;
    }
}

@media screen and (max-width: 970px) {
    .home-cover {
        height: 100vh;
    }
    /* .home-video {
        top: 50%;
    } */
    .home-cover-title h1 {
        font-size: 4em;
    }
    .home-cover-title h2 {
        font-size: 3em;
    }
    .home-page-content-text h3 {
        font-size: 2em;
    }
    .home-page-background {
        height: 5vh;
    }
    .home-page-content-text p {
        margin-top: 3%;
        margin-bottom: 3%;
    }
}

@media screen and (max-width: 768px) {
    .home-page-content-text {
        transform: none;
        width: 100%;
        top: 0%;
        left: 0%;
    }
    .home-our-perfections-title h2 {
        font-size: 2em;
    }
    .home-page-content {
        margin-bottom: 1%;
    }
}

@media screen and (max-width: 600px) {
    .home-cover {
        height: 75vh;
        /* background-position: 50% 15%; */
    }
    .home-page-content-text p {
        font-size: 18px;
    }
}

@media screen and (max-width: 500px) {
    .home-cover-title h1 {
        font-size: 3em;
    }
    .home-cover-title h2 {
        font-size: 2em;
    }
    .home-our-perfections-grid-content .home-our-perfections-grid-box .home-card {
        width: 100%;
    }
    .home-card .home-card-content {
        width: 90%;
    }
}

@media screen and (max-width: 300px) {
    .home-cover-title h1 {
        font-size: 2em;
    }
    .home-cover-title h2 {
        font-size: 1.5em;
    }
    .home-page-content-text h3 {
        font-size: 1.5em;
    }
    .home-page-content-text p {
        font-size: 1.2em;
    }
    .home-our-perfections-title h2 {
        font-size: 1.5em;
    }
    .home-card-title h1 {
        font-size: 1.2em;
    }
}



