:root {
  --bg-1: #f3f7fb;
  --bg-2: #e8eef3;
  --panel: #ffffff;
  --panel-alt: #f6f9fc;
  --text: #1f2f3a;
  --muted: #4f6472;
  --line: #d8e2ea;
  --brand: #2e4f61;
  --brand-dark: #233c4a;
  --accent: #1f9d53;
  --shadow: 0 10px 26px rgba(25, 44, 57, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1) 0%, #f9fbfd 42%, #eef3f7 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

h1,
h2,
h3 {
  color: #152734;
  font-weight: 700;
}

p {
  color: #2f4553;
}

a {
  color: inherit;
}

.topnav {
  background: linear-gradient(120deg, #2d4f61 0%, #3d6176 100%);
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 10px 0 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.topnav a {
  display: block;
  color: #f2f6fa;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topnav a:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.topnav a.active {
  background-color: rgba(14, 28, 37, 0.35);
  color: #ffffff;
}

.CallMe {
  margin-left: auto;
  padding: 10px 14px;
  color: #ffffff;
  text-align: right;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 0;
  white-space: nowrap;
  font-weight: 600;
}

.CallMe i {
  color: #9be0b7;
}

.imglogo {
  width: 80%;
  max-width: 600px;
  height: auto;
  max-height: 200px;
  margin-top: 8px;
}

.site-header-contact .site-contact-text {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  line-height: 1.45;
  color: #1e3443;
  margin: 8px 0 0;
  font-weight: 600;
}

.logo img {
  display: block;
}

.logo h1 {
  text-align: center;
  padding-left: 0;
}

.h2 {
  text-align: center;
}

.Icons {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.WorkImg {
  width: 100%;
  max-width: 400px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(20, 40, 55, 0.12);
}

.NavImg {
  width: 80%;
  max-width: 300px;
  height: auto;
  max-height: 200px;
}

.asset-picture {
  display: block;
}

.heading,
.vision,
.mission,
.values,
.story,
.reason,
.team,
.contact-form-wrap,
.contact-details,
.contact-intro,
.works-title {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.section-card {
  max-width: 1220px;
  margin: 16px auto;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
}

.section-card-narrow {
  max-width: 1220px;
}

.heading {
  text-align: center;
  padding: 24px 20px;
  text-decoration: none;
  font-size: 17px;
  margin: 16px auto;
}

.heading p {
  text-align: center;
  padding-top: 8px;
  margin-bottom: 0;
}

.home-hero {
  background: linear-gradient(120deg, #eaf1f7 0%, #dfe9f1 100%);
  border-radius: 12px;
  margin: 18px auto 10px;
  max-width: 1220px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-hero-inner {
  max-width: 100%;
  padding: 36px 28px;
}

.hero-eyebrow {
  margin: 0 0 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  color: #2f556a;
}

.home-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.home-hero p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn,
input[type=submit] {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-btn:hover,
input[type=submit]:hover {
  transform: translateY(-1px);
}

.hero-btn-primary,
input[type=submit] {
  background-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(34, 63, 79, 0.24);
}

.hero-btn-primary:hover,
input[type=submit]:hover {
  background-color: var(--brand-dark);
}

.hero-btn-secondary {
  background-color: #ffffff;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.hero-btn-secondary:hover {
  background-color: #f2f6f9;
}

.section-contact-link {
  margin-top: 10px;
}

.services-grid,
.works-gallery,
.contact-layout,
.about-layout {
  max-width: 1220px;
  margin: 0 auto;
}

.works-layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 10px 28px;
}

.works-intro {
  text-align: center;
}

.works-intro p {
  max-width: 860px;
  margin: 8px auto 0;
}

.works-showcase {
  padding: 22px 18px 18px;
}

.services-section {
  padding: 22px 18px 18px;
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 10px;
}

.services-grid {
  padding: 6px 2px 12px;
  margin-top: 0;
}

.services-grid > div {
  background-color: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px 18px !important;
  box-shadow: var(--shadow);
}

.services-grid h3 {
  margin: 14px 0 8px;
}

.services-grid p {
  margin-bottom: 0;
}

.vision,
.mission,
.values,
.story,
.reason,
.team {
  text-align: justify;
  padding: 24px 20px;
  text-decoration: none;
  font-size: 17px;
}

.team {
  text-align: center;
}

.team p {
  padding-top: 12px;
  text-align: justify;
}

.team-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  margin: 0 auto;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(20, 40, 55, 0.12);
}

/* contact form styles */
.contact-form-wrap input:not([type=submit]),
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #bfd0dc;
  border-radius: 9px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  background-color: #ffffff;
}

#contactForm label {
  display: block;
  font-weight: 600;
  color: #243a49;
}

#contactForm input:not([type=submit]),
#contactForm select,
#contactForm textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
}

.contact-message {
  height: 200px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-question {
  margin: 4px 0 8px;
  font-weight: 600;
  color: #1f2f3a;
}

.field-error {
  min-height: 1.1em;
  margin: -8px 0 10px;
  color: #b32121;
  font-size: 0.9rem;
  line-height: 1.2;
}

#contactForm .field-invalid {
  border-color: #b32121 !important;
  box-shadow: 0 0 0 2px rgba(179, 33, 33, 0.15);
}

.contact-form-wrap {
  padding: 22px;
}

.contact-details {
  padding: 22px;
  height: 100%;
  background: var(--panel);
}

.contact-details h2 {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.65;
  margin: 0;
}

.contact-intro {
  text-align: center;
  max-width: 1220px;
  margin: 18px auto 20px;
  padding: 20px 16px;
}

.works-title {
  text-align: center;
  margin: 0 auto 6px;
  max-width: none;
  padding: 6px 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.works-panel {
  padding: 20px 18px 24px;
}

.works-gallery {
  padding: 8px 4px 6px;
  margin-top: 0;
}

.works-gallery > div {
  display: flex;
}

.work-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.work-item h3 {
  margin: 12px 0 6px;
  font-size: 1.1rem;
}

.work-item p {
  margin: 0;
}

.work-item .WorkImg {
  width: 100%;
  max-width: none;
  height: 230px;
}

.works-showcase .works-gallery > div {
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2px !important;
}

.plumbingList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plumbingList li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7em;
}

.plumbingList i {
  color: var(--brand);
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 3px;
}

.plumbingList .label {
  display: inline-block;
  width: 90px;
  font-weight: 700;
}

.plumbingList .text {
  flex: 1;
  line-height: 1.4;
}

.about-layout {
  padding: 0 14px 30px;
}

.about-layout .row,
.services-grid.row,
.works-gallery.row {
  margin-top: 0;
}

.about-layout .story,
.about-layout .reason {
  margin: 0 auto;
}

.reason .plumbingList li {
  gap: 10px;
}

.reason .plumbingList .label {
  width: 170px;
  min-width: 170px;
  margin-right: 0;
  line-height: 1.35;
}

.reason .plumbingList .text {
  line-height: 1.5;
}

.mobile-sticky-actions {
  display: none;
}

@media (max-width: 768px) {
  .home-page {
    padding-bottom: 86px;
  }

  .topnav {
    justify-content: center;
    margin: 8px 0 0;
    border-radius: 0;
  }

  .topnav a {
    flex: 0 0 50%;
    min-width: 0;
    padding: 13px 10px;
    font-size: 15px;
  }

  .CallMe {
    order: 10;
    margin-left: 0;
    width: 100%;
    text-align: center;
    font-size: 17px;
    padding: 10px 8px 12px;
    white-space: normal;
  }

  .imglogo {
    width: 92%;
    max-height: 140px;
  }

  .site-header-contact .site-contact-text {
    text-align: center;
    margin-top: 4px;
  }

  .home-hero {
    margin: 10px 10px 6px;
    border-radius: 10px;
  }

  .section-card {
    margin: 10px;
    padding: 16px 12px;
  }

  .home-hero-inner {
    padding: 22px 14px;
    text-align: center;
  }

  .home-hero p {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-btn {
    min-width: 148px;
    padding: 11px 16px;
  }

  .Icons {
    max-width: 230px;
    height: 230px;
    margin: 0 auto;
  }

  .team-photo {
    width: 220px;
    height: 220px;
  }

  .WorkImg {
    max-width: 100%;
    height: 220px;
  }

  .heading,
  .vision,
  .mission,
  .values,
  .story,
  .reason,
  .team,
  .contact-form-wrap,
  .contact-details,
  .contact-intro,
  .works-title {
    padding: 16px 12px;
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
  }

  .works-title {
    padding: 2px 0 0;
  }

  .heading h1,
  .heading h2,
  .heading h3 {
    line-height: 1.25;
  }

  .plumbingList .label {
    width: auto;
    min-width: 0;
    display: inline;
    margin-right: 4px;
  }

  .plumbingList li {
    margin-bottom: 1em;
  }

  .ps-5 {
    padding-left: 0.75rem !important;
  }

  .services-grid .col-sm-12,
  .works-gallery .col-sm-6 {
    text-align: center;
  }

  .about-layout h2,
  .about-layout h3 {
    text-align: center;
  }

  .reason {
    text-align: left;
    padding: 18px 14px;
  }

  .reason .plumbingList li {
    display: block;
    border-bottom: 1px solid #d7e0e7;
    padding: 8px 0;
  }

  .reason .plumbingList li:last-child {
    border-bottom: none;
  }

  .reason .plumbingList i {
    display: none;
  }

  .reason .plumbingList .label {
    display: block;
    margin: 0 0 2px;
    font-weight: 700;
  }

  .contact-layout {
    padding: 0 10px 22px;
  }

  .about-layout {
    padding: 0 10px 22px;
  }

  .works-layout {
    padding: 0 10px 22px;
  }

  .contact-details h2 {
    line-height: 1.5;
  }

  .mobile-sticky-actions {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1000;
    display: flex;
    gap: 10px;
  }

  .mobile-action {
    flex: 1;
    border-radius: 10px;
    text-align: center;
    padding: 12px 10px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .mobile-action.call {
    background-color: var(--brand-dark);
  }

  .mobile-action.whatsapp {
    background-color: var(--accent);
  }
}
