/* MAIN.CSS — Ultra-Premium Minimal Glass + Price Range Slider */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================== ROOT VARIABLES ============================== */
:root {
  --primary: #1a5f3d;
  --secondary: #2d3748;
  --feature-primary: #45403b;
  --feature-secondary: #d3cac2;
  --accent: #12a7b8;
  --black: #000000;
  --white: #ffffff;
  --facebook: #1877F2;
  --text: #f5f5f5;
  --text-light: #000000;
  --bg: #0f0f0f;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --transition: 300ms cubic-bezier(.2,.9,.2,1);
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #128C7E;
  --dark-gray: rgba(15,15,15,0.8);
  --wave-color: #0f4a30;
  --font-base: 'Figtree', sans-serif;
  --font-alt: 'Inter', sans-serif;
  --h1-size: 6rem;
  --h2-size: 2rem;
  --h3-size: 1.6rem;
  --h4-size: 1.2rem;
  --h5-size: 1rem;
  --h6-size: 0.8rem;
  --p-size: 1.1rem;
  --h1-weight: 900;
  --h2-weight: 800;
  --h3-weight: 700;
  --h4-weight: 600;
  --h5-weight: 600;
  --h6-weight: 500;
  --p-line: 1;
  --rainbow-1: #ff6b6b30;
  --rainbow-2: #4ecdc430;
  --rainbow-3: #45b7d130;
  --rainbow-4: #96ceb430;
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.25);
  --shadow-card: 0 10px 35px rgba(0,0,0,0.22);

  /* ============================== BACKGROUND IMAGE & CONTROL ============================== */
--site-bg-image: url('../../images/contact-background.jpg');
--site-bg-overlay-dark:
  linear-gradient(
    145deg,
    rgba(12, 12, 12, 0.72) 0%,
    rgba(18, 18, 18, 0.78) 18%,
    rgba(22, 22, 22, 0.85) 40%,
    rgba(0, 0, 0, 0.90) 100%
  );

  /* Light glass overlay */
--site-bg-overlay-light:
  linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.14) 28%,
    rgba(255, 255, 255, 0.22) 55%,
    rgba(255, 255, 255, 0.28) 100%
  );

  --site-bg-overlay-chroma:
  radial-gradient(
    circle at 70% 30%,
    rgba(180, 220, 255, 0.06),
    transparent 60%
  ),
  radial-gradient(
    circle at 30% 70%,
    rgba(255, 200, 255, 0.05),
    transparent 65%
  );

}
/* ============================== GLOBAL STYLES ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; overflow-x: hidden; }
body { margin: 0; color: var(--text); font-family: var(--font-base); line-height: 1; overflow-x: hidden; 
background:
    var(--site-bg-overlay-dark),
    var(--site-bg-image),
    var(--site-bg-overlay-chroma);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ============================== LIGHT MODE BACKGROUND ============================== */
body[data-theme="light"] {
  background:
    var(--site-bg-overlay-light),
    var(--site-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-light);
}

/* ============================== LIGHT MODE TEXT COLOR ============================== */
body[data-theme="light"],
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6,
body[data-theme="light"] p,
body[data-theme="light"] a,
body[data-theme="light"] span,
body[data-theme="light"] li,
body[data-theme="light"] label {
  color: var(--text-light) !important;
}

/* ============================== TEXT VARIABLES ============================== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-base); line-height: 0.9; color: var(--text); font-weight: normal; margin: 0 0 0 0; }
h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); }
h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); text-transform: uppercase; }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); }
h4 { font-size: var(--h4-size); font-weight: var(--h4-weight); }
h5 { font-size: var(--h5-size); font-weight: var(--h5-weight); }
h6 { font-size: var(--h6-size); font-weight: var(--h6-weight); }
p { margin-top: 4px; font-size: var(--p-size); line-height: var(--p-line); color: var(--text); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 100px; }

/* ============================== RESPONSIVE TYPE SCALE ============================== */

/* ===== Tablet (≤ 1024px) ===== */
@media (max-width: 1024px) {
  :root {
    --h1-size: 8rem;
    --h2-size: 3rem;
    --h3-size: 1.3rem;
    --h4-size: 1.2rem;
    --h5-size: 1.1rem;
    --h6-size: 0.9rem;
    --p-size: 1rem;
  }
}

/* ===== Mobile (≤ 768px) ===== */
@media (max-width: 768px) {
  :root {
    --h1-size: 4rem;
    --h2-size: 2rem;
    --h3-size: 1.1rem;
    --h4-size: 1rem;
    --h5-size: 0.9rem;
    --h6-size: 0.7rem;
    --p-size: 0.95rem;
  }
}

/* ===== Small Mobile (≤ 480px) ===== */
@media (max-width: 480px) {
  :root {
    --h1-size: 2rem;
    --h2-size: 1.4rem;
    --h3-size: 1.2rem;
    --h4-size: 1rem;
    --h5-size: 0.9rem;
    --h6-size: 0.7rem;
    --p-size: 1.2rem;
  }
}

:root {
  /* Parent container glass (deep ambient) */
  --parent-bg-dark: rgba(12, 12, 12, 0.40);
  --parent-border-dark: rgba(255, 255, 255, 0.06);
  --parent-glow-dark: rgba(255, 255, 255, 0.10);

  --parent-bg-light: rgba(255, 255, 255, 0.38);
  --parent-border-light: rgba(255, 255, 255, 0.50);
  --parent-glow-light: rgba(255, 255, 255, 0.45);

  --parent-blur: 40px;
  --parent-saturation: 180%;
  --parent-radius: 24px;

  /* Ambient grain layer */
  --parent-noise-opacity: 0.18;
}


/* ===========================================================
   GLOBAL GLASS COMPONENT — VISIONOS LIQUID GLASS EDITION
   =========================================================== */
.glass-panel {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-radius: var(--glass-radius, 10px);
  align-items: center;
  text-align: center;
background:
  /* soft chromatic glow layer */
  radial-gradient(
    120% 120% at 20% 10%,
    rgba(255, 182, 193, 0.28), /* blush pink */
    transparent 60%
  ),
  radial-gradient(
    140% 140% at 90% 90%,
    rgba(255, 127, 109, 0.25), /* coral */
    transparent 65%
  ),
  radial-gradient(
    120% 120% at 50% 100%,
    rgba(255, 210, 180, 0.18), /* warm peach */
    transparent 70%
  ),

  /* glass surface */
  linear-gradient(
    145deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.08) 35%,
    rgba(255,255,255,0.03) 100%
  );

  background-clip: padding-box;

  /* Iridescent border (VisionOS style) */
  --iridescent: linear-gradient(
      135deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.12) 40%,
      rgba(255,255,255,0.35) 100%
  );
  mask-composite: intersect;
  -webkit-mask-composite: source-in;

  /* Soft ambient glass shadow */
  box-shadow:
      0 0 0 1px rgba(255,255,255,0.15),
      0 25px 55px rgba(0,0,0,0.45),
      inset 0 2px 8px rgba(255,255,255,0.10);

  backdrop-filter: blur(calc(var(--glass-blur) * 1.25)) saturate(2);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) * 1.25)) saturate(2);

  overflow: hidden;
  transition:
      box-shadow 0.6s cubic-bezier(.22,1,.36,1),
      background 0.6s cubic-bezier(.22,1,.36,1),
      border-color 0.6s ease;
}

