/* ============================================================
   NASHIVAI SAFARIS — COMPREHENSIVE FIXES v4.0
   Fixes: Nav layout · Search bar · Footer socials · Language
          Mobile full-screen responsive (v2 — all devices)
          ORIGINAL COLOURS · Header logo-only · Page cuts
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   PROFESSIONAL SEARCH WIDGET STYLING
   ══════════════════════════════════════════════════════════════ */

/* Search button */
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-deep);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.search-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,160,55,0.4);
}
.search-btn i {
  font-size: 16px;
}

/* Search button wrapper */
.search-btn-wrap {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}

/* Improve search widget */
.search-widget {
  box-shadow: 0 12px 48px rgba(26,48,34,0.12) !important;
}

/* Make dropdown arrows more visible */
.search-field.has-select {
  position: relative;
}
.search-field.has-select::after {
  content: '▾';
  font-size: 12px;
  color: var(--charcoal-mid);
  position: absolute;
  right: 16px;
  bottom: 18px;
  pointer-events: none;
}

/* Better focus states */
.search-field select:focus,
.search-field input:focus {
  box-shadow: 0 0 0 3px rgba(212,160,55,0.15) !important;
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL MOBILE OVERFLOW FIX — prevents horizontal scroll
   ══════════════════════════════════════════════════════════════ */
html {
  overflow-x: hidden !important;
  max-width: 100vw;
  scroll-behavior: smooth;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
/* Fixed panels (find-safari-panel, mobile-menu) must NOT
   cause the document scrollWidth to expand */
.find-safari-panel,
.mobile-menu,
.find-safari-overlay,
.safari-panel-overlay {
  max-width: 100vw;
}

/* ══════════════════════════════════════════════════════════════
   HEADER — LOGO ONLY (hide text title, keep logo + lang + menu)
   ══════════════════════════════════════════════════════════════ */
/* Hide the text title next to logo on ALL screen sizes */
.nav-logo-text,
.nav-logo .logo-name,
.nav-logo .logo-sub {
  display: none !important;
}

/* Make logo image slightly larger since text is gone */
.nav-logo img {
  height: 48px !important;
}

/* Ensure nav-logo is compact */
.nav-logo {
  gap: 0 !important;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   PAGE CUTTING FIXES — prevent content from being clipped
   on mobile and all screen sizes
   ══════════════════════════════════════════════════════════════ */

/* Universal box model fix */
*, *::before, *::after {
  box-sizing: border-box;
}

/* All sections must fit within viewport */
section, article, main, aside,
.section, .hero, .page-hero,
.content-section, .about-section,
.destinations-section, .trekking-section,
.zanzibar-section, .itineraries-section,
.contact-section, .faq-section,
.blog-section, .store-section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Images — never wider than container */
img {
  max-width: 100%;
  height: auto;
}

/* Tables — scroll horizontally instead of cutting */
table {
  max-width: 100%;
  overflow-x: auto;
}

/* Embedded iframes / maps */
iframe,
.map-embed,
.video-embed {
  max-width: 100% !important;
  width: 100% !important;
}

/* Cards grid — ensure they wrap and don't overflow */
.cards-grid,
.card-grid,
.destination-cards,
.tour-cards,
.package-cards,
.safari-cards,
.trekking-cards,
.blog-cards,
.store-cards {
  max-width: 100%;
  overflow: visible;
}

/* Individual card — never wider than grid cell */
.card,
.destination-card,
.tour-card,
.package-card,
.safari-card,
.trekking-card,
.blog-card,
.store-card {
  min-width: 0;
  max-width: 100%;
}

/* Horizontal scroll tracks (partners, logos) */
.partners-track,
.logos-track,
.scroll-track {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Page hero sections */
.page-hero,
.hero-banner,
.hero-section {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

/* Text content containers */
.content-block,
.text-block,
.info-block,
.policy-content,
.terms-content,
.faq-content,
.about-content,
.contact-content {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* CRITICAL: No element should extend beyond viewport width */
@media (max-width: 768px) {
  *, *::before, *::after {
    max-width: 100vw !important;
  }

  /* Elements with overflow: visible might extend — constrain them */
  h1, h2, h3, h4, h5, h6,
  p, span, a, b, i, strong, em,
  button, .btn, input, select, textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Flex containers must wrap or constrain children */
  div[style*="display:flex"],
  .flex-row, .flex-wrap,
  .filter-row, .filter-bar {
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }
}

/* Long words / URLs in paragraphs */
p, li, td, th, span, a {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ══════════════════════════════════════════════════════════════
   TWO-COL-STACK: override inline grid-template-columns on mobile
   These divs have inline style="grid-template-columns:1fr 300px"
   which causes cutting on small screens
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .two-col-stack {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
@media (max-width: 768px) {
  .two-col-stack {
    display: block !important;
    width: 100% !important;
  }
  .two-col-stack > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
  }

  /* joining-tours page: inline grid with 1fr 320px */
  #departures > .container > [style*="grid-template-columns"],
  #departures > .container > div[style] {
    display: block !important;
  }
  #departures > .container > div[style] > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
  }

  /* plan-your-trip: repeat(5,1fr) step indicator */
  [style*="repeat(5,1fr)"],
  [style*="repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  /* trekking: repeat(3,1fr) packing list */
  [style*="repeat(3,1fr)"],
  [style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* contact / about / index / zanzibar: 1fr 1fr inline grid */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE PAGE CUTTING FIXES — @media ≤ 768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Prevent any fixed-position child from expanding doc width */
  body {
    position: relative;
  }

  /* Hero heights — prevent tall hero from cutting viewport */
  .hero,
  .page-hero,
  .hero-section,
  .hero-banner {
    min-height: 60vh !important;
    height: auto !important;
  }

  /* Section vertical spacing — less cutting */
  section,
  .section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Grid — all 2/3-col grids collapse to 1 col */
  .grid-2,
  .grid-3,
  .grid-4,
  [class*="grid-cols"],
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* CRITICAL: Hide desktop mega-menu & dropdown on mobile */
  .mega-menu,
  .dropdown {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Hide desktop nav center on mobile */
  .nav-center {
    display: none !important;
  }

  /* Hide desktop nav-right items except hamburger */
  .nav-whatsapp,
  .nav-cta {
    display: none !important;
  }

  /* Keep lang button visible on mobile */
  .nav-lang-wrap {
    display: flex !important;
  }

  /* Show hamburger */
  .hamburger {
    display: flex !important;
  }

  /* Flex rows → stack */
  .flex-row,
  .info-row,
  .feature-row,
  .split-row {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Cards — full width */
  .card,
  .destination-card,
  .tour-card,
  .blog-card,
  .store-card,
  .itinerary-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Tables with many columns - scroll rather than cut */
  .table-wrap,
  .table-container,
  .overflow-table {
    overflow-x: auto !important;
    max-width: 100vw !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Stat/feature grids */
  .stats-grid,
  .features-grid,
  .highlights-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Hide lang button text — show only flag */
  .lang-code,
  .lang-chevron {
    display: none !important;
  }
  .nav-lang-btn {
    padding: 4px 6px !important;
  }
}

/* ── Very small phones: 480px ── */
@media (max-width: 480px) {
  html, body { font-size: 14px; }

  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.2rem) !important;
  }
  .nav-logo-text { display: none !important; }
  .nav-logo img { height: 32px !important; }
  .hero-content { padding: 0 16px !important; }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2rem) !important;
  }

  /* Tighter search fields */
  .search-field { padding: 8px 10px !important; }
  .search-field label { font-size: 9px !important; letter-spacing: 1.5px; }
  .search-field select,
  .search-field input { font-size: 13px !important; }

  /* Mobile menu body text */
  .mobile-menu-body a {
    font-size: 14px !important;
    padding: 11px 16px !important;
  }
  .mobile-menu-ctas { flex-direction: column !important; }
  .mobile-menu-ctas .btn { width: 100% !important; }

  /* Keep lang button, hide only CTA and whatsapp */
  .nav-whatsapp {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  /* Lang button compact on tiny screens */
  .nav-lang-wrap {
    display: flex !important;
  }
  .lang-code,
  .lang-chevron {
    display: none !important;
  }

  /* Section horizontal padding */
  .container,
  .container-wide,
  .container-narrow {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Buttons — full width stack */
  .btn {
    min-width: unset !important;
    width: 100% !important;
    text-align: center !important;
  }
  .hero-actions,
  .cta-buttons,
  .btn-group {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* Swiper / carousel full width */
  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   TRAVEL-ADVISOR TABLE FIX
   The inline style has overflow:auto then overflow:hidden which
   cancels scrolling. Force overflow-x:auto on the wrapper.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Override the inline overflow:hidden that blocks table scroll */
  [style*="overflow-x:auto"][style*="overflow:hidden"],
  [style*="overflow-x: auto"][style*="overflow: hidden"] {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
  /* Ensure the parks comparison table scrolls */
  .fade-up[style*="overflow-x:auto"] {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   JOINING-TOURS: departure schedule grid fix
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* The inline "1fr 320px" grid in joining-tours.html */
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   GENERAL: Any inline style with a fixed-pixel second column
   should collapse to single column on mobile
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* All inline display:grid divs that weren't explicitly handled */
  div[style*="grid-template-columns"][style*="px"] {
    grid-template-columns: 1fr !important;
  }
  /* Exception: auto-fit/minmax grids are fine */
  div[style*="auto-fit"],
  div[style*="auto-fill"] {
    /* Let auto-fit handle it — these are already responsive */
  }

  /* #navbar is fully full-width on all mobile */
  #navbar,
  .navbar {
    width: 100% !important;
  }
  #navbar .nav-inner,
  .navbar .nav-inner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Hero padding from nav */
  .hero {
    padding-top: 64px;
  }

  /* Section horizontal padding */
  .container,
  .container-wide,
  .container-narrow {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ══════════════════════════════════════════════════════════════
   BACKGROUND-ATTACHMENT: fixed causes issues on iOS
   Change to scroll on mobile
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  [style*="background-attachment:fixed"],
  [style*="background-attachment: fixed"],
  .bg-photo-serengeti,
  .bg-photo-kili,
  .bg-photo-zanzibar,
  .parallax-section {
    background-attachment: scroll !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — always single column on small mobile
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-col {
    text-align: center !important;
  }
  .footer-social {
    justify-content: center !important;
  }
}

/* ── Page-specific container fixes ── */
@media (max-width: 768px) {
  /* Itineraries page */
  .itinerary-grid,
  .itinerary-list {
    grid-template-columns: 1fr !important;
  }
  
  /* Visa page */
  .visa-grid,
  .visa-content {
    grid-template-columns: 1fr !important;
  }
  
  /* All page content areas */
  .content-wrapper,
  .main-content,
  .page-content {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* CRITICAL: Filters, buttons, and flex containers must stay within viewport */
  .filter-row,
  .filter-bar,
  .category-filters,
  .tag-filters,
  .style-filters,
  [class*="filter"],
  [class*="Filter"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: wrap !important;
  }

  /* Individual filter buttons — never wider than available space */
  .filter-row button,
  .filter-bar button,
  .category-filters button,
  .tag-filters button,
  .style-filters button,
  .filter-btn,
  .tag-btn,
  .category-btn {
    flex-shrink: 0 !important;
    max-width: 200px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* H4 and headings in filter areas */
  .filter-row h4,
  .filter-bar h4,
  section h4 {
    width: 100% !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
  }
}

/* ── Extra tight constraints for very small screens ── */
@media (max-width: 400px) {
  /* Filter buttons — even tighter on tiny phones */
  .filter-row button,
  .filter-bar button,
  .category-filters button,
  .tag-filters button,
  .style-filters button,
  .filter-btn,
  .tag-btn,
  .category-btn {
    max-width: 150px !important;
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  /* Reduce side padding when space is limited */
  .container,
  .container-wide {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
/* ============================================================
   FOOTER IMPROVEMENTS - Professional organization
   ============================================================ */

/* Better footer grid organization */
.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  padding: 48px 0 !important;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 32px 20px !important;
  }
}

/* Brand column - emphasize */
.footer-brand {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 40px;
}
@media (max-width: 768px) {
  .footer-brand {
    border-right: none;
    padding-right: 0;
    text-align: center;
  }
}

/* Footer links - better hover effects */
.footer-social .social-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,160,55,0.1);
  color: var(--gold);
  border-radius: 50%;
  transition: all 0.25s ease;
  margin-right: 8px;
}
.footer-social .social-btn:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: translateY(-3px);
}

/* Footer links better styling */
.footer-links a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s ease;
  border-left: 2px solid transparent;
  padding-left: 12px;
}
.footer-links a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 16px;
  background: rgba(212,160,55,0.05);
}

/* Footer column headings */
.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212,160,55,0.3);
}

/* Certification badges */
.cert-badge {
  display: inline-block;
  background: rgba(212,160,55,0.15);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Review strip improvements */
.footer-review-strip {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-forest) 100%);
  padding: 28px 0;
  border-bottom: 3px solid var(--gold);
}
.footer-review-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer-review-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }
}
.footer-review-score {
  min-width: 120px;
}
.review-score-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.review-score-stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin: 6px 0;
}
.footer-review-quote {
  flex: 1;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .footer-review-quote {
    font-size: 0.95rem;
  }
}

/* ============================================================
   MOBILE MENU IMPROVEMENTS - Better organization
   ============================================================ */

/* Mobile menu body - better spacing and grouping */
.mobile-menu-body {
  padding: 12px 0;
  overflow-y: auto;
}

/* Main menu items - better visual hierarchy */
.mobile-menu-body > a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s ease;
}
.mobile-menu-body > a:hover {
  background: rgba(212,160,55,0.1);
  padding-left: 24px;
  color: var(--gold);
}
.mobile-menu-body > a i {
  width: 24px;
  color: var(--gold);
  text-align: center;
  margin-right: 12px;
}

/* Parent menu items - distinctive styling */
.mobile-menu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700 !important;
  color: var(--white) !important;
  background: rgba(255,255,255,0.03);
}
.mobile-menu-parent i:first-child {
  color: var(--gold) !important;
}
.mob-chevron {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6) !important;
  transition: transform 0.3s ease;
}
.mobile-menu-parent.active .mob-chevron {
  transform: rotate(180deg);
}

/* Submenu items - nested hierarchy */
.mobile-submenu {
  display: none;
  background: rgba(0,0,0,0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-submenu.open {
  display: block;
  max-height: 500px;
}
.mobile-submenu a {
  display: block;
  padding: 12px 20px 12px 56px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.mobile-submenu a:hover {
  background: rgba(212,160,55,0.08);
  color: var(--gold);
  padding-left: 62px;
}

/* Mobile menu CTAs - better spacing */
.mobile-menu-ctas {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 12px;
}
.mobile-menu-ctas .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-weight: 700;
}

/* Mobile menu language row */
.mobile-lang-row {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.2);
}
.mobile-lang-row label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.mobile-lang-select {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.9rem;
}

/* ============================================================
   SEARCH WIDGET PROFESSIONAL STYLING - English main language
   ============================================================ */

/* Search widget container - elegant shadow and border */
.search-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: 0 8px 32px rgba(26,48,34,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(26,48,34,0.08);
}

/* Search fields - professional styling */
.search-field {
  position: relative;
  margin-bottom: 0;
}
.search-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--charcoal-mid);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.search-field label i {
  color: var(--gold);
  font-size: 0.85rem;
}
.search-field select,
.search-field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(26,48,34,0.12);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal-dark);
  background: var(--white);
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,160,55,0.1);
  background: rgba(255,255,255,0.9);
}

