﻿/* css/style.css
   Glass theme — robust layout + responsive fixes
*/

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;

  /* NEW GRADIENT BACKGROUND */
  background: linear-gradient(120deg, #042d4b 20%, #04395E 40%, #023c90 100%);


  color: #fff;
  line-height: 1.6;
  padding-top: 76px;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.10) 0%, transparent 40%),
    linear-gradient(120deg, #043253 20%, #04395E 40%, #023c90 100%);

}

/* White tick bullet list style */
.tick-list {
  list-style: none;
  padding-left: 0;
  color: #fff;
}

.tick-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  /* spacing for tick */
  line-height: 1.6;
}

.tick-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  /* tick color */
  font-weight: bold;
  font-size: 17px;
}


/* CONTAINER (original centered width) */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR - fixed glass */
.navbar {
  position: fixed;
  inset: 0 auto auto 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1100;
  height: 86px;
  display: flex;
  align-items: center;
  overflow: visible !important;
  backdrop-filter: blur(10px) saturate(130%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ensure nav-wrapper can position things */
.nav-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 0 20px;
  min-height: 86px;
  overflow: visible !important;
}

/* Balancer to keep nav centered when logo is on left */
.nav-wrapper::after {
  content: "";
  flex: 0 1 345px;
  /* brand(300) + menu-btn offset(45) - flexible */
  display: block;
}

@media (max-width: 1150px) {
  .nav-wrapper::after {
    flex: 0 0 100px;
    /* brand(60) + offset(40) */
  }
}

@media (max-width: 880px) {
  .nav-wrapper::after {
    display: none;
  }
}

/* Hidden checkbox */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent !important;
  cursor: pointer;
  z-index: 6000;
  /* above everything */
  transition: opacity 0.2s ease;
  position: fixed;
  /* Independent of flow */
  left: 15px;
  top: 30px;
  /* Lifted to align with logo/title optical center */
  transform: translateY(-50%);
  /* balanced in 86px navbar */
}

/* Fixed Profile Menu - Mirrors Hamburger on Right */
#profileMenuWrap {
  position: fixed;
  right: 15px;
  top: 30px;
  /* Lifted to align with logo/title optical center */
  transform: translateY(-50%);
  z-index: 6000;
  transition: opacity 0.2s ease;
}


.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
}

/* YouTube-Style Vertical Sidebar â€“ HIDDEN by default */
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  padding: 16px;
  background: rgba(8, 20, 50, 0.99);
  /* slightly more opaque */
  backdrop-filter: blur(14px);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 10000;
  /* Definitively on top of everything */
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: block;
  pointer-events: auto !important;
}

.menu-panel a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Sidebar Section Headers */
.menu-section-title {
  font-size: 0.85rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0 10px 10px;
  font-weight: 700;
}

.menu-panel a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  margin-bottom: 2px;
}

.menu-panel a svg {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.menu-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #00e5ff;
}

.menu-panel a:hover svg {
  color: #00e5ff;
  opacity: 1;
}

/* Sidebar Close Button */
.menu-close-btn {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  cursor: pointer;
  color: #fff;
}

/* Overlay / Backdrop when menu is open */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  /* Just below panel */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* When checkbox is checked â†’ Slide Sidebar In */
.menu-toggle:checked~.menu-panel {
  transform: translateX(0);
}

/* Show Overlay when menu is open */
.menu-toggle:checked~.menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Removed fixed right position for menu-btn */

/* LOGO - constrain size (prevents huge logos) */
.logo {
  height: 42px;
  /* reduced from 52px to fit better */
  width: auto;
  object-fit: contain;
  display: block;
  margin-right: 8px;
  border-radius: 8px;
}

/* BRAND (Logo + title) */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  /* reduced gap */
  text-decoration: none;
  position: relative;
  left: 0;
  flex: 0 1 auto;
  /* allow it to grow to fit content */
  margin-left: 45px;
  /* Shift to avoid fixed menu-btn */
}