/* VisionOS soft specular highlight */
.glass-panel::before {
  content: "";
  position: absolute;
  top: -28%;
  left: -20%;
  width: 170%;
  height: 80%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.04) 45%,
      transparent 80%
  );
  filter: blur(22px);
  opacity: 0.55;
  transform: rotate(-8deg);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Subsurface scattering + micro-texture shimmer */
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.10), transparent 70%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* ===========================================================
   HOVER (movement removed)
   =========================================================== */
.glass-panel:hover {
  box-shadow:
      0 30px 65px rgba(0,0,0,0.50),
      inset 0 3px 12px rgba(255,255,255,0.14);
}

/* Highlight brightens without shifting */
.glass-panel:hover::before {
  /* Removed movement; only brighten */
  opacity: 0.78;
}

/* Micro texture intensifies slightly */
.glass-panel:hover::after {
  opacity: 0.60;
}

/* Liquid Lens distortion overlay */
.glass-panel .liquid-lens {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  filter: url(#liquidLens);
  opacity: 0.0;
  transition: opacity 0.45s ease;
  mix-blend-mode: soft-light;
  z-index: 3;
}

/* On hover, reveal distortion — no movement */
.glass-panel:hover .liquid-lens {
  opacity: 0.55;
}




/* ============================== SECTION CONTAINERS ============================== */
section {
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 768px) {
  section { padding: 100px 5%; }
}
@media (min-width: 1200px) {
  section { padding: 120px 5%; }
}

.section-glass {
  overflow: hidden;
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  section { padding: 100px 5%; }
}
@media (min-width: 1200px) {
  section { padding: 120px 5%; }
}

/* ===== LIGHT THEME GLASS OVERRIDE ===== */


body[data-theme="light"] .glass-panel {
  border: 1px solid var(--glass-border-light);
  box-shadow: var(--glass-shadow-light);
}

body[data-theme="light"] .glass-panel::before {
  background: var(--glass-gloss-light);
}

body[data-theme="light"] .glass-panel::after {
  background: var(--glass-sheen-light);
}



/* ============================== MAIN CONTAINERS ============================== */


/* ======================================
   PARENT CONTAINER — AMBIENT DEEP GLASS
   ====================================== */

.container-glass {
  position: relative;
  z-index: 1;

  padding: 40px;
  margin: 40px;
  border-radius: var(--parent-radius);

  /* Soft ambient frosted glass */
  background: var(--parent-bg-dark);
  border: 1px solid var(--parent-border-dark);

  backdrop-filter: blur(var(--parent-blur)) saturate(var(--parent-saturation));
  -webkit-backdrop-filter: blur(var(--parent-blur)) saturate(var(--parent-saturation));

  /* Atmospheric glow */
  box-shadow:
    0 32px 85px rgba(0,0,0,0.60),
    0 0 35px rgba(255,255,255,0.02) inset,
    0 0 0 1px rgba(255,255,255,0.06) inset;

  overflow: hidden;
  transition: background 0.6s ease, border-color 0.6s ease, backdrop-filter 0.6s ease;
}

/* Ambient grain texture overlay */
.container-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' result='noise'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: var(--parent-noise-opacity);

  mix-blend-mode: soft-light;
  z-index: 1;
}

/* Soft luminous sweep */
.container-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background: radial-gradient(
    circle at 35% 15%,
    var(--parent-glow-dark) 0%,
    transparent 65%
  );

  opacity: 0.6;
  mix-blend-mode: screen;
  z-index: 2;
}

/* MOBILE — full-bleed */
@media (max-width: 640px) {
  .container-glass {
    margin: 0;
    border-radius: 0;
    padding: 32px 22px;
  }
}

/* LIGHT MODE VARIANT */
body[data-theme="light"] .container-glass {
  background: var(--parent-bg-light);
  border: 1px solid var(--parent-border-light);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.25),
    0 0 50px rgba(255,255,255,0.35) inset;
}

body[data-theme="light"] .container-glass::after {
  background: radial-gradient(
    circle at 40% 15%,
    var(--parent-glow-light) 0%,
    transparent 65%
  );
  opacity: 0.5;
}



/* ============================== FILTER CONTAINER ============================== */
.filters-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 40px auto;
}

/* ============================== FILTER CHIPS — BASE ============================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  order: 0;
}

.gallery-filters > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: var(--text);
  background: var(--glass-bg);
}

/* ============================== FILTER CHIPS — DARK MODE ============================== */
[data-theme="dark"] .gallery-filters > * {
  border: 1px solid var(--text);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .gallery-filters > *:hover,
[data-theme="dark"] .gallery-filters .filter.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
}

/* ============================== FILTER CHIPS — LIGHT MODE ============================== */
[data-theme="light"] .gallery-filters > * {
  border: 1px solid rgba(15,23,42,0.18);
  color: #0b0f1a;
}

[data-theme="light"] .gallery-filters > *:hover,
[data-theme="light"] .gallery-filters .filter.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* ===== Active Shine ===== */
.gallery-filters .filter.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0.4;
  pointer-events: none;
}

/* ============================== PRICE FILTER — BASE ============================== */
.price-filter-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 30px;
  border: 1px solid var(--text);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
  order: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: border-color 0.25s ease, background 0.25s ease;

}

[data-theme="light"] .price-filter-inline {
  border: 1px solid rgba(15,23,42,0.18);
  color: #0b0f1a;
}

/* Light mode hover — border only */
[data-theme="light"] .price-filter-inline:hover {
  border: 1px solid rgba(15,23,42,0.18);
}

.price-filter-inline:hover {
  background: rgba(78,205,196,0.1);
  border-color: var(--text);
}

.price-label,
#priceRangeValue {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

#priceRangeValue {
  min-width: 110px;
  text-align: right;
}

/* ============================== SLIDER — BASE ============================== */
.slider-container-inline {
  position: relative;
  width: 160px;
  height: 24px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.slider-inline {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: 100%;
  height: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border-radius: 3px;
  pointer-events: none;
  z-index: 3;
}

.slider-track-inline {
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.slider-range-inline {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  pointer-events: none;
  z-index: 2;
  transition: left .15s ease, right .15s ease;
}

/* Thumb */
.slider-inline::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .2s ease;
}

.slider-inline::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  cursor: pointer;
  pointer-events: auto;
}