/* Select fields - custom arrow */
.search-field.has-select {
  position: relative;
}
.search-field.has-select::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--charcoal-mid);
  position: absolute;
  right: 16px;
  bottom: 20px;
  pointer-events: none;
  opacity: 0.6;
  transition: all 0.25s ease;
}
.search-field.has-select:focus-within::after {
  color: var(--gold);
  opacity: 1;
}

/* Search button - professional CTA style */
.search-btn {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-forest) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26,48,34,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.search-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a037 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,160,55,0.4);
  color: var(--green-deep);
}
.search-btn i {
  font-size: 1.1rem;
}

/* Language button in search area - professional styling */
.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(26,48,34,0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-deep);
}
.nav-lang-btn:hover {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(212,160,55,0.2);
}
.nav-lang-btn img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
}

/* Mobile search improvements */
@media (max-width: 768px) {
  .search-widget {
    padding: 16px 12px 12px;
    margin: 0 -12px;
  }
  .search-field select,
  .search-field input {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .search-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    width: 100%;
  }
  .search-field label {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }
}

/* ============================================================
   ENGLISH AS MAIN LANGUAGE - Google Translate ready
   ============================================================ */

/* Ensure English is primary throughout */
body,
p, span, a, h1, h2, h3, h4, h5, h6,
button, label, input, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Google Translate widget area styling */
.google-translate-container {
  display: inline-block;
  margin-left: 8px;
}