@media (max-width: 1150px) {
  .brand {
    flex: none;
    /* guarantee full content width on PC */
    margin-left: 40px;
  }
}

/* Spacer for centering nav row if brand/btns are uneven */
.nav-spacer {
  flex: 1;
  display: none;
  /* enabled in media queries if needed */
}

/* Main brand title text â€“ slide in from right on load */
.brand-popup-title {
  margin: 0;
  font-weight: 700;
  color: #ffffff !important;
  white-space: nowrap;
  font-size: clamp(14px, 1.3vw, 18px);
  /* reduced slightly */
  overflow: visible;

  opacity: 0;
  transform: translateX(20px);
  animation: brandTitleSlide 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

/* Hide brand text only on extremely small screens */
@media (max-width: 380px) {
  .brand-popup-title {
    display: none;
  }
}

@media (max-width: 1100px) {
  .brand-popup-title {
    font-size: 16px;
  }
}

@keyframes brandTitleSlide {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Flip for 3s â†’ Pause 5s â†’ Repeat */
@keyframes logoFlipControlled {
  0% {
    transform: perspective(400px) rotateY(0deg);
  }

  37.5% {
    transform: perspective(400px) rotateY(360deg);
  }

  /* 3s out of 8s total */
  100% {
    transform: perspective(400px) rotateY(360deg);
  }

  /* Hold still for remaining 5s */
}

.logo {
  animation: logoFlipControlled 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-origin: center center;
}




/* Make header taller and stack brand + nav on smaller screens */
@media (max-width: 768px) {
  .navbar {
    height: auto;
    /* ðŸ”¥ allow full height instead of fixed 86px */
    padding: 8px 0;
  }

  .nav-wrapper {
    flex-direction: column;
    /* brand on first row, nav on second row */
    align-items: flex-start;
    /* align left (you can change to center) */
    gap: 8px;
  }
}




/* NAV LINKS */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  /* fills middle space and centers links */
}

/* base nav-link */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: transform .12s ease, color .18s ease, background .18s ease;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #fff, #E7F1FF);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width .28s cubic-bezier(.2, .9, .2, 1);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 72%;
}

/* active state (visible even without hover) */
.nav-link.active,
.nav-link[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* CTA button style (white on blue) */
.btn-primary {
  background: #ffffff;
  color: #1c3ec9 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(2, 43, 160, 0.12);
  border: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* Secondary button uses same style as primary for now */
.btn-secondary {
  background: #ffffff;
  color: #1c3ec9 !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(2, 43, 160, 0.12);
  border: none;
  text-decoration: none;
  /* remove underline on <a> */
  display: inline-block;
  /* so padding & radius work properly on <a> */
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* GHOST button */
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 10px;
}

/* HERO VIDEO BACKGROUND */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  /* ðŸ”¥ IMPORTANT: NOT -1 */
}


#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fill like background image */
  display: block;
}

/* HERO CONTAINER */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* ensure there is space */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* hide overflow from video */
}


/* Portrait hero image */
.hero-img {
  height: 50vh;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/* Center the hero glass card */
/* Center the hero glass card */
.hero-glass {
  position: absolute;
  /* sits ON TOP of the video */
  bottom: 6vh;
  /* distance above bottom, tweak if you want */
  left: 50%;
  /* center horizontally */
  transform: translateX(-50%);
  /* perfect centering */
  z-index: 1;
  /* above the video */

  width: min(900px, 55%);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

/* Profile dropdown: ensure visible on all viewports; mobile pinned */
#profileDropdown {
  z-index: 99999;
}

@media (max-width: 700px) {
  #profileDropdown {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 12px) !important;
    left: auto !important;
    width: auto !important;
    max-width: 90vw !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    border-radius: 10px !important;
  }
}



.hero-glass h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin-bottom: 8px;
  color: #fff;
}

.hero-glass p {
  color: rgba(255, 255, 255, 0.92);
}

/* SECTION TITLES */
.section {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  color: #fff;
  margin-bottom: 20px;
}