.slider-inline:active::-webkit-slider-thumb,
.slider-inline:focus::-webkit-slider-thumb {
  transform: scale(1.1);
}

/* ============================== SLIDER — LIGHT MODE ============================== */
[data-theme="light"] .slider-track-inline {
  background: rgba(0,0,0,0.15);
}

[data-theme="light"] .slider-inline::-webkit-slider-thumb {
  border-color: rgba(0,0,0,0.2);
}


/* ============================== MOBILE ============================== */

@media (max-width: 768px) {

  .filters-container {
    gap: 10px;
  }

  /* MOBILE BEHAVIOR: chips on first row, slider drops below */
  .gallery-filters {
    flex: 1 1 100%;
  }

  .price-filter-inline {
    flex: 1 1 100%;
    height: auto;
    padding: 8px 10px;
    flex-direction: column;
    gap: 6px;
  }

  #priceRangeValue {
    min-width: auto;
    text-align: left;
    font-size: 11px;
  }

  .gallery-filters > * {
    font-size: 11px;
    padding: 0 10px;
    height: 32px;
  }

  .slider-container-inline {
    width: 100%;
  }
}


/* ============================== NAVIGATION ============================== */
nav {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  padding: 1px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 999;
  transition: top 0.3s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
body[data-theme="light"] nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
nav .logo-container { all: unset; cursor: pointer; }
nav .logo-container img {
  display: block;
  width: 120px;
  height: auto;
  max-height: 60px;
}
@media (max-width: 900px) {
  nav { top: 0 !important; padding: 12px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
  nav .logo-container img { width: 110px; }
}
nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Dark mode (existing) */
nav a:not(.logo-container):hover,
nav a:not(.logo-container).active {
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.35);
  transform: translateY(-1px);
}
/* Light mode */
body[data-theme="light"] nav a:not(.logo-container) {
  color: var(--text);
  background: rgba(78, 205, 196, 0.06);
}
body[data-theme="light"] nav a:not(.logo-container):hover,
body[data-theme="light"] nav a:not(.logo-container).active {
  background: rgba(78, 205, 196, 0.12);
  color: var(--text);
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.35);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}
/* ================= NAV RIGHT (DESKTOP + MOBILE) ================= */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  z-index: 1001;
}
/* Default (dark mode) buttons */
.nav-right button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08); /* DARK MODE GLASS */
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav-right button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.nav-right i {
  font-size: 16px;
  transition: color 0.25s ease;
  color: var(--text);
}
/* ================= LIGHT MODE FIXES ================= */
body[data-theme="light"] .nav-right button {
  background: rgba(0,0,0,0.06); /* SOFT GRAY GLASS */
  border: 1px solid rgba(0,0,0,0.08);
}
body[data-theme="light"] .nav-right button:hover {
  background: rgba(78,205,196,0.15); /* ACCENT GLOW */
}
body[data-theme="light"] .nav-right i {
  color: #222; /* DARK ICONS FOR VISIBILITY */
}
/* Theme toggle icon */
.theme-toggle .theme-icon {
  font-size: 16px;
}
body[data-theme="light"] .theme-toggle .theme-icon {
  color: var(--accent);
}
body[data-theme="dark"] .theme-toggle .theme-icon {
  color: var(--text);
}
/* Smooth fade transition for theme icon */
.theme-toggle .theme-icon {
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* During icon change */
.theme-toggle.fading .theme-icon {
  opacity: 0;
  transform: scale(0.8);
}
/* ================= HAMBURGER ICON FIX ================= */
.menu-toggle i {
  font-size: 18px;
  color: var(--text);
  transition: color 0.25s ease, transform 0.25s ease;
}
/* Light mode hamburger */
body[data-theme="light"] .menu-toggle i {
  color: #222;
}
/* When menu is open */
.menu-toggle.active i {
  transform: rotate(90deg);
  color: var(--accent);
}
.menu-toggle:hover i {
  color: var(--accent);
}
body[data-theme="dark"] .menu-toggle:hover i {
  color: #000; /* or var(--black) for black, or #fff for white */
}
/* ================= MOBILE ONLY ================= */
@media (min-width: 901px) {
  .nav-right .menu-toggle {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-right .menu-toggle {
    display: flex;
  }
  .nav-right {
    gap: 10px;
  }
}




/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(16px);
  padding: 90px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1001;
  overflow-y: auto;
  font-family: var(--font-base);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1000;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  z-index: 1002;
}
.menu-close:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.1) rotate(90deg);
}
.mobile-menu-logo {
  text-align: center;
  margin-bottom: 32px;
}
.mobile-menu-logo img {
  max-width: 110px;
  border-radius: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}
.mobile-menu a {
  position: relative;
  padding: 18px 20px 18px 56px;
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  border-radius: 10px;
  margin: 4px 0;
  display: flex;
  align-items: center;
  transition: all 0.35s ease;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}
.mobile-menu a i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  color: var(--accent);
  transition: all 0.35s ease;
}
.mobile-menu a:hover {
  color: var(--accent);
  background: rgba(244,196,48,0.12);
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(244,196,48,0.18);
}
.mobile-menu a:hover i {
  color: #fff;
  transform: translateY(-50%) scale(1.15) translateX(2px);
}
body.menu-open {
  overflow: hidden;
}
/* Light Theme Overrides for Mobile Menu */
body[data-theme="light"] .mobile-menu {
  background: rgba(255,255,255,0.95);
  border-left: 1px solid rgba(0,0,0,0.08);
}
body[data-theme="light"] .mobile-menu a {
  color: #000;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}
body[data-theme="light"] .mobile-menu a:hover {
  color: var(--accent);
  background: rgba(244,196,48,0.12);
}
body[data-theme="light"] .mobile-menu a i {
  color: var(--accent);
}
body[data-theme="light"] .mobile-menu a:hover i {
  color: #000;
}
body[data-theme="light"] .menu-close {
  color: #000;
  background: rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.18);
}
body[data-theme="light"] .menu-close:hover {
  background: var(--accent);
  color: #000;
}
body[data-theme="light"] .menu-overlay {
  background: rgba(255,255,255,0.65);
}
/* ============================== MOBILE MENU LAYOUT ============================== */
@media (max-width: 576px) {
  .mobile-menu { width: 280px; padding: 80px 18px 28px; }
  .mobile-menu a { padding: 16px 18px 16px 52px; font-size: 15px; margin: 3px 8px; }
  .mobile-menu a i { left: 18px; font-size: 18px; }
  .mobile-menu-logo img { max-width: 95px; }
}

