.header {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.nav-link{
	display: flex !important;
    color: #414042 !important;
}
.header-master-wrapper {
  position: sticky;
  top: 0;
  z-index: 2000;
  background-color: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.sticky-header {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Top Bar Styles */
.top-bar {
  background-color: #111827;
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 60px;
}

.top-bar-hidden {
  max-height: 0 !important;
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-left,
.top-bar-right,
.top-bar-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-bar-link:hover {
  opacity: 0.8;
}

.top-bar .icon {
  font-size: 16px;
  color: #ffffff;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  gap: 15px !important;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 70px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 15px !important;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
}

.line-seprate {
  background-color: #dcdcdc;
  height: 75%;
  width: 1px;
  display: block;
}

@media (max-width: 700px) {
  .line-seprate {
    height: 80%;
  }
}

.nav-links li {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a,
.nav-link {
  text-decoration: none;
  color: #414042;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  padding: 10px 0;
  font-family: "Inter-Regular";
}

.nav-links a:hover,
.nav-link:hover {
  color: #3b3486;
  font-family: "Inter-Medium";
}

.arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-top: 2px;
}

.arrow.open {
  transform: rotate(180deg);
}

/* Right Section */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: -70px !important;
  transition: margin-right 0.3s ease;
}

/* When Google Translate switches the page to a non-original language,
   it adds this class to <html> automatically (and removes it when the
   user switches back to English / "Show original"). Use it to reset
   the nav-right offset so translated text doesn't overflow. */
html.translated-ltr .nav-right,
html.translated-rtl .nav-right {
  margin-right: 10px !important;
}

/* Shared translate widget — one instance, always in DOM, never hidden */
.translate-always-visible {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  padding-left: 15px;
}

@media (max-width: 1444px) {
  .nav-right {
    margin-right: -70px;
  }

  html.translated-ltr .nav-right,
  html.translated-rtl .nav-right {
    margin-right: -70px !important;
  }
}

@media (max-width: 1024px) {
  .translate-always-visible {
    margin-left: auto;
    order: 2;
    padding-left: 0px;
  }

  .mobile-only {
    order: 3;
  }
}

.whatsapp-icon {
  color: #25d366;
  font-size: 32px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.btn-book {
  background-color: #352d74;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(59, 52, 134, 0.2);
  text-decoration: none;
  font-family: "Inter-Medium";
}

.btn-book:hover {
  background-color: #2a2565;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(59, 52, 134, 0.3);
}

/* Megamenu Styles */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease;
  z-index: 999;
}

.megamenu-content {
  display: flex;
  max-width: 98%;
  margin: 0 auto;
  min-height: 450px;
}

.megamenu-sidebar {
  width: 280px;
  padding: 40px 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-item {
  padding: 15px 0px 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #414042;
  font-size: 15px;
  transition: all 0.2s ease;
  border-right: 2px solid transparent;
  margin-right: -1px;
  font-family: "Inter-Regular";
}

.sidebar-item:hover {
  font-family: "Inter-Medium";
  border-bottom: 1px solid #352d74;
}

.sidebar-item.active {
  font-family: "Inter-Medium";
  font-weight: 600;
  border-bottom: 1px solid #352d74;
}

.sidebar-item.active svg {
  fill: #3b3486;
}

.megamenu-main {
  flex: 1;
  padding: 40px 0px 40px 40px;
  background-color: #fff;
}

.sub-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.sub-item {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: all 0.2s ease;
  padding: 5px 0;
  display: block;
  line-height: 1.5;
}

.sub-item:hover {
  color: #3b3486;
  transform: translateX(3px);
}

.megamenu-right {
  width: 380px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.emergency-card {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}

.emergency-icon-wrapper {
  min-width: 36px;
  height: 36px;
  background-color: #d32f2f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

.emergency-text {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.header-location-card {
  background: #f3f3f3;
  border-radius: 5px;
  padding: 10px;
  box-shadow: none;
  transition: none;
}

.location-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.location-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.location-details h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  font-family: "Inter-Medium";
}

.location-details p,
.location-details div {
  font-size: 13px;
  color: #656565;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: "Inter-Regular";
}

.location-actions {
  display: flex;
  gap: 10px;
}

.btn-directions,
.btn-call {
  flex: 1;
  padding: 10px 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  font-family: "Inter-Regular";
}

.btn-directions {
  background-color: #352d74;
  color: #fff !important;
  border: 1px solid #352d74;
}

.btn-directions:hover {
  background-color: #2a2565;
  border-color: #2a2565;
}

.btn-call {
  background-color: #fff;
  color: #3b3486;
  border: 1px solid #c0c0e0;
}

.btn-call:hover {
  border-color: #3b3486;
  background-color: #f8f8ff;
}

/* Mobile Responsiveness */
.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay.open {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo {
  width: 50px !important;
}

.mobile-header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-whatsapp {
  color: #25d366;
  font-size: 26px;
  display: flex;
}

.close-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 5px;
}

.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-links li {
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.mobile-links li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.mobile-links li a.active {
  color: #3b3486 !important;
  font-weight: 700;
  font-family: "Inter-Medium";
  border-left: 3px solid #3b3486;
  padding-left: 10px;
}

.mobile-links li.has-arrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.back-btn {
  background: none;
  border: none;
  color: #3b3486;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.mobile-category-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
}

.mobile-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.mobile-category-item {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  line-height: 1.4;
  padding: 5px 0;
  display: block;
}

.mobile-footer-actions {
  margin-top: auto;
  padding-top: 30px;
}

.mobile-emergency {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.mobile-emergency .phone-icon {
  color: #d32f2f;
  font-size: 20px;
}

.mobile-emergency a {
  text-decoration: none;
  color: #333;
  font-weight: 700;
}

.mobile-footer-actions .language__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  width: fit-content;
  background-color: #f7f7f7;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #eef0f3;
}

.btn-mobile-action {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 15px;
}

.btn-mobile-action.primary {
  background-color: #3b3486;
  color: #fff;
}

.btn-mobile-action.secondary {
  background-color: #fff;
  color: #3b3486;
  border: 1px solid #3b3486;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 0;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 2001;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  font-size: 11px;
  gap: 4px;
}

.bottom-nav-item .icon {
  font-size: 20px;
  margin-bottom: 2px;
}

@media screen and (max-width: 1300px) {
  .nav-links {
    gap: 10px !important;
  }
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    margin-left: 12px;
  }

  .mobile-toggle svg {
    width: 30px;
    height: 30px;
  }

  .header {
    height: auto;
  }

  .nav {
    height: 70px;
    padding: 0 10px;
  }

  .logo img {
    height: 60px !important;
    width: auto !important;
  }

  .megamenu {
    display: none;
  }

  .top-bar {
    display: none;
  }
}