.video-container {
    position: relative;
    width: 100%;
    height: 35rem;
    overflow: hidden;
    margin-top: 5.2rem;
    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%;
 }


.resort {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.leaf-1 {
    position: absolute;
    bottom: 35rem;
    left: -24rem;
    width: 55%;
}

.pench-head>h2 {
    font-size: 6rem;
}

.pench-head>p {
    font-family: "Gilroy-Medium", serif;
    color: var(--prime-green);
    font-size: 16px;
    line-height: 1.4rem;
}

.pench-head>img {
    position: absolute;
    top: 0rem;
    left: -33rem;
    rotate: -110deg;
}

.pench-container {
    position: relative;
}

.pench-container>h1 {
    position: relative;
    text-align: center;
    line-height: 5rem;
}

.pench-container>h3 {
    color: #dcb36a;
}

.pench-container>h2 {
    position: absolute;
    right: 34rem;
    top: 8rem;
}

.pench-container>p {
    color: #053c36;
    line-height: 1.4rem;
}

.intro-leaf {
    width: 25%;
    left: -10rem;
}

.pench-logo {
    width: 25rem;
}

.bar-container {
    top: 50%;
    left: 44%;
    transform: translate(-50%, -50%);
}

.vertical-bar {
    width: 2px;
    height: 13rem;
    background-color: #fff;
    margin: 0 auto;
}


.resort-container {
    position: relative;
    padding: 3rem;
}


.resort-container>p {
    font-size: 16px;
    line-height: 1.4rem;
    font-family: "Gilroy-Medium", serif;
    color: white;
    padding: 1rem 0;
}

.resort * img {
    padding: 1.5rem;
}

.experience,
.act {
    gap: 0.75rem;
    height: 35rem;
}

.exp-slide,
.act-slide {
    margin-top: 5rem;
}

.slide {
    position: relative;
    overflow: hidden;
}

.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;
}

.slide-body>p {
    font-family: 'Gilroy-Regular', serif;
    position: relative;
    padding: .7rem;
    font-size: 18px;
    color: #fff;
    z-index: 2;
}

.slide:nth-child(1)::before {
    background-image: url(/public/bandhavgarh/ps-01.png);
}

.slide:nth-child(2),
.slide:nth-child(4) {
    top: 5rem;
}

.slide:nth-child(2)::before {
    background-image: url(/public/bandhavgarh/ps-02.png);
}

.slide:nth-child(3)::before {
    background-image: url(/public/bandhavgarh/ps-03.png);
}

.slide:nth-child(4)::before {
    background-image: url(/public/bandhavgarh/ps-04.png);
}

.activities:nth-child(1)::before {
    background-image: url(/public/bandhavgarh/ps-11.png);
}

.activities:nth-child(2)::before {
    background-image: url(/public/bandhavgarh/ps-12.png);
}

.activities:nth-child(3)::before {
    background-image: url(/public/bandhavgarh/ps-13.png);
}

.activities:nth-child(4)::before {
    background-image: url(/public/bandhavgarh/ps-14.png);
}

.view-more {
    font-family: "Gilroy-SemiBold", serif;
    font-size: 18px;
    color: var(--prime-green);
    border: 1px solid var(--prime-yellow);
    border-radius: 20px 0;
    padding: 10px 30px;
}

.view-more:hover {
    font-family: "Gilroy-SemiBold", serif;
    background-color: var(--prime-yellow);
    color: var(--prime-green);
    border-color: var(--prime-yellow);
}

.exp-l-leaf {
    width: 40%;
    bottom: 1rem;
    rotate: 180deg;
    left: -15rem;
    transform: scaleY(-1);
}

.exp-r-leaf {
    width: 38%;
    bottom: -4rem;
    right: -12rem;
    rotate: 40deg;
    transform: scaleX(-1);
}

.act-l-leaf {
    width: 40%;
    bottom: -1rem;
    left: -14.2rem;

}

.resort,
.guest {
    background-color: var(--prime-green);
}

.guest * img,
.hosp * img,
.safari * img {
    padding: 3rem;
}

.guest-container {
    position: relative;
    padding: 2rem;
}

.guest-title>h1 {
    position: relative;
    color: white;
}

.guest-title>h2 {
    position: absolute;
    right: 0rem;
    top: 3rem;
}

.guest-container>p {
    font-size: 16px;
    line-height: 1.4rem;
    padding-bottom: 1rem;
    padding-right: 3rem;
    font-family: "Gilroy-Medium", serif;
    color: white;
}

