:root {
  --primary-green: #059669;
  --primary-green-light: #10b981;
  --primary-green-dark: #047857;
  --accent-yellow: #f59e0b;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-light: #6b7280;
  --bg-gray: #f9fafb;
  --white: #ffffff;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.bg-gray {
  background-color: var(--bg-gray);
}

.hero-services {
  background: linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.95),
      rgba(16, 185, 129, 0.9)
    ),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600")
      center/cover;
  padding: 100px 0 80px;
  position: relative;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 150, 105, 0.9),
    rgba(16, 185, 129, 0.85)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-services h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--white);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--primary-green);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.cta-secondary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  line-height: 1.2;
  text-align: center;
  color: var(--text-dark);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--primary-green);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image-container img {
  transform: scale(1.08);
}

.card-inside-text {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-inside-text p {
  color: black;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  text-align: left;
  margin-top: 15px;
}

.service-list li {
  padding: 10px 0;
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: black !important;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.2rem;
}

.card-cta {
  margin-top: var(--spacing-md);
}

.card2 {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
}

.card2 p {
  color: black;
}

.card2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-light)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.cta-primary {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-light)
  );
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.cta-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-green-dark),
    var(--primary-green)
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
  color: var(--white);
  text-decoration: none;
}

.cta-card {
  padding: 12px 24px;
  font-size: 0.95rem;
}

.testimonial {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-green);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.stars {
  margin: var(--spacing-md) 0;
  font-size: 1.2rem;
  color: #fbbf24;
}

.testimonial strong {
  color: var(--primary-green);
  font-size: 1rem;
  display: block;
  margin-top: 10px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.location-link {
  background: var(--white);
  color: var(--primary-green);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  border: 2px solid var(--primary-green);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  font-weight: 600;
}

.location-link:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.service-form-section {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: var(--white);
}

.service-form-title {
  color: var(--white);
  margin-bottom: 40px;
}

.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  color: var(--text-dark);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-textarea {
  height: 100px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  padding: 16px;
  font-size: 1.05rem;
}

.form-submit:hover {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.form-contact {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.form-contact a {
  color: #dc2626;
  font-weight: 700;
  text-decoration: none;
}

.form-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-services {
    padding: 80px 0 60px;
  }

  .grid,
  .locations-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .card-inside-text {
    padding: var(--spacing-md);
  }

  .cta-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .form-container {
    padding: 30px 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 30px 0;
  }

  .card-image-container {
    height: 180px;
  }

  .testimonial {
    padding: var(--spacing-md);
  }

  .form-container {
    padding: 20px 15px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

.card:focus,
.card2:focus,
.cta-primary:focus,
.location-link:focus {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
