/* Fix for navigation menu hover effect */

/* Corrected selector with proper period before nav-menu */
.nav-menu > ul > li > a:hover:after, 
.nav-menu > ul > li.hover > a:after, 
.nav-menu > ul > li > a:focus:after { 
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
} 

.nav-menu > ul > li > a,
.nav-menu > ul > li > a:hover, 
.nav-menu > ul > li.hover > a, 
.nav-menu > ul > li > a:focus {
  box-shadow: 0 4px 0 0 #009875, 0 1px 8px 0 rgba(0,0,0,0.15);
  border-radius: 8px;
  background: #fff;
  position: relative;
  z-index: 2;
  padding: 5px 10px;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

.light-hero-colors .nav-menu > ul > li > a:hover:after, 
.light-hero-colors .nav-menu > ul > li.hover > a:after, 
.light-hero-colors .nav-menu > ul > li > a:focus:after { 
  box-shadow: 0 4px 0 0 #009875, 0 1px 8px 0 rgba(0,0,0,0.15);
  border-radius: 8px;
  background: #fff;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

#site-menu .nav-menu > ul > .current-menu-item > a:after, 
#site-menu .nav-menu > ul > .current-menu-parent > a:after { 
  box-shadow: 0 4px 0 0 #009875, 0 1px 8px 0 rgba(0,0,0,0.15);
  border-top: 2px solid;
  border-radius: 8px;
  background: #fff;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

#site-menu .nav-menu > ul > .current-menu-item > a, 
#site-menu .nav-menu > ul > .current-menu-parent > a {
  box-shadow: 0 4px 12px 0 #009875, 0 1px 8px 0 rgba(0,0,0,0.15);
  border-radius: 8px;
  background: #fff;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}

/* ========== HOME PAGE FOOTER — HORIZONTAL 2-COLUMN (Social LEFT | Details RIGHT) ========== */

/* Threads.net social icon glyph */
.social-menu a[href*="threads.net"] .mdi:before {
  content: "\F52A";
}

/* ==================  POSITIONING: Footer & Booking form SHARE bottom:0 (side-by-side bars)  ================== */

#social-profiles {
  max-width: none !important;
  width: auto !important;
  left: 15px !important;
  right: 15px !important;
  font-size: 1rem !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.fullpage #social-profiles,
body.has-booking #social-profiles,
.mobile-menu-opened #social-profiles {
  visibility: visible !important;
  opacity: 1 !important;
}

/* ---- 992px+ : FOOTER & BOOKING-FORM SAME ROW flush to viewport bottom (bottom:0)
Booking form occupies RIGHT section, footer occupies LEFT section (no overlap)
A small 1px seam gap between them keeps the booking form's nav arrow section visible. ---- */
@media (min-width: 992px) {
  /* --- FOOTER (left side – full viewport width from left edge) --- */
  #social-profiles,
  .mobile-menu-opened #social-profiles {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 360px !important;
    max-width: none !important;
    z-index: 7 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* --- BOOKING FORM (right side): left edge starts after footer + 1px seam --- */
  .booking-form {
    left: 361px !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 0 !important;
    z-index: 10 !important;
  }
  /* Hero slider nav arrows (← →) live in a separate white box at the booking form's left edge.
     Raise it above the footer panel so the arrows stay visible. */
  .hero-media .owl-carousel .owl-nav {
    z-index: 11 !important;
  }
  .footer-glass-panel {
    min-height: 100px !important;
    height: 100px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .footer-layout {
    min-height: 100px !important;
    height: 100px !important;
    padding: 8px 14px !important;
    margin: 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .fullpage.hero-has-nav #social-profiles {
    left: 0 !important;
    width: 360px !important;
  }
  .fullpage.hero-has-nav .booking-form {
    left: 361px !important;
  }
  .fullpage #social-profiles.full-width {
    left: 0 !important;
  }
  .fullpage .booking-form.full-width {
    left: 361px !important;
  }
}

/* 1200px+: booking form 760px wide pinned to RIGHT edge.
Owl-nav arrow box (← →) sits at right:760px, ~100px wide → its left edge ≈ 860px.
Footer occupies left:0 to right:861px (stops before owl-nav). */
@media (min-width: 1200px) {
  #social-profiles,
  .mobile-menu-opened #social-profiles {
    position: fixed !important;
    bottom: 0 !important;       /* ← SAME row as booking form */
    top: auto !important;
    left: 0 !important;         /* ← full left coverage from viewport edge */
    right: 861px !important;    /* ← stop before owl-nav arrow box (760 + 100 + 1) */
    width: auto !important;
    max-width: none !important;
    z-index: 7 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Force booking form pinned to the right at 760px */
  .booking-form {
    left: auto !important;
    right: 0 !important;
    width: 760px !important;
    border-radius: 0 !important;
    z-index: 10 !important;
  }
  /* Owl-nav sits between footer and booking form; keep above footer just in case */
  .hero-media .owl-carousel .owl-nav {
    z-index: 11 !important;
  }
  .full-content #social-profiles {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    bottom: auto !important;
  }
}

