  :root {
    --cream: #EDF8F8;
    --warm-white: #F6FEFE;
    --sand: #C2EBE9;
    --taupe: #81D8D0;
    --charcoal: #1A1A1A;
    --dark: #0C2828;
    --mid: #3D7A78;
    --accent: #009B96;
    --accent-light: #81D8D0;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* ──────────── GLOBAL TYPOGRAPHY BUMP ──────────── */
  html { scroll-behavior: smooth; font-size: 17px; } 

  body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--charcoal);
    font-size: 1.05rem; /* Bumps base text slightly larger */
    line-height: 1.65;
    overflow-x: hidden;
  }
  
  /* Global paragraph style to ensure readability across all pages */
  p {
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 300;
  }
 
 
 /* ──────────── NAV ──────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 48px;
    transition: background 0.4s, backdrop-filter 0.4s;
  }
  nav.scrolled {
    background: rgba(237, 248, 248, 0.93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  /* TWEAK 1: Logo Resize */
  .nav-logo img {
    height: 38px;
    width: auto;
    display: block;
  }
  
  .nav-links {
    display: flex; gap: 36px; list-style: none; align-items: center;
  }
  .nav-links li { position: relative; }
  .nav-links a {
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.85); text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 10px 0;
  }
  nav.scrolled .nav-links a { color: var(--mid); }
  .nav-links a:hover { color: var(--accent-light); }
  nav.scrolled .nav-links a:hover { color: var(--accent); }

  /* TWEAK 3: Dropdown Animation CSS */
  .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--warm-white);
    min-width: 220px; padding: 15px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 2px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    list-style: none;
    border-top: 2px solid var(--accent);
  }
  .nav-links li:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu li { width: 100%; }
  .dropdown-menu a {
    color: var(--charcoal) !important;
    padding: 10px 24px;
    text-transform: none;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
  }
  .dropdown-menu a:hover {
    background: var(--cream);
    color: var(--accent) !important;
  }

  .nav-cta {
    display: flex; gap: 12px; align-items: center;
  }
  .btn-call {
    font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255,255,255,0.75);
    text-decoration: none; transition: color 0.3s;
  }
  nav.scrolled .btn-call { color: var(--mid); }
  .btn-book {
    font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 10px 22px;
    background: var(--accent); color: #fff; text-decoration: none;
    border-radius: 2px; transition: background 0.3s, transform 0.2s;
  }
  .btn-book:hover { background: var(--charcoal); transform: translateY(-1px); }

