/* Service Pages Styles */

.service-details {
  padding: 2rem 5%;
}

/* Hero Section */
.service-hero {
  text-align: center;
  padding: 4rem 0;
  background: #b7a99a;
  color: white;
  margin: -2rem -5.5% 2rem;
  position: relative;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.service-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-hero p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

/* Process Section */
.process-section {
  padding: 4rem 0;
}

.process-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: goldenrod;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-weight: bold;
}

.step h3 {
  font-family: var(--font-subheading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #222;
}

.step p {
  color: #555;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: #f9f6f1;
  margin: 2rem -5.5%;
  padding: 4rem 5.5%;
}

.features-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3rem !important;      /* Increased size and forced the style */
  color: #c5a07b !important;          /* Forced the theme color */
  margin-bottom: 1.5rem;          /* A little more space */
  width: 80px;                      /* Bigger container */
  height: 80px;                     /* Bigger container */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff8f2;
  border-radius: 50%;
}

.feature h3 {
  font-family: var(--font-subheading);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: goldenrod;
}

.feature p {
  color: #555;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}

.cta-section p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-section .btn {
  display: inline-block;
  padding: 15px 30px;
  background: #4a64d8;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-section .btn:hover {
  background: #3950b0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 1.5rem;
  }
  
  .service-hero p {
    font-size: 1rem;
  }

  .process-steps,
  .features {
    grid-template-columns: 1fr;
  }

  .step,
  .feature {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  /* Arranges the "Benefits" section into a 2x2 grid on mobile */
  .features-section .features {
    grid-template-columns: 1fr 1fr;
    gap: 1rem; /* Reduces the space between grid items */
  }
}
