@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* --- Color Tokens --- */

  /* Brand/Primary Colors */
  --color-primary: #0f172a;
  /* Dark Navy - Premium & Modern */
  --color-accent: #2e7d32;
  /* Green - Trust, Freshness, Conversion */
  --color-accent-hover: #1b5e20;
  /* Darker Green */
  --color-accent-light: rgba(46, 125, 50, 0.1);

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-bg-light: #f5f5f5;
  /* Light Grey - Clean Background */
  --color-surface: #ffffff;

  /* Text Colors */
  --color-text-main: #333333;
  /* Charcoal - Strong Readability */
  --color-text-body: #4b5563;
  /* Muted Gray for Body */
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;

  /* Border & UI Colors */
  --color-border: #e5e7eb;
  --color-input-border: #d1d5db;
  --color-star: #f59e0b;
  /* Amber for ratings */

  /* Overlays & Shadows */
  --color-overlay-dark: rgba(31, 42, 68, 0.85);
  --color-overlay-medium: rgba(31, 42, 68, 0.7);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 10px 30px rgba(31, 42, 68, 0.1);

  /* --- Typography Tokens --- */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Font Sizes */
  --fs-h1: 3.25rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.75rem;
  --fs-h4: 1.25rem;
  --fs-body: 1rem;
  --fs-nav: 1rem;
  --fs-small: 0.875rem;
  --fs-hero-sub: 1.25rem;

  /* Font Weights */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-base: 1.625;

  /* --- Spacing & Layout Tokens --- */
  --container-width: 1240px;
  --padding-section: 5rem 1.5rem;
  --padding-btn: 1rem 2.5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Decorative */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --gradient-primary: linear-gradient(135deg,
      #0f172a 0%,
      #1e293b 50%,
      #0f2027 100%);
  --gradient-accent: linear-gradient(135deg,
      var(--color-accent) 0%,
      #43a047 100%);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  line-height: var(--lh-base);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin-bottom: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  touch-action: manipulation; /* Eliminate 300ms tap delay on mobile */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1025px) {
  .container {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 4rem 1rem;
  }
}

.section {
  padding: var(--padding-section);
  position: relative;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('../assets/images/hero/vancouver-skyline.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  
  /* CRITICAL: Use block layout globally (desktop + mobile) to prevent flex centering overlap */
  display: block;
  padding-top: 380px; /* Clear header */
  padding-bottom: 80px;
  
  color: var(--color-white);
  text-align: center;
}

/* When carousel is active, slides supply the background — remove the static image */
.hero.hero-carousel-section {
  background-image: none;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 42, 68, 0.85) 0%, rgba(31, 42, 68, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Padding top instead of margin to be safe */
  padding-top: 40px; 
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext {
  font-size: var(--fs-hero-sub);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust-indicators {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    /* Breaking Flexbox to ensure padding is strictly respected */
    display: block !important; 
    padding-top: 240px !important;
    padding-bottom: 60px !important;
  }
  
  .hero-content {
      /* Reset absolute positioning if any */
      position: relative;
      margin-top: 40px !important;
      padding-bottom: 40px;
  }
}

/* Ensure subpages have same treatment */
.hero-inner {
    padding-top: 380px;
    background-position: center top;  /* Show building from top — not cropped middle */
    background-size: cover;
}

/* Service page overlay: lighter at top so the project photo is clearly visible,
   darker at bottom to keep H1/subtitle text readable */
.hero-inner .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.40) 40%,
        rgba(15, 23, 42, 0.65) 75%,
        rgba(15, 23, 42, 0.75) 100%
    );
}

@media (max-width: 768px) {
    .hero-inner {
        padding-top: 280px;
    }
}

/* ── Header clearance for all custom page intro bands ──
   These sections sit directly below the fixed header and need
   extra padding-top so content is not hidden behind it.        */
.about-intro-band,
.gallery-intro-band,
.testi-hero-band,
.contact-hero-left {
    padding-top: calc(5rem + 80px);   /* 5rem content + ~80px header */
}

@media (max-width: 768px) {
    .about-intro-band,
    .gallery-intro-band,
    .testi-hero-band,
    .contact-hero-left {
        padding-top: calc(3rem + 65px);  /* 3rem content + ~65px mobile header */
    }
    .contact-hero-right {
        padding-top: 2rem;   /* right panel stacks below, no header overlap */
    }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 1.25rem;
  }
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-navy {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-white {
  background-color: var(--color-white);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white) !important;
}

