/* Hero Block Styles */



.hero__swiper .wrap-nav-slider {
      position: absolute;
    width: 100% !important;
    padding-left: 48px;
    bottom: 270px;
    margin: 0 auto;
    right: 0;
    left: 0 !important;
    max-width: 1296px;
    z-index: 10;
}


.hero {
    position: relative;
    min-height: 100vh;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
}

@media (max-width: 1440px) {
    .hero {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .hero {
        margin-bottom: 35px;
    }
}

.hero__swiper.swiper {
    min-height: 100vh;
}

@media (max-width: 1440px) {
    .hero__swiper.swiper {
        min-height: auto;
    }
}

.hero__swiper.swiper .swiper-slide {
    padding-top: 260px;
    padding-bottom: 440px;
    position: relative;
}

@media (max-width: 1880px) and (min-width: 1480px) {
    .hero__swiper.swiper .swiper-slide {
       padding-top: 170px;
    padding-bottom: 440px;
}
    .hero__pagination {
        bottom: 380px !important;
    }
    .hero__swiper .wrap-nav-slider {
        bottom: 414px;
    }
.hero__scroll {
    bottom: 348px;
}
.hero__visual {
    right: -32px;
}
}



@media (max-width: 1440px) {
    .hero__swiper.swiper .swiper-slide {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

.hero__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    z-index: 4;
}

.hero__text h1 {
    margin: 0;
    padding-left: 31px;
    line-height: 1;
    text-transform: none;
}

.hero__text h1 i {
    font-style: normal;
}

.hero__text h3 {
    margin: 0;
    padding-left: 194px;
    line-height: 1;
    text-transform: none;
}

.hero__text h3:nth-child(1) {
    margin-bottom: -25px;
}

.hero__text h3:nth-child(3) {
    min-height: 200px;
}

.hero__text h3 i {
    font-style: normal;
}

.hero__cta {
    max-width: -moz-fit-content;
    max-width: fit-content;
    width: 100%;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding-left: 194px;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #39b54a;
}

.hero__cta p {
    margin: 0;
    font: inherit;
    color: inherit;
}

.hero__cta:hover {
    transform: translateX(5px);
}

.hero__cta-text {
    font-family: var(--font-family-base);
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #39b54a;
}

.hero__cta-arrow {
    display: flex;
    align-items: center;
    color: #39b54a;
    transition: transform 0.3s ease;
}

.hero__cta-arrow svg {
    width: 19px;
    height: 14px;
}

.hero__pagination {
    padding-left: 47px;
    position: absolute !important;
    right: 0;
    bottom: 242px !important;
    left: 0 !important;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 10;
    max-width: 1296px;
    margin: 0 auto !important;
    width: 100% !important;
}

@media (max-width: 1440px) {
    .hero__pagination {
        bottom: 50px !important;
    }
    .hero__swiper .wrap-nav-slider {
        bottom: 76px;
    }
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__dot--active {
    background: #6eec7f;
}

.hero__dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero__visual {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    max-width: 750px;
    width: 100%;
    height: 662px;
    position: absolute;
    right: 157px;
    bottom: 60px;
}

@media (max-width: 1600px) {
    .hero__visual {
        right: 40px;
        bottom: 120px;
    }
}

@media (max-width: 1440px) {
    .hero__visual {
        max-width: 465px;
        height: auto;
        right: 20px;
    }
}

@media (max-width: 992px) {
    .hero__visual {
        position: absolute;
        right: 25px;
        bottom: 0;
        max-width: 375px;
/*         height: 330px; */
    }
}

@media (max-width: 690px) {
    .hero__visual {
        position: relative;
        max-width: 380px;
/*         height: 348px; */
        margin: 0 0 0 auto;
        justify-content: flex-end;
        bottom: 0;
        left: auto;
    }
}

@media (max-width: 450px) {
    .hero__visual {
        max-width: 300px;
/*         height: 232px; */
        right: -84px;
    }
}

.hero__image {
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.hero__img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}

.hero__scroll {
    position: absolute;
    bottom: 248px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

@media (max-width: 1440px) {
    .hero__scroll {
        bottom: 50px;
    }
}

@media (max-width: 992px) {
    .hero__scroll {
        bottom: 4px;
    }
}

.hero__scroll-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #39b54a;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #39b54a;
}

.hero__scroll-btn:hover {
    background: #39b54a;
    color: #000000;
    transform: scale(1.1);
}

@media (max-width: 1500px) and (min-width: 1280px) {
        .hero__swiper.swiper .swiper-slide {
              padding-top: 86px !important;
        padding-bottom: 104px !important;
    }
    .hero__text h1 {
        font-size: 194px;
    }
.hero__text h3:nth-child(3) {
    min-height: 180px;
    font-size: 58px;
}
}

@media (max-width: 1440px) {
    .hero__scroll-btn {
        width: 41px;
        height: 41px;
    }
}

.hero__scroll-icon {
    width: 16px;
    height: 16px;
}

.hero__decoration {
    position: absolute;
}

.hero__decoration--top-center {
    width: 750px;
    height: 661.83px;
    left: 35.4166666667%;
    top: -225px;
}

@media (max-width: 1440px) {
    .hero__decoration--top-center {
        width: 375px;
        height: 330px;
        top: -125px;
    }
}

@media (max-width: 992px) {
    .hero__decoration--top-center {
        top: -100px;
        right: -100px;
        left: auto;
    }
}

@media (max-width: 690px) {
    .hero__decoration--top-center {
        width: 202px;
        height: 178px;
        top: -20px;
        right: -30px;
    }
}

.hero__decoration--left-bottom {
    position: absolute;
    width: 750px;
    height: 661.61px;
    left: -10.4166666667%;
    bottom: 30px;
}

@media (max-width: 1730px) {
    .hero__decoration--left-bottom {
        left: -20.8333333333%;
    }
}

@media (max-width: 1440px) {
    .hero__decoration--left-bottom {
        width: 375px;
        height: 330px;
        left: -10.4166666667%;
    }
}

@media (max-width: 992px) {
    .hero__decoration--left-bottom {
        left: -175px;
        bottom: 0;
    }
}

@media (max-width: 690px) {
    .hero__decoration--left-bottom {
        width: 202px;
        height: 178px;
        left: -85px;
        bottom: 210px;
    }
}

@media (max-width: 690px) {
    .hero {
        min-height: auto;
    }

    .hero__swiper.swiper {
        min-height: auto;
    }

    .hero__swiper.swiper .swiper-slide {
        padding-top: 128px;
        padding-bottom: 0;
    }
}

@media (max-width: 690px) and (max-width: 450px) {
    .hero__swiper.swiper .swiper-slide {
        padding-top: 100px;
    }
}

@media (max-width: 690px) {
    .hero__text {
        margin-bottom: 20px;
    }

    .hero__text h3:nth-child(1) {
        margin-bottom: -10px;
        padding-left: 60px;
        font-weight: 500;
        font-size: 22px;
        line-height: 26px;
        text-transform: capitalize;
    }

    .hero__text h3:nth-child(3) {
        min-height: 65px;
        padding-left: 60px;
        font-weight: 500;
        font-size: 22px;
        line-height: 26px;
        text-transform: capitalize;
    }

    .hero__text h1 {
        margin-left: -5px;
        padding-left: 0;
    }

    .hero__cta {
        margin-top: 20px;
        padding-left: 60px;
        gap: 0;
    }

    .hero__cta span {
        font-size: 16px;
    }
.hero__swiper .wrap-nav-slider {
    bottom: 215px;
    padding-left: 25px;
}
    .hero__pagination {
        padding-left: 25px;
        right: 0;
        bottom: 190px !important;
        left: 0 !important;
        gap: 10px;
    }

    .hero__dot {
        width: 8.24px;
        height: 8.24px;
    }

    .hero__scroll {
        bottom: 0;
        left: 25px;
        transform: translateX(0);
    }

    .hero__scroll-btn {
        width: 41px;
        height: 41px;
    }
}

/* === */

/* Video Container */
.hero__video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.ratio-custom {
	--bs-aspect-ratio: 88.3%;
}
/* Video Element */
.hero__video-element {
/*     position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%); */
    object-fit: cover;
    z-index: 1;
}

/* Video iframe (YouTube/Vimeo) */
.hero__video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    z-index: 1;
}

/* Video Poster/Thumbnail */
.hero__video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Hide poster when video starts playing */
.hero__video:has(.hero__video-element:not([poster])) .hero__video-poster,
.hero__video:has(.hero__video-iframe) .hero__video-poster {
    opacity: 0;
    pointer-events: none;
}

/* Video Overlay */
.hero__video .hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

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

    .hero__video-element,
    .hero__video-iframe {
        /* Ensure video covers full area on mobile */
        min-width: 100%;
        min-height: 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Video Loading State */
.hero__video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #39B54A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__video.loading::after {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide loading spinner when video is ready */
.hero__video:has(.hero__video-element[readyState])::after,
.hero__video:has(.hero__video-iframe)::after {
    opacity: 0;
}

/* Video Play Button (optional) */
.hero__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(57, 181, 74, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__video-play:hover {
    background: rgba(57, 181, 74, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.hero__video-play svg {
    width: 24px;
    height: 24px;
    fill: white;
    margin-left: 4px;
    /* Slight offset for play icon */
}

/* Hide play button when video is playing */
.hero__video:has(.hero__video-element:not([paused])) .hero__video-play,
.hero__video:has(.hero__video-iframe) .hero__video-play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1800px) and (min-width: 1500px) {
.hero__text h1 {
    font-size: 190px;
}
.hero__swiper.swiper .swiper-slide {
        padding-top: 140px;
        padding-bottom: 340px;
    }
.hero__decoration--top-center {
    top: -255px;
}

    .hero__decoration--left-bottom {
        left: -23.833333%;
    }

}

@media (max-width: 767px) and (min-width: 399px) {
    .page-title-section h1 {
        font-size: 78px;
    }
    .hero__text h3:nth-child(1),
        .hero__text h3:nth-child(3) {
        font-size: 32px;
        line-height: 38px;
    }

}
@media (max-width: 1199px) {
     .hero__swiper > .container {
        margin-top: 36px;
    }
}
@media (max-width: 767px) {
    body.home .hero .hero__decoration.hero__decoration--top-center,
    body.home .hero .hero__decoration.hero__decoration--left-bottom {
        display: none !important;
    }
    .hero__swiper > .container {
        margin-top: 24px;
    }
}


