/* --- Global Styles --- */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #0d2049;
  line-height: 1.6;
}

/* --- Header --- */
header {
  background: #0d2049;
  padding: 20px;
  text-align: center;
  border-bottom: 4px solid #a30000;
}

header img {
  max-width: 120px;
  margin-bottom: 10px;
}

header h1 {
  margin: 10px 0;
  font-size: 2.2rem;
  color: #ffffff;
}

header p {
  margin: 0;
  font-size: 1.2rem;
  color: #ffcccb;
}

nav {
  margin-top: 15px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  font-size: 1rem;
}

nav a:hover {
  color: #ffcccb;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(13,32,73,0.9), rgba(13,32,73,0.9)), url('plumbing-bg.jpg') center/cover no-repeat;
  color: white;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

.hero button {
  padding: 15px 25px;
  background: #a30000;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 25px;
}

.hero button:hover {
  background: #ff0000;
}

/* --- Sections --- */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0d2049;
  border-bottom: 2px solid #a30000;
  display: inline-block;
  padding-bottom: 5px;
}

/* --- About & Why Choose --- */
.about, .why-choose {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.why-choose ul {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 1.1rem;
}

.why-choose li {
  margin: 10px 0;
  padding-left: 25px;
  position: relative;
}

.why-choose li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

/* --- Services --- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #a30000;
  margin-bottom: 10px;
}

/* --- Testimonials --- */
.testimonials {
  max-width: 800px;
  margin: auto;
}

.testimonial {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #a30000;
  border-radius: 5px;
  text-align: left;
}

.testimonial p {
  margin: 0;
  font-style: italic;
}

.testimonial h4 {
  margin-top: 10px;
  color: #0d2049;
}

/* --- Contact --- */
.contact {
  background: #0d2049;
  color: white;
  border-radius: 8px;
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

.contact h2 {
  color: white;
  border-bottom: 2px solid #a30000;
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  margin-top: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.whatsapp-btn:hover {
  background: #1ebe5c;
}

/* --- Footer --- */
footer {
  background: #0d2049;
  text-align: center;
  padding: 20px;
  border-top: 4px solid #a30000;
  color: white;
}

footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1000;
}

.floating-whatsapp:hover {
  background: #1ebe5c;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }
  header p {
    font-size: 1rem;
  }
  nav a {
    display: inline-block;
    margin: 8px;
    font-size: 0.95rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header img {
    max-width: 90px;
  }
  header h1 {
    font-size: 1.5rem;
  }
  .hero h2 {
    font-size: 1.4rem;
  }
  .hero button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  section h2 {
    font-size: 1.6rem;
  }
}