.section-title::after {
  content: "";
  width: 64px;
  height: 4px;
  display: block;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  opacity: .9;
}

/* GRID & CARDS */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  padding-bottom: 12px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(2, 43, 160, 0.14);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card h3 {
  font-size: 1.05rem;
  margin: 14px;
  color: #fff;
}

.card p {
  margin: 0 14px 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* FORM CARD styles (book page) */
form.card {
  padding: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  padding: 36px 0;
  margin-top: 44px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

/* Fix for document checklist text color */
.section ul {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section ul li {
  margin-bottom: 6px;
}

/* Ensure lists inside sections are left-aligned (override inherited centering) */
.section ul,
.section ol {
  text-align: left;
}


/* REVEAL animation utilities */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: transform .6s cubic-bezier(.2, .9, .2, 1), opacity .6s;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Fix hero-glass centering conflict with reveal animation */
.hero-glass.reveal {
  transform: translateX(-50%) translateY(12px);
}

.hero-glass.reveal.in {
  transform: translateX(-50%) translateY(0);
}

/* MOBILE */
@media (max-width: 880px) {
  .nav-wrapper {
    padding: 0 12px;
  }

  .logo {
    height: 46px;
  }

  nav {
    gap: 10px;
  }

  .hero-img {
    height: 220px;
  }

  .hero-glass {
    padding: 20px;
  }

  body {
    padding-top: 72px;
  }
}

/* reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 70vw;
  /* adjust size here */
  height: 70vw;
  max-width: 900px;
  /* limit scaling */
  max-height: 900px;
  background-image: url("../img/bg.png");
  /* <-- this is your logo */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  /* transparency of watermark */
  filter: grayscale(100%) brightness(140%);
  transform: translate(-50%, -50%);
  z-index: -10;
  /* stays behind ALL content */
  pointer-events: none;
  /* click-through */
}

/* FULL-BLEED HERO (removes side gaps completely) */
.fullhero {
  width: 100vw;
  /* full viewport width */
  margin-left: calc(50% - 50vw);
  /* pull section outward to stretch */
  margin-right: calc(50% - 50vw);
}

/* Hero image also needs edge-to-edge */
.fullhero .hero-img {
  width: 100vw;
  height: 90vh;
  /* adjust height */
  object-fit: cover;
  object-position: center;
}

/* ===========================
   FULL-WIDTH HEADLINE TICKER (solid block)
   =========================== */




/* Responsive tweaks */
@media (max-width: 900px) {
  .site-notice {
    padding: 0 12px;
    top: 12px;
  }

  .site-notice__inner {
    padding: 10px 12px;
    max-width: 94%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-notice__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .site-notice__text {
    margin-right: 0;
  }
}

/* ===============================
   â© SITE NOTICE â€” Rightâ†’Left News Ticker
   ===============================*/
/* ===============================
   â© SITE NOTICE â€” News Ticker
   ===============================*/

#site-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 44, 88, 0.92);
  color: #fff;
  padding: 8px 0;
  z-index: 99999;
  display: flex;
  /* text on left, buttons on right */
  align-items: center;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

/* Left area that contains the animated text */
#site-notice .ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

/* The actual scrolling text */
#site-notice .ticker-text {
  display: inline-block;
  padding-left: 100%;
  /* start off-screen on the right */
  animation: noticeSlide 18s linear infinite;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* Pause the animation when hovering the bar */
#site-notice:hover .ticker-text {
  animation-play-state: paused;
}

/* Right area: Book Now + Close */
#site-notice .notice-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 8px;
}

/* BOOK NOW button */
.notice-btn {
  background: #00d5ff;
  color: #003b63;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s;
}

.notice-btn:hover {
  background: #29e3ff;
  color: #002b46;
}

/* Close (X) button */
.notice-close {
  background: transparent;
  color: white;
  font-size: 18px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}

.notice-close:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Scroll animation: right â†’ left */
@keyframes noticeSlide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Slightly smaller on very small screens */
@media (max-width: 480px) {
  #site-notice .ticker-text {
    font-size: 13px;
  }

  .notice-btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}



