/* =======================================================
   FLOVANTIS SERVICE TEMPLATE STYLES
   Applies to: serviceTemplate.html and all derived pages
   ======================================================= */

/* --- HERO SECTION --- */
.sub-hero {
  background: linear-gradient(135deg, #0F5FFF, #0ABAB5);
  color: #ffffff;
  text-align: left;
  padding: 5rem 0;
}

.sub-hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.sub-hero .hero-icon {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.sub-hero .hero-text {
  flex: 1;
  min-width: 280px;
}

.sub-hero .hero-text h1 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.sub-hero .hero-text p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .sub-hero {
    text-align: center;
  }

  .sub-hero .hero-content {
    flex-direction: column;
    gap: 1rem;
  }

  .sub-hero .hero-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .sub-hero .hero-text h1 {
    font-size: 1.8rem;
  }

  .sub-hero .hero-text p {
    font-size: 1rem;
  }
}
