@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;700&display=swap');

:root {
  /* Colors — Wellatio Care Brand Palette (logo_final) */
  --color-primary: #c4507a;
  /* Rose-Pink 600 — Primary Brand */
  --color-primary-dark: #7b3d63;
  /* Deep Plum — Depth & Authority */
  --color-secondary: #e07096;
  /* Rose 400 — Interaction & Hover */
  --color-accent: #b94b72;
  /* Rose-Crimson — CTA Action */
  --color-accent-soft: rgba(196, 80, 122, 0.09);
  --color-bg: #f5ede8;
  /* Cream — Warm Elegant Background */
  --color-bg-white: #fdf8f6;
  /* Off-White Cards */
  --color-text: #2d1a24;
  /* Deep Plum-Black — High Contrast Title */
  --color-text-dim: #6b4458;
  /* Muted Plum — Readable Body */
  --color-border: rgba(196, 80, 122, 0.14);
  --color-white: #ffffff;

  /* Shared Spacing — Corporate Breathability */
  --section-padding: 8rem;
  --container-max: 1300px;

  /* Shadows — Layered Depth */
  --shadow-sm: 0 4px 12px rgba(123, 61, 99, 0.05);
  --shadow-md: 0 12px 36px rgba(123, 61, 99, 0.09);
  --shadow-lg: 0 24px 64px rgba(123, 61, 99, 0.14);
}


/* ──────────────────────────────────
   RESET & DEFAULTS
────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo-main {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 4px;
  border-radius: 4px;
}

.btn-cta-green:focus-visible,
.btn-cta-red:focus-visible,
.nav-item:focus-visible {
  outline-offset: 6px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ──────────────────────────────────
   TOP ANNOUNCEMENT TICKER
────────────────────────────────── */
.top-announcement {
  background: var(--color-bg);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  padding: 0 4rem;
  color: var(--color-primary);
}

.ticker-item i {
  margin-right: 8px;
}

/* ──────────────────────────────────
   HEADER & NAVIGATION 
────────────────────────────────── */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-top: 0;
  /* Solid white sticky bar by default */
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 40px;
  max-width: 100%;
  margin: 0;
  pointer-events: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 72px;
}

.menu-toggle {
  display: none;
}

/* ══════════════════════════════════
   LOGO WRAP (top bar state)
   ══════════════════════════════════ */
.logo-wrap {
  display: flex;
  align-items: center;
  pointer-events: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  justify-self: start;
  opacity: 1;
  transform: translateX(0);
}

/* Header logo — blend cream bg of 2.png into header */
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}


/* ══════════════════════════════════
   PILL NAV (full-width state)
   ══════════════════════════════════ */
.pill-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  pointer-events: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  grid-column: 2;
  justify-self: center;
}

/* Inline logo wrapper inside pill (hidden at top, shown on scroll) */
.pill-nav-logo-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  margin-right: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-decoration: none;
}

.pill-nav-logo-wrap img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

/* ══════════════════════════════════
   SCROLLED STATE — Dynamic Island
   ══════════════════════════════════ */
@media (min-width: 992px) {
  .global-header.scrolled {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 4px 0 0;
    /* display flex so inner collapses immediately to pill height */
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  /* Reset header-inner to be tiny in scrolled state */
  .global-header.scrolled .header-inner {
    display: contents;
    /* Pass-through — pill-nav is direct flex child of header */
  }

  /* Hide the standalone logo on scroll */
  .global-header.scrolled .logo-wrap {
    display: none;
  }

  /* Pill becomes the dynamic island */
  .global-header.scrolled .pill-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    padding: 6px 14px 6px 8px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  /* Show inline logo wrapper inside the island on scroll */
  .global-header.scrolled .pill-nav-logo-wrap {
    opacity: 1;
    max-width: 48px;
    margin-right: 6px;
    pointer-events: auto;
  }
}



/* Global Button Styles (Restored & Corporate Refined) */
.btn-cta-green,
.btn-cta-red {
  background: var(--color-accent);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 20px rgba(196, 80, 122, 0.18);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}

.btn-cta-red {
  background: var(--color-primary);
  box-shadow: 0 10px 20px rgba(196, 80, 122, 0.18);
}

/* Compact Island-specific button variants */
.pill-nav .btn-cta-green,
.pill-nav .btn-cta-red {
  padding: 10px 22px;
  /* Restored tighter button padding */
  font-size: 0.82rem;
  /* Restored smaller font */
  margin-left: 10px;
  /* Restored margin */
  box-shadow: 0 10px 25px rgba(196, 80, 122, 0.18);
}

.btn-cta-green:hover {
  background: #047857;
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.25);
  transform: translateY(-2px);
}

