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

.rectangle-box [class="form-select"] {
    background-color: #053c36;
    border: none;
    color: #dcb36a;
}

.rectangle-box * p {
    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;
}

.rooms-section {
    margin-top: 6rem;
}

.room-features {
    display: none  !important;
    gap: 1rem;
}

.room-features > div {
    flex: 1;
}

.rname-title {
    display: inline-block;
}

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

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

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

.book-now2 {
    font-family: "Gilroy-SemiBold", serif;
    font-size: 16px;
    color: white;
    border: 1px solid var(--prime-yellow);
    border-radius: 20px 0;
    padding: 10px 20px;
}

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



.villa-variants > button, .variants-title {
    font-family: 'Gilroy-Medium',serif;
    letter-spacing: 1px;
}

.variants-title {
    text-align: center;
    color: #dcb36a;
    border-bottom: 1px solid #dcb36a;
}

.villa-variants {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensures buttons take the full width */
    gap: .5rem;
    
}

.villa-variants > button {
    padding-bottom: .5rem;
    color: white;
}

.villa-variants > button:hover {
    color: #dcb36a;
}

.nav-room {
    position: relative;
    padding-bottom: 5px; /* Adds space for the hover effect */
    transition: all 0.3s ease-in-out;
    flex-grow: 1; /* Ensures the buttons grow evenly */
    text-align: center; /* Centers text in each button */
    background: none;
    border: none; /* Removes default button styles */
    cursor: pointer;
}

.nav-room::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: .5px; 
    background-color: #dcb36a; 
    transition: width 0.3s ease-in-out;
}

.nav-room:hover::after {
    width: 100%;
}

.nav-room[aria-selected="true"]::after {
    width: 100%;
}

@media (min-width: 320px) and (max-width: 992px) {
    .rooms-cover {
        margin-top: 5rem;
    }

    .rooms-section {
        margin-top: 3rem;
    }
}


/* Mobile Version */
@media (min-width: 320px) and (max-width: 578px) {
    .rooms-section .container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }


    .rname-title>h2 {
        top: 1.8rem;
    }

    .pench-image-column {
        padding: 0;
    }

    .room-features {
        gap: 0;
        row-gap: 1rem;
    }

    .room-features > div {
        flex: auto;
    }
   
    
}