.guest-container>h4 {
    color: #dcb36a;
}


.guest-container>button,
.saf-container>button {
    font-family: "Gilroy-SemiBold", serif;
    font-size: 18px;
    padding: 10px 20px;
}


.savor-title>h1,
.saf-title>h1 {
    position: relative;
    color: white;
}

.hosp-title>h1 {
    position: relative;
    color: var(--prime-green);
}

.hosp-title>h2,
.savor-title>h2,
.saf-title>h2 {
    position: absolute;
    right: 0rem;
    top: 3rem;
}

.hosp-container>h4,
.savor-container>h4,
.saf-container>h4 {
    color: #dcb36a;
}

.hosp-container>p,
.savor-container>p,
.saf-container>p {
    font-size: 16px;
    line-height: 1.4rem;
    padding-right: 6rem;
    font-family: "Gilroy-Medium", serif;
    color: white;
}

.hosp-container>p {
    color: var(--prime-green);
}


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

.bg-1 {
    background-image: url("/public/bandhavgarh/get-there-bandhavgarh.png");
}

.safari-container {
    background-color: #053c36;
    position: relative;
    object-fit: cover;
}

.safari-container>img {
    object-fit: fill;
    position: relative;
}

.rectangle-box {
    position: absolute;
    bottom: -2rem;
    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;
}


.collapse-button {
    background-color: var(--prime-yellow);
    border-radius: 50%;
    width: 52px;
    height: 52px;
}

.collapse-button>i {
    font-size: 18px;
    color: white;
    font-family: "bootstrap-icons", serif;
}

.collapse-button:hover,
.collapse-button:checked {
    background-color: var(--prime-yellow);
    color: white;
}

.card-body {
    background-color: var(--secondary-yellow);
    border: none;
}

.card-body>p {
    font-size: 16px;
    line-height: 1.4rem;
    font-family: "Gilroy-Medium", serif;
    color: var(--prime-green);
    text-align: center;
    width: 54ch;
}

.more-safari {
    background-color: #053c36;
}

.more-saf-title>h1 {
    position: relative;
    color: white;
}

.more-saf-title>h2 {
    position: absolute;
    left: 8rem;
    top: 3.5rem;
}

.more-saf-container>p {
    font-size: 16px;
    line-height: 1.4rem;
    padding: 3rem 0;
    font-family: "Gilroy-Medium", serif;
    color: white;
}


.safari-book {
    font-family: "Gilroy-Medium", serif;
    font-size: 18px;
    color: #fff;
    border: 1px solid var(--prime-yellow);
    border-radius: 20px 0;
    padding: 10px 30px;
}

.safari-book:hover {
    background-color: var(--prime-yellow);
    border: 1px solid var(--prime-yellow);
}

.safari-props i {
    color: white;
    font-size: 3.5rem;
}

.safari-props p {
    font-size: 16px;
    line-height: 1.4rem;
    font-family: "Gilroy-Medium", serif;
    text-align: center;
}

.safari-props {
    position: relative;
    /* Relative positioning of parent container */
}

.safari-props>.col {
    background-color: #053c36;
}

.safari-props>.col>div {
    padding: 1rem;
}

.vertical-line {
    width: 1px;
    height: 12rem;
    background-color: white;
}

.middle-frame {
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 330px;
}

@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;
    }

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

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