/* 1320px: booking 850px, owl-nav right:850px width:120px → left edge 970px */
@media (min-width: 1320px) {
  #social-profiles {
    left: 0 !important;
    right: 971px !important;    /* 850 + 120 + 1 */
  }
  .booking-form {
    width: 850px !important;
  }
  .footer-glass-panel {
    min-height: 110px !important;
    height: 110px !important;
  }
  .footer-layout {
    min-height: 110px !important;
    height: 110px !important;
    padding: 12px 18px !important;
  }
}

/* 1440px: booking 910px, owl-nav left edge 1030px */
@media (min-width: 1440px) {
  #social-profiles {
    left: 0 !important;
    right: 1031px !important;   /* 910 + 120 + 1 */
  }
  .booking-form {
    width: 910px !important;
  }
}

/* 1600px: booking 990px, owl-nav left edge 1110px */
@media (min-width: 1600px) {
  #social-profiles {
    left: 0 !important;
    right: 1111px !important;   /* 990 + 120 + 1 */
  }
  .booking-form {
    width: 990px !important;
  }
}

/* 1860px: booking 1090px, owl-nav left edge 1210px */
@media (min-width: 1860px) {
  #social-profiles {
    left: 0 !important;
    right: 1211px !important;   /* 1090 + 120 + 1 */
  }
  .booking-form {
    width: 1090px !important;
  }
}

/* Tablet (768-991): booking form is bottom:50px, non-fixed. Footer sits above with enough clearance. */
@media (min-width: 768px) and (max-width: 991px) {
  #social-profiles,
  .mobile-menu-opened #social-profiles {
    max-width: none !important;
    width: auto !important;
    left: 50px !important;
    right: 50px !important;
    top: auto !important;
    position: absolute !important;
    bottom: 220px !important;
  }
}

/* ==================  PANEL: Light green glass blur, no border, seamless with booking form  ================== */

.footer-glass-panel {
  background: rgba(0, 152, 117, 0.14) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  /*  match booking form inner row heights  */
  min-height: 100px;
  height: 100px;
  display: flex !important;
  align-items: center !important;
}

@media (min-width: 1320px) {
  .footer-glass-panel {
    min-height: 110px !important;
    height: 110px !important;
  }
}

@media (max-width: 991px) {
  .footer-glass-panel {
    min-height: auto;
    height: auto;
    display: block !important;
  }
}

/* ==================  LAYOUT: 2-COLUMN FLEX ROW (fit within 100/110px height)  ================== */

.footer-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 100px;
}

@media (min-width: 1320px) {
  .footer-layout {
    min-height: 110px;
    gap: 22px !important;
  }
}

.footer-col {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-col-left {
  flex: 0 0 auto !important;
  flex-direction: row !important;
}

.footer-col-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-left: 18px !important;
  margin-left: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
}

@media (min-width: 1320px) {
  .footer-col-right {
    padding-left: 22px !important;
  }
}

/* ==================  SOCIAL ICONS – scaled to fit 100/110px row height  ================== */