.btn-cta-red:hover {
  background: #0891b2;
  box-shadow: 0 15px 35px rgba(14, 116, 144, 0.25);
  transform: translateY(-2px);
}

.btn-cta-red:hover {
  background: #0e7490;
}

.global-header.scrolled {
  top: 5px;
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  color: var(--color-text);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.8);
}

.nav-item.active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(8, 145, 178, 0.08);
}

/* ──────────────────────────────────
   HERO & SECTIONS
────────────────────────────────── */
.hero-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  background: #000;
  text-align: center;
}

/* Background Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 30s infinite;
}

.hero-slide:nth-child(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&q=80&w=2000');
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&q=80&w=2000');
  animation-delay: 5s;
}

.hero-slide:nth-child(3) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('assets/premium_photo-1661310013813-c420333215ea.avif');
  animation-delay: 10s;
}

.hero-slide:nth-child(4) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('assets/premium_photo-1661699803381-d63c361151c9.avif');
  animation-delay: 15s;
}

.hero-slide:nth-child(5) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('assets/premium_photo-1664475477169-46b784084d4e.avif');
  animation-delay: 20s;
}

.hero-slide:nth-child(6) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('assets/premium_photo-1681843129112-f7d11a2f17e3.avif');
  animation-delay: 25s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  16.66% {
    opacity: 1;
  }

  21.66% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-content h1,
.hero-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-content p,
.hero-subtext {
  font-family: 'Noto Sans', sans-serif;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-content .btn-cta-green {
  background: var(--color-accent);
  color: white;
  padding: 16px 36px;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-right {
    order: -1;
  }

  .hero-image-wrap {
    transform: none;
  }
}

.section {
  padding: var(--section-padding) 0;
}

.eyebrow-green,
.eyebrow-red {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 1.2rem;
}

.title-main {
  font-family: 'Figtree', sans-serif;
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--color-primary-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ──────────────────────────────────
   SERVICE GRID (SCREENSHOT STYLE)
────────────────────────────────── */
.service-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.service-list-item {
  display: flex;
  gap: 24px;
  padding: 10px;
  min-height: 44px;
  /* Accessibility: Min touch target height */
}

