/* 
=========================================
VNV BUILDERS HOMEPAGE STYLE SYSTEM
=========================================
*/

/* Google Fonts - Outfit for headings, Inter for body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Design Tokens & CSS Variables */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Dark Theme Palette (Default) */
  --color-bg-primary: #121416; /* Lighter dark gray, not pitch black */
  --color-bg-secondary: #1C1E22; /* Card gray */
  --color-bg-tertiary: #25282D; /* Accent gray */
  
  --color-accent-gold: #0cbf92; /* Brand Mint Green */
  --color-accent-gold-hover: #0edcb8;
  --color-accent-gold-rgb: 12, 191, 146;
  --color-accent-green: #0cbf92; /* Mint Green */
  
  --color-text-primary: #FFFFFF; /* White text */
  --color-text-secondary: #E2E8F0; /* Muted Slate text */
  --color-text-muted: #94A3B8; /* Muted Blue-gray */
 
  --color-border: transparent; /* No structural borders */
  --color-border-hover: rgba(var(--color-accent-gold-rgb), 0.15);
  
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 30px rgba(var(--color-accent-gold-rgb), 0.25);
  
  --glass-bg: rgba(12, 13, 15, 0.85);
  --glass-border: rgba(255, 255, 255, 0.04);
  
  /* Tabs properties */
  --color-tab-inactive: rgba(255, 255, 255, 0.45);
  --color-tab-active: #FFFFFF;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables Override */
body.light-mode {
  --color-bg-primary: #FFFFFF; /* White */
  --color-bg-secondary: #F4F4F5; /* Platinum */
  --color-bg-tertiary: #E4E4E7; /* Light Gray */
  
  --color-text-primary: #06211A; /* Night Forest as primary text */
  --color-text-secondary: #1F3631; /* Muted brand dark green */
  --color-text-muted: #64748B;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);

  --color-tab-inactive: rgba(6, 33, 26, 0.45);
  --color-tab-active: #06211A;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Base Reset & Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border: 2px solid var(--color-bg-primary);
  border-radius: var(--border-radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-gold);
}

/* Typography Selection */
::selection {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-secondary {
  background-color: var(--color-bg-secondary);
}

.grid {
  display: grid;
  gap: 30px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.uppercase-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--color-accent-gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: inline-block;
}

/* Section Headers */
.section-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

/* Dynamic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-primary);
  border: 1px solid var(--color-accent-gold);
}

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn-secondary:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
}

.btn-outline-gold:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
}

/* Logo Responsive Toggle */
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.logo-light-mode {
  display: none;
}
.logo-dark-mode {
  display: block;
}
body.light-mode .logo-light-mode {
  display: block;
}
body.light-mode .logo-dark-mode {
  display: none;
}

/* Theme Toggle Button */
.theme-toggle-container {
  display: flex;
  align-items: center;
}
.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.theme-toggle-btn:hover {
  background-color: var(--color-bg-tertiary);
  color: var(--color-accent-gold);
}
.floating-theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  transition: transform 0.3s var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.floating-theme-toggle:hover {
  transform: scale(1.1);
  background-color: var(--color-accent-gold);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-lg);
}
body.light-mode .floating-theme-toggle {
  background-color: var(--color-bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-md);
}
body.light-mode .floating-theme-toggle:hover {
  background-color: var(--color-accent-gold);
  color: #FFFFFF !important;
}
.sun-icon {
  display: block;
}
.moon-icon {
  display: none;
}
body.light-mode .sun-icon {
  display: none;
}
body.light-mode .moon-icon {
  display: block;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), height var(--transition-normal);
}

/* WordPress Admin Bar spacing adjustment */
.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}


@media (min-width: 769px) {
  /* Transparent Header (Non-scrolled) Over Dark Hero background */
  .header:not(.scrolled) .nav-link {
    color: #FFFFFF !important;
  }
  .header:not(.scrolled) .nav-link::after {
    background-color: var(--color-accent-gold) !important;
  }
  body.light-mode .header:not(.scrolled) .logo-light-mode {
    display: none !important;
  }
  body.light-mode .header:not(.scrolled) .logo-dark-mode {
    display: block !important;
  }
  
  /* Force buttons and widgets to stay white over dark hero background */
  .header:not(.scrolled) .btn-outline-gold {
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    background-color: transparent !important;
  }
  .header:not(.scrolled) .btn-outline-gold:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #FFFFFF !important;
  }
  .header:not(.scrolled) .nav-call-link {
    color: #FFFFFF !important;
  }
  .header:not(.scrolled) .nav-call-link:hover {
    color: var(--color-accent-gold) !important;
  }
}

/* Scrolled state: make CTA button solid green with white text in both themes */
.header.scrolled .btn-outline-gold {
  background-color: var(--color-accent-gold) !important;
  color: #FFFFFF !important;
  border-color: var(--color-accent-gold) !important;
}

.header.scrolled .btn-outline-gold:hover {
  background-color: var(--color-accent-gold-hover) !important;
  border-color: var(--color-accent-gold-hover) !important;
  color: #FFFFFF !important;
}