.footer-col-left .social-menu ul {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  max-width: 100% !important;
}

.footer-col-left .social-menu li,
.footer-col-left .social-menu a {
  display: inline-block !important;
}

.footer-col-left .social-menu a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  margin: 0 5px 5px 0 !important;
  font-size: 18px !important;
  text-decoration: none !important;
  text-align: center !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  color: #009875 !important;
  border-radius: 50% !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important;
  transition: all 0.3s ease !important;
}

.footer-col-left .social-menu li:nth-child(5n) > a {
  margin-right: 0 !important;
}

.footer-col-left .social-menu li:first-child > a { margin-left: 0 !important; }

.footer-col-left .social-menu a:hover {
  background-color: #ffffff !important;
  color: #006f53 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3) !important;
}

.footer-col-left .social-menu a .mdi:before { color: inherit !important; }

@media (min-width: 1200px) {
  .footer-col-left .social-menu a {
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 20px !important;
    margin: 0 6px 6px 0 !important;
  }
}

@media (min-width: 1440px) {
  .footer-col-left .social-menu a {
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    font-size: 22px !important;
    margin: 0 7px 0 0 !important;
  }
}

/* ==================  BRAND NAME + DETAILS — WHITE TEXT (compact, fits 100/110px row)  ================== */

.footer-col-right .company-name {
  font-family: 'Eczar', Georgia, serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92),
               0 2px 8px rgba(0, 0, 0, 0.68) !important;
}

@media (min-width: 1200px) {
  .footer-col-right .company-name { font-size: 16px !important; }
}

@media (min-width: 1440px) {
  .footer-col-right .company-name { font-size: 17px !important; margin-bottom: 5px !important; }
}

