/* 
   Fenton Outdoor Services LLC — Stylesheet
   Refactored with a Mobile-First design philosophy.
   All default styles target mobile viewports. Media queries scale up for larger viewports.
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  /* ── Brand Colors ── */
  --navy-900: #0F1D3A;
  /* Deep shadows & footer */
  --navy-800: #162248;
  /* Primary Navy */
  --navy-700: #1D2D5E;
  /* Navy mid-shade */
  --navy-500: #2E4A8A;
  /* Links and details */
  --navy-100: #E8ECF5;
  /* Tint for highlights */

  --green-900: #1A3D1A;
  /* Deep Forest Green shadow */
  --green-700: #256325;
  /* Primary Forest Green */
  --green-500: #3A8A3A;
  /* Hover Forest Green */
  --green-300: #5CB85C;
  /* Light Forest Green highlight */
  --green-100: #EBF5EB;
  /* Tint for cards/badges */

  /* ── Neutrals ── */
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-300: #DEE2E6;
  --gray-500: #868E96;
  --gray-700: #495057;
  --gray-900: #212529;

  /* ── Typography ── */
  --font-display: 'Barlow Condensed', Arial Narrow, sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;

  /* ── Layout & Effects ── */
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 29, 58, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 29, 58, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 29, 58, 0.12);
  --accent-gradient: linear-gradient(90deg, var(--navy-800), var(--green-700));
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-700), var(--navy-700));
  border-radius: 4px;
  border: 2px solid var(--navy-900);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green-500), var(--navy-500));
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--green-700) var(--navy-900);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-800);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ── Section Header General (Mobile) ── */
.section-padding {
  padding: 60px 0;
  /* Smaller padding on mobile */
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-700);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 2rem;
  /* Mobile size */
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--green-700);
  border-radius: 2px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ── Navigation Header (Mobile-first) ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--green-900);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(37, 99, 37, 0.3);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, padding 0.3s ease, border-bottom-color 0.3s ease;
  animation: headerSlideDown 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

header.header-hidden {
  transform: translateY(-100%);
}

header.scrolled {
  background: var(--green-900);
  padding: 8px 0;
  border-bottom: 2px solid var(--green-900);
}

header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  /* slightly smaller default on mobile */
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-img:hover {
  scale: 1.2;
}

header.scrolled .logo-img {
  height: 70px;
}

/* Nav Drawer for Mobile */
.nav-links {
  position: fixed;
  top: 0;
  left: -80%;
  width: 80%;
  height: 100vh;
  background-color: var(--navy-900);
  flex-direction: column;
  padding: 100px 32px;
  gap: 24px;
  z-index: 999;
  transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  align-items: flex-start;
  list-style: none;
  display: flex;
}

.nav-links.active {
  left: 0;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--green-300);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: block;
  /* Displayed by default on mobile */
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ── Hero Section (Mobile-first) ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70vh;
  padding: 140px 0 80px;
  background: linear-gradient(rgba(15, 29, 58, 0.82), rgba(22, 34, 72, 0.88)),
    url('images/hero_lawn.png') no-repeat center center/cover;
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 20px;
  background: linear-gradient(to top, var(--gray-50), transparent);
}

.scroll-down-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-down-arrow {
  color: var(--white);
  opacity: 0.65;
  transition: var(--transition);
  animation: scrollBounce 2s infinite;
  display: inline-block;
}

.scroll-down-arrow:hover {
  opacity: 1;
  color: var(--green-300);
}

.scroll-down-arrow:hover svg {
  transform: scale(1.15);
}

.scroll-down-arrow svg {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.2s ease;
}

.hero-content {
  width: 100%;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-300);
  margin-bottom: 12px;
  display: inline-block;
  background: rgba(37, 99, 37, 0.2);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(92, 184, 92, 0.3);
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--white), var(--green-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

/* ── Buttons (Mobile-first) ── */
.btn-group {
  display: flex;
  flex-direction: column;
  /* stacked on mobile */
  gap: 12px;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--green-700);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--green-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 37, 0.4);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-navy {
  background-color: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 34, 72, 0.3);
}

.btn-outline-navy {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-outline-navy:hover {
  background-color: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
}

#services {
  padding-top: 30px;
}