/* ──────────── SOCIAL SIDEBAR ──────────── */
  .social-sidebar {
    position: fixed;
    right: 0 !important;       /* Lock to right */
    left: auto !important;     /* Force release from left */
    top: 80%;
    transform: translateY(-50%);
    z-index: 9999;
  }
  .social-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; 
  }
  .social-sidebar li {
    display: flex;
    justify-content: flex-end;
  }
  .social-sidebar a {
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* Icon on Right, Text on Left */
    background: var(--warm-white);
    padding: 12px 14px;
    border-radius: 4px 0 0 4px;  /* Flat on right edge */
    box-shadow: -4px 4px 15px rgba(0, 60, 60, 0.08);
    text-decoration: none;
    color: var(--mid) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 52px;
    overflow: visible;
    border: 1px solid var(--sand);
    border-right: none;
  }
  .social-sidebar a:hover {
    background: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
  }
  
  .icon-box {
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    position: relative;
  }
  /* Force icon color to flip on hover */
  .social-sidebar a:hover .icon-box i { color: #fff !important; }
  
  /* Text Expansion Animation (Sliding inwards to the Left) */
  .link-text {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    margin-right: 0; /* Starts at zero */
    overflow: hidden;
    transition: max-width 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  }
  .social-sidebar a:hover .link-text {
    max-width: 200px;
    opacity: 1;
    margin-right: 14px; /* Space between text and icon */
  }

  /* Tiny Branch Badges */
  .branch-label {
    position: absolute;
    top: -18px;
    right: -8px;
    background: var(--charcoal);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 2px;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .social-sidebar a:hover .branch-label {
    opacity: 0; /* Hides badge when menu expands */
  }
/* ──────────── CONTACT ──────────── */
  .contact { background: var(--charcoal); color: var(--warm-white); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .contact-left .section-heading { color: var(--warm-white); }
  .contact-left p { font-size: 0.92rem; color: rgba(220,250,249,0.65); margin-top: 20px; line-height: 1.8; font-weight: 300; }
  .contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
  .contact-detail-item { display: flex; flex-direction: column; gap: 4px; }
  .contact-detail-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
  .contact-detail-val { font-size: 0.92rem; color: rgba(220,250,249,0.85); font-weight: 300; }
  .form-group { margin-bottom: 20px; }
  .form-group label { display: block; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    color: var(--accent); font-family: var(--sans); font-size: 0.9rem; font-weight: 300;
    border-radius: 2px; outline: none; transition: border-color 0.3s;
  }
  .form-submit {
    width: 100%; padding: 16px; background: var(--accent); color: #fff;
    border: none; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em;
    text-transform: uppercase; cursor: pointer; border-radius: 2px;
    transition: background 0.3s; margin-top: 8px;
  }
/* ──────────── MOBILE MENU BASE (Global) ──────────── */
.mobile-menu-toggle {
  display: none; /* Hidden by default on Desktop */
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.3s;
}
nav.scrolled .mobile-menu-toggle {
  color: var(--charcoal);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(246, 254, 254, 0.98); /* warm-white */
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  opacity: 0; visibility: hidden;
  /* Overlay fades in without moving */
  transition: all 0.4s ease;
}
.mobile-menu-overlay.active {
  opacity: 1; visibility: visible;
}
.mobile-menu-close {
  position: absolute; top: 30px; right: 30px;
  background: none; border: none; font-size: 2.2rem;
  color: var(--charcoal); cursor: pointer; transition: transform 0.3s;
}
.mobile-menu-close:hover { transform: rotate(90deg); color: var(--accent); }

/* Link Animations */
.mobile-nav-links {
  list-style: none; text-align: center; width: 100%; padding: 0;
}
.mobile-nav-links li { 
  margin-bottom: 24px; 
  /* Setup for animation */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.mobile-nav-links a {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--charcoal); text-decoration: none;
  display: inline-block; transition: color 0.3s, transform 0.3s;
}
.mobile-nav-links a:hover { color: var(--accent); transform: scale(1.05); }

/* Stagger the links sliding up when menu is active */
.mobile-menu-overlay.active .mobile-nav-links li {
  opacity: 1; transform: translateY(0);
}
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.40s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.45s; }

/* Mobile CTA Button Area */
.mobile-nav-cta {
  display: flex; gap: 16px; margin-top: 20px;
  /* Setup for animation */
  opacity: 0; transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: 0.55s; /* Comes in last */
}
.mobile-menu-overlay.active .mobile-nav-cta {
  opacity: 1; transform: translateY(0);
}
.btn-outline-dark {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 14px 28px;
  border: 1px solid var(--charcoal); color: var(--charcoal);
  text-decoration: none; border-radius: 2px; transition: all 0.3s ease;
}
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; }
.mobile-nav-cta .btn-book {
  padding: 14px 28px; /* Force it to match the outline button's size */
  font-size: 0.75rem;
}
/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1024px) {
  section { padding: 80px 32px; }
  nav { padding: 18px 32px; }
  .nav-links { display: none; }
  .btn-call { display: none; } /* Hide text Call Us on iPad/Mobile to save space */
  .mobile-menu-toggle { display: block; } /* Show Hamburger button */
  
  /* Stack layout for Tablet/iPad */
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .locations-grid { grid-template-columns: 1fr; gap: 32px; }
  .goals-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  
  /* 2-Column layout for Tablet/iPad */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Fix Concerns for Tablet */
  .concerns-inner { grid-template-columns: repeat(2, 1fr); }
  .concern-item:nth-child(even) { border-right: none; }
  .concern-item:nth-child(1), .concern-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  
  /* Fix Stats for Tablet */
  .stats-inner { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .stat-item { border-bottom: 1px solid var(--sand); }
  .stat-item:nth-child(even) { border-right: none; }
  
  .story-stat { position: relative; bottom: auto; left: auto; margin-top: 24px; display: inline-block; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  section { padding: 60px 20px; }
  nav { padding: 16px 20px; }
  
  /* Adjust Hero Text for Mobile */
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-sub { font-size: 0.95rem; }
  
  /* Stack EVERYTHING to 1 Column for Mobile Phones */
  .services-grid, .team-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  
  /* Fix Concerns for Mobile */
  .concerns-inner { grid-template-columns: 1fr; }
  .concern-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 24px 20px; }
  .concern-item:last-child { border-bottom: none; }
  
  /* Fix Stats for Mobile */
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; padding: 32px 20px; }
  .stat-item:last-child { border-bottom: none; }
  
  /* Footer tweaks */
  footer { padding: 48px 20px 28px; }
  .footer-grid { gap: 32px; }
  
  /* Hide scroll indicator to save space on tiny screens */
  .hero-scroll { display: none; }

  /* Mobile Social Sidebar Fix */
  .social-sidebar {
    top: auto !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
  }
  .social-sidebar a {
    border-radius: 50% !important; /* Perfect circles on mobile */
    padding: 14px !important;
    width: 52px;
    height: 52px;
    justify-content: center;
    border: 1px solid var(--sand) !important;
  }
  .social-sidebar a:hover .link-text {
    max-width: 0 !important;
    margin-right: 0 !important;
    opacity: 0 !important;
  }
  .branch-label {
    top: -4px;
    right: -4px;
  }
  .social-sidebar a:hover .branch-label {
    opacity: 1 !important; /* Keep badge visible on mobile hover */
  }

  /* Move Slider Arrows up slightly on mobile so they don't block content */
  .slider-arrow {
    top: 47% !important;
    backdrop-filter: none !important;
  }
}