/* Hero */

main {
    font-family: 'Sailec Light';
}

section.home-hero-container {
    max-width: 90%;
    margin: auto;
    z-index: 1;
    position: relative;
    margin-top: 70px;
}

.home-flex {
    display: flex;
    align-items: center;
}

.home-hero-container .col-md-6 {
    width: 50%;
}

.home-img {
    width: 100%;
    height: auto;
    position: relative;
}

.home-img-fluid {
    width: 100%;
    height: auto;
    border-radius: 16px;
    cursor: pointer;
}

.home-hero-overlay {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0;
    padding-left: 50px;

}

.home-hero-overlay h1 {
    color: #333333;
    font-family: 'Sailec Bold';
    font-size: 3vw;
    line-height: 1.3;
    margin: 0 0 16px;
}

.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    display: none !important;
}
.home .swiper-slide img.img-fluid.mobile-b,
.slick-slide img.mobile-b {
    display: none;
}

.banner-slider img {
    width: 100%;
}

span.home-green {
    color: #005900;
}

.home-hero-overlay .home-hero-line {
    width: 90px;
    height: 5px;
    background: #4A4A4A;
    border-radius: 2px;
}

.home-hero-desc {
    font-family: 'Sailec light';
    font-size: 17px;
    /* font-size: 1.5vw; */
    color: #585858;
    line-height: 1.6;
    margin: 0;
    margin-top: 30px;
    font-weight:600;
}

