/* ========== GENERAL ========== */
/* Updated global style */
html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #202020;
  background-color: #ece6e6;
  position: relative;
  z-index: 1;
  padding-top: 0;
}

body {
  padding-top: 10px; /* Push content below fixed navbar */
}

/* ========== HEADER & NAVBAR ========== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 5px 80px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.topbar .logo img {
  max-width: 50%;
  height: auto;
  display: block;
}

.topbar .nav-icon {
  font-size: 20px;
}

.topbar .nav-text {
  font-size: 14px;
  margin-top: 1px;
}

.topbar .nav-item {
  text-align: center;
  color: #333;
  text-decoration: none;
}

.topbar .nav-item:hover {
  color: #df157a;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 1px;
}

.right-section .nav-text {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

/* ========== DROPDOWNS ========== */
.dropdown-wrapper {
  position: relative;
  margin-left: 20px;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #000;
  font-weight: 500;
  cursor: pointer;
}

.dropdown-toggle i {
  margin-right: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 15px;
  min-width: 260px;
  z-index: 9999;
}

.dropdown-wrapper:hover .dropdown-content {
  display: block;
}

.dropdown-content .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content .item:last-child {
  border-bottom: none;
}

.dropdown-content .item i {
  font-size: 20px;
  color: #007bff;
}

.dropdown-content .label {
  font-weight: 600;
  font-size: 15px;
  color: #000;
}

.dropdown-content .subtext {
  font-size: 13px;
  color: #007bff;
}

.dropdown-content a {
  text-decoration: none;
}

/* ========== ICON HANDLING ========== */
.icon-img,
.nav-item img {
  width: 36px;
  height: 36px;
  transition: 0.3s ease-in-out;
  margin-bottom: 0px;
}

.default-icon {
  display: inline;
}

.hover-icon {
  display: none;
}

.nav-item:hover .default-icon,
.dropdown-wrapper:hover .default-icon {
  display: none;
}

.nav-item:hover .hover-icon,
.dropdown-wrapper:hover .hover-icon {
  display: inline;
}

/* ========== CARD STYLES ========== */
.card-deck-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.custom-card {
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.582);
  border-radius: 1rem;
  padding: 0.1rem;
  background-color: #fff;
}

.custom-card:hover {
  transform: translateY(-5px);
}

.card {
  border: none !important;
}

.container_color {
  background-color: #fff;
}

.namecolor {
  color: #03467c;
}

.pricecolor {
  color: #f10c05;
}

/* ========== SEARCH BAR ========== */
.search-bar input::placeholder {
  font-style: italic;
  color: #aaa;
}

.search-bar input {
  padding-left: 10px;
}

.search-bar .input-group-text {
  background: transparent;
  border: none;
}

/* ========== HAMBURGER MENU ========== */
.hamburger-menu {
  font-size: 22px;
  margin-right: 15px;
  cursor: pointer;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1x;
}

.menu-tile {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgb(206, 196, 196);
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #eee;
  margin-inline-start: 10px;
}

.menu-tile:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-tile img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: opacity 0.3s ease;
}

.icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.icon-wrapper img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.icon-wrapper .hover-icon {
  opacity: 0;
}

.menu-tile:hover .hover-icon {
  opacity: 1;
}

.menu-tile:hover .default-icon {
  opacity: 0;
}

.menu-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* Wrapper for scrolling and layout */
.destination-tabs-wrapper {
  padding: 10px;
  overflow-x: auto;
  white-space: nowrap;
  background-color: #f0ebeb; /* light background to match image */
}

/* Tab container with scroll enabled */
.tab-container {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  background-color: white;
  border-radius: 12px 12px; /* full pill shape */
  padding: 5px 5px;
}

/* Default tab style */
.tab-pill {
  display: inline-block;
  padding: 8px 20px;
  background-color: #f1f1f1;
  color: #333;
  border-radius: 999px; /* full pill shape */
  border: none;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}

/* On hover */
.tab-pill:hover {
  background-color: #e0e0e0;
}

/* Active tab */
.tab-pill.active {
  background-color: #ff944d; /* orange */
  color: white;
  font-weight: 600;
}

/* Optional scroll arrow button */
.scroll-pill {
  font-size: 10px;
  padding: 4px 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.custom-card-secondpage
{
  padding:2px;
  font-size: 13px;
  
}


.sort-bar {
  padding: 10px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Segoe UI', sans-serif;
}

.sort-bar strong {
  color: #333;
}

.sort-label {
  color: #666;
}

.sort-select {
  border: none;
  background: transparent;
  font-size: 12px;
  color: #333;
  padding: 1px 1px;
  cursor: pointer;
}

#icondiv {
  border: 2px solid rgb(252, 252, 252); /* white border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* soft black shadow */
  background-color: white; /* optional: ensures clean contrast */
  border-radius: 10px; /* optional: smooth corners */
  margin-bottom: 23px;
  padding: 10px;
}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 4px;
  }

