:root {
  --green: #1b3a2d;
  --gold: #d4a853;
  --gold-light: #f0d59a;
  --cream: #f7f3ec;
  --slate: #2c2c2c;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --dark: #1a1a2e;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

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

/*** Button ***/
.btn {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  transition: 0.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: 0px;
}

.topbar {
  height: 45px;
  z-index: 1030;
}

/* ── NAVBAR ── */
/* ── NAVBAR ── */
.navbar {
  background: transparent;
  padding: 18px 40px;
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  z-index: 1029;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: var(--green); /* Scroll ke baad color */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .navbar {
    top: 0;
  }
}

.navbar-brand {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #1a1a2e !important;
  letter-spacing: 0.5px;
}

.navbar-brand span {
  color: #f4a42b;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 6px 16px !important;
  transition: color 0.2s;
}

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

/* ── DROPDOWN MENU ── */
.dropdown-menu {
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 14px 6px;
  min-width: 180px;
  margin-top: 0px;
  background: var(--white);
  /* Fade animation */
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  pointer-events: none;
  position: absolute; /* default Bootstrap behaviour */
}

.navbar.scrolled .dropdown-menu {
  background: var(--green); /* Scroll ke baad color */
}

.dropdown-menu.show,
.dropdown-menu.submenu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  font-size: 0.93rem;
  color: var(--dark);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}

.navbar.scrolled .dropdown-item {
  color: var(--white);
}

.dropdown-item:hover {
  background-color: var(--green);
  color: var(--gold-light);
}

.navbar.scrolled .dropdown-item:hover {
  background-color: var(--gold-light);
  color: var(--green);
}

.dropdown-item.active-link {
  color: #000;
}
.dropdown-item.active-link:hover {
  background-color: var(--green);
  color: var(--gold-light);
}
/* ── SUBMENU (nested) ── */
.dropdown-submenu {
  position: relative;
}

/* Bridge: invisible area fills the gap between item and submenu */
.dropdown-submenu > .dropdown-menu {
  top: -14px;
  left: 100%;
  margin-left: 0;
  padding-left: 6px;
  /* extra invisible left padding acts as a hover bridge */
}

/* Invisible bridge pseudo-element so mouse doesn't leave the zone */
.dropdown-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 100%;
}

.dropdown-submenu > .dropdown-item::after {
  content: "›";
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-left: 10px;
}

/* toggler color */
/* .navbar-toggler-icon {
      filter: invert(0);
      color: var(--gold);
    }
    .navbar-toggler {
      border-color: var(--gold);
      color: var(--gold);
    } */

.navbar-toggler {
  border-color: var(--gold);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='gold' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile: reset to normal block flow so collapse works */
@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border-radius: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    display: none; /* Bootstrap toggles this on mobile */
    transition: none;
  }
  .dropdown-menu.show,
  .dropdown-menu.submenu-open {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  /* Navbar spacing */
  .navbar {
    padding: 12px 16px;
    top: 0;
  }

  /* Mobile menu open */
  .navbar-collapse {
    background: var(--green);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    max-height: 80vh;
    overflow-y: auto;
    transition: none;
  }

  /* Nav links */
  .navbar-nav .nav-link {
    color: var(--white) !important;
    padding: 12px 15px !important;
    border-radius: 8px;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light) !important;
  }

  /* Dropdown menu */
  .dropdown-menu {
    position: static !important;
    background: transparent !important;
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }

  /* Dropdown items */
  .dropdown-item {
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
  }

  .dropdown-item:hover,
  .dropdown-item:active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
  }

  /* Submenu indentation */
  .dropdown-submenu .dropdown-menu {
    padding-left: 15px;
  }
}

/* ** Navbar **
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
} */

/*** Hero Header ***/
/* .hero-header {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
} */

.hero-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-bottom: 90px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 31, 0.6);
  z-index: -1;
}