.italic {
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-btn);
  border-radius: 4px;
  /* Back to solid professional radius */
  font-weight: var(--fw-bold);
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-base);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  touch-action: manipulation; /* Eliminate 300ms tap delay on mobile */
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-block {
  width: 100%;
}

/* ========================================
   SEO & Accessibility Utilities
   ======================================== */

/* SEO-Only Content - Hidden visually but accessible to search engines */
.seo-only {
  /* Position absolute to remove from layout flow */
  position: absolute !important;

  /* Move off-screen */
  left: -10000px !important;
  top: auto !important;

  /* Make it tiny (but not display:none or visibility:hidden) */
  width: 1px !important;
  height: 1px !important;

  /* Hide overflow */
  overflow: hidden !important;

  /* Prevent any visual rendering */
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;

  /* Ensure it doesn't interfere with layout */
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;

  /* Keep in DOM for SEO */
  opacity: 0.01 !important;
  /* Tiny opacity instead of 0 */
  pointer-events: none !important;
}

/* Ensure search engines can still read it */
.seo-only * {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

/* Header Navigation & Top Bar Wrapper */
.sticky-header-wrapper {
  position: fixed;
  /* Changed from sticky to fixed for overlay effect */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.sticky-header-wrapper.scrolled {
  background-color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sticky-header-wrapper.transparent {
  background-color: transparent;
  box-shadow: none;
}

/* Header Top Bar */
.header-top {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2001;
  /* Above sticky header */
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.top-contact a {
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-contact a:hover {
  color: var(--color-accent);
}

/* Header Modernized & Fixed Layout */
.header {
  background-color: var(--color-white);
  /* Default solid background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2000;
  padding: 0;
  transition: all 0.3s ease;

  /* CRITICAL: Fixed height constraints */
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;

  display: flex;
  align-items: center;

  /* CRITICAL: Prevent dropdown from pushing header */
  overflow: visible !important;
}

/* Scrolled State - Solid White */
.sticky-header-wrapper.scrolled .header {
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Transparent State - No Background, No Border */
.sticky-header-wrapper.transparent .header {
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

/* Dynamic Text Colors */
/* Dynamic Text Colors - DESKTOP ONLY */
@media (min-width: 1025px) {
  .sticky-header-wrapper.transparent .nav-list>li>a {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

.sticky-header-wrapper.transparent .brand-text {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Dynamic Logo Handling (If using text, handled above. If SVG, use filter) */
.sticky-header-wrapper.transparent .logo img {
  filter: brightness(0) invert(1);
  /* Turns black logo white */
}

/* Ensure hover states still work visually */
.sticky-header-wrapper.transparent .nav-list>li>a:hover,
.sticky-header-wrapper.transparent .nav-list>li>a.active {
  color: var(--color-accent);
  /* Keep accent color on hover */
  text-shadow: none;
}

/* Burger Menu Color Override - Only when NOT active (closed) */
.sticky-header-wrapper.transparent .mobile-menu-btn:not(.active) .hamburger,
.sticky-header-wrapper.transparent .mobile-menu-btn:not(.active) .hamburger::before,
.sticky-header-wrapper.transparent .mobile-menu-btn:not(.active) .hamburger::after {
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Top Bar Visibility */
.sticky-header-wrapper.transparent .header-top {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sticky-header-wrapper.scrolled .header-top {
  display: none;
  /* Optional: Hide top bar on scroll to save space */
  /* Or keep it: background-color: var(--color-primary); */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;

  /* CRITICAL: Match parent height exactly */
  height: 100%;
  width: 100%;

  /* CRITICAL: Allow dropdown to escape container */
  overflow: visible !important;
}

@media (min-width: 1025px) {
  .header-container {
    justify-content: flex-start;
    padding-left: 50px;
  }
}

@media (max-width: 600px) {
  .social-links {
    display: none;
  }

  .header-top {
    z-index: 1999;
  }

  .header-top-container {
    justify-content: center;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition-base);
  height: 100%;
  margin-right: 4rem;
  /* Clear separation from navigation */
  flex-shrink: 0;
  /* Prevent logo from shrinking */
}

.logo:hover {
  transform: none;
  /* Removed scale to prevent layout shift */
  opacity: 0.8;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  /* Normalized line-height for vertical centering */
  display: flex;
  align-items: center;
}

@media (max-width: 1200px) {
  .brand-text {
    font-size: 1.2rem;
  }
}

.brand-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo .brand-text {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 40px;
  }

  .logo .brand-text {
    font-size: 0.95rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 100%;
  flex-shrink: 0;
  /* Prevent nav from shrinking */
  overflow: visible;
  /* Allow dropdown to overlay */
}

/* Improved Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  /* Increased gap for better rhythm */
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: visible;
  /* Allow dropdown to overlay */
}

.nav-list>li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  /* Critical: Ensure all items align on same baseline */
}

.nav-list>li>a {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0;
  margin: 0;
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  /* Changed from flex to inline-flex */
  align-items: center;
  line-height: 1.2;
  /* Normalized line-height */
  vertical-align: middle;
  /* Ensure baseline alignment */
  gap: 0.35rem;
  /* Space between text and dropdown arrow */
}

.nav-list>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;

  left: 0;
  width: 0;
  height: 0px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

/* Specific fix for Dropdown Link alignment */
.dropdown-toggle {
  cursor: pointer;
  /* Ensure dropdown arrow doesn't push text up */
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.nav-list>li>a:hover::after,
.nav-list>li>a.active::after {
  width: 100%;
}

.nav-list>li>a:hover,
.nav-list>li>a.active,
.dropdown-toggle.active {
  color: var(--color-accent);
}

/* Dropdown Menu Styles - Absolute & Overlay */
.dropdown-menu {
  position: absolute;
  top: 100%;
  /* Align directly to bottom of header */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  min-width: 280px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  /* Rounded bottom corners only */
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 2200;
  /* High z-index to overlay everything */
  border-top: 3px solid var(--color-accent);
}

/* Desktop Hover State */
@media (min-width: 1025px) {
  .nav-list>li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu li {
  margin: 0;
  display: block;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-body);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  text-transform: capitalize;
  /* Cleaner look for sub-items */
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 1.8rem;
}

.dropdown-menu a::after {
  display: none !important;
}

/* Header Actions Redesign */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  /* Visual separator */
  height: 40px;
}

.action-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--color-border);
  text-decoration: none;
  white-space: nowrap;
  height: 40px;
  /* Consistent height */
}

.sticky-header-wrapper.scrolled .action-item {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.action-item .action-icon {
  display: flex;
  align-items: center;
}

.action-item:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-item:hover svg {
  stroke: var(--color-white);
}

.sticky-header-wrapper.scrolled .action-item:hover {
  color: var(--color-white);
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
  .header {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 !important;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    padding: 6rem 1.5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2100;
    transition: var(--transition-base);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 0;
    height: auto;
  }

  .nav-list>li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-list>li>a {
    padding: 1.25rem 0;
    width: 100%;
    font-size: 1.1rem;
    justify-content: space-between;
    font-weight: 600;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
    gap: 1rem;
    padding: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 2500;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: auto;
  }

  .hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    position: relative;
    transition: var(--transition-fast);
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    left: 0;
    transition: var(--transition-fast);
  }

  .hamburger::before {
    top: -8px;
  }

  .hamburger::after {
    top: 8px;
  }

  .mobile-menu-btn.active .hamburger {
    background: transparent;
  }

  .mobile-menu-btn.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-btn.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Mobile Dropdown - Hidden by default, toggleable via .active class */
  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(46, 125, 50, 0.03);
    border-radius: 8px;
    width: 100%;
    display: none;
    /* Hidden by default on mobile */
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;
    margin-top: 8px;
    margin-bottom: 8px;
    border-left: 3px solid var(--color-accent);
    flex-direction: column;
    gap: 4px;
  }

  /* Show when parent has .active class (toggled via JS) */
  .dropdown.active>.dropdown-menu {
    display: flex;
    max-height: 600px;
    padding: 8px 0;
    opacity: 1;
  }

  .dropdown-menu li {
    list-style: none;
    width: 100%;
    margin: 0;
  }

  .dropdown-menu a {
    padding: 12px 20px;
    font-size: 0.95rem;
    text-transform: none;
    border-bottom: none;
    color: var(--color-text-main);
    font-weight: 500;
    border-radius: 6px;
    margin: 2px 8px;
    padding-left: 36px;
    position: relative;
    display: block;
    text-decoration: none;
  }

  .dropdown-menu a::before {
    content: "→";
    position: absolute;
    left: 16px;
    opacity: 0.6;
    color: var(--color-accent);
    font-size: 1.1rem;
  }

  .dropdown-menu a:hover {
    background: rgba(46, 125, 50, 0.12);
    color: var(--color-accent);
    padding-left: 40px;
  }

  .dropdown-menu a:hover::before {
    opacity: 1;
    left: 18px;
  }
}

/* Ensure mobile menu button is hidden on desktop */
@media (min-width: 1025px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Fix: Brand Text Visibility on Mobile (Transparent Header) */
@media (max-width: 1024px) {
  .sticky-header-wrapper.transparent .brand-text {
    color: var(--color-white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
}

/* End Header Fix */

/* Hero Section Redesigned - Premium & Conversion Focused */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: 6rem 1.5rem;
  overflow: hidden;
  text-align: left;
  /* Premium left alignment */

  /* Background image directly on hero */
  background-image: url("../assets/images/hero/vancouver-skyline.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Parallax effect on desktop */
}

/* Mobile Hero Fix: Prevent header overlap */
@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
    /* Start content from top to avoid centering overlap */
    padding-top: 140px;
    /* Force clearance below fixed header */
    min-height: auto;
    /* Allow natural height expansion */
    background-attachment: scroll;
    /* Fix for mobile parallax jitters */
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Optimized gradient overlay for Vancouver skyline */
  /* Darker on left for text readability, lighter on right to show skyline */
  background: linear-gradient(90deg,
      rgba(31, 42, 68, 0.95) 0%,
      rgba(31, 42, 68, 0.85) 40%,
      rgba(31, 42, 68, 0.4) 100%);

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  margin-left: 0;
  /* Left weighted */
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.6rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

.hero-trust-indicators span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 900px;
}

.hero-subtext {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3.5rem;
  max-width: 700px;
  line-height: 1.4;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero .btn {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .hero {
    min-height: 70vh;
    /* Shorter on tablets */
    padding: 5rem 1.5rem;
    text-align: center;
    align-items: center;

    /* Disable parallax on mobile for better performance */
    background-attachment: scroll;
    /* Focus on center of image on mobile */
    background-position: center center;
  }

  .hero.hero-inner {
    min-height: 40vh;
    padding: 5rem 1.5rem;
  }

  .hero-overlay {
    /* Darker overlay for better text contrast on mobile */
    /* Uniform gradient since mobile is centered */
    background: linear-gradient(180deg,
        rgba(31, 42, 68, 0.85) 0%,
        rgba(31, 42, 68, 0.75) 50%,
        rgba(31, 42, 68, 0.85) 100%);
  }

  .hero-content {
    margin: 0 auto;
    width: 100%;
  }

  .hero-trust-indicators {
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    /* margin-right: 0.1rem; */
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    /* Stack buttons on mobile */
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    /* Limit width for neat stacking */
    margin: 0 auto;
  }

  .hero .btn {
    width: 100%;
    /* Full width buttons */
    padding: 1rem 1.5rem;
    /* Comfortable touch target */
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    /* Shorter on phones */
    padding: 4rem 1.25rem;

    /* Optimize image position for small screens */
    background-position: 60% center;
    /* Show more of the skyline */
  }

  .hero h1 {
    font-size: 2.25rem;
    /* Smaller heading for phones */
    margin-bottom: 1.5rem;
  }

  .hero-subtext {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }

  .hero-trust-indicators {
    font-size: 0.75rem;
    /* Smaller trust text */
    gap: 0.75rem;
  }
}

/* Sub-page Hero Modifier */
.hero-inner {
  min-height: 50vh;
  padding: 4rem 1.5rem;
}

.hero-inner h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
}

/* Sub-page Hero Modifier */
.hero-inner {
  min-height: 45vh;
  padding: 6rem 1.5rem 4rem;
  background-image: url("../assets/images/hero/interior-hero.jpg");
  /* Default, can be overridden inline */
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 42, 68, 0.7);
  /* Stronger overlay for inner pages */
  z-index: 1;
}

.hero-inner .hero-content {
  margin: 0 auto;
  max-width: 800px;
  z-index: 2;
}

.hero-inner h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  padding-top: 40px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-inner .hero-subtext {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Reviews - High Impact Framing */
.trust-strip {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.trust-strip h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .trust-strip {
    padding: 3rem 1rem;
  }

  .trust-strip h2 {
    font-size: 1.75rem;
  }
}

.reviews-section {
  padding: 5rem 1.5rem;
  background-color: var(--color-bg-light);
}

.stars {
  font-size: 1.5rem;
  color: var(--color-star);
  margin-bottom: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.review-card {
  background: var(--color-white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Decorative Quote Mark */
.review-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--gradient-primary);
  opacity: 0.1;
  font-family: serif;
  pointer-events: none;
}

@media (max-width: 600px) {
  .review-card {
    padding: 2rem 1.5rem;
  }
}

.review-text {
  font-size: 1.2rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* Service Areas - Modern Pill Layout */
/* Service Areas - Modern Pill Layout & Enhanced UI */
.section-locations {
  background: radial-gradient(circle at center, #ffffff 0%, #f3f4f6 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
}

/* Subtle background pattern for texture */
.section-locations::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.4;
  z-index: 1;
}

.section-locations .container {
  position: relative;
  z-index: 2;
}

.section-locations h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary), #2c3e50);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.area-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.85rem 1.75rem;
  /* Comfortable pill padding */
  border-radius: 100px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.02);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: default;
  user-select: none;
}

.area-item span {
  font-size: 1.25rem;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
  transform-origin: center;
}

.area-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 20px rgba(46, 125, 50, 0.12),
    0 4px 8px rgba(46, 125, 50, 0.08);
  /* Green tinted premium shadow */
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  background: var(--color-white);
}

.area-item:hover span {
  filter: grayscale(0) opacity(1);
  transform: scale(1.2);
}

/* Response fix for small screens */
@media (max-width: 480px) {
  .area-grid {
    gap: 0.75rem;
  }

  .area-item {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  z-index: 1;
}

@media (max-width: 600px) {
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* Gradient Border Effect via Pseudo-element */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  /* Border width */
  background: linear-gradient(135deg, var(--color-accent), #81c784);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(46, 125, 50, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::after {
  opacity: 1;
  /* Show gradient border */
}

.service-card:hover::before {
  opacity: 1;
  /* Show subtle background gradient */
}

.service-card>* {
  position: relative;
  z-index: 3;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  width: 64px;
  height: 64px;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1) rotate(6deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--color-text-body);
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Interactive Link Slide-up */
.service-card .btn-outline {
  border: none;
  padding: 0;
  color: var(--color-accent);
  font-weight: 700;
  justify-content: flex-start;
  margin-top: auto;
  transform: translateY(0);
  transition: transform 0.3s ease;
  background: transparent;
}

.service-card .btn-outline:hover {
  background: transparent;
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.service-card .btn-outline::after {
  content: " →";
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .btn-outline::after {
  transform: translateX(5px);
}

/* Enhanced Service Areas (Chips) */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.area-item {
  background: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.area-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Why Choose Us Features - Modern Redesign */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.feature-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.feature-card:hover::after {
  height: 100%;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--color-bg-light);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--color-accent);
  color: var(--color-white);
  animation: pulse-icon 1.5s infinite ease-in-out;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--color-text-body);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .mobile-swiper {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1rem !important;
    padding: 1rem 0 2rem !important;
    margin-bottom: 0 !important;
    /* Hide scrollbar but keep functionality */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .mobile-swiper::-webkit-scrollbar {
    display: none;
  }

  .mobile-swiper>* {
    flex: 0 0 85% !important;
    /* Allow peeking of next card */
    scroll-snap-align: center !important;
    margin: 0 !important;
  }

  .reviews-carousel {
    position: relative;
  }

  .reviews-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    cursor: pointer;
  }

  .reviews-carousel-btn.prev {
    left: -6px;
  }

  .reviews-carousel-btn.next {
    right: -6px;
  }

  .features-carousel {
    position: relative;
  }

  .features-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    cursor: pointer;
  }

  .features-carousel-btn.prev {
    left: -6px;
  }

  .features-carousel-btn.next {
    right: -6px;
  }

  .gallery-carousel {
    position: relative;
  }

  .gallery-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    cursor: pointer;
  }

  .gallery-carousel-btn.prev {
    left: -6px;
  }

  .gallery-carousel-btn.next {
    right: -6px;
  }

  .service-carousel {
    position: relative;
  }

  .service-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    cursor: pointer;
  }

  .service-carousel-btn.prev {
    left: -6px;
  }

  .service-carousel-btn.next {
    right: -6px;
  }
}

/* Utilities & Helper Classes */
.mt-2 {
  margin-top: 2rem !important;
}

.mt-3 {
  margin-top: 3rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mb-3 {
  margin-bottom: 3rem !important;
}

.fw-medium {
  font-weight: var(--fw-medium);
}

.fw-bold {
  font-weight: var(--fw-bold);
}

.fs-lg {
  font-size: 1.1rem;
}

.fs-xl {
  font-size: 1.3rem;
}

.fs-xxl {
  font-size: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Component Specific Styles */
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background: var(--color-white);
  transition: var(--transition-base);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Gradient Overlay on Hover */
.gallery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-card:hover::before {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
  transform: translateY(10px);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
  /* Hidden by default if we want a reveal effect */
}

/* Modify existing content to work with reveal, or keep it visible */
/* Current design has content BELOW image. Let's make it an overlay as requested for "Premium" */
.gallery-card-content p {
  color: var(--color-white);
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-card:hover .gallery-card-content {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile: Always show content since there is no hover */
@media (max-width: 1024px) {
  .gallery-card-content {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    /* Ensure readability */
  }
}

.check-list-item {
  font-size: 1.1rem;
  font-weight: var(--fw-medium);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

/* Testimonials */
.testimonial-card-v2 {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.testimonial-text-v2 {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author-v2 {
  border-top: 1px solid var(--color-bg-light);
  padding-top: 1.25rem;
}

.testimonial-author-v2 strong {
  display: block;
  color: var(--color-primary);
  font-size: 1rem;
}

.testimonial-author-v2 span {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
}

.cta-box {
  margin-top: 5rem;
  padding: 4rem;
  border-radius: var(--radius-xl);
  text-align: center;
}

/* Contact Page Utilities */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  background: var(--color-bg-light);
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-method-title {
  margin: 0;
  font-size: 1.1rem;
}

.contact-method-text {
  margin: 0;
}

@media (max-width: 768px) {
  .contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .contact-icon {
    margin-top: 0.25rem;
  }

  .contact-method-title {
    font-size: 1rem;
  }

  .contact-method-text {
    font-size: 0.95rem;
  }
}

/* Gallery Page Specifics */
.tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  z-index: 10;
}

.form-note {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-primary);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 1px dashed var(--color-accent);
}

.form-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #f8fafc;
  color: var(--color-text-main);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Checkbox Styling for Forms */
.checkbox-group {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-weight: var(--fw-regular);
  color: var(--color-text);
  cursor: pointer;
  margin-bottom: 0;
  gap: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  height: 18px;
  min-width: 18px;
  width: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.checkbox-label span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-body);
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 2.5rem 1.5rem;
  }
}

.quote-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  z-index: 1;
  padding: 8rem 0;
}

@media (max-width: 900px) {
  .quote-section {
    padding: 5rem 0;
  }
}

.quote-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (max-width: 600px) {
  .quote-info h2 {
    font-size: 2.25rem;
  }
}

.quote-cta-text {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border-left: 6px solid var(--color-accent);
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .quote-cta-text {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}

.quote-cta-text::before {
  content: "📞";
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 5rem;
  opacity: 0.05;
  transform: rotate(-15deg);
}

.gallery-info {
  padding: 1.5rem;
}

.gallery-category {
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.gallery-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.gallery-location {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
}

.image-wrapper {
  height: 280px;
  position: relative;
  overflow: hidden;
}

/* Before/After Badges */
.work-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  color: white;
  pointer-events: none;
}

/* Lightbox specific badge override */
#lightbox-badge.work-badge {
    z-index: 10002; /* Higher than lightbox overlay */
    font-size: 1rem;
    padding: 8px 16px;
    top: 15px; /* Relative to image edge */
    left: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.badge-after {
  background-color: var(--color-success, #28a745);
}

.badge-before {
  background-color: var(--color-danger, #dc3545);
}

@media (max-width: 600px) {
  .image-wrapper {
    height: 220px;
  }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  /* Navigation styles consolidated into 1024px query */
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 5rem 1.5rem 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3,
.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 2rem;
}

.footer-logo-wrapper {
  margin-bottom: 2rem;
}

.footer-logo {
  height: 100px;
  width: auto;
  transition: var(--transition-base);
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.area-list-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.area-list-footer li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2.5rem 1.25rem 2rem;
    /* Reduced padding (was 5rem) */
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 Columns instead of 1 */
    gap: 2rem 1rem;
    /* Tighter gap */
    margin-bottom: 2rem;
  }

  /* Make Logo/Contact full width */
  .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .footer-col:first-child p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  /* Compact Headings */
  .footer-col h4 {
    margin-bottom: 1rem;
    /* Reduced from 2rem */
    font-size: 1.1rem;
  }

  /* Make Service Areas full width and compact */
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  /* Horizontal list for Service Areas to save massive vertical space */
  .area-list-footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    text-align: center;
  }

  .area-list-footer li {
    font-size: 0.85rem;
    opacity: 0.8;
  }

  /* Tighter links */
  .footer-links li {
    margin-bottom: 0.6rem;
  }
}

/* Mobile Sticky CTA */
.sticky-phone {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 1.25rem;
  font-weight: 800;
  font-size: 1.1rem;
  z-index: 1000;
  text-decoration: none;
  display: none;
  /* Hidden on desktop */
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-base);
}

@media (max-width: 900px) {
  .sticky-phone {
    display: block;
  }

  /* Add padding to body to prevent footer content overlap */
  body {
    padding-bottom: 60px;
  }
}

.sticky-phone:active {
  background: var(--color-primary);
}

/* Animations */
@keyframes pulse-subtle {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.sticky-phone {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Modal Styles - Bulletproof Fixed Positioning */
#call-modal.modal-overlay,
#message-modal.modal-overlay,
#whatsapp-modal.modal-overlay,
#email-modal.modal-overlay,
.modal-overlay {
  /* Critical: position fixed to viewport, not document flow */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;

  /* Ensure it's above everything */
  z-index: 9999 !important;

  display: none !important;
  /* Force hide by default */
  align-items: center;
  justify-content: center;

  /* Backdrop */
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* Smooth transition */
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

  /* Padding for mobile */
  padding: 1rem;

  /* Prevent scroll on body when modal is open */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#call-modal.modal-overlay.active,
#message-modal.modal-overlay.active,
#whatsapp-modal.modal-overlay.active,
#email-modal.modal-overlay.active,
.modal-overlay.active {
  display: flex !important;
  /* Restore flex and override the hidden state */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-container {
  background: var(--color-white);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);

  /* Relative positioning for close button */
  position: relative;

  /* Animation */
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadow */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

  /* Scrolling */
  max-height: 90vh;
  overflow-y: auto;

  /* Ensure it's on top within modal */
  z-index: 1;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--color-primary);
}

.modal-header {
  padding: 2.5rem 2.5rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.modal-header p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.modal-body {
  padding: 2rem;
}

/* Ensure form styles in modal match/override if needed */
.modal-body .form-group {
  margin-bottom: 1.25rem;
}

.modal-body label {
  display: block;
  font-weight: var(--fw-medium);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.1);
}

.modal-body .checkbox-group {
  margin-top: 1.5rem;
}

.modal-body .checkbox-label {
  display: flex;
  align-items: center;
  font-weight: var(--fw-regular);
  color: var(--color-text);
  cursor: pointer;
  margin-bottom: 0;
}

.modal-body .checkbox-label input[type="checkbox"] {
  width: auto;
  height: 18px;
  min-width: 18px;
  margin-right: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.modal-body .checkbox-label span {
  font-size: 0.9rem;
  line-height: 1.4;
}

.modal-body .recaptcha-group {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.modal-body .g-recaptcha {
  transform: scale(0.95);
  transform-origin: center;
}

@media (max-width: 600px) {
  .modal-body .g-recaptcha {
    transform: scale(0.85);
  }
}

.modal-container {
  width: 100%;
  border-radius: var(--radius-md);
}

.modal-body {
  padding: 1.5rem;
}

.modal-header {
  padding: 1.5rem 1.5rem 1rem;
}


/* Enhanced Modal Styles */
.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.whatsapp-icon {
  filter: hue-rotate(90deg);
}

.phone-display {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1rem 0;
  letter-spacing: 0.05em;
}

.modal-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-actions .btn span {
  font-size: 1.2rem;
}

.btn-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
}

.btn-whatsapp:hover {
  background: #20ba5a !important;
  border-color: #20ba5a !important;
}

.text-center {
  text-align: center;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Form Grid for Modal */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Privacy Policy Page Specific Styles */
.privacy-hero {
  background-image: url("../assets/images/hero/interior-hero.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 1.5rem;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 42, 68, 0.75);
  z-index: 1;
}

.privacy-hero .hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.privacy-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.privacy-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.privacy-section {
  background-color: var(--color-white);
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-intro {
  background: var(--color-bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  margin-bottom: 3rem;
}

.policy-intro p {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.privacy-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.75rem;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
}

.privacy-content ul {
  list-style-position: inside;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
}

.privacy-content ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 0.75rem;
  margin-left: 1rem;
}

.privacy-content ul li::marker {
  color: var(--color-accent);
  font-weight: 700;
}

.contact-info-policy {
  background: var(--color-bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}

.contact-info-policy p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-info-policy p:last-child {
  margin-bottom: 0;
}

.contact-info-policy a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
}

.contact-info-policy a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-hero {
    min-height: 35vh;
    padding: 4rem 1.25rem;
    background-attachment: scroll;
  }

  .privacy-hero h1 {
    font-size: 2rem;
  }

  .privacy-hero p {
    font-size: 1rem;
  }

  .privacy-section {
    padding: 3rem 1.25rem;
  }

  .privacy-content {
    max-width: 100%;
  }

  .policy-intro {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .privacy-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }

  .privacy-content p,
  .privacy-content ul li {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .privacy-content ul {
    margin-left: 0.5rem;
  }

  .contact-info-policy {
    padding: 1.5rem;
  }

  .contact-info-policy p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    min-height: 30vh;
    padding: 3rem 1rem;
  }

  .privacy-hero h1 {
    font-size: 1.75rem;
  }

  .privacy-site-intro p {
    font-size: 0.9rem;
  }

  .privacy-section {
    padding: 2rem 1rem;
  }

  .privacy-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .privacy-content p,
  .privacy-content ul li {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .phone-display {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
  }
}

/* ========================================
   Modern Contact Page Styles
   ======================================== */

.contact-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  height: 100%;
}

.contact-card:not(.static-card):hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.contact-card.full-width {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.contact-card .icon-box {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card.full-width .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.contact-card p {
  margin-bottom: 0.25rem;
  color: var(--color-text-body);
  font-size: 0.95rem;
}

.contact-card .highlight {
  font-weight: 600;
  color: var(--color-text-main);
  font-size: 1.1rem;
}

.contact-card .sub-link {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: auto;
  font-weight: 500;
}

/* Modern Form Wrapper */
.form-wrapper-modern {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .form-wrapper-modern {
    padding: 1.5rem;
  }
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .modern-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.modern-form .form-group {
  margin-bottom: 1.5rem;
}

.modern-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: #fafafa;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.modern-form textarea {
  resize: vertical;
}

/* Compliance Checkboxes */
.compliance-section {
  background-color: var(--color-bg-light);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

.checkbox-container:last-child {
  margin-bottom: 0;
}

.checkbox-container input {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-container a {
  color: var(--color-accent);
  text-decoration: underline;
}

.security-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.smaller-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion details {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-accordion details:hover {
  box-shadow: var(--shadow-sm);
}

.faq-accordion details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-accent);
}

.faq-accordion summary {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  list-style: none; /* Hide default triangle */
  padding-right: 3rem;
  color: var(--color-primary);
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
  content: '-';
  transform: translateY(-55%);
}

.faq-content {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid transparent;
  color: var(--color-text-body);
  line-height: 1.6;
}

.faq-accordion details[open] .faq-content {
  border-top-color: rgba(0,0,0,0.05);
  padding-top: 1rem;
}

/* ── Footer – Dark Navy Gradient (matches Get In Touch section) ── */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2027 100%);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

/* Subtle green glow accent */
.footer::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.65);
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #10b981;
}

.footer-links li {
  margin-bottom: 0.5rem;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.area-list-footer {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.area-list-footer li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.area-list-footer li::before {
  content: '📍 ';
  font-size: 0.8rem;
}

.footer .contact-info a {
  color: rgba(255, 255, 255, 0.75);
}

.footer .contact-info a:hover {
  color: #10b981;
}
