/* ============================================
   VORTEX BUILDINGS - Static CSS
   ============================================ */

/* CSS Variables */
/*:root {
  --background: hsl(40, 20%, 98%);
  --foreground: hsl(30, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(30, 15%, 15%);
  --primary: hsl(25, 75%, 47%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(45, 90%, 55%);
  --secondary-foreground: hsl(30, 15%, 15%);
  --muted: hsl(40, 15%, 94%);
  --muted-foreground: hsl(30, 10%, 45%);
  --accent: hsl(45, 90%, 55%);
  --accent-foreground: hsl(30, 15%, 15%);
  --border: hsl(30, 15%, 85%);
  --input: hsl(30, 15%, 85%);
  --ring: hsl(25, 75%, 47%);
  --construction-dark: hsl(220, 25%, 18%);
  --shadow-card: 0 2px 8px -2px hsla(30, 15%, 15%, 0.1), 0 4px 12px -4px hsla(30, 15%, 15%, 0.08);
  --shadow-card-hover: 0 8px 24px -8px hsla(30, 15%, 15%, 0.15), 0 12px 32px -12px hsla(30, 15%, 15%, 0.1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}*/

:root {
  /* Main Colors */
  --background: #fbf9f7;           /* hsl(40, 20%, 98%) */
  --foreground: #2c2621;           /* hsl(30, 15%, 15%) */
  --card: #ffffff;                 /* hsl(0, 0%, 100%) */
  --card-foreground: #2c2621;      /* hsl(30, 15%, 15%) */
  
  /* Brand Action Colors */
  --primary: #FF0000;              /* hsl(25, 75%, 47%) - Burnt Orange */
  --primary-foreground: #ffffff;   /* hsl(0, 0%, 100%) */
  --secondary: #f7c921;            /* hsl(45, 90%, 55%) - Safety Gold */
  --secondary-foreground: #2c2621; /* hsl(30, 15%, 15%) */
  
  /* UI Elements */
  --muted: #f2efea;                /* hsl(40, 15%, 94%) */
  --muted-foreground: #7e756d;     /* hsl(30, 10%, 45%) */
  --accent: #f7c921;               /* hsl(45, 90%, 55%) */
  --accent-foreground: #2c2621;    /* hsl(30, 15%, 15%) */
  --border: #ded8d3;               /* hsl(30, 15%, 85%) */
  --input: #ded8d3;                /* hsl(30, 15%, 85%) */
  --ring: #d2691e;                 /* hsl(25, 75%, 47%) */
  
  /* Specialized Industrial Tone */
  --construction-dark: #222b39;    /* hsl(220, 25%, 18%) - Deep Navy */

  /* Shadows */
  --shadow-card: 0 2px 8px -2px rgba(44, 38, 33, 0.1), 0 4px 12px -4px rgba(44, 38, 33, 0.08);
  --shadow-card-hover: 0 8px 24px -8px rgba(44, 38, 33, 0.15), 0 12px 32px -12px rgba(44, 38, 33, 0.1);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-primary {
  color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #d72727;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(45, 90%, 50%);
}

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

.btn-outline:hover {
  background-color: var(--primary);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-primary {
  color: var(--primary);
}

.logo-secondary {
  color: var(--foreground);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem; 
  padding: 0;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.chevron {
  transition: transform 0.2s;
}

.dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--primary); /* This is your red (#FF0000) */
  color: #ffffff; /* Ensures the text is readable against the red background-color: var(--muted);*/
}

.header-buttons {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  font-weight: 500;
}

.mobile-nav-section {
  padding: 0.5rem 0;
}

.mobile-nav-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.25rem 0 0.25rem 1rem;
  color: var(--foreground);
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Desktop breakpoint */
@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-desktop {
    display: flex;
  }
  
  .header-buttons {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 5rem 0 4rem;
  background-color: var(--background);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  order: 2;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-image {
  order: 1;
}

.hero-image-wrapper {
  position: relative;
}

.hero-img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card-hover);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card-hover);
}

.hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.hero-badge-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 6rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Process Step Styling */
.process-step {
  text-align: left;
  padding: 2.5rem 2rem;
  background: var(--card);
  border-bottom: 4px solid var(--border);
  transition: all 0.3s ease;
  cursor: default; /* Not a link, just information */
}