.service-icon-green,
.service-icon-red {
  color: var(--color-accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 5px;
}

.service-list-item h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-list-item p {
  font-size: 0.95rem;
  color: var(--color-text-dim);
}

/* ──────────────────────────────────
   FAQ SECTION (RED PATTERN)
────────────────────────────────── */
.faq-section {
  background: var(--color-primary-dark);
  background-image: radial-gradient(rgba(34, 211, 238, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
  text-align: center;
}

.faq-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.faq-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
}

.faq-answer {
  padding: 0 30px 24px;
  display: none;
  color: var(--color-text-dim);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ──────────────────────────────────
   CONTACT GRID (CARDS + FORM)
────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.info-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.info-icon-box {
  width: 50px;
  height: 50px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.message-form-box {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 50px;
  border-radius: 24px;
}

/* ──────────────────────────────────
   GRID UTILITIES (STACK ON MOBILE)
   ────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ──────────────────────────────────
   FOOTER (WELLATIO 6-COLUMN)
────────────────────────────────── */
.footer-main {
  background: var(--color-bg-alt);
  padding: 80px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr 1.5fr;
  gap: 30px;
  margin-bottom: 60px;
}

.footer-logo-area p {
  font-size: 0.92rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin: 24px 0;
}

.footer-logo-img {
  height: 45px;
  /* Professional Footer Height */
  width: auto;
  object-fit: contain;
  transition: 0.3s;
}

.footer-logo-img:hover {
  opacity: 0.8;
}

.footer-col h4 {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 25px;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 3px;
}

.newsletter-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  margin-bottom: 10px;
  font-family: inherit;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

/* ──────────────────────────────────
   MOBILE FIXES
────────────────────────────────── */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    /* Single column for mobile clarity */
    gap: 40px;
    text-align: center;
  }

  .footer-logo-area,
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-main {
    padding: 60px 0 100px;
    /* Extra bottom padding for mobile-nav */
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────
   APPOINTMENT BOOKING MODAL
────────────────────────────────── */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10005;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-content {
  background: #fff;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.3);
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-soft) transparent;
}

/* Custom Scrollbar */
.booking-modal-content::-webkit-scrollbar {
  width: 6px;
}

.booking-modal-content::-webkit-scrollbar-thumb {
  background: var(--color-accent-soft);
  border-radius: 10px;
}

.booking-modal.active .booking-modal-content {
  transform: translateY(0) scale(1);
}

.booking-modal-close {
  position: sticky;
  top: 24px;
  align-self: flex-end;
  margin-right: 24px;
  margin-top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.booking-modal-close:hover {
  background: var(--color-accent);
  color: #fff;
  transform: rotate(90deg);
}

.booking-phase {
  padding: 10px 50px 50px;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.booking-phase.active {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.4s ease forwards;
}

/* Choice Phase */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.choice-card {
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--color-border);
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.choice-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  transform: translateY(-5px);
}

.logo-icon-red {
  background: linear-gradient(135deg, #7d2ae8 0%, #ff4b91 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.2rem;
  margin-right: 12px;
}

.choice-card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.choice-card.whatsapp i {
  color: #25D366;
}

.choice-card.email i {
  color: var(--color-accent);
}

.choice-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.choice-card p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Form Phase */
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.booking-form .full-width {
  grid-column: span 2;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--color-bg-white);
  transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.booking-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
  letter-spacing: 0.01em;
}

.btn-back {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  padding: 8px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  transform: translateX(-5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ═══════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION (GLOSSY)
═══════════════════════════════════════════ */
.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0;
  left: 0;
  right: 0;
  /* Better than width 100% for fixed elements */
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 9998;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  display: none;
  /* Desktop hidden */

  /* Extreme Hardware Acceleration to prevent iOS scroll float */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  -webkit-perspective: 1000;
  will-change: transform, bottom;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  cursor: pointer;
}

.mobile-nav-item i {
  font-size: 1.2rem;
  color: var(--color-accent);
}

.mobile-nav-item:active {
  transform: scale(0.9);
  opacity: 0.7;
}

.mobile-book-special {
  position: relative;
  top: -15px;
}

.mobile-book-icon-wrap {
  width: 55px;
  height: 55px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
  border: 4px solid #fff;
}

.mobile-book-icon-wrap i {
  color: #fff !important;
  font-size: 1.4rem;
}

/* ═══════════════════════════════════════════
   MOBILE REFINEMENTS (BEST VIEW)
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
  :root {
    --section-padding: 4.5rem;
  }

  /* Compact Typography */
  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.8rem !important;
  }

  h2 {
    font-size: 2.2rem !important;
  }

  .title-main {
    font-size: 2.2rem !important;
  }

  /* Floating Right Window Menu */
  .pill-nav {
    position: fixed;
    top: 85px;
    /* Floating below fixed header */
    right: 20px;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 120px);
    background: rgba(255, 255, 255, 0.98);
    /* Solid clean look */
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /* Full width items */
    gap: 4px;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    /* GPU acceleration hint */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 20px;
    border: none;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95) translateY(-10px);
    transform-origin: top right;
  }

  .pill-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .pill-nav .nav-item {
    font-size: 1.05rem;
    padding: 16px 20px;
    width: 100%;
    text-align: left;
    border-radius: 12px;
    font-weight: 700;
    color: var(--color-text);
    background: transparent;
    transition: 0.2s;
    margin-bottom: 2px;
  }

  .pill-nav .nav-item:hover {
    background: rgba(14, 116, 144, 0.05);
    color: var(--color-primary) !important;
  }

  .pill-nav .nav-item.active {
    background: rgba(14, 116, 144, 0.08);
    /* Selection highlight */
    color: var(--color-primary) !important;
  }

  .pill-nav .btn-cta-green {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
    padding: 16px;
    font-size: 1rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
  }
}

@media (max-width: 991px) {
  .header-inner {
    padding: 12px 25px;
    grid-template-columns: auto 1fr auto;
    /* Logo - Spacer - Toggle (Right) */
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    /* Solid clean look */
    backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  /* Fix for mobile scroll gap */
  .global-header.scrolled {
    top: 0 !important;
  }

  .global-header {
    padding-top: 0;
    /* Align to very top */
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    background: transparent;
    color: #000;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
    pointer-events: auto;
  }

  .menu-toggle:active {
    transform: scale(0.9);
    opacity: 0.7;
  }

  .brand-logo {
    height: 38px;
  }

  .hero-stage {
    padding-top: 100px;
    align-items: flex-start;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-title {
    font-size: 2.8rem !important;
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 1.1rem !important;
    margin-bottom: 30px !important;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 15px !important;
  }

  .hero-btns a {
    width: 100%;
    padding: 15px 30px !important;
    font-size: 1rem !important;
  }

  /* Vertical Stacking for Side-by-Side Images/Content */
  .hero-grid,
  .service-list-grid,
  .contact-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-stack {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .service-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Side-by-Side Mobile Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    text-align: left;
    /* Better for side-by-side */
  }

  .footer-logo-area {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Show Glossy Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    transform: translateZ(0);
    /* Hardware acceleration to prevent scroll jitter */
  }

  /* Add padding to body so bottom content isn't hidden by nav */
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
  }

  /* Newsletter spans full width for better form fit */
  .footer-col:last-child {
    grid-column: span 2;
    align-items: center;
    text-align: center;
  }

  .footer-main {
    padding: 50px 0 60px;
    /* Reduced from 110px */
  }
}

/* Hide header CTA on very small screens to save space */
@media (max-width: 480px) {
  .global-header .btn-cta-red {
    display: none;
  }
}


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

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form .full-width {
    grid-column: span 1;
  }

  .booking-phase {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ──────────────────────────────────
   TESTIMONIALS & RATINGS
────────────────────────────────── */
.testimonials-section {
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  padding: 40px;
  background: var(--color-bg-alt);
  border-radius: 24px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.star-rating {
  color: #fbbf24;
  /* Amber-400 */
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-family: serif;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* ═══════════════════════════════════════════
   FEEDBACK TOAST & VALIDATION
   ═══════════════════════════════════════════ */
.feedback-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  background: #fff;
  border-left: 5px solid var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feedback-toast.active {
  transform: translateX(0);
}

.feedback-toast.success {
  border-left-color: #22c55e;
}

.feedback-toast.error {
  border-left-color: #ef4444;
}

.feedback-toast i {
  font-size: 1.2rem;
}

.feedback-toast.success i {
  color: #22c55e;
}

.feedback-toast.error i {
  color: #ef4444;
}

/* Custom validation styling */
input:invalid:not(:placeholder-shown) {
  border-color: #ef4444 !important;
}

input:invalid:not(:placeholder-shown)~.error-msg {
  display: block;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* OFFICIAL BRAND LOGO - ULTIMATE CORPORATE FIX */
.brand-logo {
  height: 55px;
  /* Elite Corporate Height */
  width: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent !important;
  border: none !important;
  filter: contrast(1.02) brightness(1.02);
  outline: none !important;
  box-shadow: none !important;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 50px;
  /* Professional Footer Height */
  width: auto;
  margin-bottom: 25px;
  background: transparent !important;
  filter: contrast(1.02);
}