/* Services Section Container */
.services {
  background-color: #f9fafb;
  padding: 48px 16px;
}

@media (min-width: 1024px) {
  .services {
    padding: 48px 32px;
  }
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

/* Main Services Card (Left Column) */
.main-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  height: fit-content;
}

@media (min-width: 1024px) {
  .main-card {
    grid-column: span 1;
  }
}

.main-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .main-card h2 {
    font-size: 30px;
  }
}

.main-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .main-card h3 {
    font-size: 30px;
  }
}

.main-card p {
  color: #4b5563;
  line-height: 1.625;
  margin-bottom: 24px;
  font-size: 14px;
}

.main-card-button {
  color: #10b981;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  text-decoration: none;
}

.main-card-button:hover {
  color: #059669;
}

.main-card-button svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.main-card-button:hover svg {
  transform: translateX(4px);
}

/* Service Cards Container */
.service-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .service-cards-container {
    grid-column: span 3;
  }
}

/* Individual Service Cards */
.service-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  height: fit-content;
}

.service-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.service-image {
  height: 160px;
  overflow: hidden;
}

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

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

.service-content {
  padding: 20px;
}

.service-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.service-content p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.625;
  margin-bottom: 12px;
}

.service-link {
  color: #10b981;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  text-decoration: none;
}

.service-link:hover {
  color: #059669;
}

.service-link svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

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