/* Light mode mobile menu button styles: solid green with white text */
body.light-mode .nav-menu .btn-outline-gold {
  background-color: var(--color-accent-gold) !important;
  color: #FFFFFF !important;
  border-color: var(--color-accent-gold) !important;
}

body.light-mode .nav-menu .btn-outline-gold:hover {
  background-color: var(--color-accent-gold-hover) !important;
  border-color: var(--color-accent-gold-hover) !important;
  color: #FFFFFF !important;
}

.header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text-primary);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--color-accent-gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 16px;
}

.nav-call-item {
  display: flex;
  align-items: center;
}

.nav-call-link {
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.nav-call-link:hover {
  color: var(--color-accent-gold);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

/* =========================================
HERO SECTION (OPTION B)
=========================================
*/
.hero-optb {
  position: relative;
  overflow: visible;
  background-color: var(--color-bg-primary);
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 80px;
  transition: background-color var(--transition-fast) ease;
}

.hero-optb .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left-aligned */
  position: relative; /* anchor for absolute rating card */
}

/* Hero Underline Tab switcher */
.hero-tabs {
  display: inline-flex;
  gap: 32px;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  margin-bottom: 28px;
  transition: all var(--transition-fast) ease;
}

.hero-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-tab-inactive);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast) ease;
}

.hero-tab-btn:hover {
  color: var(--color-text-primary);
}

.hero-tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition-normal) ease;
}

.hero-tab-btn.active {
  background-color: transparent !important;
  color: var(--color-text-primary) !important;
  box-shadow: none;
}

.hero-tab-btn.active::after {
  width: 100%;
}

/* Hero Titles Wrapper (prevent layout shift) */
.hero-titles {
  position: relative;
  width: 100%;
  min-height: 140px;
  margin-bottom: 40px;
}

.hero-title-optb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 55%; /* narrower headline (approx 50-60%) */
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-title-optb.active {
  position: relative; /* scales height of parent */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Showcase container (goes beyond the fold, full bleed) */
.hero-showcase {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 70vh;
  min-height: 500px;
  border-radius: 0; /* flat for full bleed */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 10px;
  z-index: 1;
}

/* Instagram Stories Progress Bars inside Hero */
.hero-story-indicators {
  position: absolute;
  top: 24px;
  left: max(5%, calc((100% - var(--max-width)) / 2));
  width: 280px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-story-bar {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.hero-story-progress {
  height: 100%;
  width: 0;
  background-color: #FFFFFF;
  border-radius: 2px;
}

.hero-showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow) ease;
  z-index: 1;
  overflow: hidden;
}

.hero-showcase-img.active {
  opacity: 1;
  z-index: 2;
}

/* Nested inner div for scroll parallax background */
.hero-showcase-img-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%; /* extra height for parallax movement */
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.hero-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Glassmorphism Testimonial Card (Sticking out / top aligned) */
.hero-project-card {
  position: absolute;
  top: calc(100% - 60px); /* overlaps top of the showcase image, slightly coming out */
  right: 0; /* grid-aligned automatically to container edge */
  z-index: 10;
  width: 450px;
  max-width: 100%;
  background-color: rgba(12, 13, 16, 0.45); /* translucent glass effect */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none; /* removed border */
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform 0.1s linear;
}

body.light-mode .hero-project-card {
  background-color: rgba(255, 255, 255, 0.55); /* translucent glass effect for light theme */
}

.project-card-stars {
  color: #FBBF24; /* Amber-500 star color */
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.project-card-texts {
  position: relative;
  width: 100%;
  min-height: 72px; /* pre-allocate text height to prevent layout jump */
}

.project-card-quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  font-weight: 300;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.project-card-quote.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.project-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  border-top: none; /* removed divider */
  padding-top: 0;
  transition: border-color var(--transition-fast);
}

body.light-mode .project-card-footer {
  border-top: none; /* removed divider */
}

.project-card-author-info {
  display: flex;
  flex-direction: column;
}

.project-card-author {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: none;
}

.project-card-author.active {
  display: block;
}

.project-card-location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
  display: none;
}

.project-card-location.active {
  display: block;
}

/* Card navigation controls */
.project-card-nav {
  display: flex;
  gap: 10px;
}

.project-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

body.light-mode .project-nav-btn {
  border-color: rgba(6, 33, 38, 0.15);
}

.project-nav-btn:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-bg-primary) !important;
}

.project-nav-btn svg {
  transition: transform var(--transition-fast) ease;
}

.project-nav-btn:hover svg {
  transform: scale(1.1);
}

/* Light mode modifications for header:not(.scrolled) in Option B */
body.light-mode .header:not(.scrolled) .nav-link {
  color: var(--color-text-primary) !important;
}

body.light-mode .header:not(.scrolled) .nav-link::after {
  background-color: var(--color-accent-gold) !important;
}

body.light-mode .header:not(.scrolled) .nav-call-link {
  color: var(--color-text-primary) !important;
}

