.tab-tag:hover {
  color: rgb(255, 132, 0);
}
.body-container {
  height: fit-content;
  width: 100vw;
}
.tab-content-container {
  height: 100vh;
}
.tab-tag {
  text-decoration: none !important;
  color: white;
  height: 100%;
}
.tabs-container {
  height: 100vh;

  width: 15vw;
}
.bo-nav-tabs {
  display: flex;
  align-items: flex-end; /* Aligns buttons to the bottom */
  height: 10vh;
  background-color: #6fad9c;
  justify-content: center;
  flex-wrap: nowrap !important;
  width: 100%; /* Take full width of the container */
  padding: 0; /* Remove any padding */
  margin: 0; /* Remove any margin */
}
.nav-pills-custom {
  background-color: #038443;
}
.bo-nav-link {
  width: 24vh;
  height: 63px;
  background-color: #008641;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px 15px;
  font-size: 16px;
  display: flex;
  align-items: center; /* Ensures text stays centered vertically */
  justify-content: center;
  border: 0px;
}
.bo-nav-link.active {
  background-color: white;
  color: black;
}
.bo-text {
  font-family: "Inter", serif;
  font-size: 2vh;
  font-weight: 400;
  color: #ffffff;
}
.bo-nav-link.active h1 {
  color: #000000;
}

.nav-link-custom {
  color: white;
  height: 15%;
  width: 100%;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative; /* Necessary to position the border */
  white-space: nowrap;
}

.my-nav-tabs {
  background-color: #6fad9c;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  width: 100%;
  padding: 0;
  margin: 0;
}
.my-nav-link {
  background-color: #6fad9c; /* Default grey background */
  color: black;
  width: 360px;
  height: 80px;
  margin-top: 10px;
  font-size: 24px;
  font-family: inter-regular, serif;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
  border: 0px;
}
.my-nav-link.active,
.my-nav-link:focus,
.my-nav-link:hover {
  background-color: rgb(
    255,
    255,
    255
  ) !important; /* Change color to green on click */
  color: white !important;
}
.nav-link-custom:hover {
  color: rgb(255, 132, 0);
}

.nav-link-custom.active {
  color: rgb(255, 132, 0);
}

.nav-link-custom.active > .tab-link-caption {
  width: 100%;
  height: 80%;
  background-color: white;
  color: rgb(255, 132, 0);
  transition: all 0.2s ease;
}
.name-overlay {
  font-size: 80px;
  font-weight: 800;
  font-family: Inter;
}
.branch-icon {
  width: 5vh;
  height: 5vh;
}
.location-header {
  height: 10.7vh; /* Set height to 10% of the viewport height */
  background-color: #ffffff; /* Change this to your desired background color */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #008641;
}

.location-header-text {
  font-size: 1.5rem; /* Adjust font size as needed */
  font-weight: bold;
  color: #333; /* Change this to your desired text color */
}

.branch-tab-container {
  background-color: #67a982;
  padding: 25px 15px 0 15px; /* top: 10px, right: 15px, bottom: 0, left: 15px */
  flex-wrap: nowrap; /* prevent wrapping */

  height: 8.5vh; /* or however tall the container needs to be */
  display: flex;
  align-items: flex-end !important; /* makes children align to the bottom */
}
.booth-tab-container {
  background-color: #67a982;
  padding: 25px 15px 0 15px; /* top: 10px, right: 15px, bottom: 0, left: 15px */
  flex-wrap: nowrap; /* prevent wrapping */

  height: 8.5vh; /* or however tall the container needs to be */
  display: flex;
  align-items: flex-end !important; /* makes children align to the bottom */
}

.branch-tab-item {
  margin: 0px 10px 0px 10px; /* top: 10px, right: 15px, bottom: 0, left: 15px */
  height: 100%;
}
.booth-tab-item {
  margin: 0px 10px 0px 10px; /* top: 10px, right: 15px, bottom: 0, left: 15px */
  height: 100%;
}

