/* Professional Water Line Leak Repair Website Styles */
:root {
  --primary: #0a4d68;
  --primary-dark: #083d52;
  --secondary: #088395;
  --accent: #05bfdb;
  --light: #f8fafc;
  --dark: #1e293b;
  --text: #334155;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top a {
  color: var(--white);
  font-weight: 600;
}

.header-top a:hover {
  color: var(--accent);
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo svg {
  width: 48px;
  height: 48px;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo .tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
}

.nav a:hover, .nav a.active {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav a:hover::after, .nav a.active::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.cta-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-btn.large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="80" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: cover;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Sections */
section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Why Us */
.why-us {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  margin-bottom: 25px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-about p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-cities {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--secondary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.breadcrumb {
  font-size: 0.95rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--accent);
}

/* Content */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.6rem;
}

.content-section h3 {
  color: var(--secondary);
  margin: 25px 0 12px;
}

.content-section p, .content-section ul {
  margin-bottom: 15px;
}

.content-section ul {
  padding-left: 25px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Service Areas */
.cities-search {
  margin-bottom: 30px;
  text-align: center;
}

.cities-search input {
  width: 100%;
  max-width: 500px;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s;
}

.cities-search input:focus {
  border-color: var(--secondary);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.city-link {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s;
}

.city-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .about-content {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .header-top .container {
    justify-content: center;
    text-align: center;
  }
}

/* ===== Enhanced Animations & Cursor Effects ===== */
a, button, .cta-btn, .service-card, .city-link, .feature {
  cursor: pointer;
}

.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.cta-btn:hover::after {
  width: 300px;
  height: 300px;
}

.service-card, .feature, .process-step, .benefit-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover, .feature:hover, .benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Fade-in on scroll feel via CSS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.process-step {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
  position: relative;
}

.process-step .step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 18px;
}

.process-step h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.benefit-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}

.benefit-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Two column content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.two-col img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Signs list */
.signs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.sign-item {
  background: #f0f9ff;
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 3px solid var(--accent);
  transition: background 0.3s;
}

.sign-item:hover {
  background: #e0f2fe;
}

.sign-item span {
  font-size: 1.3rem;
}

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.related-link {
  background: var(--white);
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.related-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

/* FAQ style */
.faq-item {
  background: var(--white);
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item h4 {
  padding: 18px 22px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--text);
}

/* Soft background sections */
.bg-light {
  background: #f1f5f9;
}

.bg-white {
  background: var(--white);
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}


.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 8px;
  padding: 8px 0;
}
.dropdown-content a {
  color: #1e293b;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
}
.dropdown-content a:hover { background: #f1f5f9; color: #0a4d68; }
.dropdown:hover .dropdown-content { display: block; }
.nav .dropdown > a { display: flex; align-items: center; gap: 4px; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr !important; }
}

