.gap-x-4{
    row-gap: 1rem;
}
.main-menu {
    position: relative;
}

.sub-menu {
    display: block;
    position: absolute;
    top: 80%;
    left: 0;
    width: 18rem;
    height: 16vh;
    background: #fff;
    padding-left: 2rem;
    padding-top: 0.6rem; 
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}
.main-menu:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}

.logo {
    width: 10rem;
}

.service-bg-color {
    background: #176B87;
}

.testimonial-bg-color {
    background: #F1C27B;
}

.testimony-wrap .position {
    color: #000;
}

.serv_card_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.serv_card div:nth-child(1) {
    margin: 0 auto;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 1rem;
}

.serv_card div:nth-child(1) img {
    width: 100%;
}

.serv_card div:nth-child(2) p {
    color: white;
    margin-top: 0.5rem;
}

.room {
    overflow: hidden;
    transition: all 0.3;
}

.room:hover a {
    transform: scale(1.2);
}

.point{
    font-size: 0.9rem;
    font-weight: bold;
}

.ra_btn{
    background-color: #176B87;
    color: #fff;
    outline: none;
    border: 1px solid #fff;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.ra_btn:hover{
    background-color: #fff;
    color: #176B87;
    border-color:#176B87;
}

.amenities_grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.amenities_grid .amenities_grid__col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.amenities_grid .amenities_grid__col img{
    width: 3rem;
    margin: 0 auto;
}
.amenities_grid .amenities_grid__col p{
    text-align: center;
}



@media screen and (max-width:768px) {
    .amenities_grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .sub-menu{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: inherit;
        opacity: 1;
        visibility: visible;
        display: none;
        padding-top: 0;
    }
    .sub-menu a{
        color: rgba(255, 255, 255, 0.7);

    }
    .sub-menu li { transition: 0.3s; }
    .sub-menu li:hover a{
        color: #fff;
    }

    .main-menu .active{
        display: block;
    }
    .serv_card_container {
        grid-template-columns: repeat(2, 1fr);
    }
}