.home-content {
    background-image: url('../images/bg-home-new.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 250px;
    margin-top: -150px;
    padding-bottom: 100px;
}

.home .container.effort {
    background: linear-gradient(236.85deg, #012B6F 19.77%, #001638 99.6%);
    max-width: 90%;
    width: 90%;
    margin: auto;
    border-radius: 45px;
    border: 2px;
    border-color: #8F8F8F;
    margin-top:75px;
}

.home .box-container {
    display: flex;
    justify-content: space-between;
    border: 2px solid #8F8F8F;
    border-radius: 45px;
}

.home .container.effort .box {
    padding: 40px;
    width: 41%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.home .container.effort .box-container .separator {
    width: 4px;
    background-color: #FFFFFF;
    margin: 40px 20px;
    align-self: stretch;
}

span.home-btm-green {
    position: relative;
    display: inline-block;
    z-index: 1;
}

span.home-btm-green::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 15px;
    z-index: -1;
    background: #0185EE;
}


.home .container.effort .box-container .box.flex {
    display: flex;
    flex-direction: column;
}

.home .container.effort .box-container .box h1 {
    margin-bottom: 30px;
    font-size: 3vw;
    color: #fff;
    text-align: left;
    font-family: 'Sailec Medium';
}

.home .container.effort .box-container .box h2 {
    margin-bottom: 30px;
    color: #fff;
    text-align: left;
    font-family: 'Sailec Medium';
    font-size: 3vw;
}


.home .container.effort .box-container .box p {
    text-align: left;
    color: #E7E7E7;
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.4;
}

.home .box-bottom {
    margin-top: 20px;
    border-left: 5px solid #02B1FE;
    padding-left: 10px;
}

.home .container.effort .box-container .box .box-bottom p.author {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Sailec Medium';
}

.home .certifications-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.home .cert-card {
    background: #f5f5f5;
    border-radius: 12px;
    /* min-height: 110px; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.home .cert-card img {
    max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-bg-title {
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
}

.home-bg-title h1 {
    font-size: 3vw;
    color: #fff;
    font-family: 'Sailec Medium';
    margin: 0;
    margin-bottom: 10px;
}

.home-hero-line {
    width: 90px;
    height: 5px;
    background: #8BD440;
    border-radius: 2px;
}

.home-bg-content {
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    gap: 0px;
}

.home-card {
    border-top: 8px solid #F6F6F6;
    border-bottom: 8px solid #F6F6F6;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -8px;
}

.home-card:first-child {
    margin-top: 0;
}

.home-left {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-left img {
    width: 100px;
}

.home-left p {
    font-size: 50px;
    font-family: 'Sailec Bold';
    color: #EDEDED;
    background: #1E6C43;
    padding: 15px 30px;
    padding-bottom: 3px;
    border-radius: 16px;
}

.home-vline {
    width: 1%;
    background: #F6F6F6;
    margin: 0 20px;
    align-self: stretch;
}

.home-middle {
    width: 15%;
}

.home-middle p {
    color: #0F0F33;
    font-size: 20px;
    font-family: 'Sailec Bold';
}

.home-right {
    width: 90%;
}

.home-right p {
    font-size: 17px;
    color: #585858;
    font-family: 'Sailec Light';
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-weight: 600;
}
/* Responsive */

.home .container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
}

.home .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.home .swiper {
  width: 100%;
  height: 100%;
}

.home .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .img-fluid {
    max-width: 100%;
    height: auto;
}

.home .swiper-button-next img {
    margin-right: 15px;
    transform: scale(1.5);
}

.home .swiper-button-prev img {
    margin-left: 15px;
    transform: scale(1.5);
}

.home .swiper-button-prev:after, .home .swiper-button-next:after {
    content: "" !important;
}

.home .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
}

section.pact-content {
    max-width: 90%;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 75px;
}

.pact-title {
    margin-bottom: 50px;
    font-family: 'Sailec Bold';
}

.pact-title span.home-green {
    color: #02B1FE;
    border-bottom: 5px solid #0185EE;
    padding-bottom: 5px;
}


/* Cards Section */


.home-eos {
    background-image: url('../images/bg-home-2.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

.home-eos-title {
    max-width: 60%;
    margin: auto;
    padding-top: 100px;
}

.home-eos-title h1 {
    color: #fff;
    font-family: 'sailec medium';
    font-weight: bold;
    text-align: center;
}

.home-eos-title p {
    color: #E7E7E7;
    font-family: 'sailec light';
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.home-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 40px 80px;
    max-width: 90%;
    margin: 0 auto;
    margin-top: 30px;
}

.home-model-card {
    border: 2px solid rgb(50 48 48 / 7%);
    border-radius: 16px;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.home-card-desc {
    font-family: 'Sailec Light';
    font-size: 17px;
    color: #414141;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* Card Hover Effects */
.home-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.home-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease;
}
 
.home-card-bg-default {
    z-index: 1;
    opacity: 1;
}

.home-card-bg-hover {
    z-index: 2;
    opacity: 0;
}

.home-card-inner:hover .home-card-bg-hover {
    opacity: 1;
}

.home-card-body,
.home-card-body2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
    transition: opacity 0.5s ease;
}

.home-card-body {
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.home-card-body h5 {
    margin: 0;
    padding: 0;
}

.home-card-body .home-card-title {
    font-family: 'Sailec Medium';
    font-size: 20px;
    color: #fff;
    margin: 0;
    text-align: left;
}

.home-card-body2 {
    opacity: 0;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%); */
    pointer-events: none;
}

.home-card-body2 .home-comment {
    margin: 0;
    padding: 0;
}

.home-card-body2 .home-comment h1 {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: black;
    font-family: 'Sailec Medium';
    font-weight: bold;
    margin-bottom: 10px;
}

.home-card-body2 .home-card-text {
    color: black;
    font-family: 'Sailec Light';
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.home-card-inner:hover .home-card-body {
    opacity: 0;
}

.home-card-inner:hover .home-card-body2 {
    opacity: 1;
    pointer-events: auto;
}

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
  position: relative;
  margin: 10% auto;
  width: 80%;
  max-width: 800px;
}

.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

.close-btn {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

#ytFrame {
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
}

@media (min-width: 2301px) {
    /* .home-content {
        margin-top: -250px;
    } */
}

@media (min-width: 1801px) and (max-width: 2300px) {
    .home-content {
        margin-top: -200px;
    }
}

@media (max-width: 1500px) {
    .home-models {
        padding: 40px 40px;
    }
    .home-eos-title {
        padding-top: 70px;
    }
    .home-eos {
        background-size: inherit;
    }
}

@media (max-width: 1300px) {
    .home-middle {
        width: 20%;
    }
}

@media (max-width: 1200px) {
    .home .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    span.home-btm-green::after {
        height: 12px;
    }
}

@media (max-width: 991px) {
    .home .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-middle {
        width: 25%;
    }
    span.home-btm-green::after {
        height: 10px;
    }
}

@media (max-width: 850px) {
    .home-middle {
        width: 30%;
    }
}

@media (min-width: 1500px) {

  .swiper-slide img {
    object-position: 0 -18px;
  }
}
@media (min-width: 1200px) {
    .home .swiper-slide img {
        object-fit: revert;
    }

    .home .swiper-slide.ban_sty3.swiper-slide-active .main-ment a {
        font-size: 1.55rem;
        color: #6E6E83;
        font-family: 'Sailec Medium';
        margin-top: 6% !important;
    }

    .home .swiper-slide.ban_sty3.swiper-slide-active .main-ment h2 {
        margin-top: 0
    }
}

@media (min-width: 992px) {
    .home .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 970px) {
    .home-hero-overlay h1 {
        font-size: 30px;
    }

    .home-models {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px 60px;
    }
}

@media (max-width: 767px) {

    .home-hero-overlay h1 {
        font-size: 24px;
    }

    .home-hero-desc {
        font-size: 17px;
    }

    .home .container.effort .box {
        padding: 20px;
    }
    
    .home-flex {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .home-img {
        width: 100%;
    }

    .home-left {
        width: auto;
    }

    .home-img-fluid,
    .home-hero-container .col-md-6 {
        width: 100%;
    }

    .home-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 0px;
    }

    .swiper-button-next, .swiper-button-prev {
        position: absolute;
        top: 45vh;
    }

    .home .swiper-slide img.img-fluid.desktop-b,
    .slick-slide img.desktop-b {
        display: none;
    }

    .home .swiper-slide img.img-fluid.mobile-b,
    .slick-slide img.mobile-b {
        display: block;
    }

    .home-models {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
        max-width: 100%;
    }
    .home-model-card {
        padding: 20px;
    }
    .home-card-title {
        font-size: 22px;
    }
    .home-card-desc {
        font-size: 17px;
    }

    .home .box-container {
        display: block;
        padding: 1% 2%;
    }
    
    .home .container.effort .box {
        width: 90%;
        box-shadow: none;
    }

    .home .container.effort .box-container .separator {
        display: none;
    }

    .home .box-bottom {
        margin-top: 30px;
    }

    .home .container.effort .box-container .box h2,
    .home .container.effort .box-container .box h1 {
        font-size: 4vw;
        line-height: 1.8;
    }

    .home-hero-overlay {
        padding-left: 0px;
    }
    
    span.home-btm-green::after {
        height: 15px;
    }
}

@media (max-width: 580px) {
    span.home-btm-green::after {
        height: 12px;
    }
}

@media (max-width: 470px) {
    span.home-btm-green::after {
        height: 10px;
    }
}