body.light-mode .header:not(.scrolled) .nav-call-link:hover {
  color: var(--color-accent-gold) !important;
}

body.light-mode .header:not(.scrolled) .btn-outline-gold {
  background-color: var(--color-accent-gold) !important;
  color: #FFFFFF !important;
  border-color: var(--color-accent-gold) !important;
}

body.light-mode .header:not(.scrolled) .btn-outline-gold:hover {
  background-color: var(--color-accent-gold-hover) !important;
  border-color: var(--color-accent-gold-hover) !important;
  color: #FFFFFF !important;
}

body.light-mode .header:not(.scrolled) .logo-light-mode {
  display: block !important;
}

body.light-mode .header:not(.scrolled) .logo-dark-mode {
  display: none !important;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-optb {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }
  
  .hero-titles {
    min-height: 110px;
  }
  
  .hero-title-optb {
    font-size: 2.8rem;
    max-width: 80%; /* wider for tablet */
  }
  
  .hero-showcase {
    height: 50vh;
    min-height: 380px;
  }
  
  .hero-project-card {
    top: calc(100% - 40px);
    right: 0;
    width: 380px;
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .hero-optb {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
  }
  
  .hero-optb .container {
    align-items: center; /* center items for mobile */
    text-align: center;
  }
  
  .hero-titles {
    min-height: 90px;
    margin-bottom: 24px;
  }
  
  .hero-title-optb {
    font-size: 2.2rem;
    text-align: center;
    max-width: 100%; /* full width on mobile */
  }
  
  .hero-showcase {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: auto;
    min-height: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .hero-story-indicators {
    left: 20px;
    width: calc(100% - 40px);
    top: 74px; /* pushed down below the 50px overlapping testimonial card */
  }
  
  .hero-showcase-img {
    position: relative;
    width: 100%;
    height: 420px; /* 40% taller (from 300px to 420px) */
    border-radius: 0; /* flat for full bleed mobile look */
    box-shadow: none;
    display: none; /* simple show/hide instead of absolute overlays on mobile */
  }
  
  .hero-showcase-img.active {
    display: block;
    opacity: 1;
    transform: none;
  }
  
  .hero-showcase-overlay {
    display: none;
  }
  
  .hero-project-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: -50px; /* negative margin to overlap the showcase image */
    z-index: 10; /* stack above the showcase image */
    transform: none !important; /* disable scroll movement on mobile */
    background-color: var(--color-bg-secondary);
    border: none; /* removed border */
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
  }
  
  .project-card-texts {
    min-height: auto;
  }
  
  .project-card-quote {
    position: relative;
    opacity: 0;
    display: none;
  }
  
  .project-card-quote.active {
    opacity: 1;
    display: block;
  }
}

/* =========================================
ABOUT/EXPERT SECTION
=========================================
*/
.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-info {
  padding-right: 40px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  font-weight: 300;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  color: var(--color-accent-gold);
  font-size: 1.5rem;
  margin-top: 3px;
}

.about-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Widescreen story copy layout (CSS Columns) */
.about-story-content {
  column-count: 2;
  column-gap: 50px;
  max-width: 100%;
}

.about-story-content p {
  margin-bottom: 25px;
}

.about-story-content h2,
.about-story-content h3,
.about-story-content h4,
.about-story-content h5,
.about-story-content .wp-block-heading {
  break-inside: avoid-column;
  margin-top: 0;
  margin-bottom: 15px;
}

@media (max-width: 991px) {
  .about-story-content {
    column-count: 1;
    column-gap: 0;
  }
}

/* Widescreen Full-Width landscape Badge card layout */
.about-badge-card.full-width-badge-card {
  height: auto;
  min-height: 280px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  padding: 60px 50px;
}

.about-badge-card.full-width-badge-card .badge-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-badge-card.full-width-badge-card .badge-card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991px) {
  .about-badge-card.full-width-badge-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 30px;
  }
}


.about-badge-card {
  background-image: url('../images/vnv_team.png');
  background-size: cover;
  background-position: center;
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.about-badge-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 24px),
    rgba(12, 13, 15, 0.6); /* Lighter dark gray overlay over team photo */
  z-index: -1;
}

.about-badge-stat {
  font-size: 10rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-accent-gold);
  line-height: 0.85;
  margin-bottom: 15px;
  letter-spacing: -0.04em;
}

@media (max-width: 768px) {
  .about-badge-stat {
    font-size: 6rem;
  }
}

.about-badge-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #FFFFFF !important; /* Ensure always white over image overlay */
}

.about-badge-desc {
  font-size: 0.95rem;
  color: #E2E8F0 !important; /* Ensure always light over image overlay */
  margin-bottom: 24px;
}

/* About Badge Features Inside Card */
.about-badge-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.about-badge-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-badge-card .badge-feature-icon {
  color: var(--color-accent-gold);
  margin-top: 4px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-card .badge-feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF !important;
  margin-bottom: 2px;
}

.about-badge-card .badge-feature-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #E2E8F0 !important;
  font-weight: 300;
  margin: 0;
}