/* ── Services Section (Mobile-first 1-column) ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--green-700);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

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

.service-header-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.service-icon {
  width: 40px;
  height: 40px;
  background-color: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background-color: var(--green-700);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.service-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--navy-800);
  letter-spacing: 0.05em;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link span {
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--green-700);
}

.service-card:hover .service-link span {
  transform: translateX(4px);
}

/* ── Why Choose Us Section (Mobile-first 1-column) ── */
.why-us-bg {
  background-color: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us-bg::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--green-700);
  opacity: 0.1;
}

.why-us-bg .section-header h2 {
  color: var(--white);
}

.why-us-bg .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 10px;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 37, 0.2);
  border: 2px solid var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.feature-item:hover .feature-icon-box {
  background-color: var(--green-700);
  transform: scale(1.08);
}

.feature-item h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Testimonials Section (Mobile-first) ── */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 5px;
  left: 20px;
  font-size: 4.5rem;
  color: var(--green-100);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-800);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ── Call to Action (Mobile-first) ── */
.cta-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero_lawn.png') no-repeat center center/cover;
  opacity: 0.08;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.cta-section .btn-secondary {
  border-color: var(--white);
  background: var(--white);
  color: var(--green-700);
}

.cta-section .btn-secondary:hover {
  background: var(--green-100);
  color: var(--green-900);
  border-color: var(--green-100);
}

/* ── Contact Page Layout (Mobile-first 1-column) ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--navy-800);
  position: relative;
  padding-bottom: 8px;
}

.contact-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--green-700);
}

/* ── Form Controls ── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--gray-900);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(37, 99, 37, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Mobile-first: rows stack by default */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* ── Contact Info Cards ── */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-box {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--navy-800);
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.3rem;
  color: var(--green-700);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 0.95rem;
  color: var(--navy-800);
  margin-bottom: 2px;
}

.info-text p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.info-text p a {
  color: inherit;
  transition: var(--transition);
}

.info-text p a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

.map-container {
  height: 220px;
  background: var(--navy-100);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--navy-500);
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--navy-800);
  text-align: center;
  padding: 16px;
}

.map-placeholder span {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.map-placeholder p {
  font-size: 0.85rem;
  color: var(--gray-700);
  max-width: 250px;
}

.map-radial-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(37, 99, 37, 0.15);
  animation: pulse 2s infinite;
  pointer-events: none;
}

/* ── Footer (Mobile-first) ── */
footer {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 60px 0 24px;
  border-top: 5px solid var(--green-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--green-300);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 18px;
  max-width: 350px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--green-300);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item span:first-child {
  color: var(--green-300);
}

.footer-contact-item a {
  color: inherit;
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--green-300);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  /* stacked on mobile */
  align-items: center;
  text-align: center;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

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

/* ── Animation Keyframes ── */
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-8px);
  }

  60% {
    transform: translateY(-4px);
  }
}


/* ==========================================================================
   ── Media Queries (Progressive Desktop Enhancement) ──
   ========================================================================== */

/* ── Tablets and Small Screens ── */
@media (min-width: 768px) {
  .section-padding {
    padding: 85px 0;
  }

  .section-header h2 {
    font-size: 2.3rem;
  }

  /* Header Navbar transition to horizontal inline links */
  header .navbar {
    padding: 16px 0;
  }

  .logo-img {
    height: 50px;
  }

  header.scrolled .logo-img {
    height: 40px;
  }

  .mobile-nav-toggle {
    display: none;
    /* Hide hamburger menu icon */
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 32px;
    z-index: auto;
    transition: none;
  }

  /* Hero adjustments */
  .hero {
    min-height: 75vh;
    padding: 160px 0 100px;
  }

  .hero::after {
    height: 100px;
  }

  .hero-eyebrow {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .btn-group {
    flex-direction: row;
    /* display buttons side by side */
  }

  .btn {
    width: auto;
  }

  #services {
    padding-top: 40px;
  }

  /* Layout transformations to multiple columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card {
    padding: 40px;
  }

  .testimonial-quote {
    font-size: 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── Desktops and Large Screens ── */
@media (min-width: 992px) {
  .section-padding {
    padding: 100px 0;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .hero {
    min-height: 80vh;
    padding: 180px 0 120px;
  }

  .hero-eyebrow {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  #services {
    padding-top: 50px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .testimonial-card {
    padding: 50px;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }

  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
  }

  .contact-card {
    padding: 40px;
  }

  .logo-img {
    height: 70px;
  }

  header.scrolled .logo-img {
    height: 80px;
  }
}

/* ── Wide Screen Desktops ── */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}