/* ============================== TOP INFO BAR ============================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 8px 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform .4s ease, opacity .4s ease, background .4s ease;
  background: rgba(0,0,0,1); /* default dark mode bar */
}

.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.top-bar a {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: color .3s ease, transform .3s ease;
}

.top-bar a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.top-bar a i {
  font-size: 15px;
  color: var(--accent);
}

/* —————— LIGHT MODE —————— */
body[data-theme="light"] .top-bar {
  background: rgba(255, 255, 255, 1);
  color: #111;
}

body[data-theme="light"] .top-bar a {
  color: #111;
}

body[data-theme="light"] .top-bar a:hover {
  color: var(--accent);
}

body[data-theme="light"] .top-bar a i {
  color: var(--accent);
}

/* —————— FACEBOOK OVERRIDES (ALWAYS BLUE) —————— */
.top-bar a.facebook-link,
.top-bar a.facebook-link i {
  color: #1877F2 !important;
}

.top-bar a.facebook-link:hover {
  color: #0e63d8 !important;
}

/* ============================== HIDE TOP BAR ON SMALL SCREENS ============================== */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }
}


/* ============================== HERO SECTION ============================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  padding-top: 120px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.65);
  transition: filter 0.4s ease;
}
body[data-theme="light"] .hero video { filter: brightness(0.95); }

.hero-inner {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ============================== CAROUSEL DESKTOP ============================== */
.hero-carousel {
  position: relative;
  width: 80%;
  max-width: 1000px;
  min-width: 320px;

  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;

  aspect-ratio: 16 / 9;

  margin: 0 auto;
  border-radius: 10px;
  padding: 4px;
  background: linear-gradient(
    45deg,
    var(--rainbow-1),
    var(--rainbow-2),
    var(--rainbow-3),
    var(--rainbow-4),
    var(--rainbow-1)
  );
  background-size: 400% 400%;
  animation: rainbowBorder 8s ease infinite;
  box-shadow: 0 0 32px rgba(255,255,255,0.18);
  overflow: hidden;
}

/* Mobile & smaller screens — force 3:4 aspect ratio */
@media (max-width: 991px) {
  .hero-carousel {
    aspect-ratio: 3 / 4;
  }
}

/* Force inner container to follow the aspect ratio */
.hero-carousel .hero-slide-container {
  position: relative;
  width: 100%;
  height: 100% !important;
  border-radius: 10px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
  display: flex;
}

/* ============================== SLIDES ============================== */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  width: 100% !important;
  height: 100% !important;

  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  justify-content: flex-start;
  align-items: stretch;

  border-radius: 10px;
  z-index: 0;

  transition:
    opacity 1s ease-in-out,
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;

  will-change: opacity;
}

.hero-slide.active {
  position: relative;   /* ← THIS LINE PREVENTS SHRINKING */
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}


/* ============================== IMAGE ============================== */
.slide-image {
  flex: 0 0 50%;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden;
  border-radius: 10px 0 0 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center !important;
  transition: transform 0.5s ease;
}

/* ============================== CONTENT ============================== */
.slide-content {
  flex: 1;
  height: 100% !important;
  max-height: 100% !important;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  border-radius: 0 10px 10px 0;
  overflow: hidden;

  transition: transform 0.3s ease, opacity 0.4s ease;
}

.slide-content h1 {
  margin-bottom: 0.25em;
  line-height: 1;
}

/* ============================== HOVER EFFECTS ============================== */
.hero-slide:hover {
  box-shadow:
    0 25px 60px rgba(0,0,0,0.35),
    inset 0 2px 8px rgba(255,255,255,0.15);
  border-color: var(--accent);
}

.hero-slide:hover .slide-image {
  box-shadow: 0 0 35px rgba(78,205,196,0.6);
  transform: scale(1.03);
}

.hero-slide:hover .slide-image img {
  transform: scale(1.1);
}

body[data-theme="light"] .hero-slide:hover .slide-image {
  box-shadow: 0 0 30px rgba(78,205,196,0.4);
}

/* ============================== MOBILE ============================== */
@media (max-width: 900px) {
  .hero-carousel {
    width: 94%;
    height: 480px;
    max-height: 480px;
    min-height: 480px;
    padding: 3px;
  }

  .hero-slide {
    flex-direction: column;
  }

  .slide-image {
    flex: 0 0 55%;
    width: 100%;
    height: 55%;
    border-radius: 10px 10px 0 0;
  }

  .slide-content {
    flex: 1;
    width: 100%;
    padding: 24px 26px 30px;
    border-radius: 0 0 10px 10px;
  }
}

/* ============================== SMALLER MOBILE ============================== */
@media (max-width: 600px) {
  .hero-carousel {
    height: 440px;
    max-height: 440px;
    min-height: 440px;
  }

  .slide-image {
    height: 50%;
  }

  .slide-content {
    padding: 18px;
  }

  .slide-content h1 {
    font-size: 1.6rem;
  }
}

@keyframes rainbowBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.hero-learn-more {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;

  /* CENTERING — NEVER ANIMATED */
  transform: translateX(-50%);

  z-index: 11;
  opacity: 0;

  animation: fadeSlideUp 1.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s forwards;
  will-change: opacity, transform;
}

/* Animate Y ONLY — no composite transform drift */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    translate: 0 30px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* LINK */
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;

  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;

  color: var(--text);
  background: transparent;
  text-decoration: none;
  cursor: pointer;

  /* Prevent inherited transform animations */
  transform: translateZ(0);
}

/* ICON */
.arrow-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* LIGHT THEME TWEAK */
body[data-theme="light"] .learn-more-btn {
  border-color: rgba(0, 0, 0, 0.12);
}


/* ============================== PROPERTY LISTINGS SECTION ============================== */

/* DARK MODE — SECTION BACKGROUND */
body:not([data-theme="light"]) .properties {
  text-align: center;
  padding: 60px 20px;
  background: #000; /* pure black */
  color: #fff;
}

/* LIGHT MODE — SECTION BACKGROUND */
body[data-theme="light"] .properties {
  text-align: center;
  padding: 60px 20px;
  background: #fff; /* pure white */
  color: #111;
}

/* ============================== PROPERTY GRID ============================== */
.property-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto 40px;
}

/* ============================== PROPERTY CARD ============================== */
.property-card {
  background: rgba(25,25,25,0.85); /* deep glass dark */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: visible !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  transition: all 0.35s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.7);
}

/* LIGHT MODE — PROPERTY CARD */
body[data-theme="light"] .property-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #1a1a1a;
}