/* =========================================
SERVICES SECTION
=========================================
*/
.services-grid {
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 1fr;
  gap: 30px;
}

.service-card {
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(var(--color-accent-gold-rgb), 0);
  transition: 
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
    background-color var(--transition-normal);
}

body.light-mode .service-card {
  background-color: var(--color-bg-primary);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(var(--color-accent-gold-rgb), 0.08);
}

/* Primary Capabilities (Large Cards) */
.service-card-lg {
  grid-column: span 3;
}

.service-card-lg .service-title {
  font-size: 1.3rem;
}

.service-card-lg .service-card-content {
  padding: 30px 24px 35px 24px;
}

/* Small card spanning 2 columns (Row 1) */
.service-card-sm-4 {
  grid-column: span 2;
}

/* Small cards spanning 2 columns (Row 2) */
.service-card-sm-5 {
  grid-column: span 2;
}

.service-thumbnail-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-content {
  padding: 30px 24px 35px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.45), 
    0 0 0 1px rgba(var(--color-accent-gold-rgb), 0.15);
}

body.light-mode .service-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.08), 
    0 0 0 1px rgba(var(--color-accent-gold-rgb), 0.08);
}

.service-card:hover .service-thumbnail {
  transform: scale(1.06);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 24px;
}

.service-link {
  color: var(--color-accent-gold);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-card .service-link:hover {
  gap: 12px;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
  flex-wrap: wrap;
}

.service-link-secondary {
  color: var(--color-text-secondary);
}

/* Clickable Service Card & Inline Links styling */
.service-card {
  position: relative;
}

.service-card .service-main-link {
  color: inherit;
  text-decoration: none;
}

/* Pseudo element that spans the whole card area */
.service-card .service-main-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Higher z-index to allow custom triggers to work on top of full-card overlay */
.service-card .anchor-scroll-link {
  position: relative;
  z-index: 2;
}


.service-link-secondary:hover {
  color: var(--color-text-primary);
}

.why-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.why-image-wrapper {
  position: relative;
  height: 500px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.why-image.active {
  opacity: 1;
}

/* Instagram Stories Progress Bars */
.why-story-indicators {
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.why-story-bar {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.why-story-progress {
  height: 100%;
  width: 0;
  background-color: #FFFFFF;
  border-radius: 2px;
}

/* Tap Navigation Zones */
.why-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 8;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.why-nav-left {
  left: 0;
  justify-content: flex-start;
}

.why-nav-right {
  right: 0;
  justify-content: flex-end;
}

.why-nav-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  margin: 0 20px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}

/* Hover behaviors for desktop chevrons */
@media (hover: hover) {
  .why-nav-left:hover .why-nav-chevron {
    opacity: 1;
    transform: translateX(4px) scale(1);
  }
  
  .why-nav-right:hover .why-nav-chevron {
    opacity: 1;
    transform: translateX(-4px) scale(1);
  }
}

.why-image-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(2, 20, 15, 0.95) 0%,
    rgba(2, 20, 15, 0.4) 50%,
    transparent 100%
  );
  z-index: 1;
}

.why-descriptions-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
  height: 180px;
}

.why-desc-item {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  pointer-events: none;
}

.why-desc-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.why-desc-text {
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.why-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 10px;
}

.why-tab-item {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-tab-inactive);
  cursor: pointer;
  transition: color var(--transition-fast), font-size var(--transition-fast), padding-left var(--transition-fast);
  padding-left: 0;
  position: relative;
  user-select: none;
}

.why-tab-item:hover {
  color: var(--color-tab-active);
}

.why-tab-item.active {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-tab-active);
}

/* =========================================
FEATURED PROJECTS SECTION
=========================================
*/
.projects-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.project-card {
  position: relative;
  height: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  group-hover: cursor-pointer;
}

.project-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 16, 19, 0.1) 0%,
    rgba(15, 16, 19, 0.4) 50%,
    rgba(15, 16, 19, 0.95) 100%
  );
  z-index: 1;
  opacity: 0.85;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 0.95;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
  transition: transform var(--transition-normal);
}

.project-card:hover .project-info {
  transform: translateY(-10px);
}

.project-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15); /* Blurred Translucent White tag */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.95rem;
  color: #E2E8F0; /* Ensure always light over dark overlays */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--transition-normal), max-height var(--transition-normal);
}

.project-card:hover .project-desc {
  opacity: 1;
  max-height: 80px;
  margin-top: 10px;
}

.projects-cta-wrapper {
  margin-top: 50px;
}

