:root {
  --blue:       #0878c9;
  --blue-dark:  #005a9e;
  --white:      #ffffff;
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

/* Top Bar Container */
.top-bar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #4b5563;
    z-index: 1001;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left & Right Flex Groups */
.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Social icons styling */
.top-bar-socials {
    gap: 16px !important;
}

.top-bar-social-link {
    color: #4b5563;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-bar-social-link:hover {
    color: #0284c7;
    transform: translateY(-1.5px);
}

/* Links & Text */
.top-bar-link {
    color: #374151;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.top-bar-link i,
.top-bar-dropdown i {
    font-size: 12px;
    color: #1f2937;
}

.top-bar-link:hover,
.top-bar-dropdown:hover {
    color: #0284c7; /* Brand blue on hover */
}

/* Divider Line */
.top-bar-divider {
    color: #d1d5db;
    font-size: 12px;
    user-select: none;
}

/* Dropdown */
.top-bar-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 400;
}

/* Responsive Hide for Mobile */
@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    .top-bar-container {
        justify-content: center;
    }
}

/* Hamburger Toggle Hide on Desktop */
.nav-menu-toggle-cb {
  display: none;
}

.nav-menu-hamburger {
  display: none;
}

.mobile-only-cta {
  display: none;
}

/* ── Navbar ─── */

.nav-container {
    position: relative;
    z-index: 1000;
    width: calc(100% - 100px);
    height: 60px;
    margin: 12px auto 0 auto;
    padding: 8px 12px 8px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(0, 90, 158, 0.12);
    border-radius: 24px;
    box-shadow:
        0 15px 35px rgba(84, 95, 111, 0.1),
        0 3px 10px rgba(13, 27, 46, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* ==============================
   LOGO
================================ */

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.10);
}


/* ==============================
   NAV ITEMS
================================ */

.nav-items {
    display: flex;
    align-items: center;
    gap: 60px;

    list-style: none;
    margin: 0;
    padding: 6px;

   

}

.nav-items a:hover,
.nav-items a.active {
    color: var(--blue-dark);

    background: linear-gradient(
        135deg,
        rgba(0, 90, 158, 0.16),
        rgba(0, 126, 204, 0.08)
    );

    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0, 90, 158, 0.15),
        0 0 15px rgba(0, 126, 204, 0.10);
}

.nav-items a.active {
    color: var(--white);

    background: linear-gradient(
        135deg,
        #005a9e,
        #087dcc
    );

    box-shadow:
        0 6px 18px rgba(0, 90, 158, 0.30),
        0 0 18px rgba(0, 126, 204, 0.15);
}

/* Individual link */

.nav-items a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 85px;

    padding: 12px 16px;

    border-radius: 13px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 500;

    color: #0d1b2e;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}



/* ==============================
   PLAN YOUR TRIP BUTTON
================================ */

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 12px 23px;

  text-decoration: none;

  color: var(--white);

  background: var(--blue);

  font-size: 0.85rem;
  font-weight: 600;

  letter-spacing: 0.04em;

  border-radius: 30px;

  white-space: nowrap;

  box-shadow:
    0 6px 15px rgba(0, 90, 158, 0.22);

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


/* Plane icon */
.contact-btn span,
.contact-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Button hover */
.contact-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 90, 158, 0.28);
}

/* Plane animation */
.contact-btn:hover span,
.contact-btn:hover i {
  transform: translateX(4px) rotate(-8deg);
}

