:root {
  --primary: #007bff; /* Deep Blue */
  --accent: #00cc99; /* Bright Teal/Green */
  --white: #ffffff;
  --dark-blue: #0f172a;
  --text-dark: #1a2434;
  --text-light: #64748b;
  --light-bg: #f8fcfd;
}
.service-section {
  padding: 6rem 5%;
  overflow: hidden;
}

/* Common Header Styles */
.service-section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.service-section-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-dark);
}
.service-section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom Buttons (From previous design) */
.btn-service-cta {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  font-size: 1rem;
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  border: none;
}
.btn-service-cta:hover {
  background-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 204, 153, 0.4);
  color: var(--dark-blue);
  transform: translateY(-1px);
}

/* ------------------------------------------- */
/* --- 1. SERVICES HERO SECTION (Dark) --- */
/* ------------------------------------------- */
.services-hero {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #001f40 100%);
  color: var(--white);
  padding: 7rem 5%;
  text-align: center;
}
.services-hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.services-hero p {
  font-size: 1.5rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------- */
/* --- 2. CORE SERVICE CARDS (ETP, STP, WTP/RO) --- */
/* ------------------------------------------- */
.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.service-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}
.service-card ul {
  list-style: none;
  padding: 0;
}
.service-card ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-light);
}
.service-card ul li i {
  font-size: 0.9rem;
  margin-right: 8px;
  color: var(--primary);
}
.service-card .read-more {
  display: block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ------------------------------------------- */
/* --- 3. SPECIALIZED WATER SECTION (RO & Pool) --- */
/* ------------------------------------------- */
.specialized-services {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 6rem 5%;
}
.specialized-services .service-section-header h2 {
  color: var(--white);
}
.specialized-services .service-section-header p {
  color: var(--text-light);
}
.specialized-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.special-card {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.special-card h3 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.special-card p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}
.special-card ul li i {
  color: var(--accent);
}

/* ------------------------------------------- */
/* --- 4. CONSULTATION CTA --- */
/* ------------------------------------------- */
.consultation-cta {
  text-align: center;
  background-color: var(--white);
  padding: 4rem 5%;
  border-top: 5px solid var(--primary);
}
.consultation-cta h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.consultation-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* ------------------------------------------- */
/* --- RESPONSIVENESS --- */
/* ------------------------------------------- */
@media (max-width: 992px) {
  .services-hero h1 {
    font-size: 3rem;
  }
  .specialized-services-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }
  .service-section-header h2 {
    font-size: 2rem;
  }
  .service-card h3 {
    font-size: 1.5rem;
  }
  .special-card h3 {
    font-size: 1.6rem;
  }
}