/* Booking form layout */

.booking-form {
  max-width: 800px;
  margin: 24px auto;
  padding: 24px;
  border-radius: 18px;
}

.booking-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
  /* ensure all inputs are fully visible */
}

.booking-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.booking-form label {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.centered-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px auto;
}


/* â¬‡ï¸ Important: make inputs fill the column and not clip */
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6edf9;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form .form-actions {
  justify-content: flex-end;
}

.booking-form .btn-primary {
  padding: 10px 24px;
}

/* ---------------------------- */
/* MOBILE RESPONSIVE CSS FIXES  */
/* ---------------------------- */

@media (max-width: 992px) {

  nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    /* keep links in one row */
    gap: 14px;
    justify-content: flex-start !important;
    /* ensure scroll starts at first item */
    padding-left: 20px;
    /* extra room for scroll start */
    padding-right: 20px;

    overflow-x: auto;
    /* enable horizontal scroll */
    overflow-y: hidden;
    /* ðŸ”¥ disable vertical scroll completely */

    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* smooth swipe */
    scrollbar-width: none;
    /* hide scrollbar (Firefox) */

    touch-action: pan-x;
    /* ðŸ”¥ allow only left-right drag */
    overscroll-behavior-x: contain;
    /* prevent bounce up/down */
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  /* hide scrollbar on Chrome/Safari */

  .btn-primary,
  .nav-link {
    font-size: 15px;
    white-space: nowrap;
  }
}



.nav-link,
.btn-primary {
  white-space: nowrap;
  font-size: 15px;
}


@media (max-width: 768px) {

  /* Make grid items stack into 1 column */
  .grid {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  /* Reduce hero/title spacing */
  .section-title {
    font-size: 26px;
    text-align: center;
  }

  .container {
    padding: 0 16px;
  }

  /* Restore horizontal scroll behavior for admin/portal nav */
  .portal-body nav {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-left: 20px !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Responsive images */
  .card img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
  }

  /* Make footer vertical */
  footer .grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .social-icons {
    margin-top: 20px;
  }
}

@media (max-width: 520px) {

  /* Smaller mobile screens */
  nav {
    gap: 6px;
    justify-content: center;
  }

  .nav-link {
    font-size: 14px;
  }

  /* Liquid Glassy Effect for standard links on mobile */
  .nav-link:not(.btn-primary) {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 6px 16px;
    white-space: nowrap;
    margin: 0 4px;
  }

  .btn-primary {
    font-size: 13px;
    padding: 8px 14px;
    /* Ensure buttons keep their own solid style */
    background: #ffffff !important;
    /* Force white background */
    color: #1c3ec9 !important;
    /* Force blue text */
    border: none;
    border-radius: 12px;
  }

  .section-title {
    font-size: 22px;
  }
}



.service-title-box:hover {
  background: #e5ecff;
  border-color: #b8c7f3;
  transform: translateY(-2px);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ensures it fills the section */
  object-position: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
}

.social-icons a img {
  width: 38px;
  height: 38px;
}

.social-icons a:hover {
  transform: translateY(-4px);
  background: #e6f7ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-link {
  white-space: nowrap;
}


/* ================ CERTIFICATION SCROLLER ================ */

.cert-section {
  margin-top: 40px;
}

.cert-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 0 4px 0;
}

.cert-track {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  animation: certScroll 30s linear infinite;
}

/* Pause scroll when hovering over the section */
.cert-marquee:hover .cert-track {
  animation-play-state: paused;
}