/* ==============================
   RESPONSIVE DESIGN (MOBILE)
================================ */
@media (max-width: 991px) {
  .nav-container {
    width: calc(100% - 30px);
    height: 60px;
    padding: 8px 16px;
    border-radius: 16px;
  }

  /* .nav-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(0, 90, 158, 0.12);
    border-radius: 20px;
    padding: 20px;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 15px 35px rgba(84, 95, 111, 0.15);
  } */
  .nav-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(0, 90, 158, 0.12);
    border-radius: 20px;
    padding: 20px;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 15px 35px rgba(84, 95, 111, 0.15);
    height: auto !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
  }


  .nav-items a {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .nav-items a:hover,
  .nav-items a.active {
    transform: none;
    box-shadow: none;
  }

  /* Hide the original desktop CTA button */
  .nav-container > .contact-btn {
    display: none;
  }

  /* Show mobile-only CTA */
  .mobile-only-cta {
    display: block;
    margin-top: 8px;
    width: 100%;
  }

  .mobile-only-cta .contact-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  /* Hamburger Menu Button */
  .nav-menu-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-menu-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #0d1b2e;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Menu Toggle Checked States */
  .nav-menu-toggle-cb:checked ~ .nav-items {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Hamburger Animation when Checked */
  .nav-menu-toggle-cb:checked ~ .nav-menu-hamburger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .nav-menu-toggle-cb:checked ~ .nav-menu-hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu-toggle-cb:checked ~ .nav-menu-hamburger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* @media (min-width: 992px) {
  .nav-items a {
    position: relative !important;
    overflow: visible !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  } */

  @media (min-width: 992px) {
  .nav-items a {
    position: relative !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    min-width: auto;
  }

  .nav-items a span {
    position: relative;
    display: inline-block;
    padding: 0 6px;
  }

  /* Underline effect on hover (relative to the text size) */
  .nav-items a span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-items a:hover span::after {
    transform: scaleX(1);
  }

  .nav-items a.active span::after {
    background-color: var(--white);
  }
  
  /* .nav-items a span::before {
    content: '✈';
    position: absolute;
    font-size: 10px;
    color: var(--blue);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    right: -15px; 
    top: 50%;
    transform: translateY(-50%) scale(0) rotate(0deg);
    transition: all 0.5s ease;
    
  }
  .nav-items a:hover span::before {
    opacity: 1;
    right: -25px;
    transform: translateY(-20px) scale(1) rotate(15deg);
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-items a.active span::before {
    color: var(--white);
  } */

  .nav-items a::before {
    content: '✈';
    position: absolute;
    bottom: -15px;
    left: -15px;
    font-size: 11px;
    color: var(--blue);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transform: rotate(25deg) scale(0.4);
   
    transition: 
      bottom 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), 
      left 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), 
      opacity 0.5s ease-in-out, 
      transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-items a:hover::before {
    opacity: 1;
    bottom: calc(100% - 15px);
    left: calc(100% - 25px);
    transform: rotate(25deg) scale(1.1);
  }
  .nav-items a.active::before {
    color: var(--white);
  }

  
}

.nav-menu-toggle-cb {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  outline: none !important;
}

.nav-container,
.nav-items,
.nav-items li,
.nav-items a,
.nav-items a span,
.nav-logo,
.nav-logo img,
.contact-btn {
  outline: none !important;
  box-shadow: none !important; 
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}
.nav-items a:focus,
.nav-items a:active,
.nav-items a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


/*DROPDOWN MENU FOR "TOURS"*/

/* --- 1. Container for the dropdown item --- */
.nav-item-dropdown {
    position: relative;
    list-style: none;
}

/* --- 2. The "Tours" link itself (no arrow) --- */
.nav-item-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* --- 3. Dropdown menu (hidden by default) --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(0, 90, 158, 0.12);
    border-radius: 16px;
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 20px 50px rgba(13, 27, 46, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
}

/* Invisible hover bridge to prevent menu from disappearing */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 1;
}

/* --- 4. Show dropdown on hover --- */
/* .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
} */
/* --- 4. Show dropdown on hover (Desktop only) --- */
@media (min-width: 992px) {
  .nav-item-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
  }
}


/* --- 5. Dropdown items --- */
.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0d1b2e;
    text-decoration: none;
    border-radius: 0;
    background: transparent;
    transition: all 0.25s ease;
    min-width: auto;
    box-shadow: none !important;
    transform: none !important;
}

.dropdown-menu li a:hover {
    background: rgba(8, 120, 201, 0.08);
    color: var(--blue);
    padding-left: 32px;
}

.dropdown-category {
  position: relative;
}

.subcategory-menu {
  position: absolute;
  top: -10px;
  left: calc(100% - 2px);
  min-width: 210px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(0, 90, 158, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(13, 27, 46, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 1001;
}

/* .dropdown-category:hover .subcategory-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
} */
@media (min-width: 992px) {
  .dropdown-category:hover .subcategory-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
}


.subcategory-menu a {
  padding-left: 20px !important;
}

.dropdown-menu li:first-child a {
    border-radius: 14px 14px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 14px 14px;
}

/* --- 6. Small arrow/triangle on top of dropdown --- */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid rgba(0, 90, 158, 0.12);
    border-left: 2px solid rgba(0, 90, 158, 0.12);
    border-radius: 4px 0 0 0;
    z-index: -1;
}

/*MOBILE RESPONSIVE DROPDOWN */

@media (max-width: 991px) {
    .nav-item-dropdown {
        position: relative;
    }

    .nav-item-dropdown .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    /* Dropdown becomes an accordion on mobile */
    /* .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        background: rgba(245, 248, 255, 0.6);
        border: none;
        border-radius: 12px;
        padding: 0;
        min-width: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        margin-top: 0;
    } */
         /* Dropdown becomes an accordion on mobile */
    .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        background: rgba(245, 248, 255, 0.6);
        border: none;
        border-radius: 12px;
        padding: 0;
        min-width: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        margin-top: 0;
    }


    /* Open state when 'open' class is added via JS */
    /* .nav-item-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 300px;
        padding: 8px 0;
    } */
    .nav-item-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 1000px; 
        padding: 8px 0;
        overflow: visible; 
    }


    .dropdown-menu li a {
        padding: 10px 20px 10px 40px;
        font-size: 0.9rem;
    }

    .subcategory-menu {
      position: relative;
      top: auto;
      left: auto;
      min-width: 100%;
      padding: 0;
      background: transparent;
      border: none;
      border-radius: 0;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: none;
    }

    .dropdown-category > a {
      padding-left: 20px;
    }

    .subcategory-menu a,
    .subcategory-menu a:hover {
      padding-left: 56px !important;
    }

    .dropdown-menu li a:hover {
        padding-left: 48px;
    }

    .dropdown-menu::before {
        display: none;
    }
}

/* Bootstrap dropdown overrides */
.nav-container .dropdown-menu {
    display: block !important;
}
.nav-container .dropdown-toggle::after {
    display: none !important;
}