/* =========================
   STANDARD THEME VARIABLES
========================= */
:root {
  --primary: #14532d;
  --primary-dark: #166534;

  --bg-main: #f8faf9;
  --bg-card: #ffffff;

  --text-main: #1f2933;
  --text-muted: #4b5563;

  --accent: #ca8a04;
  --accent-hover: #b45309;

  --border: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 12px;

  --max-width: 1100px;
}

/* =========================
   BASE RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}

/* =========================
   GLOBAL ELEMENTS
========================= */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

/* First section typically has less top padding */
section:first-of-type:not(.page-hero-section) {
  padding-top: 3rem;
}

h1 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  color: var(--primary);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
}

h3 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Intro paragraphs under headings */
h1 + p,
h2 + p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* =========================
   NAVIGATION
========================= */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin: 0.5rem 0;
}

.nav-brand:hover {
  opacity: 0.9;
}

.nav-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-brand-text strong {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  display: block;
}

.nav-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.3;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  width: 2rem;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0.5rem 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-link.active {
  color: #fff;
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.nav-links .btn {
  margin-left: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-family: inherit;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn:active {
  transform: translateY(1px);
}

/* =========================
   FLOATING BUTTON (MOBILE)
========================= */
.floating-quote-btn {
  display: none;
}

/* =========================
   BACK TO TOP BUTTON
========================= */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 98;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: 5.5rem;
    left: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.125rem;
  }

  .back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* =========================
   CARDS
========================= */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card h3 {
  text-align: center;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card p {
  max-width: none;
}

.card ul {
  max-width: none;
}

.story-card-wrapper {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.story-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.story-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .story-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
}

.story-content {
  padding: 2.5rem;
}

.story-content h2 {
  margin-top: 0;
  text-align: center;
}

.story-content p {
  max-width: none;
  line-height: 1.75;
}

.mission-vision-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 768px) {
  .mission-vision-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  }
}

.mission-vision-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  object-position: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .mission-vision-card:hover .mission-vision-image {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
}

.mission-vision-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mission-vision-content h3 {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.mission-vision-content p {
  max-width: none;
  margin-bottom: 0;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.footer-section h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  margin-top: 0;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: none;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.footer-badge-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-info li {
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-info a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-info span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

/* =========================
   FORMS
========================= */
form input,
form textarea,
form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-card);
  margin-bottom: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.1);
}

form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form-card form textarea {
  min-height: 180px;
}

form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2314532d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

