/* Template CSS */
:root {
    --primary: #0077B6; /* #00B98E | #C21807 */
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* Pre-loader */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

body, nav {
    font-family: 'Roboto', sans-serif;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn {
    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: 50px;
}

/* Navbar */
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);  /* box-shadow: 0 0 30px rgba(238, 238, 238, .08); */
    border-radius: 5px;
    border: 1px solid #0077B6;
    border: 0.5px solid #0077B6; /* ultra-fine */
    border: 1px dashed #0077B6;  /* dashed style */
    border: 1px solid rgba(0, 119, 182, 0.5); /* semi-transparent */
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Hot Deals button/link = chilli red (matches the href) */
/* Keep all nav items vertically centered */
.navbar .navbar-nav { align-items: center; }

/* Make only Hot Deals look like a chilli-red button, but keep nav-link sizing */
.navbar .nav-link.nav-hot-btn {
  background-color: #d32f2f;    /* chilli red */
  color: #fff !important;        /* white text */
  border-radius: 0.5rem;
  padding: 0.5rem 0.9rem;        /* close to your nav-link rhythm */
  line-height: 1.25;
  display: inline-flex;          /* fixes vertical alignment issues */
  align-items: center;
  justify-content: center;
}

/* Hover/active states */
.navbar .nav-link.nav-hot-btn:hover,
.navbar .nav-link.nav-hot-btn:focus,
.navbar .nav-link.nav-hot-btn.active {
  background-color: #b71c1c;     /* darker chilli */
  color: #fff !important;
}

/* Nice spacing alongside the other links on wide screens */
@media (min-width: 992px) {
  .navbar .nav-link.nav-hot-btn { margin-left: .5rem; }
}

/* Full-width in the collapsed menu (mobile) so it looks intentional */
@media (max-width: 991.98px) {
  .navbar .nav-link.nav-hot-btn {
    width: 100%;
    margin: .25rem 0;
  }
}

/* Headers */
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}

/* Icons */
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}

/* About */
.about-img img {
    position: relative;
    z-index: 2;
    border-radius: 8px;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}

/* Categories */
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}

/* Tour Lists */
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}

/* Team */
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

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

/* Testimonials */
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.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: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

/* Footer */
.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 rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    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 .form-control {
    border-color: rgba(255,255,255,0.5);
}

.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, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}

/* UDMS API styling and layouts */
.swiper{
    width: 100%;
    padding: 20px 0;
}

.swiper-wrapper{
    align-items: stretch; /* all slides same height */
}

.swiper-slide{
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    height:auto;
    transition: 0.3s;
}

.swiper-slide:hover{
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.package-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;

}

.property-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.price{
    cursor: pointer;
}

.property-item .position-relative{
    flex: 0 0 auto;
}

.property-item .p-4{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card-text{
    cursor: pointer;
    font-size: 19.2px;
    min-height: 48px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color:#0077b6;
    font-weight: 600;
}

.property-item h5{
    margin-top: auto;
}

.package-card-text:hover{
    text-decoration: underline;
}

.ribbon{
    position: absolute;
    top: 15px;
    right: -50px;
    width: 160px;
    background: #4fc3f7; /* light blue */
    color: white;
    text-align: center;
    line-height: 30px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 2;
}

#fullscreenOverlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

#fullscreenOverlay img{
    object-fit: contain;
    border-radius: 5px;
    overflow: clip;
}

