.video-container {
    position: relative;
    width: 100%;
    top: 5.6rem;
    height: 40rem;
    /* Full viewport height */
    overflow: hidden;
    z-index: 1;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

#video-container {
    position: relative;
    padding-bottom: 56.25%;
    margin-top: 5.6rem;
    height: 0;
    overflow: hidden;
}

#video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rectangle-box {
    position: absolute;
    left: 0px;
    right: 0px;
    top: -40px;
    width: 75%;
    margin: 0 auto;
    padding: 20px;
    background-color: #053c36;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    /* For Safari */
    -moz-appearance: none;
    /* For Firefox */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23dcb36a" d="M0 0l2 2 2-2z"/></svg>');
    /* Yellow down arrow */
    background-repeat: no-repeat;
    background-position: right 10px top 15px;
    background-size: 12px;
    padding-right: 30px;
    /* Adjust for arrow space */
}

.custom-select-center {
    display: block;
    width: 200px;
    margin: 0 auto;
}

.custom-select option {
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.18); 
}

.custom-select option:hover {
    background-color: #dcb36a !important;
}


/* Optional: Adjust background on hover/focus */
.custom-select:focus,
.custom-select:hover {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23dcb36a" d="M0 0l2 2 2-2z"/></svg>');
    /* Yellow down arrow on hover/focus */
}


.rectangle-box [class="form-select"],
#resorts-list {
    background-color: #053c36;
    border: none;
    box-shadow: none;
    text-align: center;
    color: #dcb36a;
}


#dropdownMenuButton1 {
    background-color: #053c36;
    color: #dcb36a;
    letter-spacing: 1px;
}

.dropdown-toggle {
    border: none;
}

.form-control,
.form-control:hover,
.form-control:focus,
.form-control:active {
    border: 0;
    background-color: #053c36;
    color: #dcb36a;
    text-align: center;
    transition: none;
    box-shadow: none;
}

.form-control::placeholder {
    color: #dcb36a;
    text-align: center;
    border: 0;
}

.divider::after {
    content: "";
    display: block;
    width: 1px;
    height: 2.5rem;
    background-color: #dee2e6;
    margin: 0 auto;
}