.branch-tab-link {
  background-color: #007a3d !important ; /* green background */
  color: #ffffff;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
  padding: 10px 20px;
  border: none !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  text-decoration: none !important;
}
.booth-tab-link {
  background-color: #007a3d !important ; /* green background */
  color: #ffffff;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
  padding: 10px 20px;
  border: none !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.branch-tab-link:hover {
  background-color: #005f2d;
  color: #ffffff;
}
.booth-tab-link:hover {
  background-color: #005f2d;
  color: #ffffff;
}

.branch-tab-link.active,
.branch-tab-link[aria-expanded="true"] {
  background-color: #ffffff !important  ;
  color: #1b4b8a;
  border: 2px solid #007a3d;
  text-decoration: none !important;
}
.booth-tab-link.active,
.booth-tab-link[aria-expanded="true"] {
  background-color: #ffffff !important  ;
  color: #1b4b8a;
  border: 2px solid #007a3d;
  text-decoration: none !important;
}
.branch-dropdown-menu.show,
.booth-dropdown-menu.show {
  display: grid !important;
}
/* Grid-style dropdown layout */
.branch-dropdown-menu {
  grid-template-columns: repeat(4, minmax(10vw, 1fr));
  gap: 1vw;
  padding: 1vh;
  background-color: #f8f9fa;
  border: none;
  min-width: 100vh;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.booth-dropdown-menu {
  grid-template-columns: repeat(auto-fill, minmax(15vw, 1fr));
  gap: 1vw;
  padding: 1vh;
  background-color: #f8f9fa;
  border: none;
  min-width: 50vh;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* give me media for resolution below 1366*768 */
@media (max-width: 1366px) {
  .branch-dropdown-menu {
    grid-template-columns: repeat(3, minmax(10vw, 1fr)) !important;
    min-width: 100vh !important;
  }
  .booth-dropdown-menu {
    grid-template-columns: repeat(2, minmax(15vw, 1fr)) !important;
    min-width: 100vh !important;
  }
}

.booth-dropdown-menu.show {
  display: grid !important;
}
/* Each dropdown item styled like a box (like tab pills) */
.branch-dropdown-item {
  background-color: #ffffff;
  border: 1px solid #008641;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
  text-align: center;
  color: #000000;
  transition: all 0.2s ease;
  white-space: nowrap;
  justify-self: center;
  white-space: normal !important;
  word-break: break-word !important;
}
.booth-dropdown-item {
  background-color: #ffffff;
  border: 1px solid #008641;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
  text-align: center;
  color: #000000;
  transition: all 0.2s ease;
  white-space: nowrap;
  justify-self: center;
  white-space: normal !important;
  word-break: break-word !important;
}
.branch-dropdown-item.active {
  background-color: #008641 !important;
  color: #ffffff;
  border: 1px solid #008641;
  text-decoration: none !important;
}
.booth-dropdown-item.active {
  background-color: #008641 !important;
  color: #ffffff;
  border: 1px solid #008641;
  text-decoration: none !important;
}

/* Hover effect for interactivity */
.branch-dropdown-item:hover {
  background-color: #008641;
  color: #ffffff;
}
.booth-dropdown-item:hover {
  background-color: #008641;
  color: #ffffff;
}
/* Show dropdown on hover */

.branch-content-section {
  display: none;
}
.booth-content-section {
  display: none;
}

.branch-content-section.active {
  display: block;
}
.booth-content-section.active {
  display: block;
}
.footer-popup1 {
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 10px 20px;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-x: auto;
  height: 10vh;
  position: fixed;
}

.footer-card1 {
  display: flex;
  align-items: center;
  border: 1px solid #008641;
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 160px;
  gap: 10px;
  background-color: #fdfdfd;
}

.footer-icon1 {
  width: 30px;
  height: 30px;
}

.footer-arrow1 {
  color: #008641;
  font-size: 1.2rem;
  margin-left: auto;
}

.footer-location1 {
  border: 1px solid #008641;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;
  background-color: #fff;
  font-weight: 500;
}
.footer-container {
  width: 100%;
  margin-top: auto; /* Pushes footer to bottom */
}

.footer-popup {
  width: 100%;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 16px;
  box-sizing: border-box;
}

.footer-card {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.footer-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  margin-top: 2px;
}

.footer-card-text {
  flex: 1;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.footer-arrow {
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.footer-locations-container {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-location {
  padding: 4px 0;
}

.footer-location:not(:last-child) {
  margin-bottom: 4px;
}

/* Desktop styles */
@media (min-width: 768px) {
  .footer-popup {
    padding: 20px;
    display: flex;
    align-items: center;
  }

  .footer-card {
    cursor: default;
    align-items: center;
  }

  .footer-arrow {
    display: none;
  }

  .footer-title {
    margin-bottom: 8px;
    margin-right: 16px;
  }

  .footer-locations-container {
    flex-direction: row;
    max-height: none !important;
    overflow: visible;
    gap: 16px;
  }

  .footer-location {
    padding: 0;
  }

  .footer-location:not(:last-child) {
    margin-bottom: 0;
  }
}
.branch-card {
  max-width: 400px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.branch-header {
  background-color: #f8f9fa;
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.branch-body {
  padding: 20px;
  background-color: rgb(255, 255, 255);
}
.branch-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.branch-info {
  margin-bottom: 15px;
}
.branch-info i {
  width: 20px;
  margin-right: 10px;
  color: #6c757d;
}
.map-img {
  width: 100%;
  height: 200px;
  background-color: #eee;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}
.branch-footer {
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #f7941d;
  background-color: #f8f9fa;
}

/* first design css */
.branch-title {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}
.branch-details p {
  margin-bottom: 10px;
  color: #34495e;
}
.branch-details i {
  width: 20px;
  color: #3498db;
  margin-right: 8px;
}
.all-branches-note {
  font-style: italic;
  color: #7f8c8d;
  margin-top: 20px !important;
}
.map-button {
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 500;
}
.map-placeholder {
  border: 1px solid #eee;
  padding: 5px;
  border-radius: 5px;
}

.btn-custom {
  background-color: #f7941d !important;
  border-color: #f7941d !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #008641 !important;
  border-color: #008641 !important;
  color: white !important;
}

.btn-custom:focus {
  box-shadow: 0 0 0 0.25rem rgba(7, 158, 40, 0.5) !important;
}

#location-content {
  background: url("/assets/location/Sukuk_flyer_Background-01.png") no-repeat
    center center fixed;
  background-size: cover;
  z-index: 1 !important;
}
/* Your existing styles remain the same */
.branch-selector-container,
.booth-selector-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.branch-selector-toggle,
.booth-selector-toggle {
  width: 100%;
  padding: 14px 16px;
  background-color: #007a3d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.branch-selector-toggle span,
.booth-selector-toggle span,
.branch-selector-toggle svg,
.booth-selector-toggle svg {
  pointer-events: none; /* Ensure click passes through */
}

.branch-selector-toggle:hover,
.booth-selector-toggle:hover {
  background-color: #006633;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.branch-selector-toggle.disabled,
.booth-selector-toggle.disabled {
  opacity: 0.8;
  pointer-events: none;
}

.branch-selector.active .dropdown-arrow,
.booth-selector.active .dropdown-arrow {
  transform: rotate(180deg);
}

.branch-dropdown,
.booth-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  display: none;
}

.branch-option,
.booth-option {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  color: #333;
  text-decoration: none;
}

.branch-option:hover,
.booth-option:hover {
  background-color: #f0f7f3;
}

.branch-option[data-branch="dhaka"],
.booth-option[data-booth="chattogram"],
.booth-option[data-booth="sylhet"],
.booth-option[data-booth="rajshahi"],
.booth-option[data-booth="dhaka"],
.booth-option[data-booth="khulna"],
.branch-option[data-branch="chattogram"] {
  font-weight: 600;
  color: #f7941d;
}

.nested-arrow {
  color: #f7941d;
}

/* Nested Dropdown Styles */
.nested-dropdown {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: all 0.3s ease;
  display: none;
  opacity: 0;
}

.nested-dropdown.active {
  transform: translateX(0);
  display: block;
  opacity: 1;
}

.nested-header {
  padding: 12px 16px;
  background-color: #cff4fc;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
}

.back-button {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #1b4b8a;
  cursor: pointer;
  padding: 4px 0;
}

.nested-options {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.nested-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  text-decoration: none;
  display: block;
}

.nested-option:last-child {
  border-bottom: none;
}

.nested-option:hover {
  background-color: #f0f7f3;
}

/* Active State Styles */
.branch-option.active,
.branch-option.active,
.nested-option.active {
  background-color: #f7941d;
  color: white;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .branch-selector-toggle,
  .booth-selector-toggle {
    padding: 16px 20px;
  }

  .branch-option {
    padding: 14px 20px;
  }

  .nested-option {
    padding: 14px 20px;
  }
}
.branch-banner {
  height: 24vh;
}

.mobile-banner-header {
  left: 50%;
  color: #008641; /* or any contrasting color */
  font-size: clamp(
    1.5rem,
    4vw,
    2.5rem
  ); /* Min: 1.5rem, Preferred: 4vw, Max: 2.5rem */
  font-weight: bold;
  z-index: 2;
  text-align: center;
  border-bottom: #008641 1px solid;
}
/* Mobile breadcrumb adjustments for location */
#mobileBreadcrumb .breadcrumb {
  white-space: nowrap;
  overflow-x: auto;
  padding-bottom: 5px;
  -webkit-overflow-scrolling: touch;
}

#mobileBreadcrumb .breadcrumb-item {
  display: inline-block;
  float: none;
}

#currentTabBreadcrumb {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

/* Ensure icons in tabs are properly aligned */
.branch-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
/* .nav-link-custom::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80%;
  height: 2px;
  background-color: white;
} */