.footer-col-right .company-details {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.footer-col-right .company-details .details-left,
.footer-col-right .company-details .details-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.footer-col-right .company-details .details-left {
  flex: 0 1 auto !important;
  padding-right: 12px !important;
}

.footer-col-right .company-details .details-divider {
  flex: 0 0 auto !important;
  width: 0 !important;
  height: 100% !important;
  align-self: stretch !important;
  border-left: 1px solid rgba(255, 255, 255, 0.38) !important;
  margin: 0 12px !important;
}

.footer-col-right .company-details .details-right {
  flex: 0 1 auto !important;
  padding-left: 0 !important;
}

/* Details-right lines: give labels a fixed min-width so both flags start at the same X.
   Increase line-height so the two flags don't visually merge vertically. */
.footer-col-right .company-details .details-right p {
  line-height: 2 !important;
}

.footer-col-right .company-details .details-right p strong {
  display: inline-block !important;
  min-width: 50px !important;
  white-space: nowrap !important;
}

.footer-col-right .company-details p {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 10px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2.5px rgba(0, 0, 0, 0.92),
               0 2px 6px rgba(0, 0, 0, 0.7) !important;
  white-space: nowrap !important;
}

/* Details-left: fixed-width labels so TAX ID / Govt License / IATA/TIDS colons
   stay vertically aligned. Allow long values (e.g. IATA 27350385 / 96175391)
   to wrap to a second line without breaking label alignment. */
.footer-col-right .company-details .details-left p {
  white-space: normal !important;
}
.footer-col-right .company-details .details-left p strong {
  display: inline-block !important;
  min-width: 78px !important;
  white-space: nowrap !important;
}

@media (min-width: 1200px) {
  .footer-col-right .company-details p { font-size: 11px !important; line-height: 1.5 !important; }
  .footer-col-right .company-details .details-left p strong { min-width: 88px !important; }
  .footer-col-right .company-details .details-right p { line-height: 2 !important; }
  .footer-col-right .company-details .details-right p strong { min-width: 54px !important; }
  .footer-col-right .company-details .details-left { padding-right: 14px !important; }
  .footer-col-right .company-details .details-divider { margin: 0 14px !important; }
}

@media (min-width: 1440px) {
  .footer-col-right .company-details p { font-size: 12px !important; line-height: 1.55 !important; }
  .footer-col-right .company-details .details-left p strong { min-width: 96px !important; }
  .footer-col-right .company-details .details-right p { line-height: 2.1 !important; }
  .footer-col-right .company-details .details-right p strong { min-width: 58px !important; }
  .footer-col-right .company-details .details-left { padding-right: 16px !important; }
  .footer-col-right .company-details .details-divider { margin: 0 16px !important; }
}

.footer-col-right .company-details p strong {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* ==================  FLAG ICONS (flag-icons library – realistic SVG flags, cross-platform)  ================== */

.footer-col-right .fi {
  display: inline-block !important;
  width: 24px !important;
  height: 18px !important;
  line-height: 1 !important;
  margin: 0 4px 0 5px !important;
  vertical-align: middle !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.55) !important;
  position: relative !important;
  top: -1px !important;
}

/* Ensure both PK & SA flags share identical box sizing & alignment */
.footer-col-right .fi.fi-sa,
.footer-col-right .fi.fi-pk {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (min-width: 1200px) {
  .footer-col-right .fi {
    width: 26px !important;
    height: 19px !important;
    margin: 0 4px 0 6px !important;
  }
}

@media (min-width: 1440px) {
  .footer-col-right .fi {
    width: 28px !important;
    height: 21px !important;
  }
}

/* ==================  RESPONSIVE FALLBACK  ================== */
@media (max-width: 991px) {
  .footer-layout {
    min-height: auto !important;
    gap: 14px !important;
  }
  .footer-col-right {
    border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
    padding-left: 14px !important;
  }
  .footer-col-left .social-menu a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 17px !important;
    margin: 0 5px 5px 0 !important;
  }
  .footer-col-right .company-name { font-size: 14px !important; }
  .footer-col-right .company-details p {
    font-size: 10px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .footer-col-right .company-details .details-left { padding-right: 10px !important; }
  .footer-col-right .company-details .details-divider { margin: 0 10px !important; }
  .footer-col-right .fi {
    width: 20px !important;
    height: 15px !important;
  }
}

@media (max-width: 580px) {
  /* Below 580px detail block stacks vertical; divider becomes horizontal line */
  .footer-col-right .company-details {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  .footer-col-right .company-details .details-divider {
    width: 100% !important;
    height: 0 !important;
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.38) !important;
    margin: 2px 0 !important;
  }
  .footer-col-right .company-details .details-left { padding-right: 0 !important; }
}

@media (max-width: 480px) {
  .footer-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .footer-col-right {
    border-left: none !important;
    padding-left: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    width: 100% !important;
  }
}

/* ==================  MOBILE ≤991px: Booking form = BOOK NOW button only  ==================
   On mobile, hide all date/guest fields. Only a full-width BOOK NOW button is shown
   (it navigates to booking.html where users pick dates).
   Footer block (social + company details) sits directly above the button.
   Hero headline stays fully visible in the viewport center. */
@media (max-width: 991px) {
  /* --- Booking form: pinned to bottom, full width --- */
  .fullpage .booking-form,
  .booking-form {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 8 !important;
    background-color: #fff !important;
    border-radius: 0 !important;
  }

  /* Hide all form fields (Check-in, Check-out, Adults, Children) */
  .booking-form form .field,
  .booking-form form .clear {
    display: none !important;
  }

  /* Hide hero slider nav arrows (← →) on mobile */
  .hero-media .owl-carousel .owl-nav {
    display: none !important;
  }

  /* BOOK NOW button: full width, fixed height, compact */
  .booking-form form button.button-color {
    display: block !important;
    width: 100% !important;
    height: 56px !important;
    line-height: 56px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }

  /* --- Footer block: sits directly above the BOOK NOW button --- */
  #social-profiles,
  .mobile-menu-opened #social-profiles,
  .fullpage #social-profiles {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 56px !important;        /* button height */
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 7 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-glass-panel {
    min-height: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
  }
}

@media (max-width: 580px) {
  /* On very small screens the footer glass panel still wraps nicely */
  .footer-glass-panel {
    padding: 10px 12px !important;
  }
}