.introduction {
    height: 50rem;
    background-color: var(--prime-green);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.headtag {
    line-height: 5rem;
}

.brushtag {
    position: absolute;
    right: 5rem;
    bottom: -2.5rem;
    width: max-content;
    font-family: "Paint-Brush", serif;
    color: #dcb36a;
}

.intro-tagline {
    font-family: "Gilroy-Medium", serif;
    font-size: 16px;
    line-height: 1.4rem;
}

.wilderness-leaf {
    top: 2rem;
    left: -11rem;
    z-index: 0;
    width: 30%;
    rotate: 45deg;
}

.trail {
    top: 10rem;
    right: 0rem;
}


.kite-bird {
    top: -6rem;
    right: 25rem;
    z-index: 2;
}

.vector-1 {
    top: 0rem;
    right: 0rem;
    z-index: 1;
    /* width: 32%; */
}

.tiger-face {
    /* top: 24.7rem; */
    bottom: 0;
    left: 2rem;
    z-index: 1;
    width: 28%;
}

.jeep {
    /* top: 22.8rem; */
    bottom: -4rem;
    right: 0rem;
    z-index: 1;
    width: 40%;
}

.wilderness>span {
    left: 52rem;
}

.wilderness-container * p {
    line-height: 1.4rem;

}

.wilderness-container * h3 {
    font-size: 42px;
    color: #dcb36a;
}

.left-leaf {
    transform: scaleY(-1);
    rotate: 5deg;
    left: -16rem;
    top: -12rem;
    width: 40%;
}


.right-leaf {
    transform: scaleX(-1);
    right: -16rem;
    top: -4.5rem;
    width: 40%;
}

.gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card {
    position: relative;
    left: 0;
    width: 6rem;
    border-radius: 0rem !important;
    height: 28rem;
    overflow: hidden;
    background-color: var(--background);
    transition: 0.4s ease-in-out;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    flex: 0.25;
}

.card img {
    position: relative;
    height: 28rem;
    object-fit: cover;
}

.card:hover {
    flex: 2;
    font-weight: bold;
    cursor: pointer;
    border-radius: 1rem;
}

/* polish images center */
.card:nth-child(1) img {
    left: 0;
}

.card:nth-child(2) img {
    left: -0;
}

.card:nth-child(3) img {
    left: 0;
}

.card:nth-child(4) img {
    left: 0;
}

.card .caption {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: transparent;
    /* No background blur by default */
    color: #fff;
    padding: 1rem;
    text-align: center;
    opacity: 1;
    /* Show text by default */
    transition: background 0.4s ease-in-out;
    /* Smooth background transition */
}


.gallery:hover .card .caption {
    animation: blink-out 0.2s forwards;
    /* Apply blinking effect to non-hovered captions */
}

.gallery .card:nth-child(1):hover~.gallery .card:nth-child(2),
.gallery .card:nth-child(2):hover~.gallery .card:nth-child(3),
.gallery .card:nth-child(3):hover~.gallery .card:nth-child(4) {
    transition-delay: 4s;
}

.gallery .card:hover .caption {
    opacity: 1;
    /* Ensure the hovered caption remains visible */
    animation: none;
    /* Remove blinking effect from the hovered caption */
}

@keyframes blink-out {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.caption>h2 {
    font-size: 4rem;
}

.stay {
    margin-bottom: 5rem;
}

.stay-section {
    background-color: #053c36;
}

.stay-container,
.stay2-container {
    position: relative;
}

.stay-container>h1 {
    position: relative;
    color: white;
}

.stay-container>h2 {
    position: absolute;
    right: 12rem;
    top: 3rem;
}

.stay-desc {
    font-family: "Gilroy-Medium", serif;
    font-size: 16px;
    color: #fff;
    width: 52ch;
    line-height: 1.4rem;
}

.stay-dp {
    padding: 0rem;
}

.stay-leaf {
    width: 30%;
    right: -12rem;
    bottom: 32rem;
    rotate: 230deg;
}

.stay-container>.custom-button {
    font-size: 16px;
}

.stay2 * h1 {
    line-height: 5rem;
}


.stay2-dp {
    padding: .8rem;
}

.stay2-desc {
    font-family: "Gilroy-Medium", serif;
    font-size: 16px;
    padding-right: 8rem;
    line-height: 1.4rem;
}

.safari-leaf {
    width: 35%;
    left: -13rem;
    top: 12rem;
}

.e3-section {
    background-color: var(--prime-green);
    z-index: 0;
    position: relative;
}

.e3-container>.row {
    gap: .50rem;
    height: 40rem;
}

.fixed-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    color: white;
    justify-content: center;
    display: flex;
    padding: 15rem 0;
}

.fixed-bg>h1 {
    display: flex;
    justify-content: center;
}

.bg-1 {
    background-image: url("/public/home/parallax-home.png");
}

.slide-body {
    position: relative;
    padding-bottom: 1.2rem;
    width: -webkit-fill-available;
    z-index: 1;
}

.slide-body::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(8, 68, 61, 0.93);
    filter: blur(55.2px);
}

.slide-body>* {
    position: relative;
    z-index: 3;
}

.slide-body>p {
    font-family: 'Gilroy-Light', serif;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.2rem;
}

.slide-body>h2 {
    color: #dcb36a;
    font-family: "Paint-Brush", serif;
    padding-top: 2rem;
    line-height: 75%;
    font-size: 8rem;
}

.slide-body>.custom-button {
    letter-spacing: 1.4px;
    font-family: "Gilroy-Regular", serif;
}

.row.full-height {
    position: relative;
}

.slide {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.5s;
}



.banner-1::before {
    background-image: url('/public/home/banner-1.png');
}

.banner-2::before {
    background-image: url('/public/home/banner-2.png');
}

.banner-3::before {
    background-image: url('/public/home/banner-3.png');
}

.banner-4::before {
    background-image: url('/public/home/banner-4.png');
}





.ex-1::before {
    background-image: url("/public/home/card1.png");
}

.ex-2::before {
    background-image: url("/public/home/card2.png");
}

.ex-3::before {
    background-image: url("/public/home/card3.png");
}

.slide:hover::before {
    transform: scale(1.1);
}

.slide:hover {
    z-index: 2;
}

