/* === Services Page Specific Styles === */
.services-hero-section {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--mint-dark), var(--emerald-600));
  text-align: center;
  overflow: hidden;
  color: var(--white);
}

.services-hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1557683316-973673baf926?w=1920&auto=format&fit=crop&q=60');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  opacity: 0.1;
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem; /* Equivalent to max-w-3xl */
  margin: 0 auto;
  padding: 0 1rem;
}

.services-hero-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, var(--mint), var(--emerald-600));
}

@media (min-width: 768px) {
  .services-hero-title {
    font-size: 4.5rem;
    line-height: 1;
  }
}

/* === Services Grid for Services Page === */
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-box {
  background: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-box-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-box:hover .service-box-image {
  transform: scale(1.05);
}

.service-box-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-box-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-box-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-box-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.service-box-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li .icon {
  color: var(--mint);
  font-size: 1.2rem;
  line-height: 1;
}

.service-features li p {
  margin: 0;
  font-size: 0.95rem;
}

.service-box .btn-primary {
  width: 100%;
  text-align: center;
  margin-top: auto; /* Pushes the button to the bottom */
}

/* CTA Section for Services Page */
.services-cta-section {
  background: linear-gradient(45deg, var(--mint), var(--mint-dark));
  color: var(--white);
}
.services-cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.services-cta-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.services-cta-section .btn-secondary-outline {
  border-color: var(--white);
  color: var(--white);
}
.services-cta-section .btn-secondary-outline:hover {
  background-color: var(--white);
  color: var(--mint);
}

/* === Services Grid and Cards === */
.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) { /* md breakpoint */
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) { /* lg breakpoint */
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card-full {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards in a row have equal height */
}

.service-card-full:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.service-card-full .relative.h-48 {
  flex-shrink: 0; /* Prevent image container from shrinking */
}

.service-card-full h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0; /* Important for flex items with long content */
}

.service-card-full .service-icon-lg {
  font-size: 2.5rem;
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-right: 0.75rem;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.service-card-full .text-gray-600 {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0; /* Important for flex items with long content */
}

.service-card-full .service-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Allow the list to take available space */
  word-wrap: break-word;
  min-width: 0; /* Important for flex items with long content */
}

.service-card-full .service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0; /* Important for flex items with long content */
}

.service-card-full .service-feature-dot {
  min-width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--mint);
  margin-top: 0.5rem;
  flex-shrink: 0; /* Prevent dot from shrinking */
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: auto; /* Push the button to the bottom */
  flex-shrink: 0; /* Prevent button from shrinking */
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  padding: 0.5rem 0; /* Add some vertical padding for better touch area */
}

.btn-learn-more:hover {
  gap: 0.75rem;
  color: var(--mint-dark);
} 