body[data-theme="light"] .property-card:hover {
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

/* ============================== IMAGE ============================== */
.property-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

/* ============================== LOGO ============================== */
.property-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.property-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-card:hover .property-logo {
  transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* LIGHT MODE — LOGO */
body[data-theme="light"] .property-logo {
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* ============================== INFO ============================== */
.property-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 12px;
  font-weight: 500;
  color: #e5e5e5;
  background: transparent;
}

.property-info.primary {
  font-weight: 600;
  padding-top: 12px;
}

.property-price {
  color: var(--accent);
  font-weight: 700;
}

/* LIGHT MODE — INFO */
body[data-theme="light"] .property-info {
  color: #111;
}

/* ============================== FEATURES ============================== */
.property-features {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 12px;
  color: #d8d8d8;
  flex-wrap: wrap;
  gap: 8px;
}

.property-features .feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.property-features i {
  font-size: 16px;
  color: var(--feature-secondary);
}

/* LIGHT MODE — FEATURES */
body[data-theme="light"] .property-features i {
  color: #333;
}

body[data-theme="light"] .property-features {
  color: #444;
}

/* ============================== TOOLTIP ============================== */
.property-features .feature:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
  z-index: 9999;
}

.property-features .feature:hover::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.9) transparent transparent transparent;
  z-index: 9998;
}

/* LIGHT MODE — TOOLTIP */
body[data-theme="light"] .property-features .feature:hover::after {
  background: rgba(0,0,0,0.85);
  color: #fff;
}