.row.full-height:hover .slide:not(:hover) {
    filter: blur(5px);
}

.spotlight-title>h2 {
    right: -1.3rem;
    top: 7.3rem;
}

#spotlight * .carousel-item {
    background-color: #fff !important;
}


.testimonial-section {
    background-color: #053c36;
}

#testimonialCarousel::before {
    background-image: none;
}

#testimonialCarousel {
    box-shadow: none;
}

.testimonial-header {
    color: #fff;
    padding: 40px;
    text-align: center;
}

.testimonial-header * h4 {
    color: #fff;
    font-size: 3rem;
    text-align: left;
    line-height: 3rem;
}

.review-score {
    font-size: 18px;
}

.review-score>span {
    font-family: "Gilroy-bold", serif;
}

.testimonial-header,
.carousel-inner {
    height: 100%;
    /* Make sure they fill the height of the section */
}

.tr-row {
    display: flex;
    gap: 20px;
    margin: 0 15px;
}

#testimonialCarouselDesktop {
    box-shadow: none;
}

.testimonial {
    display: flex;
    flex: 0 0 calc(33.33% - 15px);
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: #053c36;
    color: #dee2e6;
    border: 1px solid #dee2e6;
}

.testimonial * h4 {
    color: #dee2e6;
    margin: 0;
}

.testimonial * i {
    color: #dcb36a;
}

.testimonial>small {
    margin-bottom: 0.5rem;
}

.testimonial>p {
    font-size: 14px;
}



/* .footer .social-icons i {
    font-size: 1.5rem;
    margin: 0 5px;
}

.footer .info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
} */

.footer .info .icon {
    margin-right: 10px;
}

.address {
    margin-left: 1.5rem;
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .caption>h2 {
        font-size: 3.5rem;
    }

    .safari-leaf {
        top: 15rem;
    }

    .e3-container>.row {
        height: 80svh;
    }
}



/* Large devices (desktops, 992px and up to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {



    .rectangle-box {
        width: 85%;
    }

    .jeep {
        bottom: -3rem;
    }

    .wilderness-leaf {
        top: 7rem;
        left: -7rem;

    }

    .kite-bird {
        top: -5rem;
        right: 20rem;
    }

    .trail {
        width: 35%;
    }

    .left-leaf {
        left: -11rem;
        top: -8rem;
        width: 45%;
    }

    .right-leaf {
        right: -11rem;
        top: 0rem;
        width: 45%;
    }

    .wilderness>span {
        left: 19rem;
    }

    .caption>h2 {
        font-size: 3rem;
    }



    .stay2 * h1 {
        line-height: 4.5rem;
    }

    .safari-leaf {
        left: -10rem;
        top: 20rem;
    }

    .slide-body>h2 {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    [data-aos] {
      opacity: 1 !important;
      transform: none !important;
    }
}

@media (min-width: 320px) and (max-width: 992px) {

    /* Container for aspect ratio */
    .video-container {
        position: relative;
        width: 100%;
        height: auto;
        padding-top: 56.25%;
        /* 4:3 Aspect Ratio (3 / 4 = 0.75 = 75%) */
        overflow: hidden;
        background-color: #000;
        /* Fallback color in case video doesn't load */
        margin-top: 5rem;
        top: 0;
    }

    /* Video styles */
    .video-container video {
        width: 100%;
        height: auto;
        object-fit: cover;
        /* Ensures the video covers the container */
    }




    .gallery {
        display: flex;
        flex-direction: column;
        /* Stack cards vertically */
        gap: 1rem;
    }

    .card {
        position: relative;
        left: 0;
        width: 100%;
        /* Make cards take full width */
        height: 8rem;
        /* Initial height */
        border-radius: 0rem !important;
        overflow: hidden;
        background-color: var(--background);
        transition: all 0.4s ease-in-out;
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
        flex-grow: 0;
        /* Don't grow by default */
    }

    .card img {
        position: relative;
        width: 100%;
        height: 8rem;
        object-fit: cover;
    }

    .card:hover,
    .card:active,
    .card:focus {
        height: 28rem;
        /* Expand height on hover */
        font-weight: bold;
        cursor: pointer;
        border-radius: 1rem;
    }

    .caption {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        color: white;

    }




    .card:hover .caption,
    .gallery:hover .card .caption,
    .gallery .card:hover .caption {
        background: none;
        /* Disable background change */
        backdrop-filter: none;
        /* Disable blur effect */
        animation: none;
        /* Disable any animations */
        opacity: 1;
        /* Ensure captions are visible without hover */
    }

    .slide-body>h2 {
        font-size: 6.5rem;
    }

    .stay2-container {
        display: flex;
        justify-content: center;
    }

    #mobileCarousel * .carousel-item>.slide {
        height: 75dvh;
    }


}