/* =========================================
TESTIMONIALS SECTION
=========================================
*/
.testimonials-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.slider-container {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.slide-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

.testimonial-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 50px 60px;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-accent-gold);
  opacity: 0.1;
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-quote {
  font-size: 1.25rem;
  color: var(--color-text-primary);
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author-wrapper {
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  color: #F66501; /* VNV Branded Hermès Orange */
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-bg-secondary);
  border: none;
  border-radius: 50%;
  color: var(--color-accent-gold);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.slider-control:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.light-mode .slider-dot {
  background-color: rgba(6, 33, 26, 0.15);
}

.slider-dot.active {
  background-color: var(--color-accent-gold);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
FINAL CTA SECTION
=========================================
*/
/* =========================================
CONTACT & INLINE QUOTE SECTION
=========================================
*/
.contact-section {
  position: relative;
  background-color: var(--color-bg-secondary);
  padding: 100px 0;
  overflow: hidden;
}

body.light-mode .contact-section {
  background-color: var(--color-bg-secondary);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
}

.contact-lead-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-tertiary);
  border-radius: var(--border-radius-sm);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

body.light-mode .contact-detail-icon {
  background-color: var(--color-bg-primary); /* White background inside icon box */
  box-shadow: var(--shadow-sm);
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.detail-value:hover {
  color: var(--color-accent-gold);
}

.contact-license-badge {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-tertiary);
  padding: 18px 24px;
  border-radius: var(--border-radius-md);
  width: fit-content;
}

body.light-mode .contact-license-badge {
  background-color: var(--color-bg-primary); /* White background inside license badge */
  box-shadow: var(--shadow-sm);
}

.license-badge-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.license-badge-number {
  font-size: 0.8rem;
  color: var(--color-accent-gold);
  font-weight: 500;
}

.contact-form-column {
  display: flex;
  justify-content: flex-end;
}

.contact-form-card {
  background-color: var(--color-bg-primary);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 24px);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

body.light-mode .contact-form-card {
  background-color: var(--color-bg-secondary);
  background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.01) 0px, rgba(0, 0, 0, 0.01) 1px, transparent 1px, transparent 24px);
  box-shadow: var(--shadow-md);
}

.form-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.inline-quote-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Floating Field Groups (Rocket Mortgage Style) */
.floating-field-group {
  position: relative;
  width: 100%;
}

.floating-input, .floating-select {
  width: 100%;
  height: 56px;
  padding: 22px 18px 6px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  background-color: var(--color-bg-tertiary);
  border: none;
  border-radius: var(--border-radius-md); /* Apple-style curves */
  outline: none;
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

body.light-mode .floating-input, body.light-mode .floating-select {
  background-color: var(--color-bg-primary); /* Platinum in light mode */
  border: none;
}

.floating-input:focus, .floating-select:focus {
  box-shadow: 0 0 0 3px rgba(var(--color-accent-gold-rgb), 0.25);
  background-color: var(--color-bg-tertiary);
}

body.light-mode .floating-input:focus, body.light-mode .floating-select:focus {
  box-shadow: 0 0 0 3px rgba(var(--color-accent-gold-rgb), 0.15);
  background-color: var(--color-bg-primary);
}

.floating-textarea {
  height: 120px;
  padding-top: 24px;
  resize: vertical;
}

.floating-label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: transform var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast), top var(--transition-fast);
}

.floating-textarea ~ .floating-label {
  top: 24px;
  transform: none;
}

/* Floating behavior */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label,
.floating-select:focus ~ .floating-label,
.floating-select:valid ~ .floating-label {
  top: 14px;
  transform: translateY(0);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-accent-gold);
}

/* For inputs that are not focused but have value, keep label gold or muted */
.floating-input:not(:focus):not(:placeholder-shown) ~ .floating-label,
.floating-select:not(:focus):valid ~ .floating-label {
  color: var(--color-text-muted);
}

/* Custom select styling for arrow */
.floating-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 44px;
}

body.light-mode .floating-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Success Overlay in Card */
.inline-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

body.light-mode .inline-success-overlay {
  background-color: var(--color-bg-secondary);
}

.inline-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-form-column {
    justify-content: center;
  }
  .contact-form-card {
    max-width: 100%;
  }
}

/* =========================================
FOOTER
=========================================
*/
.footer {
  background-color: var(--color-bg-primary);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 24px);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--glass-border);
}

body.light-mode .footer {
  background-color: var(--color-bg-primary);
  background-image: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.015) 0px, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 24px);
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand-logo {
  margin-bottom: 24px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-license {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-gold);
  background-color: rgba(var(--color-accent-gold-rgb), 0.1);
  padding: 6px 12px;
  width: fit-content;
  border-radius: var(--border-radius-sm);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-accent-gold);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-contact-icon {
  color: var(--color-accent-gold);
  font-size: 1.1rem;
}

.footer-contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-text a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--color-accent-gold);
}