.icon-img {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  max-height: 40px; /* adjust if needed */
}

.nav-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 0.85rem; /* adjust font size if needed */
}

  .topbar .d-flex.justify-content-center {
    display: none !important;
  }

  .card-deck-5 .custom-card {
    flex: 0 0 calc(50% - 0.8rem);
  }

  .mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0; /* Optional: remove space between tiles */
    width: 100%;
  }
  

  .default-icon {
    display: none !important;
  }

  .hover-icon {
    display: inline !important;
    opacity: 1 !important;
    position: static !important;
  }

  .icon-wrapper .hover-icon {
    opacity: 1 !important;
  }

  .icon-wrapper .default-icon {
    opacity: 0 !important;
  }

  .menu-tile:hover .hover-icon,
  .menu-tile:hover .default-icon {
    opacity: 1 !important;
  }
  .logo {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
  max-width: 150px;
min-width:150px;

  }
  
  .logo img {
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
  }
  .menu-tile {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgb(206, 196, 196);
    padding: 5px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eee;
    margin-inline-start: 10px;
  }
  
.menu-label {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 0.85rem;
}
#carouselExampleIndicators
{
  margin-top:0px!important;
}
.carousel-inner img{
  height: auto !important;
}
.mobile-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns in a row */
  gap: 6px;               /* reduce space between tiles */
  padding: 4px 8px;       /* small padding around grid */
}

.menu-tile {
  padding: 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.icon-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.default-icon,
.hover-icon {
  height: 36px;
  margin: 0;
  padding: 0;
}

.hover-icon {
  display: none;
}

.menu-tile:hover .default-icon {
  display: none;
}
.menu-tile:hover .hover-icon {
  display: inline;
}

.menu-label {
  font-size: 0.75rem;
  margin-top: 2px;
  line-height: 1;
  color: #000;
}

}

.third_icon {
  font-size: 1rem; /* You can use 1.2rem or 'large' for larger text */
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  flex: 1 1 50px;
  max-width: 150px;
}

.third_icon img {
  margin: 10px auto !important;
  width: 70px;   /* Increased size */
  height: 70px;  /* Increased size */

}

/* Optional: Add hover effect */
.third_icon:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .third_icon {
    max-width: 100px;
    font-size: 0.9rem;
  }

  .third_icon img {
    width: 60px;
    height: 60px;
  }
.right-section .nav-text {
  font-size: 9px;
}

}
@media (max-width: 480px) {
  .third_icon {
    max-width: 80px;
    font-size: 0.8rem;
  }

  .third_icon img {
    width: 50px;
    height: 50px;
  }
}


  /* ============ New tested code ====== */
.search_box {
  width: 100%;
  max-width: 600px; /* Optional: limit width on large screens */
  margin: auto;
max-height:50px;
}

.search_box .form-control {
  border-radius: 0;
  font-size: 1rem; /* Responsive font size */
  height: auto;    /* Let height adjust naturally */
  box-shadow: none;
}

.search_box .input-group-text {
  background-color: white;
  font-size: 1.3rem;
  border-right: none;
}

.search_box .btn {
  font-weight: 600;
  font-size: 1rem;
  border: none;
  white-space: nowrap;
}

/* Optional: Tweak for smaller devices */
@media (max-width: 768px) {
  .search_box .form-control,
  .search_box .btn,
  .search_box .input-group-text {
    font-size: 0.9rem;
  }
.search_box
{
 max-width:50px;
}
}

@media (max-width: 480px) {
  .search_box .form-control,
  .search_box .btn,
  .search_box .input-group-text {
    font-size: 0.85rem;
  }
.search_box
{
 max-width:50px;
}

  .search_box {
    padding: 0 10px;
  }
}

/* ------ Done For Search Bar */
 #helpIcon {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 1000;
      background: #007bff;
      color: #fff;
      border-radius: 50px;
      padding: 10px 20px;
      cursor: move;
      display: flex;
      align-items: center;
      font-weight: bold;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      transition: transform 0.3s;
    }

    #helpIcon i {
      margin-right: 8px;
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    .popup {
      position: fixed;
      bottom: 100px;
      right: 30px;
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
      display: none;
      z-index: 1001;
      max-width: 300px;
    }

    .popup input {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      outline: none;
    }

    .popup .warning {
      color: red;
      font-size: 12px;
      display: none;
    }

    .popup button {
      margin-top: 10px;
      background: #28a745;
      color: white;
      padding: 8px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .popup .close-btn {
      float: right;
      font-size: 18px;
      cursor: pointer;
      color: #999;
    }

    .step {
      display: none;
    }

    .step.active {
      display: block;
    }

    .popup-title {
      font-weight: bold;
      margin-bottom: 10px;
    }

    #messageBox {
      margin-top: 10px;
      font-size: 13px;
      color: #155724;
      background-color: #d4edda;
      padding: 10px;
      border-radius: 4px;
      display: none;
    }