/* Medium devices (tablets, 768px and up to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .jeep {
        bottom: -2rem;
    }

    .wilderness>span {
        left: 13rem;
    }

    .wilderness-leaf {
        top: 3rem;
        left: -5rem;
    }

    .headtag {
        line-height: 3.5rem;
    }

    .trail {
        top: 8rem;
    }

    .vector-1 {
        width: 70%;
        right: -8.5rem;
    }

    .kite-bird {
        right: 18rem;
    }

    .left-leaf {
        left: -8rem;
        top: -5rem;
    }

    .right-leaf {
        right: -8rem;
        top: 0rem;
    }

    .stay2 * h1 {
        line-height: 3.5rem;
    }

    .stay2-desc {
        padding-right: 2rem;
    }

    .stay2-dp {
        height: 18rem !important;
    }

    .safari-leaf {
        display: none;
    }

    .stay-leaf {
        right: -7rem;
        bottom: 1rem;
    }

    .e3-container>.row {
        height: 35rem;
    }

    .slide-body>h2 {
        font-size: 4.5rem;
    }

    .testimonial {
        margin: 0 10px;
    }

    .slick-prev,
    .slick-next {
        display: none;
    }

}

@media (min-width: 578px) and (max-width: 768px) {
    .jeep {
        bottom: -2rem;
    }

    .testimonial {
        margin: 0 10px;
    }

    .slick-prev,
    .slick-next {
        display: none;
    }
}

/* extra Small devices ( phones)*/
@media (min-width: 320px) and (max-width: 578px) {


    .wilderness-leaf {
        top: 2rem;
        left: -4rem;
        width: 40%;
    }

    .kite-bird {
        top: 1rem;
        right: 2rem;
        z-index: 2;
        width: 30%;
    }

    .introduction {
        height: 42rem;
    }

    .headtag {
        line-height: 2.5rem;
    }

    .brushtag {
        font-size: 3rem;
        right: 3rem;
        bottom: -2rem;
    }

    .wilderness>span {
        display: flex;
        justify-items: center;
        align-items: center;
        left: 3.5rem;
        bottom: -1.8rem;
    }

    .wilderness-container * h3 {
        font-size: 1.5rem;
    }

    .wilderness-container * p {}

    .jeep {
        bottom: -1.4rem;
        width: 54%;
    }

    .tiger-face {
        width: 35%;
        left: 0.5rem;
    }

    .intro-tagline {
        width: 28ch;
    }

    .left-leaf {
        left: -5rem;
        top: -3rem;
        width: 45%;
    }

    .right-leaf {
        right: -5rem;
        top: 1rem;
        width: 45%;
    }



    .stay-leaf {
        width: 40%;
        right: -4rem;
        bottom: 2.8rem;
    }

    .stay2 {
        align-items: center;
    }

    .stay2-dp {
        height: auto !important;
    }

    .stay2-desc {
        padding: 1rem;
        text-align: center;
    }

    .stay2 * h1 {
        text-align: center;
        line-height: 3rem;
    }

    .banner-1::before {
        background-image: url('/public/home/banner-1-mob.png');
    }

    .banner-2::before {
        background-image: url('/public/home/banner-2-mob.png');
    }

    .banner-3::before {
        background-image: url('/public/home/banner-3-mob.png');
    }

    .banner-4::before {
        background-image: url('/public/home/banner-4-mob.png');
    }

    .spotlight-title>h2 {
        right: 3rem;
        top: 4.3rem;
    }


    .e3-container {
        padding: 0;
    }

    .ex-1,
    .ex-2,
    .ex-3 {
        height: 35rem;
        margin: 0 .3rem;
    }


    .testimonial {
        margin: 0 10px;
    }
}