/* =========================================
ANIMATIONS & TRANSITIONS (REVEAL)
=========================================
*/
@keyframes zoomOut {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 18px;
    opacity: 0;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

/* Scroll reveal initial states */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* =========================================
MEDIA QUERIES (RESPONSIVENESS)
=========================================
*/
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-info {
    padding-right: 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  
  .service-card-lg {
    grid-column: span 2;
  }
  
  .service-card-sm-4,
  .service-card-sm-5 {
    grid-column: span 1;
  }
  
  .services-grid .service-card:last-child {
    grid-column: span 2;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .why-image-wrapper {
    height: 400px;
    order: 2;
  }
  
  .why-content {
    order: 1;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-call-item {
    display: block;
  }
  
  :root {
    --header-height: 70px;
  }
  
  .header {
    background-color: var(--color-bg-primary);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-primary);
    flex-direction: column;
    padding: 60px 40px;
    gap: 30px;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu .nav-link,
  .nav-menu .nav-call-link {
    font-size: 1.4rem !important;
    font-weight: 600;
  }
  
  .nav-menu li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
  .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }
  .nav-menu.active li:nth-child(7) { transition-delay: 0.4s; }
  
  .nav-cta {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
    font-size: 1.1rem !important;
    padding: 14px 28px !important;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  
  .service-card-lg,
  .service-card-sm-4,
  .service-card-sm-5,
  .services-grid .service-card:last-child {
    grid-column: span 1;
  }
  
  .services-grid .service-thumbnail-container {
    height: 200px;
  }
  
  .testimonial-card {
    padding: 40px 30px;
  }
  
  .testimonial-quote {
    font-size: 1.1rem;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   GUTENBERG BLOCKS CORE STYLING
   ========================================= */
.entry-content,
.service-content,
.project-content,
.about-story-content {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.entry-content p,
.service-content p,
.project-content p,
.about-story-content p {
  margin-bottom: 24px;
}

.entry-content h2, .service-content h2, .project-content h2, .about-story-content h2,
.entry-content h3, .service-content h3, .project-content h3, .about-story-content h3,
.entry-content h4, .service-content h4, .project-content h4, .about-story-content h4 {
  color: var(--color-text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.entry-content h2, .service-content h2, .project-content h2, .about-story-content h2 { font-size: 1.85rem; }
.entry-content h3, .service-content h3, .project-content h3, .about-story-content h3 { font-size: 1.5rem; }
.entry-content h4, .service-content h4, .project-content h4, .about-story-content h4 { font-size: 1.25rem; }

/* Bullet Lists & Numbered Lists */
.entry-content ul,
.service-content ul,
.project-content ul,
.about-story-content ul {
  list-style-type: disc;
  margin-bottom: 24px;
  padding-left: 24px;
}

.entry-content ol,
.service-content ol,
.project-content ol,
.about-story-content ol {
  list-style-type: decimal;
  margin-bottom: 24px;
  padding-left: 24px;
}

.entry-content li,
.service-content li,
.project-content li,
.about-story-content li {
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

/* Blockquotes */
.entry-content blockquote,
.service-content blockquote,
.project-content blockquote,
.about-story-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 0 12px 24px;
  margin: 30px 0;
  font-style: italic;
  color: var(--color-text-primary);
  font-size: 1.15rem;
  background-color: var(--color-bg-secondary);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  border-right: none;
  border-top: none;
  border-bottom: none;
}

/* Tables */
.entry-content table,
.service-content table,
.project-content table,
.about-story-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.entry-content th, .service-content th, .project-content th, .about-story-content th,
.entry-content td, .service-content td, .project-content td, .about-story-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.entry-content th, .service-content th, .project-content th, .about-story-content th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border-top: none;
  border-left: none;
  border-right: none;
}

.entry-content tr:hover, .service-content tr:hover, .project-content tr:hover, .about-story-content tr:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

/* =========================================
   APPLE SHUTTER HEADER RESPONSIVE RULES
   ========================================= */
@media (max-width: 768px) {
  .shutter-header-spacer {
    height: 120px !important;
  }
  .shutter-header-container {
    margin: 0 20px !important; /* Scale margins down to 20px on mobile screens */
  }
  .shutter-card {
    height: 280px !important;
    border-radius: 16px !important;
  }
  .shutter-card-content {
    padding: 30px 25px !important;
  }
  .shutter-card-outline-title {
    font-size: 2.25rem !important;
  }
  .shutter-card-main-title {
    font-size: 1.65rem !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================
   GRAVITY FORMS 1:1 STYLING OVERRIDES
   ========================================= */
/* Clear default Gravity Forms styles, cards, and borders */
body .gform_wrapper,
body .gform_wrapper.gravity-theme,
body .gform_wrapper form,
body .gform_wrapper.gravity-theme form {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Setup base grid spacing without breaking native column grids */
body .gform_wrapper .gform_fields,
body .gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 24px !important;
  grid-row-gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Make lists display cleanly */
body .gform_wrapper ul.gform_fields,
body .gform_wrapper.gravity-theme ul.gform_fields {
  list-style-type: none !important;
  background-image: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .gform_wrapper .gfield,
body .gform_wrapper.gravity-theme .gfield {
  max-width: 100% !important; /* Remove Gravity Forms default max-width limits */
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
  background-image: none !important;
  border: none !important;
}

/* Hide default labels, descriptions, and name sub-labels to achieve placeholder-only look */
body .gform_wrapper .gfield_label,
body .gform_wrapper.gravity-theme .gfield_label,
body .gform_wrapper .ginput_container_name label,
body .gform_wrapper.gravity-theme .ginput_container_name label,
body .gform_wrapper .gfield_description,
body .gform_wrapper.gravity-theme .gfield_description,
body .gform_wrapper .gfield_required,
body .gform_wrapper.gravity-theme .gfield_required,
body .gform_wrapper .gfield_visibility_hidden,
body .gform_wrapper.gravity-theme .gfield_visibility_hidden {
  display: none !important;
}

/* Side-by-side layout for complex name fields */
body .gform_wrapper .ginput_complex,
body .gform_wrapper.gravity-theme .ginput_complex {
  display: flex !important;
  gap: 24px !important;
  width: 100% !important;
}

body .gform_wrapper .ginput_complex .ginput_left,
body .gform_wrapper .ginput_complex .ginput_right,
body .gform_wrapper .ginput_complex span,
body .gform_wrapper.gravity-theme .ginput_complex .ginput_left,
body .gform_wrapper.gravity-theme .ginput_complex .ginput_right,
body .gform_wrapper.gravity-theme .ginput_complex span {
  flex: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* Style inputs, select box and textarea */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="email"],
body .gform_wrapper select,
body .gform_wrapper textarea,
body .gform_wrapper.gravity-theme input[type="text"],
body .gform_wrapper.gravity-theme input[type="tel"],
body .gform_wrapper.gravity-theme input[type="email"],
body .gform_wrapper.gravity-theme select,
body .gform_wrapper.gravity-theme textarea {
  width: 100% !important;
  height: 56px !important;
  padding: 0 20px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--color-text-primary) !important;
  background-color: #FFFFFF !important; /* Solid white background for light mode */
  border: none !important; /* No outlines */
  border-radius: 16px !important; /* Fully rounded premium Apple curves */
  outline: none !important;
  box-shadow: var(--shadow-sm) !important; /* Subtle shadow */
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast) !important;
}

/* Dark mode compatibility */
body:not(.light-mode) .gform_wrapper input[type="text"],
body:not(.light-mode) .gform_wrapper input[type="tel"],
body:not(.light-mode) .gform_wrapper input[type="email"],
body:not(.light-mode) .gform_wrapper select,
body:not(.light-mode) .gform_wrapper textarea {
  background-color: var(--color-bg-primary) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: none !important;
}

/* Placeholder styling */
body .gform_wrapper ::placeholder,
body .gform_wrapper.gravity-theme ::placeholder {
  color: var(--color-text-muted) !important;
  opacity: 1 !important;
  font-family: var(--font-heading) !important;
  font-size: 0.95rem !important;
}

/* Focus highlighting ring */
body .gform_wrapper input[type="text"]:focus,
body .gform_wrapper input[type="tel"]:focus,
body .gform_wrapper input[type="email"]:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus {
  box-shadow: 0 0 0 3px rgba(var(--color-accent-gold-rgb), 0.25) !important;
  background-color: #FFFFFF !important;
}

body:not(.light-mode) .gform_wrapper input[type="text"]:focus,
body:not(.light-mode) .gform_wrapper input[type="tel"]:focus,
body:not(.light-mode) .gform_wrapper input[type="email"]:focus,
body:not(.light-mode) .gform_wrapper select:focus,
body:not(.light-mode) .gform_wrapper textarea:focus {
  box-shadow: 0 0 0 3px rgba(var(--color-accent-gold-rgb), 0.25) !important;
  border-color: var(--color-accent-gold) !important;
  background-color: var(--color-bg-primary) !important;
}

/* Select dropdown customized arrow */
body .gform_wrapper select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
  color: var(--color-text-muted) !important;
}

/* Textarea height adjustment */
/* Textarea height and padding adjustments */
body .gform_wrapper textarea,
body .gform_wrapper textarea.textarea,
body .gform_wrapper .ginput_container_textarea textarea {
  height: 120px !important;
  padding: 18px 20px !important;
  resize: vertical !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

/* Force all input wrappers and fields to stretch full-width across their grid slots */
body .gform_wrapper .ginput_container,
body .gform_wrapper .ginput_container_text,
body .gform_wrapper .ginput_container_phone,
body .gform_wrapper .ginput_container_email,
body .gform_wrapper .ginput_container_select,
body .gform_wrapper .ginput_container_textarea,
body .gform_wrapper .gfield input[type="text"],
body .gform_wrapper .gfield input[type="tel"],
body .gform_wrapper .gfield input[type="email"],
body .gform_wrapper .gfield select,
body .gform_wrapper .gfield textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Submit footer layout */
body .gform_wrapper .gform_footer,
body .gform_wrapper .gform_page_footer,
body .gform_wrapper.gravity-theme .gform_footer,
body .gform_wrapper.gravity-theme .gform_page_footer {
  grid-column: span 12 !important;
  padding: 0 !important;
  margin: 10px 0 0 0 !important;
}

/* Full-width bright green button matching SEND REQUEST */
body .gform_wrapper .gform_button,
body .gform_wrapper input[type="submit"],
body .gform_wrapper.gravity-theme .gform_button,
body .gform_wrapper.gravity-theme input[type="submit"],
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_footer button {
  background-color: var(--color-accent-gold) !important; /* Mint green Brand Accent */
  color: #FFFFFF !important; /* Crisp white button text */
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  height: 56px !important;
  line-height: 56px !important;
  padding: 0 30px !important;
  border-radius: var(--border-radius-md) !important;
  border: none !important;
  cursor: pointer !important;
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast) !important;
}

body .gform_wrapper .gform_button:hover,
body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_footer button:hover {
  background-color: var(--color-accent-gold-hover) !important; /* Bright mint-hover */
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

body .gform_wrapper .gform_button:active,
body .gform_wrapper input[type="submit"]:active,
body .gform_wrapper .gform_footer input[type="submit"]:active,
body .gform_wrapper .gform_footer button:active {
  transform: translateY(0) !important;
}

/* Success Confirmation message card matching success popup */
body .gform_wrapper .gform_confirmation_wrapper,
body .gform_wrapper.gravity-theme .gform_confirmation_wrapper {
  background: var(--color-bg-secondary) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 40px !important;
  text-align: center !important;
  box-shadow: var(--shadow-md) !important;
  grid-column: span 12 !important;
}

body .gform_wrapper .gform_confirmation_message,
body .gform_wrapper.gravity-theme .gform_confirmation_message {
  color: var(--color-text-primary) !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

/* =========================================
   GRAVITY FORMS VALIDATION & ERROR STYLES
   ========================================= */

/* Header Error Alert Box */
body .gform_wrapper .gform_validation_errors,
body .gform_wrapper .validation_error,
body .gform_wrapper.gravity-theme .gform_validation_errors,
body .gform_wrapper.gravity-theme .validation_error {
  border: none !important;
  border-left: 4px solid #EF4444 !important;
  background-color: rgba(239, 68, 68, 0.06) !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 20px !important;
  margin-bottom: 30px !important;
  box-shadow: none !important;
  grid-column: span 12 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

/* Hide default Gravity Forms ugly error icons */
body .gform_wrapper .gform_validation_errors::before,
body .gform_wrapper .gform_validation_errors svg,
body .gform_wrapper .gform_validation_errors img,
body .gform_wrapper .gform_validation_errors .gform_icon,
body .gform_wrapper .validation_error img {
  display: none !important;
}

/* Validation Header Title */
body .gform_wrapper .gform_validation_errors h2,
body .gform_wrapper .gform_validation_errors .gform_submission_error,
body .gform_wrapper .validation_header {
  font-family: var(--font-heading) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #EF4444 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
}

/* Validation List Link items */
body .gform_wrapper .gform_validation_errors ol,
body .gform_wrapper .gform_validation_errors ul,
body .gform_wrapper .validation_list {
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  list-style-type: decimal !important;
}

body .gform_wrapper .gform_validation_errors li,
body .gform_wrapper .validation_list li {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  color: #EF4444 !important;
  margin-bottom: 4px !important;
}

body .gform_wrapper .gform_validation_errors li a,
body .gform_wrapper .validation_list li a {
  color: #EF4444 !important;
  text-decoration: none !important;
  border-bottom: 1px dotted rgba(239, 68, 68, 0.4) !important;
  font-weight: 500 !important;
  transition: border-color var(--transition-fast) !important;
}

body .gform_wrapper .gform_validation_errors li a:hover,
body .gform_wrapper .validation_list li a:hover {
  border-bottom-color: #EF4444 !important;
}

/* Individual Field Error Labels underneath inputs */
body .gform_wrapper .gfield_validation_message,
body .gform_wrapper .validation_message,
body .gform_wrapper.gravity-theme .gfield_validation_message,
body .gform_wrapper.gravity-theme .validation_message {
  font-family: var(--font-body) !important;
  color: #EF4444 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 6px 0 0 0 !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* Field highlight when in error state */
body .gform_wrapper .gfield_error input[type="text"],
body .gform_wrapper .gfield_error input[type="tel"],
body .gform_wrapper .gfield_error input[type="email"],
body .gform_wrapper .gfield_error select,
body .gform_wrapper .gfield_error textarea {
  border-color: rgba(239, 68, 68, 0.6) !important;
}

body .gform_wrapper .gfield_error input[type="text"]:focus,
body .gform_wrapper .gfield_error input[type="tel"]:focus,
body .gform_wrapper .gfield_error input[type="email"]:focus,
body .gform_wrapper .gfield_error select:focus,
body .gform_wrapper .gfield_error textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  border-color: #EF4444 !important;
}

/* Sidebar Page Layout (Single Service & Single Project) */
.page-sidebar-layout {
  display: grid;
  grid-template-columns: 2.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 991px) {
  .page-sidebar-layout {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* Contact Page Grid Layout */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-page-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* Responsive Padding for Contact Card */
.contact-card-wrapper {
  padding: 50px;
}

@media (max-width: 768px) {
  .contact-card-wrapper {
    padding: 30px 20px !important;
  }
}