.hero-header .container {
  z-index: 1;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

/*** Destination ***/
.destination img {
  transition: 0.5s;
}

.destination a:hover img {
  transform: scale(1.1);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: normal;
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.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: 0.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, 0.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, 0.1);
}

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

/* ======================Card========================== */

/* ── CARD ── */
.tour-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s;
}

.tour-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

/* ── IMAGE ── */
.tour-card .card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* ── META ROW (location / days / person) ── */
.tour-meta {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
  gap: 0;
}

.tour-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #555;
  flex: 1;
  justify-content: center;
}

.tour-meta .meta-item:not(:last-child) {
  border-right: 1px solid #ddd;
}

.tour-meta .meta-item i {
  color: #5cb85c;
  font-size: 0.9rem;
}

/* ── BODY ── */
.tour-body {
  padding: 20px 20px 24px;
  text-align: center;
}

.tour-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.tour-stars {
  color: #5cb85c;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.tour-desc {
  font-size: 0.88rem;
  color: #999;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── BUTTONS ── */
.btn-tour {
  background: #5cb85c;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 22px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-tour:hover {
  background: #4cae4c;
  color: #fff;
  transform: translateY(-1px);
}

.btn-group-tour {
  display: inline-flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(92, 184, 92, 0.3);
}

.btn-group-tour .btn-tour:first-child {
  border-radius: 50px 0 0 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-group-tour .btn-tour:last-child {
  border-radius: 0 50px 50px 0;
}

/* ── SEARCH BAR ── */
.search-section{
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10;

    background: transparent; 
    padding: 0;
}
.search-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.search-bar {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 4px;
  overflow: visible; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border-right: 1.5px solid #e5e0d8;
}

.search-field:last-of-type {
  border-right: none;
}
.search-field svg {
  color: var(--gold);
  flex-shrink: 0;
}
.search-field select,
.search-field input {
  border: none;
  outline: none;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--slate);
  width: 100%;
  cursor: pointer;
}
.search-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}


.search-btn {
  background: var(--gold);
  border: none;
  padding: 0 36px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.search-btn:hover {
  background: var(--gold-light);
}
@media (min-width: 992px) {

    .hero-header {
        margin-bottom: 80px;
    }

    .search-section {
        position: absolute;
        left: 50%;
        bottom: 30px;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1200px;
        z-index: 99;
        background: transparent;
        padding: 0;
    }

}
@media (max-width: 991.98px) {

    .hero-header {
        margin-bottom: 0 !important;
    }

    .search-section {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        transform: none !important;

        width: 100%;
        max-width: 100%;
        background: #f5f2ed; 
        padding: 30px 20px;
        margin-top: 0;
        z-index: 1;
    }

    .search-bar {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 15px;
    }

    .search-field {
        width: 100%;
        background: #fff;
        border: none;
        padding: 22px 20px;
    }

    .search-btn {
        width: 100%;
        padding: 22px;
    }
}

/* ── CUSTOM SELECT DROPDOWN ── */
/* .custom-select-field {
  position: relative;
} */
.custom-select {
  width: 100%;
  position: relative;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
}
.custom-select-value {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--slate);
}
.custom-select-trigger .caret {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-left: 8px;
}
.custom-select.open .custom-select-trigger .caret {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  width: max(100%, 220px);
  background: var(--white);
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;          /* default: hidden, no scroll glitch */
  transition: max-height 0.25s ease, opacity 0.2s ease;
  z-index: 50;
}

.custom-select.open .custom-select-options {
  max-height: 280px;
  opacity: 1;
  visibility: visible;
  overflow: visible;          /* scroll sirf jab open ho aur content overflow kare */
}

.custom-select-options li {
  padding: 14px 22px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.custom-select-options li.selected {
  background: var(--gold);
  color: var(--green);
  font-weight: 600;
}
.custom-select-options li:hover {
  background: var(--green);
  color: var(--gold-light);
}

/* Mobile: dropdown should match field width and not overflow */
@media (max-width: 991.98px) {
  .custom-select-options {
    left: -20px;
    width: calc(100% + 40px);
  }
}