/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: 50% 20%;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../main-img-3/11.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img3/hotel-approved-c/Gallery\ Cafe1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 500px; /* Adjust this value as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 10px;
    height: 300px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}



/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    padding-top: 40px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Ensure modal height does not exceed viewport */
#contactModal .modal-dialog {
    max-width: 600px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    height: auto;
    /* height:fit-content ; Prevents it from getting too big */
}

/* Allow the modal content to fit properly */
#contactModal .modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* max-height: 90vh; */
    max-height: none;
    overflow: hidden; /* Prevents the entire modal from scrolling */
    border: 0;
    width: 100%; /* Ensures it stays responsive */
    max-width: 500px; /* Reduce form width */
    margin: auto; /* Center it */
}

/* Fix the header position so it does not scroll */
#contactModal .modal-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
}

/* Enable scrolling inside modal body */
#contactModal .modal-body {
    flex-grow: 1; /* Makes it take up the remaining space */
    /* overflow-y: auto; /* Allows vertical scrolling */
    overflow-y: hidden;
    padding: 15px;
    max-height: none;
    /* max-height: calc(90vh - 100px); /* Adjusts height dynamically */
}

/* For the modal body, ensure there's space for both fields */
#contactModal #contactModal-1 .modal-body .form-row {
    display: flex;
    justify-content: space-between; /* Ensures equal space between the fields */
}

/* Adjust the width of the date fields */
#contactModal #contactModal-1 .modal-body .form-group {
    flex: 1; /* Makes each field take up equal width */
    margin-right: 10px; /* Adds space between the fields */
}

#contactModal #contactModal-1 .modal-body .form-group:last-child {
    margin-right: 0; /* Removes margin from the last element */
}


/* For the modal body, ensure there's space for both fields (other routes) */
#bookingModal .modal-body .form-row {
    display: flex;
    justify-content: space-between; /* Ensures equal space between the fields */
}

/* Adjust the width of the date fields */
#contactModal .modal-body .form-group {
    flex: 1; /* Makes each field take up equal width */
    margin-right: 10px; /* Adds space between the fields */
}

#contactModal .modal-body .form-group:last-child {
    margin-right: 0; /* Removes margin from the last element */
}

#contactModal .modal-body button[type="submit"] {
    width: 100%;  /* Makes the button take the full width of the form */
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 45px;
    left: 45px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

/* position: fixed;
display: none;
right: 45px;
bottom: 45px;
z-index: 99; */

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    margin-top: 5px;
}

/* For mobile devices */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 40px;
        left: 40px;
        font-size: 22px;
    }
}

/* Image Staff --index.html*/
.fixed-img {
    width: 100%;      /* Ensures full width within container */
    height: 300px;    /* Set a fixed height */
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* gallery section */
.gallery-section {
    padding: 50px 0;
  }
  .gallery-heading {
    margin-bottom: 30px;
  }
  .gallery-carousel {
    max-width: 800px; /* Adjust as needed *//*updated (added)*/
    margin: auto;
  }
  .gallery-carousel .carousel-item {
    height: 400px;
    max-width: 100%;/*updated (added)*/
  }
  .gallery-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    /*updated (Added)*/
    max-width: 800px;
    max-height: 800px;
    margin: auto;
    display: block;
    opacity: 1 !important;
  }
  .gallery-carousel .carousel-control-prev,
  .gallery-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }
  .gallery-carousel .carousel-control-prev {
    left: 10px;/*updated 15-10*/
  }
  .gallery-carousel .carousel-control-next {
    right: 10px;/*updated */
  }
  .gallery-carousel .carousel-indicators {
    bottom: -30px;/*updated */
  }
  .gallery-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none; /*updated (added)*/
  }
  .gallery-carousel .carousel-indicators button.active {
    background-color: var(--primary);
  }

  .gallery-carousel .carousel-caption {
    display: none !important; /* Hides the award text */
  }

  .logo-rsm{
    width: 200px; 
    height: 120px; 
    object-fit: contain;
  }

  

  /*updated (added)*/
  @media (max-width: 768px) {
    .gallery-carousel .carousel-item {
      height: auto;
    }
    .gallery-carousel .carousel-item img {
        width: auto;
      height: auto;
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    .logo-rsm{
        width: 120px !important;
        height: 120px !important;
    }
}
  

/* ***************************************************** */

    .swiper {
        width: 100%;
        padding-bottom: 50px;
    }
    
    .swiper-slide {
        height: auto;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        color: #007bff;
    }
    
    .swiper-pagination-bullet-active {
        background: #007bff;
    }
    
    /* Ensure cards have consistent height */
    .card {
        height: 100%;
        margin-bottom: 0;
    }
    
    /* Ensure consistent image height */
    .card-img-top {
        height: 200px;
        object-fit: cover;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .custom-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .tab-btn {
            margin: 5px;
            padding: 8px 12px;
            font-size: 14px;
        }
    }


    /* Privacy policy
.policy-section:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}
.toc-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.toc-link:hover {
    color: #0d6efd;
} */