.process-step:hover {
  border-bottom-color: var(--primary);
  transform: translateY(-5px);
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step .service-title {
  margin-top: 0;
  color: var(--construction-dark);
  font-size: 1.4rem;
}

.process-step .service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Ensure 3-column layout on desktop */
@media (min-width: 992px) {
  .services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-us {
  padding: 4rem 0 6rem;
  background-color: var(--background);
}

.turnkey-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 0 auto 2.5rem;
}

.turnkey-content {
  max-width: 64rem;
  margin: 0 auto;
}

.turnkey-image {
  float: right;
  margin: 0 0 1rem 1.5rem;
  width: 100%;
  max-width: 100%;
}

.turnkey-img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card-hover);
}

.turnkey-text {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.turnkey-text p {
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .turnkey-image {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .turnkey-image {
    width: 40%;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Nebraska Weather Section */
.weather-section {
  background-color: var(--construction-dark);
  border-radius: 1rem;
  padding: 2rem;
}

.weather-content {
  max-width: 56rem;
  margin: 0 auto;
}

.weather-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.weather-icon svg {
  color: var(--secondary);
}

.weather-title {
  font-size: 1.5rem;
  color: var(--primary-foreground);
  text-align: center;
  margin-bottom: 1.5rem;
}

.weather-description {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  text-align: center;
  margin-bottom: 2.5rem;
}

.weather-features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.weather-feature {
  background-color: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.weather-feature-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.weather-feature-header svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.weather-feature-header h3 {
  font-size: 1.25rem;
  color: var(--primary-foreground);
}

.weather-feature-header div {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--secondary); /* This makes it yellow/gold */
}

.weather-feature p {
  color: hsla(0, 0%, 100%, 0.8);
}

.weather-footer {
  color: hsla(0, 0%, 100%, 0.8);
  text-align: center;
}

@media (min-width: 768px) {
  .weather-section {
    padding: 3rem;
  }
  
  .weather-title {
    font-size: 2rem;
  }
  
  .weather-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .weather-section {
    padding: 4rem;
  }
  
  .weather-title {
    font-size: 2.5rem;
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 4rem 0 6rem;
  background-color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;	
}

/* Services Grid Layout */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* Mobile: 1 column */
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 4 columns (Creating 2 rows of 4 for 8 items) */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Ensure the Service Card looks professional */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  color: var(--construction-dark);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* The Grey-Out Logic */
.service-card.greyed-out {
  pointer-events: none; /* Optional: Makes the card unclickable */
  cursor: not-allowed;
  filter: grayscale(100%); /* Turns the entire card (including image) to black and white */
  opacity: 0.7; /* Makes the card appear faded */
  border: 1px solid var(--border); /* Adds a subtle border to show it's "disabled" */
}

/* Specific adjustment for the image if you want it extra dark/muted */
.service-card.greyed-out .service-image img {
  filter: brightness(0.8) contrast(0.9);
}

/* Dimming the text specifically */
.service-card.greyed-out .service-title,
.service-card.greyed-out .service-description {
  color: #888; /* Overrides the construction-dark color */
}

/* Optional: Remove the hover "lift" effect for greyed out cards */
.service-card.greyed-out:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.service-areas {
  padding: 4rem 0 6rem;
  background-color: var(--construction-dark);
}

.section-title-light {
  font-size: 1.875rem;
  color: var(--primary-foreground);
  text-align: center;
  margin-bottom: 1rem;
}

.section-divider-secondary {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--secondary);
  margin: 0 auto 1.5rem;
}

.section-description-light {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.area-card {
  background-color: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: background-color 0.2s;
}

.area-card:hover {
  background-color: hsla(0, 0%, 100%, 0.15);
}

.area-icon {
  color: var(--secondary);
  margin: 0 auto 0.75rem;
  transition: transform 0.2s;
}

.area-card:hover .area-icon {
  transform: scale(1.1);
}

.area-title {
  font-size: 1.25rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.area-description {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

.areas-note {
  text-align: center;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .section-title-light {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  
  .section-title-light {
    font-size: 3rem;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 4rem 0 6rem;
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

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

.contact-card {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-card-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-card-description {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item a:hover {
  text-decoration: underline;
}

.steps-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.step-content h5 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--card);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(25, 75%, 47%, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* The Wrapper for the Custom Arrow */
.select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  padding: 0.8rem 1rem;
  padding-right: 2.5rem; /* Space for the arrow */
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--construction-dark);
  appearance: none; /* Critical: Hides default browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

/* Custom SVG Arrow Icon */
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ea580c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none; /* Allows clicks to pass through to the select */
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-row-address {
  grid-template-columns: 3fr 1fr 2fr;
}

@media (min-width: 768px) {
  .contact-card {
    padding: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* ============================================
   CONTACT FORM MOBILE REFINEMENTS
   ============================================ */

/* Force vertical stacking on mobile for ALL form rows */
@media (max-width: 640px) {
  .form-row, 
  .form-row-address {
    grid-template-columns: 1fr !important; /* Stack inputs vertically */
    gap: 1rem;
  }

  /* Ensure the form wrapper doesn't push past the screen */
  .contact-form-wrapper {
    padding: 1.25rem; /* Slightly smaller padding on mobile */
    width: 100%;
    box-sizing: border-box;
  }

  /* Prevent long email links or text from stretching the card */
  .contact-item a {
    word-break: break-all; 
    font-size: 0.9rem;
  }
}

/* Global Safety: Ensure all elements respect their parent's width */
.contact-form-wrapper,
.contact-form,
.form-group,
.form-group input {
  max-width: 100%;
  box-sizing: border-box;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--construction-dark);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-section {
  /* Individual footer column */
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-map {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.footer-map iframe {
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.footer-map:hover iframe {
  filter: grayscale(0);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
}

.footer-legal {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   PAGE HERO (Service/Area pages)
   ============================================ */
.page-hero {
  padding: 6rem 0 4rem;
}

.page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero-title {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.page-hero-image {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card-hover);
  width: 100%;
}

@media (min-width: 768px) {
  .page-hero { padding: 8rem 0 4rem; }
  .page-hero-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .page-hero-title { font-size: 3rem; }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.feature-card {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.feature-card p {
  font-weight: 500;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Content blocks */
.content-block {
  max-width: 56rem;
  margin: 0 auto;
}

.content-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.content-block p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Utility */
.py-section { padding: 4rem 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.text-left { text-align: left; }

/* Services grid variants */
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .services-grid-3 { grid-template-columns: 1fr; } }

/* Area pages */
.area-hero {
  padding: 6rem 0 4rem;
  background: var(--construction-dark);
}

.area-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}



.area-hero-title {
	font-size: 2.5rem;
  	color: var(--primary-foreground);
    display: table; /* Shrinks the element to the width of the text */
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    width: auto;
    float: none; /* Disables any accidental floats */
}

/* Ensure the parent container is also helping */
.area-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.area-hero-description {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  max-width: 50rem;
  margin: 0 auto;
	text-align: center;
}

.area-content-grid {
  display: grid;
  gap: 2rem;
}

.area-contact-card {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.area-contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.area-contact-card > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.area-contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.area-contact-info p {
  margin-bottom: 0.5rem;
}

.areas-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .areas-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .area-hero { padding: 8rem 0 4rem; }
  .area-hero-title { font-size: 3rem; }
  .area-content-grid { grid-template-columns: 1fr 400px; }
}

/* Legal pages */
.legal-page {
  padding: 6rem 0 4rem;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-page section {
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================
   AREA PAGE SECTIONS
   ============================================ */

/* Things To Do Grid */
.things-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .things-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.thing-card {
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  background: var(--card);
}

.thing-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.thing-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.thing-content {
  padding: 1rem;
}

.thing-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.thing-card:hover .thing-content h3 {
  color: var(--primary);
}

.thing-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Top Sites Grid */
.top-sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .top-sites-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.top-site-card {
  display: block;
  padding: 1.5rem;
  background: var(--card);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.top-site-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.top-site-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(25, 75%, 47%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s ease;
}

.top-site-icon svg {
  color: var(--primary);
}

.top-site-card:hover .top-site-icon {
  background: hsla(25, 75%, 47%, 0.2);
}

.top-site-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.top-site-card:hover h3 {
  color: var(--primary);
}

.top-site-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Neighborhoods Grid */
.neighborhoods-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

@media (min-width: 640px) {
  .neighborhoods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .neighborhoods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.neighborhood-card {
  padding: 1rem;
  background: var(--card);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
}

/* Area Map */
.area-map {
  width: 100%;
  height: 350px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.area-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   AREA FORM OVERFLOW FIXES
   ============================================ */

/* 1. Ensure the grid doesn't allow content to push column widths */
@media (min-width: 1024px) {
  .area-content-grid { 
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* This makes both sides exactly 50% */
    gap: 3rem; /* Adds a professional gap between the text and the form */
    align-items: start; 
  }
}

/* 2. Force all form elements to stay inside the 400px card */
.area-contact-card {
  width: 100%;
  box-sizing: border-box;
}

.area-contact-card input, 
.area-contact-card textarea, 
.area-contact-card select {
  width: 100% !important; /* Force full width of the card */
  max-width: 100%;        /* Prevent horizontal overflow */
  box-sizing: border-box; /* Ensures padding is calculated inside the width */
  display: block;
}

/* 3. Adjust the form-row if you have side-by-side inputs (like First/Last Name) */
.area-contact-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

/* 4. Fix for mobile: Ensure the card doesn't hit the screen edges */
@media (max-width: 450px) {
  .area-contact-card {
    padding: 1.5rem; /* Slightly less padding on tiny screens to save space */
  }
  
  .area-contact-card .form-row {
    grid-template-columns: 1fr; /* Stack inputs on mobile */
  }
}

/* Map Coverage Styling */
.map-container {
  background: var(--card);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
}

.map-responsive iframe {
  display: block;
  width: 100%;
}

.map-caption {
  padding: 1.5rem 1rem 0.5rem;
  text-align: center;
}

.map-caption p {
  font-weight: 600;
  color: var(--construction-dark);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.map-caption i {
  color: var(--primary);
  margin-right: 8px;
}

/* ==============================================================
   ABOUT SECTION COMPONENT
   ============================================================== */

/* 1. Typography & General Layout */
.py-section {
  padding: 80px 0;
}

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

.section-header .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--construction-dark);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* 2. Feature List (Checkmarks) */
.feature-list li {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--foreground);
}

/* 3. Image Stack Styling (The Overlap) */
.image-stack-container {
  position: relative;
  width: 100%;
  padding: 40px 0; /* Creates room for elements to bleed over edges */
}

.main-image-wrapper {
  width: 85%;
  z-index: 1;
  position: relative;
}

.sub-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  z-index: 2;
}

.sub-image-wrapper img {
  /* This border creates the 'cut-out' look against the muted background */
  border: 8px solid var(--muted); 
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 4. Experience Badge Overlay */
.experience-badge-overlay {
  position: absolute;
  top: 10%;
  left: -5%;
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  min-width: 160px;
  z-index: 3;
  box-shadow: var(--shadow-card-hover);
  animation: experience-float 3s ease-in-out infinite;
}

.experience-badge-overlay h3 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
  color: #fff;
}

.experience-badge-overlay h3 span {
  font-size: 1rem;
  display: block;
}

.experience-badge-overlay p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes experience-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 5. Essential Grid Helpers (If not using full Bootstrap) */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.align-items-center { align-items: center; }
.d-inline-flex { display: inline-flex; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }

@media (min-width: 992px) {
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0 15px;
  }
}

/* 6. Mobile Responsiveness */
@media (max-width: 991px) {
  .image-stack-container {
    margin-top: 3rem;
  }
  
  .sub-image-wrapper {
    position: relative;
    width: 100%;
    margin-top: 1rem;
  }
  
  .sub-image-wrapper img {
    border: none;
  }
  
  .main-image-wrapper {
    width: 100%;
  }
  
  .experience-badge-overlay {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
    width: fit-content;
  }
}

/* ============================================
   FAQ SECTION STYLING
   ============================================ */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  border-left: 4px solid transparent; /* Prepare space for the active border */
}

.faq-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Active State for the Box */
.faq-item.active {
  border-left: 4px solid var(--primary);
  border-color: rgba(0,0,0,0.05);
  background: #fff;
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.faq-header .num {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.faq-header h3 {
  font-size: 1.15rem;
  margin: 0;
  font-weight: 700;
  color: var(--construction-dark);
}

/* Icon Styling and Animation */
.faq-header .toggle-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--muted-foreground);
  font-size: 1.2rem;
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Content Area - The Slide Logic */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 500px; /* Large enough to fit the text */
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border); /* Visual separator */
}

.faq-content p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Active item styles */
.faq-item.active {
  border-left: 4px solid var(--primary);
  border-color: rgba(0,0,0,0.05);
}

.faq-item.active .toggle-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-content {
  max-height: 500px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
	opacity: 1;
}





/* Core Layout Helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Vertical Spacing Classes */
.py-section { padding: 100px 0; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }

/* Responsive Columns */
[class*="col-"] {
  padding: 0 15px;
  width: 100%; /* Default to mobile stack */
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .mb-lg-0 { margin-bottom: 0; }
}

.text-start { text-align: left; }
.bg-muted { background-color: var(--muted); }