.cert-slide img {
  height: 80px;
  /* adjust certificate size here */
  width: auto;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

/* Left â†’ Right continuous scroll */
@keyframes certScroll {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Slightly smaller on very small screens */
@media (max-width: 600px) {
  .cert-slide img {
    height: 64px;
  }
}

/* Messenger Floating Button */
.messenger-float {
  position: fixed;
  bottom: 92px;
  /* sits above WhatsApp */
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0084ff;
  color: #fff;
  padding: 12px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.messenger-float img {
  width: 22px;
  height: 22px;
}

.messenger-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Mobile: icon only */
@media (max-width: 640px) {
  .messenger-float span {
    display: none;
  }
}

/* Book page: make 2-column layout stack on mobile */
.booking-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

/* Book form: stack inputs on mobile */
.booking-form .form-row {
  display: flex;
  gap: 14px;
}

.booking-form .form-group {
  flex: 1;
  min-width: 0;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .booking-form .form-row {
    flex-direction: column;
  }
}

/* ==========================
   Messenger Jump Animation
   ========================== */

@keyframes messengerJump {
  0% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-6px);
  }

  40% {
    transform: translateY(0);
  }

  60% {
    transform: translateY(-3px);
  }

  80% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

/* Animate only the icon */
.messenger-float img {
  animation: messengerJump 2.5s ease-in-out infinite;
}

/* Pause animation when user hovers */
.messenger-float:hover img {
  animation-play-state: paused;
}

.login-hero .hero-img {
  filter: blur(4px);
  transform: scale(1.05);
  /* prevents white edges */
}


/* Force LIGHT native dropdown UI (fixes black dropdown menu) */
:root {
  color-scheme: light;
}

/* Custom time picker (avoids native select black popup) */
.time-picker {
  position: relative;
}

.time-picker input {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

.time-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 220px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(230, 237, 249, 0.9);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

.time-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #000;
}

.time-menu button:hover {
  background: #f2f6ff;
}

/* Time picker: make it responsive + clickable */
.time-picker {
  position: relative;
  width: 100%;
}

/* Reviews slider */
/* ===== Reviews UI Fix (force card look) ===== */
#reviews .reviews-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

#reviews .reviews-viewport {
  overflow: hidden;
  flex: 1;
}

#reviews .reviews-track {
  display: flex;
  gap: 18px;
  padding: 6px 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#reviews .reviews-track::-webkit-scrollbar {
  display: none;
}

/* FORCE the card styling back */
#reviews .review-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 12px);

  padding: 18px !important;
  border-radius: 18px !important;

  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;

  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#reviews .review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

#reviews .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#reviews .review-text {
  margin: 12px 0 0;
  line-height: 1.55;
  opacity: .95;
}

#reviews .posted {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  opacity: .9;
}

#reviews .reviews-nav {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* Tablet */
@media (max-width: 950px) {
  #reviews .review-card {
    flex: 0 0 calc(50% - 10px);
  }
}


/* --- FIX: Profile dropdown always visible on top --- */
/* The previous z-index: 500 override for .menu-panel was removed because it broke the sidebar overlay layering. 
   Layers are now: .menu-panel (2500) > .menu-overlay (2400) > profile-dropdown-glass (1000) > .navbar (1100) */

/* Lightbox Styles - RENAMED to avoid conflicts */
.country-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  /* Flex is set by JS when active */
  flex-direction: column;
  /* Stack image and caption vertically */
  align-items: center;
  /* Center horizontally */
  justify-content: center;
  /* Center vertically */
}

.country-lightbox-content {
  display: block;
  width: auto;
  /* Let natural width dictate, capped by max-width */
  max-width: 90%;
  /* prevent touching edges */
  max-height: 80vh;
  object-fit: contain;
  animation-name: zoom;
  animation-duration: 0.3s;
  margin: 0;
  /* Removing auto margin, letting flex handle centering */
}

#country-lightbox-caption {
  display: block;
  width: 90%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: auto;
  /* Remove fixed height */
  margin-top: 10px;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.country-lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
  /* Ensure above image */
}

.country-lightbox-close:hover,
.country-lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.country-lightbox-prev,
.country-lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 2001;
}

.country-lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.country-lightbox-prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.country-lightbox-prev:hover,
.country-lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media only screen and (max-width: 700px) {
  .country-lightbox-content {
    width: 100%;
  }
}