/* ============================== FULL SCREEN OVERLAY ============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  /* 🔒 TRUE FULL-VIEWPORT BLUR */
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Light mode overlay */
body[data-theme="light"] .modal-overlay {
  background: rgba(255, 255, 255, 0.55);
}
/* ============================== PROPERTY MODAL ============================== */
.property-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  max-width: none;
  max-height: none;
  border-radius: 20px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
}
/* OPEN STATE */
.property-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* ============================== MODAL PANEL ============================== */
.modal-content {
  flex: 1;
  width: min(92vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s ease;
}
.property-modal.open .modal-content {
  transform: scale(1) translateY(0);
}
/* ============================== DARK MODE ============================== */
body[data-theme="dark"] .modal-content {
  background: #0b0b0b;
  color: #f5f5f5;
}
/* ============================== LIGHT MODE ============================== */
body[data-theme="light"] .modal-content {
  background: #ffffff;
  color: #111111;
}
/* ============================== CLOSE BUTTON ============================== */
.modal-close {
  position: fixed; /* 🔒 detach from scroll */
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  z-index: 10000;
  transition: transform 0.25s ease, background 0.25s ease;
}
body[data-theme="dark"] .modal-close {
  background: var(--black);
  color: var(--white);
}
body[data-theme="light"] .modal-close {
  background: rgba(0,0,0,0.08);
  color: #111;
}
.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
}
/* ============================== IMAGE ============================== */
.modal-image {
  width: 100%;
  height: 42vh;
  object-fit: cover;
  margin-bottom: 20px;
}
/* ============================== GLASS PANEL ============================== */
.modal-glass {
  border-radius: 20px;
  padding: 20px;
}
/* Dark mode glass */
body[data-theme="dark"] .modal-glass {
  backdrop-filter: blur(16px);
}
/* ============================== HEADER ============================== */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-header h2 {
  font-size: 22px;
  margin: 0;
}
.modal-subtext {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.modal-price {
  font-weight: 700;
}

body[data-theme="dark"] .modal-price {
  color: #4ecdc4;
}

body[data-theme="light"] .modal-price {
  color: #1a5f3d;
}


/* ============================== STATS ============================== */
.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.modal-stats div {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.modal-stats strong {
  display: block;
  font-size: 20px;
}

.modal-stats span {
  font-size: 11px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================== SECTIONS ============================== */
.modal-section {
  margin-bottom: 20px;
  margin-top: 20px;
}

.modal-section h3 {
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.modal-section p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ============================== FEATURES ============================== */
.modal-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.modal-features li {
  font-size: var(--p-size);
  position: relative;
  padding-left: 18px;
}

.modal-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================== ACTIONS ============================== */
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  border: none;
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================== LIGHT MODE TWEAKS ============================== */


body[data-theme="light"] .modal-stats div {
  background: var(--text);
}


/* ============================== GRID SYSTEM ============================== */
.grid, .steps-details {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .steps-details {
    max-width: 1200px;
    margin: 0 auto 40px;
  }
}

/* CARD */
.card {
  padding: 20px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--text);
  cursor: pointer;
  transition: height 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  height: auto;
  overflow: hidden;
  order: 0; /* for visual ordering when expanded */
    will-change: height;
      contain: layout paint;


}

.card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* Make card expand full width on click */
.card.full-width {
  grid-column: 1 / -1;
  z-index: 2;
  transform: scaleY(0.96);
  opacity: 0;
}

.card.full-width.is-expanding {
  transform: scaleY(1);
  opacity: 1;
}

.card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.card.touching {
  transform: scale(0.98);
}

/* ============================== CARD CTA ============================== */
.card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* Reveal CTA on hover */
.grid .card:hover .card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Keep CTA visible when expanded */
.grid .card.full-width .card-cta {
  opacity: 1;
  transform: translateY(0);
  font-size: 0; /* hide original text */
}

/* Show "Close" when expanded */
.grid .card.full-width .card-cta::before {
  content: "Close";
  font-size: 0.8rem;
  display: inline-block;
}

/* ============================== EXPANDED TEXT ============================== */
.card-expand-text {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.card.full-width.is-expanding .card-expand-text {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}


/* LIGHT MODE CARD */
body[data-theme="light"] .card {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  color: #111;
}

body[data-theme="light"] .card:hover {
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}




/* ============================== SECTION TITLES ============================== */
.section-title { margin-bottom: 20px; text-align: center;}

/* ============================== HOW IT WORKS — TIMELINE ============================== */

/* Timeline container */
.timeline-container {
  position: relative;
  max-width: 1300px;
  margin: 80px auto 0;
  padding: 0 20px;
}

/* Central vertical line */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, #10b981, #34d399);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Each step wrapper */
.timeline-step {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-step.left {
  left: 0;
  text-align: right;
}

.timeline-step.right {
  left: 50%;
  text-align: left;
}

/* Step card */
.step-card {
  background: rgba(18,18,18,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 30px 25px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: inline-block;
  max-width: 400px;
}

body[data-theme="light"] .step-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
}

/* Step hover effect */
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border-color: var(--accent);
}

body[data-theme="light"] .step-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Step number circle */
.step-number-circle {
  position: absolute;
  top: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #10b981, #34d399);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(16,185,129,0.6);
}

/* Position numbers over timeline */
.timeline-step.left .step-number-circle {
  right: -25px;
}
.timeline-step.right .step-number-circle {
  left: -25px;
}
/* Step header inside card */
.step-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
/* Step body text */
.step-card p {
  margin: 8px 0;
  line-height: 1.6;
  color: #eee;
}
body[data-theme="light"] .step-card p {
  color: #333;
}
/* ============================== HERO ============================== */
.home-buyer__hero {
  max-width: 1400px;
  margin: 0 auto 140px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.home-buyer__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-buyer__title-block h1 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 20px;
}
.home-buyer__title-block h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 500;
  opacity: 0.85;
}
.home-buyer__image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 50px 120px rgba(0,0,0,0.65);
  transition: transform 0.8s ease;
}
.home-buyer__image img:hover {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .home-buyer__hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Highlight tagline */
.highlight {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0;
}
.cta-tagline {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 30px;
}
/* FINAL CTA */
.final-cta {
  text-align: center;
  margin: 100px auto 0;
  padding: 80px 40px;
  max-width: 900px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(24px);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.final-cta:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
body[data-theme="light"] .final-cta {
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.1);
}
.final-cta__main {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-theme="light"] .final-cta__main {
  background: linear-gradient(90deg, #1a1a1a, #3a3a3a);
}
.final-cta__sub {
  font-size: 1.3rem;
  opacity: 0.9;
  color: var(--text-light);
}
body[data-theme="light"] .final-cta__sub {
  color: #333;
}
/* ============================== ANIMATIONS ============================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================== RESPONSIVE ============================== */
@media (max-width: 991px) {
  .timeline-step {
    width: 100%;
    text-align: center !important;
    padding: 20px 20px;
  }
  .timeline-step.left, .timeline-step.right {
    left: 0;
  }
  .timeline-step .step-number-circle {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
  .step-card {
    display: block;
    max-width: 100%;
  }
  .home-buyer__hero {
    flex-direction: column;
  }
}
/* ============================== MEDIA QUERIES ============================== */
@media (max-width: 992px) {
  .home-buyer__hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .home-buyer__intro { text-align: center; }
  .steps-details { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .home-buyer { padding: 0px 20px; }
  .step-detail {
    text-align: left;
    align-items: flex-start;
  }
  .step-header {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
  .step-number-circle {
    margin: 0;
  }
}
/* ============================== TEAM SECTION ============================== */
/* ============================== TEAM SECTION ============================== */
.team-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1300px;
  margin: 40px auto 20px;
}
/* ============================== TEAM CARD ============================== */
.team-card {
  display: flex;
  align-items: stretch;
  gap: 28px;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 0;
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3), inset 0 2px 6px rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35), inset 0 2px 8px rgba(255,255,255,0.15);
  border-color: var(--accent);
}
/* ============================== TEAM IMAGE ============================== */
.team-card .team-image {
  flex: 0 0 40%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.team-card:hover .team-image {
  box-shadow: 0 0 35px rgba(78,205,196,0.6);
  transform: scale(1.03);
}
.team-card .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.team-card:hover .team-image img {
  transform: scale(1.1);
}
/* ============================== TEAM INFO ============================== */
.team-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  justify-content: center;
}
.team-text h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}
.team-text h4 {
  font-size: 0.92rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
  font-weight: 600;
}
/* ============================== LIGHT MODE ============================== */
body[data-theme="light"] .team-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.15),
    inset 0 1px 5px rgba(255, 255, 255, 0.4);
}
body[data-theme="light"] .team-card:hover {
  border-color: var(--accent);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.22),
    inset 0 2px 8px rgba(255, 255, 255, 0.5);
}
body[data-theme="light"] .team-card .team-image {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
/* ============================== SAFE ANIMATION DEFAULT ============================== */
.animate-on-scroll {
  opacity: 1;
  transform: none;
}
.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================== MOBILE ============================== */
@media (max-width: 768px) {
  .team-card {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  .team-card .team-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px 16px 0 0;
  }
  .team-text {
    padding: 32px 28px 40px;
    justify-content: flex-start;
  }
  .team-text h3 {
    font-size: 1.4rem;
  }
  .team-text h4 {
    font-size: 0.88rem;
  }
}
/* Rest of your styles (about-cta etc.) remain unchanged */
.about-cta {
  margin-top: 100px;
  padding: 70px 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.about-cta p {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.3;
}
.about-cta p:last-of-type {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
}
.about-cta .btn--accent {
  padding: 1rem 2.8rem;
  font-size: 1.1rem;
}
/* ============================== SERVICES SECTION ============================== */
.services-section { padding: 100px 5%; background: var(--bg); text-align: center; }
.services-grid { gap: 32px; margin-top: 48px; }
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
body[data-theme="light"] .service-icon { background: rgba(0, 0, 0, 0.08); }
.service-icon i { font-size: 1.8rem; color: var(--accent); }
.card:hover .service-icon { background: var(--accent); transform: scale(1.1); }
.card:hover .service-icon i { color: white; }
.card h3 { margin: 16px 0 12px; font-size: 1.35rem; color: var(--text); }
.card p { }
.services-cta { margin-top: 48px; }
/* ============================== ABOUT PALAWAN ============================== */
.about-palawan { padding: 100px 20px; max-width: 1300px; margin: 0 auto; text-align: center; }
.about-palawan .section-title { margin-bottom: 10px; }
.about-palawan .section-sub { margin-bottom: 50px; opacity: 0.85; font-size: 1.2rem; }
.palawan-content { display: grid; grid-template-columns: 1fr; gap: 50px; margin-top: 60px; align-items: start; }
@media (min-width: 992px) { .palawan-content { grid-template-columns: 1fr 1fr; } }
.palawan-text { text-align: left; line-height: 1.7; font-size: 1.1rem; }
.palawan-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.palawan-gallery img { width: 100%; border-radius: 10px; object-fit: cover; height: 200px; }
.palawan-gallery img:nth-child(1) { grid-column: span 2; height: 260px; }
/* ============================== PALAWAN ACCORDION ============================== */
.palawan-accordion {
  margin-top: 2.8rem;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}
.palawan-accordion:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
/* ============================== LIGHT MODE ============================== */
body[data-theme="light"] .palawan-accordion {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
body[data-theme="light"] .palawan-accordion:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.accordion-heading {
  margin: 0;
  padding: 1.4rem 1.8rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--glass-border);
}
body[data-theme="light"] .accordion-heading {
  background: rgba(255, 255, 255, 0.3);
  color: #111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.accordion-item {
  border-bottom: 1px solid var(--glass-border);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-trigger {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  position: relative;
  user-select: none;
}
.accordion-trigger:hover {
  background: var(--glass-hover);
  color: var(--accent);
}
body[data-theme="light"] .accordion-trigger {
  background: transparent;
  color: #222;
}
body[data-theme="light"] .accordion-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--accent);
}
.accordion-trigger::-webkit-details-marker,
.accordion-trigger::marker {
  display: none;
}
.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--transition);
  flex-shrink: 0;
  color: var(--accent);
}
details[open] .accordion-icon {
  transform: rotate(180deg);
}
.accordion-panel {
  padding: 0 1.8rem 1.6rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  animation: fadeIn 0.4s ease-out;
}
body[data-theme="light"] .accordion-panel {
  color: #333;
}
.accordion-panel p {
  margin: 0;
}
details {
  overflow: hidden;
}
details[open] .accordion-panel {
  animation: slideDown 0.4s ease-out;
  margin-top: 1rem;
}
@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .palawan-accordion {
    margin-top: 2.2rem;
  }
  .accordion-heading {
    padding: 1.2rem 1.5rem;
  }
  .accordion-trigger {
    font-size: 1.08rem;
    padding: 0.5rem 1.5rem;
  }
  .accordion-panel {
    padding: 0 1.5rem 1.4rem;
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .accordion-heading {
    padding: 1rem 1.2rem;
  }
  .accordion-trigger {
    font-size: 1.05rem;
    padding: 1rem 1.2rem;
  }
  .accordion-icon {
    width: 18px;
    height: 18px;
  }
}
.calendly-inline-widget,
.calendly-inline-widget iframe {
    color-scheme: light !important;
}
/* ============================== OUR WORK – MIXED GRID GALLERY ============================== */
.mixed-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
  max-width: 1600px;
  grid-auto-flow: row dense;
}
.gallery-item.is-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* ------------------------------------------------
   GALLERY ITEM
