/* Services Page Styles */
.services-hero {
  padding: 7rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #0f3d2e, #1f7a5a);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,215,0,0.15), transparent 60%);
}

.services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--soft-gray);
} */
.services-grid {
  padding: 5rem 2rem;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6fff9 50%,
      #ffffff 100%
    );
}

/* .service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
} */
.service-card {
  position: relative;
  isolation: isolate;          /* 🔒 IMPORTANT */
  overflow: hidden;            /* 🔒 CLIP shine inside */
  
  background: linear-gradient(180deg, #ffffff, #f6fff9);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;

  box-shadow:
    0 10px 25px rgba(15,61,46,0.12),
    0 30px 60px rgba(15,61,46,0.08);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(15,61,46,0.25);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;                  /* stay behind content */

  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255, 215, 0, 0.25) 50%,
    transparent 60%
  );

  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
  animation: shineOnce 0.6s ease forwards;
}

@keyframes shineOnce {
  to {
    transform: translateX(100%);
  }
}
.service-card > * {
  position: relative;
  z-index: 1;
}

@keyframes shineOnce {
  to {
    transform: translateX(100%);
  }
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  background: rgba(76, 175, 80, 0.05); /* Subtle green tint */
}

/* .service-card i {
  color: var(--primary-green);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
} */
.service-card i {
  color: #1f7a5a;
  background: rgba(31,122,90,0.1);
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.service-card:hover i {
  color: var(--gold-accent);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0f3d2e, #1f7a5a);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,215,0,0.15), transparent 60%);
}

.cta-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background: rgba(255,215,0,0.15);
  color: #ffd700;
  border-radius: 20px;
}

.cta-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.cta-content p {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* CTA Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn.primary {
  background: #ffd700;
  color: #0f3d2e;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.btn.outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn.outline:hover {
  background: rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2.1rem;
  }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-hero h1 {
    font-size: 2rem;
  }
}

.footer .badges img {
  width: 80px;          /* ✅ ideal size */
  max-width: 100%;
  height: auto;
  opacity: 0.85;        /* subtle, professional */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer .badges img:hover {
  transform: scale(1.05);
  opacity: 1;
}
.service-group {
  margin-bottom: 5rem;
}

.service-group h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #0f3d2e;
  margin-bottom: 2rem;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-group h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, #1f7a5a, #ffd700);
  border-radius: 2px;
}