form label {
  display: block;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.required {
  color: var(--accent);
  font-weight: 600;
}

.form-helper {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -0.75rem;
  margin-bottom: 1.25rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-field {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-field:last-of-type {
  margin-bottom: 1.5rem;
}

.field-error {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  margin-bottom: 0;
}

.field-success {
  display: none;
  position: absolute;
  right: 1rem;
  top: 2.75rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

form input.error,
form textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

form input.valid,
form textarea.valid {
  border-color: #16a34a;
  padding-right: 2.75rem;
}

form input.valid:focus,
form textarea.valid:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.contact-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-success-state.visible {
  opacity: 1;
  transform: scale(1);
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: checkmarkAppear 0.5s ease;
}

@keyframes checkmarkAppear {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-icon {
    animation: none;
  }
  
  .contact-success-state {
    transition: none;
  }
}

.contact-success-state h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-success-state p {
  max-width: none;
  margin-bottom: 0;
  color: var(--text-muted);
}

#contactFormContainer {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  #contactFormContainer {
    transition: none;
  }
}

/* =========================
   SERVICE LAYOUTS
========================= */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-content-section .service-list {
  gap: 4rem;
}

@media (max-width: 767px) {
  .service-list {
    gap: 2.5rem;
  }

  .service-content-section .service-list {
    gap: 3rem;
  }
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.service-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.service-card .service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.service-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card > h2,
.service-card > p,
.service-card > h3,
.service-card > ul,
.service-card-body > h2,
.service-card-body > p,
.service-card-body > h3 {
  padding-left: 0;
  padding-right: 0;
}

.service-card-body > h2 {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 1rem;
}

.service-card-body > p:first-of-type {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

.service-card-body > h3 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 0;
  font-size: 1.25rem;
  color: var(--primary);
}

.service-card .service-features-grid {
  margin-bottom: 2rem;
  padding-left: 0;
  padding-right: 0;
}

.service-card-body .service-who {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-card-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
}

.service-card ul {
  margin-bottom: 1.5rem;
}

/* =========================
   MODAL
========================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-main);
  color: var(--text-main);
}

.modal-container h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-container p {
  margin-bottom: 1.5rem;
}

/* Modal Form Container */
#modalFormContainer {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modal Success State */
.modal-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 300px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-success-state.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.modal-success-state .success-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: popIn 0.4s ease-out forwards;
}

.modal-success-state h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.875rem;
}

.modal-success-state p {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Modal form field validation styles */
.modal-container .form-field {
  position: relative;
  margin-bottom: 1.25rem;
}

.modal-container .form-field:last-of-type {
  margin-bottom: 1.5rem;
}

.modal-container .field-error {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  margin-bottom: 0;
}

.modal-container .field-success {
  display: none;
  position: absolute;
  right: 1rem;
  top: 2.75rem;
  width: 1.25rem;
  height: 1.25rem;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.modal-container form input.invalid,
.modal-container form textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.modal-container form input.valid,
.modal-container form textarea.valid {
  border-color: #16a34a;
  padding-right: 2.75rem;
}

.modal-container form input.valid:focus,
.modal-container form textarea.valid:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Reduced motion preference for modal */
@media (prefers-reduced-motion: reduce) {
  #modalFormContainer {
    transition: none;
  }
  
  .modal-success-state {
    transition: none;
  }
  
  .modal-success-state .success-icon {
    animation: none;
  }
}

/* =========================
   RESPONSIVE
========================= */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  .container {
    padding: 0 2rem;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
  }

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

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

  section {
    padding: 6rem 0;
  }

  section:first-of-type:not(.page-hero-section) {
    padding-top: 4rem;
  }
  
  .page-hero-section {
    min-height: 320px;
    padding: 5rem 0 4rem;
    background-position: center 35%;
  }
  
  .page-hero-content {
    padding: 0 1rem;
  }
  
  .page-hero-label {
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.625rem;
  }
  
  .page-hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
  }
  
  .page-hero-content p {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .hero-section {
    padding: 5rem 0;
    margin-bottom: 3rem;
  }

  .services-section {
    padding-top: 5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  padding: 4rem 0;
  position: relative;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-labels {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-labels span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.8;
}

.hero-labels span:nth-child(even) {
  opacity: 0.4;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.625rem 1.25rem;
}

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

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

.hero-image {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
}

.hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

.hero-card strong {
  display: block;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
}

/* =========================
   PAGE HERO SECTIONS
========================= */
.page-hero-section {
  position: relative;
  min-height: 420px;
  padding: 8rem 0 6rem;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  margin-bottom: 0;
  overflow: hidden;
}

.page-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(20, 83, 45, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(20, 83, 45, 0.85) 0%,
    rgba(20, 83, 45, 0.75) 50%,
    rgba(20, 83, 45, 0.65) 100%
  );
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-hero-content h1 {
  color: #fff;
  margin-bottom: 2rem;
  margin-top: 0;
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1875rem;
  line-height: 1.7;
  max-width: none;
  margin-bottom: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Specific hero backgrounds with optimized positioning */
.services-page .page-hero-section {
  background-image: url('../images/hero/hero-service.jpg');
  background-position: center 40%;
}

.about-page .page-hero-section {
  background-image: url('../images/hero/hero-about.jpg');
  background-position: center 35%;
}

.contact-page .page-hero-section {
  background-image: url('../images/hero/hero-contact.jpg');
  background-position: center 45%;
}

/* Service detail page hero backgrounds */
.service-cleaning-page .page-hero-section {
  background-image: url('../images/services/cleaning.jpg');
  background-position: center 40%;
}

.service-plumbing-page .page-hero-section {
  background-image: url('../images/services/plumbing.jpg');
  background-position: center 40%;
}

.service-handyman-page .page-hero-section {
  background-image: url('../images/services/handyman.jpg');
  background-position: center 40%;
}

/* =========================
   SERVICES SECTION (HOMEPAGE)
========================= */
.services-section {
  padding-top: 4rem;
}

/* =========================
   SERVICE CARDS (HOMEPAGE)
========================= */
.service-card-home {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-home .service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.service-card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-home h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.service-intro {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.service-card-home p {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* =========================
   PROCESS SECTION
========================= */
.process-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.process-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  margin-top: 0;
}

/* =========================
   WHO WE SERVE SECTION
========================= */
.who-serve-section {
  background: var(--bg-card);
  padding-top: 4rem;
}

.who-serve-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.who-serve-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.who-serve-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding: 0 2.5rem;
}

.who-serve-card p {
  padding: 0 2.5rem;
  margin-bottom: 2.5rem;
}

/* =========================
   TRUST SECTION
========================= */
.trust-section {
  background: var(--bg-main);
}

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

.trust-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  font-weight: 600;
}

.trust-item h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.trust-item p {
  max-width: none;
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* =========================
   ABOUT PAGE
========================= */
.about-trust-bar {
  background: var(--bg-main);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(20, 83, 45, 0.08);
}

.about-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.about-trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(20, 83, 45, 0.12);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.about-trust-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(20, 83, 45, 0.15) 20%,
    rgba(20, 83, 45, 0.15) 80%,
    transparent 100%
  );
  margin: 3rem 0;
}

.about-team-section {
  background: var(--bg-main);
  padding: 5rem 0;
}

.team-card-wrapper {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 100%;
}

.team-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 0 0 2.5rem 0;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .team-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }
}

.team-content h2 {
  margin-top: 0;
  text-align: left;
  margin-bottom: 1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trust-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.team-content p {
  max-width: none;
  margin-bottom: 0;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--primary);
}

/* =========================
   CONTACT PAGE
========================= */
.contact-trust-bar {
  background: var(--bg-main);
  padding: 2rem 0;
  border-top: 1px solid rgba(20, 83, 45, 0.08);
}

.contact-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.contact-trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(20, 83, 45, 0.12);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.contact-trust-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-section {
  padding: 5rem 0;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-form-wrapper,
.contact-other-wrapper {
  width: 100%;
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  min-height: 600px;
}

.contact-form-card h3 {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: left;
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-form-card form {
  margin: 0;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(202, 138, 4, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.section-divider-contact {
  display: none;
}

.contact-other-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-other-card h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item:last-of-type {
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(20, 83, 45, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content strong {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.contact-info-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.contact-info-content a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-info-content span {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-map-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.contact-map-section h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.map-helper {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 250px;
  border: none;
}

.what-happens-next-section {
  background: var(--bg-main);
  padding: 5rem 0;
}

.what-happens-next-section .step-number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.process-step .step-number {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.what-happens-next-section .card {
  text-align: center;
}

.what-happens-next-section .card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.what-happens-next-section .card p {
  max-width: none;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }

  .contact-form-wrapper {
    flex: 1.2;
  }

  .contact-other-wrapper {
    flex: 1;
  }

  .section-divider-contact {
    display: block;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(20, 83, 45, 0.15) 10%,
      rgba(20, 83, 45, 0.15) 90%,
      transparent 100%
    );
    margin: 0 -2rem;
    align-self: stretch;
  }
}

/* =========================
   SERVICE DETAIL PAGES
========================= */
.service-hero-section {
  padding: 4rem 0 3rem;
  background: var(--bg-main);
}

.service-hero-section h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-hero-section p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.service-trust-bar {
  background: var(--bg-card);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.service-trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.service-trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-trust-item span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9375rem;
}

.service-back-nav {
  padding: 2rem 0;
  background: var(--bg-card);
}

.service-back-nav .container {
  display: flex;
  justify-content: flex-start;
}

.service-back-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-content-section {
  padding: 5rem 0;
  background: var(--bg-card);
}

.service-content-section.service-content-alt {
  background: var(--bg-main);
}

.service-content-section.service-content-alt h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-content-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-content-section.service-content-alt p {
  text-align: center;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.service-content-section.service-content-alt .card h2,
.service-content-section.service-content-alt .card p,
.service-content-section.service-content-alt .card ul {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.service-content-section.service-content-alt .card h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-card-body h3:nth-of-type(2) + .service-features-grid {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
}

.service-card-body h3:nth-of-type(2) + .service-features-grid .service-feature-item {
  max-width: none;
}

.service-card-body h3:nth-of-type(2) + .service-features-grid .service-feature-item:last-child:nth-child(odd) {
  grid-column: auto;
  justify-self: stretch;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
  min-height: 120px;
}

.service-content-section.service-content-alt .service-feature-item {
  background: #fff;
}

.service-feature-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-feature-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(20, 83, 45, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-feature-text {
  flex: 1;
}

.service-feature-text strong {
  display: block;
  color: var(--primary);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.service-feature-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.services-how-it-works {
  padding: 5rem 0;
  background: var(--bg-main);
}

.service-social-proof {
  padding: 3rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof-text {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
  max-width: 700px;
  margin: 0 auto;
}

.service-cta-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.service-cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-cta-card h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.service-cta-card p {
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.service-cta-card .btn {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

@media (max-width: 767px) {
  .nav {
    padding: 1rem 0;
  }

  .nav-brand,
  .nav-links {
    margin: 0.375rem 0;
  }

  .nav-logo {
    width: 2.75rem;
    height: 2.75rem;
  }

  .nav-brand-text strong {
    font-size: 1.125rem;
  }

  .nav-tagline {
    font-size: 0.75rem;
  }

  .nav-brand {
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav-links a:not(.btn),
  .nav-links button {
    font-size: 0.875rem;
  }
  
  .nav-links .btn {
    margin-left: 0;
  }
  
  .modal-container {
    padding: 1.75rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.75rem;
    margin-bottom: 2rem;
  }

  .card:last-child {
    margin-bottom: 0;
  }

  .service-hero-section {
    padding: 3rem 0 2rem;
  }

  .service-hero-section h1 {
    font-size: 2rem;
  }

  .service-hero-section p {
    font-size: 1rem;
  }

  .service-trust-bar {
    padding: 1.5rem 0;
  }

  .service-trust-items {
    gap: 2rem;
  }

  .service-trust-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .service-trust-item span {
    font-size: 0.875rem;
  }

  .service-content-section {
    padding: 3rem 0;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: stretch;
    max-width: 100%;
  }

  .service-card-body h3:nth-of-type(2) + .service-features-grid {
    max-width: 100%;
    justify-items: stretch;
  }

  .service-card-body h3:nth-of-type(2) + .service-features-grid .service-feature-item {
    max-width: 100%;
  }

  .service-card-body h3:nth-of-type(2) + .service-features-grid .service-feature-item:last-child:nth-child(odd) {
    grid-column: 1;
    max-width: 100%;
  }

  .service-feature-item {
    padding: 1.25rem;
  }

  .service-cta-section {
    padding: 3rem 0;
  }

  .service-cta-card {
    padding: 2rem 1.5rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .service-card-body {
    padding: 2rem;
  }

  .service-card > h2,
  .service-card > p,
  .service-card > h3,
  .service-card > ul {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .service-card > h2 {
    padding-top: 2rem;
  }

  .service-card .btn {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
  }

  .service-card:last-child {
    margin-bottom: 0;
  }

  .service-card-content {
    padding: 1.75rem;
  }

  .service-card-home {
    margin-bottom: 2rem;
  }

  .service-card-home:last-child {
    margin-bottom: 0;
  }

  .process-image {
    margin-bottom: 2rem;
  }

  .who-serve-image {
    height: 200px;
  }

  .who-serve-card h3,
  .who-serve-card p {
    padding: 0 1.75rem;
  }

  .who-serve-card h3 {
    margin-top: 1.25rem;
  }

  .who-serve-card p {
    margin-bottom: 1.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-section {
    text-align: left;
  }

  .footer-section h4 {
    margin-top: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    margin: 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }

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

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-width: 1px;
  }

  .nav-link.active {
    border-bottom-color: var(--accent);
    border-bottom-width: 2px;
    padding-bottom: calc(1rem - 1px);
  }

  .nav-links .btn {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-feature-cards {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
    padding: 0;
    gap: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 0;
  }

  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > * {
    margin-bottom: 2rem;
  }

  .grid-2 > *:last-child,
  .grid-3 > *:last-child,
  .grid-4 > *:last-child {
    margin-bottom: 0;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn-outline {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .floating-quote-btn {
    display: flex !important;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .floating-quote-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }

  .floating-quote-btn:active {
    transform: translateY(0);
  }

  .floating-quote-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .page-hero-section {
    min-height: 280px;
    padding: 4rem 0 3rem;
  }
  
  .page-hero-content h1 {
    font-size: 1.875rem;
  }
  
  .page-hero-content p {
    font-size: 1rem;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-image {
    height: 250px;
  }

  .story-content {
    padding: 2rem 1.5rem;
  }

  .team-card {
    padding: 2rem 1.5rem;
  }

  .team-image {
    margin-bottom: 2rem;
  }

  .team-content h2 {
    text-align: center;
  }

  .about-trust-bar {
    padding: 2rem 0;
  }

  .about-trust-items {
    gap: 1.5rem;
    flex-direction: column;
  }

  .about-trust-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-trust-item span {
    font-size: 0.8125rem;
  }

  .section-divider {
    margin: 2rem 0;
  }

  .mission-vision-image {
    height: 200px;
  }

  .mission-vision-content {
    padding: 2rem 1.5rem;
  }

  .contact-trust-bar {
    padding: 2rem 0;
  }

  .contact-trust-items {
    gap: 1.5rem;
    flex-direction: column;
  }

  .contact-trust-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-trust-item span {
    font-size: 0.8125rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .contact-form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .success-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .contact-success-state {
    padding: 1.5rem 0.5rem;
  }

  .contact-success-state h3 {
    font-size: 1.25rem;
  }

  .contact-other-card {
    padding: 2rem 1.5rem;
  }

  .contact-info-item {
    margin-bottom: 1.5rem;
  }

  .contact-info-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .section-divider-contact {
    display: none;
  }

  .contact-map-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .map-container iframe {
    height: 200px;
  }

  .what-happens-next-section {
    padding: 3rem 0;
  }

  .what-happens-next-section .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .hero-feature-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-labels {
    font-size: 0.6875rem;
  }
}

