/* Services Overview Section */
.services-overview {
  background: var(--white);
  padding: 6rem 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(33, 95, 68, 0.08);
  box-shadow: 
    0 4px 20px rgba(33, 95, 68, 0.05),
    0 1px 3px rgba(33, 95, 68, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), rgba(33, 95, 68, 0.7));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(33, 95, 68, 0.15),
    0 8px 25px rgba(33, 95, 68, 0.1);
  border-color: rgba(33, 95, 68, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Service Actions */
.service-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.service-link:hover {
  color: rgba(33, 95, 68, 0.8);
  transform: translateX(4px);
}

.service-cta {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  min-width: 140px;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.4s;
}

.service-cta:hover::before {
  left: 100%;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 95, 68, 0.3);
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 4rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(33, 95, 68, 0.05) 0%, rgba(255, 246, 234, 0.3) 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(33, 95, 68, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top, rgba(33, 95, 68, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(255, 246, 234, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-card p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-main {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(33, 95, 68, 0.2),
    0 4px 16px rgba(33, 95, 68, 0.15);
}

.cta-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-main:hover::before {
  left: 100%;
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 40px rgba(33, 95, 68, 0.3),
    0 6px 20px rgba(33, 95, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-overview {
    padding: 4rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .section-cta {
    margin-top: 3rem;
  }
  
  .cta-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-main {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
