/* modern css design system */
:root {
  --primary: #0284c7;      /* light blue */
  --primary-hover: #0369a1;
  --secondary: #f97316;    /* plumbing orange */
  --secondary-hover: #ea580c;
  --dark: #0f172a;         /* tailwind slate-900 */
  --light: #f8fafc;        /* tailwind slate-50 */
  --gray: #64748b;         /* tailwind slate-500 */
  --border: #e2e8f0;       /* tailwind slate-200 */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-title);
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-1px);
}

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

/* Hero Section */
.hero {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(249, 115, 22, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

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

.hero-content p {
  font-size: 1.125rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.hero-feature-item svg {
  color: #25d366;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}

/* Sections */
section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background-color: white;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* About Us Section */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-title);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--dark);
  font-weight: 600;
}

/* Services Section */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.25rem 1.75rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link:hover {
  color: var(--secondary);
}

/* Service Regions Section */
.regions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.city-group {
  margin-bottom: 3rem;
}

.city-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  color: var(--primary);
}

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

.district-card {
  background: var(--light);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  font-weight: 600;
  transition: var(--transition);
}

.district-card:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Neighborhood List inside District Pages */
.neighborhood-section {
  max-width: 1200px;
  margin: 3rem auto 0;
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.neighborhood-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.neighborhood-link {
  font-size: 0.9rem;
  padding: 0.6rem;
  background: var(--light);
  border-radius: 8px;
  display: block;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  font-weight: 500;
}

.neighborhood-link:hover {
  background: rgba(2, 132, 199, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

/* Reviews Section */
.reviews-container {
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.review-card:hover {
  background: white;
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-info h4 {
  font-size: 1.05rem;
  color: var(--dark);
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--gray);
}

.stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.review-body {
  font-size: 0.925rem;
  color: var(--gray);
}

.reviews-more-container {
  text-align: center;
  margin-top: 3rem;
}

.review-hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.review-show {
  display: block !important;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Section & Form */
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--primary);
  color: white;
  padding: 3rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-card p {
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.contact-detail-text p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 1;
}

.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.form-checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.form-checkbox-group input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.825rem;
  color: var(--gray);
  line-height: 1.4;
}

.checkbox-label a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Legal Page Content */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-container h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.25rem;
  color: var(--gray);
}

.legal-content ul {
  padding-left: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr repeat(3, 0.7fr);
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
}

.footer-info h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: white;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-bottom a:hover {
  color: white;
}

/* Mobile responsive menu */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .nav-buttons {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Article Layout Styles */
.seo-article {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.seo-article h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-article p {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.seo-article-img {
  border-radius: 16px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.seo-article-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .seo-article {
    padding: 2rem 1.5rem;
  }
  .seo-article h3 {
    font-size: 1.4rem;
  }
}

/* Sticky Floating Contact Bar Styles */
.sticky-contact-bar {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.sticky-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  color: white;
  cursor: pointer;
  border: 2px solid white;
}

.sticky-btn-phone {
  background-color: var(--secondary);
}
.sticky-btn-phone:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
}

.sticky-btn-whatsapp {
  background-color: #25d366;
}
.sticky-btn-whatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
}

.sticky-btn svg {
  display: block;
}

.sticky-text-mobile {
  display: none;
}

@media (max-width: 768px) {
  .sticky-contact-bar {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
  }

  .sticky-btn {
    flex: 1;
    border-radius: 12px;
    height: 48px;
    width: auto;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    margin: 0 4px;
    font-family: var(--font-title);
  }

  .sticky-text-mobile {
    display: inline-block;
  }

  body {
    padding-bottom: 70px; /* Prevent floating bar from hiding footer text */
  }
}


