/* This CSS page holds the services page styles */

/* Hero Section */
.service-hero {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Service Section */
.service-section,
.service-section.reverse {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.service-section.reverse {
  flex-direction: row-reverse;
}

.service-section img {
  max-width: 75%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.content-left,
.content-right {
  flex: 1 1 500px;
}

/* Section Heading */
.section-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #1e2b3c;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(to right, #1e2b3c, #f57c00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-box {
  background-color: #f7f7f7;
  border-left: 4px solid #f57c00;
  padding: 16px 20px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  margin: 16px 0;
}

.service-subtext,
.service-description {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
}

/* Soft Layer Styles */
.soft-layer {
  padding: 60px 20px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  margin: 0 20px;
}

.content-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.layer-one {
  background: linear-gradient(135deg, #f3f6fb, #ffffff);
}

.layer-two {
  background: linear-gradient(135deg, #edf3f7, #f7f9fa);
}

.layer-three {
  background: linear-gradient(135deg, #e8eef3, #f1f2f3);
}

/* Mini CTA Modern */
.mini-cta-modern {
  background: linear-gradient(135deg, #e76f28, #ffb347);
  color: #fff;
  background-color: #e76f28;
  text-align: center;
  padding: 60px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 800px;
  animation: fadeInUp 0.6s ease-in-out;
}

.mini-cta-modern h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.mini-cta-modern p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.mini-cta-modern .btn.primary {
  background-color: #fff;
  color: #e76f28;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.mini-cta-modern .btn.primary:hover {
  background-color: #fce2cc;
}

/* Optional Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero {
    height: 220px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .service-section,
  .service-section.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 16px;
  }

  .service-section img {
    max-width: 100%;
  }

  .content-left,
  .content-right {
    flex: 1 1 100%;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .service-subtext,
  .service-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .highlight-box {
    font-size: 0.95rem;
    padding: 14px 18px;
  }

  .soft-layer {
    padding: 40px 16px;
    margin: 0 10px;
  }

  .mini-cta-modern {
    padding: 40px 20px;
    margin: 30px 16px;
  }

  .mini-cta-modern h2 {
    font-size: 1.6rem;
  }

  .mini-cta-modern p {
    font-size: 1rem;
  }

  .mini-cta-modern .btn.primary {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: inline-block;
    font-size: 0.95rem;
    padding: 10px 24px;
  }
}