------------------------------------------------ */
.mixed-gallery .gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  will-change: transform, opacity;
}
/* Hover */
.mixed-gallery .gallery-item:hover {
  box-shadow: 0 35px 80px rgba(0,0,0,0.7);
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease, border-color 0.4s ease-in-out;
}
/* Image */
.mixed-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.mixed-gallery .gallery-item:hover img {
  transform: scale(1.12);
}
/* Mixed layout */
.mixed-gallery .tall { grid-row: span 2; }
.mixed-gallery .wide { grid-column: span 2; }
/* ------------------------------------------------
   OVERLAY
------------------------------------------------ */
.gallery-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.mixed-gallery .gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.gallery-overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}
/* ================================================================
   RESPONSIVE
================================================================ */
/* Mobile */
@media (max-width: 768px) {
  .mixed-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }
  .mixed-gallery .gallery-item {
    height: 280px;
  }
  .gallery-overlay {
    opacity: 1;
    padding: 20px;
    background: linear-gradient(
      0deg,
      rgba(0,0,0,0.75) 0%,
      transparent 60%
    );
  }
  .mixed-gallery .gallery-item:hover {
    transform: none;
  }
  .mixed-gallery .gallery-item:hover img {
    transform: none;
  }
}
/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .mixed-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .mixed-gallery .wide {
    grid-column: span 2;
  }
  .mixed-gallery .tall {
    grid-row: span 2;
  }
}
/* ============================== LIGHT MODE – GALLERY OVERLAY ============================== */
body[data-theme="light"] .gallery-overlay {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 40%,
    transparent 80%
  );
  color: #111; /* darker text for readability */
}
body[data-theme="light"] .mixed-gallery .gallery-item {
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
body[data-theme="light"] .mixed-gallery .gallery-item:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
body[data-theme="light"] .gallery-overlay p {
  opacity: 0.8;
}
/* ============================== LIGHT MODE – IMAGE BEHAVIOR ============================== */
body[data-theme="light"] .mixed-gallery img {
  filter: brightness(0.95) contrast(1.05) saturate(1.1);
  transition: transform 0.8s ease, filter 0.6s ease;
}
body[data-theme="light"] .mixed-gallery .gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.12) contrast(1.1) saturate(1.2);
}
/* ============================== LIGHTBOX ============================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: fadeIn .35s ease;
}
@keyframes fadeIn {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* ============================== CONTACT + NEWSLETTER + MAP ============================== */
.contact-newsletter-section {
  width: 100vw;
  max-width: 100vw;
  /* Break out full-width WITHOUT transform (this matters) */
  margin-left: calc(50% - 50vw);
  /* FIXED IMAGE TO VIEWPORT */
  background-image: url('../../images/contact-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* ← THIS is what makes it static */
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.contact-newsletter-container {
  position: relative;
  z-index: 2;
  padding: 60px;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    inset 0 4px 10px rgba(255,255,255,0.05);
  transition: background 0.6s ease;
  overflow: hidden;
  max-width: none;
}
.contact-newsletter-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 100%
  );
  z-index: 1;
}
body[data-theme="light"] .contact-newsletter-container {
  background: rgba(255, 255, 255, 0.35);
  filter: brightness(0.92) contrast(1.05) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.2);
}
body[data-theme="light"] .contact-newsletter-container::after {
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.1) 0%,
    transparent 50%,
    rgba(255,255,255,0.2) 100%
  );
}
/* ============================== CONTACT CARDS ============================== */
.contact-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow:
    0 25px 80px rgba(0,0,0,0.65),
    inset 0 3px 9px rgba(255,255,255,0.05);
  transition: all 0.5s ease;
  position: relative;
}
/* Light mode */
body[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(244, 196, 48, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
}
/* Hover */
.contact-card:not(.contact-card-premium):not(.contact-map):hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.75);
}
body[data-theme="light"] .contact-card:not(.contact-card-premium):not(.contact-card-map):hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}
/* ============================== MAP ============================== */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  border: 0;
}
/* ============================== NEWSLETTER CARD — TRANSITION EFFECTS ============================== */
.newsletter-card {
  display: flex;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 0;
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3), inset 0 2px 6px rgba(255,255,255,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
.newsletter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35), inset 0 2px 8px rgba(255,255,255,0.15);
}
.newsletter-card .ml-form-embedWrapper {
  background: transparent !important;
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}
.newsletter-card .ml-form-embedHeader img {
  border-radius: 16px 16px 0 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
}
.newsletter-card:hover .ml-form-embedHeader img {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(78,205,196,0.1);
}
.newsletter-card .ml-form-embedBody,
.newsletter-card .ml-form-successBody {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
}
.newsletter-card .ml-form-embedContent {
  text-align: left;
  margin-bottom: 20px;
}
.newsletter-card .ml-form-embedContent h2 {
  margin: 0 0 16px 0;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
body[data-theme="light"] .newsletter-card .ml-form-embedContent h2 {
  color: #111;
  text-shadow: none;
}
.newsletter-card .ml-form-embedContent p {
  margin: 0;
  transition: color 0.4s ease;
}
body[data-theme="light"] .newsletter-card .ml-form-embedContent p {
  color: #333;
}
.newsletter-card input.form-control {
  width: 100% !important;
  padding: 22px 26px !important;
  font-size: 18px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  color: #fff !important;
  margin-bottom: 10px !important;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
body[data-theme="light"] .newsletter-card input.form-control {
  background: rgba(255, 255, 255, 0.75) !important;
  color: #111 !important;
  border-color: var(--accent) !important;
}
.newsletter-card button.primary {
  width: 100% !important;
  padding: 22px 26px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,0.12) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(244,196,48,0.45) !important;
  text-transform: uppercase;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(18px);
}
.newsletter-card button.primary:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 10px 30px rgba(78,205,196,0.4);
}
/* ============================== PREMIUM CARD ============================== */
.contact-card-premium {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  text-align: left !important;
  background: rgba(20, 20, 20, 0.60);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 35px 100px rgba(0,0,0,0.75),
    inset 0 3px 9px rgba(255,255,255,0.05);
  backdrop-filter: blur(26px) saturate(1.9);
}
/* ============================== CONTACT ROW LAYOUT (3 Cards) ============================== */
.contact-row-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}
@media (min-width: 992px) {
  .contact-row-layout {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
/* ============================== CONTACT ROW (Each Line: Icon + Text) ============================== */
.contact-row {
  display: flex;
  align-items: center;           /* Perfect vertical center */
  gap: 24px;
  padding: 20px;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* Hover Effect — subtle lift + glow */
.contact-row:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
body[data-theme="light"] .contact-row:hover {
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
/* Icon animation on hover */
.contact-row:hover .icon-box {
  background: var(--accent);
  color: #000;
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
/* ============================== ICON BOX ============================== */
.icon-box {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 26px;
  color: #fff;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
/* Light mode icon box */
body[data-theme="light"] .icon-box {
  background: rgba(255, 255, 255, 0.7);
  color: #111;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
/* ============================== TEXT CONTENT (Label + Value) ============================== */
.contact-text {
  display: flex;
  flex-direction: column;
  text-align: left;              /* Left-aligned = premium feel */
  gap: 6px;                      /* Space between label & value */
}
.contact-text .label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
body[data-theme="light"] .contact-text .label {
  color: #666;
}
/* Value = main info (email, phone, etc.) */
.contact-text .value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}
body[data-theme="light"] .contact-text .value {
  color: #111;
}
/* Links inside value (email/phone) */
.contact-text .value a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}
.contact-text .value a:hover {
  color: var(--accent);
}
/* Special styling for hours */
.contact-row .hours p {
  margin: 4px 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
body[data-theme="light"] .contact-row .hours p {
  color: #333;
}
.contact-row .hours .closed {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.5px;
}
/* ============================== RESPONSIVE TWEAKS ============================== */
@media (max-width: 768px) {
  .contact-row {
    padding: 18px;
    gap: 20px;
  }
  .icon-box {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  .contact-text .value {
    font-size: 1.25rem;
  }
}
@media (max-width: 480px) {
  .contact-text .value {
    font-size: 1.15rem;
  }
}
/* ============================== SOFT SILICONE LIQUID BUTTON ============================== */
.btn-row {
  width: 100%;
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering */
  gap: 12px;                 /* optional: spacing between buttons */
  margin-top: 20px;
}
.btn {
  position: relative;
  padding: 0.9rem 2.2rem;
  border-radius: 20px;
  text-transform: uppercase;
  /* Base translucent liquid */
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(2.4);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.35),
    inset 0 -4px 10px rgba(0,0,0,0.25);
  transition:
    transform 0.25s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}
/* Gloss sheen */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0) 70%
  );
  opacity: 0.55;
  pointer-events: none;
}
/* Subtle reflection arc */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 190% at 50% -50%,
    rgba(255,255,255,0.45),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0.4;
}
/* Hover – gentle lift, soft scale */
.btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 10px 35px rgba(0,0,0,0.40),
    inset 0 1px 2px rgba(255,255,255,0.45),
    inset 0 -5px 12px rgba(0,0,0,0.28);
}
/* Active / Pressed – soft silicone squash */
.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 4px 15px rgba(0,0,0,0.35),
    inset 0 2px 6px rgba(0,0,0,0.25),
    inset 0 -2px 6px rgba(255,255,255,0.25);
}
/* ACCENT VERSION — LIQUID GOLD SOFT SILICONE */
.btn--accent {
  color: var(--accent);
  border-color: rgba(244,196,48,0.7);
  background: rgba(244,196,48,0.12);
}
.btn--accent:hover {
  background: var(--accent);
  color: #000;
  box-shadow:
    0 0 25px rgba(244,196,48,0.45),
    0 10px 32px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,255,255,0.6);
}
.btn--accent:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 4px 15px rgba(0,0,0,0.35),
    inset 0 2px 6px rgba(0,0,0,0.25),
    inset 0 -2px 6px rgba(255,255,255,0.25);
  background: rgba(244,196,48,0.25);
}
.minimal-gloss {
  width: 200px;
  height: 200px;
  background: white;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* subtle highlight */
.minimal-gloss::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.05)
  );
  pointer-events: none;
}
/* ============================== FOOTER ============================== */
footer {
  position: relative;
  padding: 50px 20px;
  text-align: center;
}
/* ============================== FOOTER CONTENT ============================== */
footer p {
  font-size: var(--h5-size);
  font-weight: 500;
}
/* ============================== FLOATING ACTION BUTTONS ============================== */
.whatsapp-fab, .messenger-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff !important; /* FORCE white */
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: all var(--transition);
  z-index: 998;
  backdrop-filter: blur(10px);
}
.whatsapp-fab {
  background: #25D366;
  border: 3px solid rgba(255,255,255,0.2);
}
.whatsapp-fab:hover {
  background: #128C7E;
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 40px rgba(37,211,102,0.5);
  color: #fff !important; /* Keep white on hover */
}
.messenger-fab {
  right: 96px;
  background: #0084FF;
  border: 3px solid rgba(255,255,255,0.2);
}
.messenger-fab:hover {
  background: #0066CC;
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 40px rgba(0,132,255,0.5);
  color: #fff !important; /* Keep white on hover */
}
/* LIGHT THEME OVERRIDES */
body[data-theme="light"] .whatsapp-fab,
body[data-theme="light"] .messenger-fab {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: #fff !important; /* enforce white in light mode */
}
body[data-theme="light"] .whatsapp-fab:hover { 
  box-shadow: 0 16px 40px rgba(37,211,102,0.4);
  color: #fff !important;
}
body[data-theme="light"] .messenger-fab:hover { 
  box-shadow: 0 16px 40px rgba(0,132,255,0.4);
  color: #fff !important;
}
/* MOBILE */
@media (max-width: 480px) {
  .whatsapp-fab, .messenger-fab { width: 56px; height: 56px; font-size: 28px; }
  .messenger-fab { right: 84px; }
}
/* ============================== ANIMATIONS ============================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.in-view { opacity: 1; transform: translateY(0); }