.modal-backdrop.show{
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.close-btn{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.tags-input{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 5px;
    cursor: text;
    min-height: 46px;
    background: #fff;
}

.tags-input input{
    border: none;
    outline: none;
    flex: 1;
    padding: 8px;
    min-width: 120px;
}

.tag{
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    margin: 2px;
    display: flex;
    align-items: center;
}

.tag span{
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
}

.suggestions{
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 2px;
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item{
    padding: 8px 12px;
    cursor: pointer;
}

.suggestion-item:hover{
    background: #f1f1f1;
}
datalist{
    display: none;
}

/* WhatsApp Business chat icon */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp green */
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
}

.whatsapp-icon {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
}

/* Form honeypot, to hide it from screen readers */
.honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ------------------------------ */
/* Make the Header section 75% of the original size in height & make sure the Navbar sits ABOVE the marquee text & remove any extra spacing from the top    START */

/* Hero height shrink ~75%) */
.header--compact .row {
/* cap the hero's vertical footprint without affecting width */
  min-height: 45vh;           /* approx. 75% of a typical 60vh hero */
}

@media (min-width: 768px) {
/* tighten the left copy column spacing that inflates height */
    .header--compact .col-md-6 {
    padding: 2rem !important; /* override .p-5 */
}
    .header--compact .mt-lg-5 {
    margin-top: 1rem !important; /* tame big top margin */
    }
}

/* keep carousel images tidy inside the shorter hero */
.header--compact .header-carousel .owl-carousel-item img {
    width: 100%;
  max-height: 45vh;   /* matches the container target */
  object-fit: cover;  /* avoid distortion, maintain width */
    display: block;
}

/* ------------------------------ */
/* Ensure hero content sits below the navbar height */
:root {
  --nav-height-mobile: 64px;   /* tweak if needed */
  --nav-height-desktop: 76px;  /* tweak if needed */
}

.header--below-nav {
    padding-top: var(--nav-height-mobile);
}

@media (min-width: 992px) {
    .header--below-nav {
    padding-top: var(--nav-height-desktop);
    }
}

/* Just in case: keep the text above any overlapping media */
.header--below-nav .col-md-6 {
    position: relative;
    z-index: 1;
}

.header--below-nav { margin-top: 0 !important; }

/* ------------------------------ */
/* Remove the intentional top spacing above the navbar */
.nav-bar { 
  margin-top: 0 !important;   /* previously 45px */
}

/* Keep the hero below the nav and cancel the theme's negative pull */
.header--below-nav { 
  margin-top: 0 !important;   /* cancels .header { margin-top: -120px } */
}

/* Belt-and-braces: ensure the browser doesn't add any default page margin */
html, body { 
  margin: 0;
}
/* Make the Header section 75% of the original size in height & make sure the Navbar sits ABOVE the marquee text & remove any extra spacing from the top    END */
/* ------------------------------ */


/* ------------------------------ */
/* Make sure the Header and Search are always touching with no gaps     START */

/* 1) Stop the header's last-child margins from collapsing out */
.container-fluid.header {
  display: flow-root;          /* creates a new block formatting context */
  margin-bottom: 0 !important; /* ensure no extra gap after header */
}

/* Safety net: if any last child inside header has margin, kill it */
.container-fluid.header *:last-child {
  margin-bottom: 0 !important;
}

/* 2) Ensure the very next block (your Search container) has no top spacing
      and override its inline padding-top if present */
.container-fluid.header + .container-fluid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* In case your Search wrapper uses extra utility classes that add spacing */
.container-fluid.header + .container-fluid[class*="mt-"],
.container-fluid.header + .container-fluid[class*="pt-"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Make sure the Header and Search are always touching with no gaps     END */
/* ------------------------------ */


/* ------------------------------ */
/* Make sure the carousel images are aligned to the right of the page al all times and the navigation buttons are to the left   START */

/* === Carousel nav: middle-left stacked === */
.header .header-carousel { position: relative; overflow: visible; }
.header .header-carousel .owl-stage-outer { overflow: hidden; }

/* Center the nav container vertically and pin it to the left */
.header .header-carousel .owl-nav {
  position: absolute !important;
  left: 12px !important;           /* inside-left edge */
  top: 50% !important;             /* center of the carousel */
  transform: translateY(-50%) !important;
  width: 44px;                     /* same as button width */
  height: 100px;                   /* 44 + 12 gap + 44 = 100 */
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;  /* stack with gap */
  align-items: center;
  pointer-events: none;            /* container ignores clicks */
  z-index: 3;
}

/* Buttons click normally */
.header .header-carousel .owl-nav .owl-prev,
.header .header-carousel .owl-nav .owl-next {
  pointer-events: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Reset any previous per-button positioning that forced them to the top */
.header .header-carousel .owl-nav .owl-prev,
.header .header-carousel .owl-nav .owl-next {
  position: static !important;     /* let the flex container place them */
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
}

/* Icon size (Bootstrap Icons) */
.header .header-carousel .owl-nav i { font-size: 24px; line-height: 1; }

/* Ensure nothing clips the buttons on the image column */
.container-fluid.header .row.g-0 > .col-md-6:last-child {
  overflow: visible !important;
  padding-right: 0 !important;
}

@media (min-width: 992px) {
  .header .header-carousel .owl-nav { left: -25px !important; } /* This is the exact placement of the marquee navigation arrows to the left of the image */
}


/* Make sure the carousel images are aligned to the right of the page al all times and the navigation buttons are to the left  END */
/* ------------------------------ */