/* Medium devices (tablets, 768px and up to 992px) */
@media (min-width: 768px) and (max-width: 992px) {

    .intro-leaf {
        left: -5rem;
    }

    .resort * img {
        padding: 2.3rem;
    }

    .savor * img {
        padding: 0;
    }

    .guest * img,
    .hosp * img,
    .safari * img {
        padding: 1.5rem;
    }

    .resort-container {
        padding: 1rem;
    }

    .experience,
    .act {
        height: 20rem;
    }

    .experience1::before {
        background-image: url(/public/pench/ps-01.png) !important;
    }

    .experience2::before {
        background-image: url(/public/pench/ps-02.png) !important;
    }

    .experience3::before {
        background-image: url(/public/pench/ps-03.png) !important;
    }

    .experience4::before {
        background-image: url(/public/pench/ps-04.png) !important;
    }

    .activity1::before {
        background-image: url(/public/pench/ps-11.png) !important;
    }

    .activity2::before {
        background-image: url(/public/pench/ps-12.png) !important;
    }

    .activity3::before {
        background-image: url(/public/pench/ps-13.png) !important;
    }

    .activity4::before {
        background-image: url(/public/pench/ps-14.png) !important;
    }


    .slide-body img {
        height: auto;
        width: 100%;
    }

    .slick-slider .slide {
        margin: 0 5px;
    }

    .exp-l-leaf {
        left: -8rem;
    }

    .exp-r-leaf {
        right: -8rem;
    }

    .act-l-leaf {
        left: -8rem;
    }

    .slide-body>p {
        font-size: 16px;
    }

    .hosp-container>p,
    .savor-container>p,
    .saf-container>p {
        padding-right: 0rem;
    }

    .display-md-4 {
        font-size: 2.5rem;
        font-weight: 300;
    }

    .guest-title>h2 {
        top: 1.5rem;
    }


    .more-saf-title>h2 {
        left: 10rem;
        top: 2.5rem;
    }

}


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

    .intro-leaf {
        width: 35%;
        left: -4rem;
    }

    .exp-slide,
    .act-slide {
        margin-top: 3rem;
    }


    .slide:nth-child(2),
    .slide:nth-child(4) {
        top: 0rem;
    }

    .activities:nth-child(2),
    .activities:nth-child(4) {
        top: 0rem;
    }

    .experience1::before {
        background-image: url(/public/bandhavgarh/ps-01.png) !important;
    }

    .experience2::before {
        background-image: url(/public/bandhavgarh/ps-02.png) !important;
    }

    .experience3::before {
        background-image: url(/public/bandhavgarh/ps-03.png) !important;
    }

    .experience4::before {
        background-image: url(/public/bandhavgarh/ps-04.png) !important;
    }

    .activity1::before {
        background-image: url(/public/bandhavgarh/ps-11.png) !important;
    }

    .activity2::before {
        background-image: url(/public/bandhavgarh/ps-12.png) !important;
    }

    .activity3::before {
        background-image: url(/public/bandhavgarh/ps-13.png) !important;
    }

    .activity4::before {
        background-image: url(/public/bandhavgarh/ps-14.png) !important;
    }


    .slide-body {
        height: 35rem;
        justify-content: end;
    }

    .slide-body img {
        height: 35rem;
    }

    .slick-slider .slide {
        margin: 0 5px;
    }

    .exp-r-leaf {
        width: 40%;
        bottom: -2rem;
        right: -3rem;
    }

    .resort-container {
        padding: 1rem;
    }

    .resort-container>p {
        text-align: center;
        padding: 0 1rem;
        padding-bottom: 1rem;
    }

    .resort * img {
        padding: 0rem;
        width: 13rem;
    }

    .card-body>p {
        width: 32ch;
    }


    .pench-container>h1 {
        line-height: 3rem;
    }

    .pench-container>h2 {
        left: 10rem;
        top: 5rem;
        right: 0;
    }

    .guest>.row {
        flex-direction: column-reverse;
    }

    .guest-container {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .guest-title>h2 {
        top: 2rem;
    }

    .guest-container>p {
        padding: 0rem .5rem 1rem .5rem;
        text-align: center;
    }

    .guest-container>h4 {
        text-align: center;
        padding-top: 2rem;
    }

    .guest-container>button {
        margin-bottom: 1rem;
    }


    .guest * img,
    .hosp * img,
    .safari * img {
        padding: 1rem;
    }

    .hosp-container,
    .savor-container,
    .saf-container {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hosp-title>h2,
    .savor-title>h2,
    .saf-title>h2 {
        top: 1.9rem;
    }

    .savor-title>h2 {
        top: 2rem;
        right: 2.5rem;
    }


    .hosp-title>h2,
    .saf-title>h2 {
        top: 2rem;
        right: 3.5rem;
    }

    .hosp-container>h4,
    .savor-container>h4,
    .saf-container>h4 {
        padding-top: 2rem;
    }

    .hosp-container>p,
    .savor-container>p,
    .saf-container>p {
        text-align: center;
        padding: 0 .5rem 0 .5rem;
    }

    .rectangle-box {
        position: relative;
        bottom: 0;
        border: none;
        box-shadow: none;
    }

    .safari-props {
        flex-direction: column;
    }

    .more-saf-title>h2 {
        top: 2rem;
        left: 5rem;
    }

    .slide-body>p {
        text-align: center;
    }

    .middle-frame {
        top: 55%;
        width: 340px;
    }

    .horizontal-line {
        height: 1px;
        width: 80%;
        background-color: white;
        margin: 0;
    }

}