/* Skip translate for navigation icons */
.nav-lang-btn i,
.nav-lang-btn img,
.mobile-menu-body a i,
.mobile-menu-parent i {
  translate: no;
}

/* Ensure readable translations */
* {
  font-synthesis: none;
}

/* ============================================================
   MOBILE MENU SECTION HEADINGS - Better organization
   ============================================================ */

.mobile-menu-section {
  padding: 12px 20px;
  background: rgba(212,160,55,0.08);
  border-left: 3px solid var(--gold);
}

.mobile-menu-section h5 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
}

/* Better mobile menu link spacing */
.mobile-menu-body > a {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Active state for mobile menu links */
.mobile-menu-body > a:active {
  background: rgba(212,160,55,0.15);
}

/* Better mega-menu heading styles */
.mega-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212,160,55,0.3);
}

/* Mega-menu item hover effects */
.mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: rgba(255,255,255,0.8);
  transition: all 0.25s ease;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.mega-col a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 16px;
  background: rgba(212,160,55,0.05);
  transform: translateX(3px);
}

/* Dropdown links styling */
.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all 0.25s ease;
  border-left: 2px solid transparent;
}

.dropdown-link:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(212,160,55,0.08);
  padding-left: 24px;
}

/* Nav link improvements */
.nav-link {
  position: relative;
  transition: all 0.25s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Chevron rotation on hover */
.nav-link:hover .chevron {
  transform: rotate(180deg);
}
