body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff;
  color: #333;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for header */
}

.social-media {
  display: flex;
  gap: 20px; /* Increased gap for social media icons */
}

.social-media a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.social-media a i {
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.social-media a .tiktok-icon {
  width: 24px;
  height: 24px;
  fill: #000000;
  display: block;
}

.social-media a:hover {
  transform: translateY(-2px);
}

.social-media a:hover i {
  transform: rotateY(360deg);
}

.logo {
  text-align: center;
}

.logo {
  position: relative;
}

.logo a {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.social-media {
  justify-self: start;
}

.contact-info {
  justify-self: end;
}

.logo img {
  max-height: 300px;
}

.contact-info {
  text-align: right;
}

.contact-info h3 {
  font-size: 18px;
}

nav {
  background-color: #ffffff;
  padding: 10px 40px;
  display: flex;
  justify-content: center;
  position: relative;
  border-bottom: none; /* Removed line from the nav */
}

.site-nav {
  align-items: center;
  gap: 18px;
}

  .nav-toggle-wrap {
    display: none;
    align-items: center;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid #ffc30b;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    color: #ffc30b;
    font-size: 20px;
    font-weight: 700;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #005243;
    margin: 0 auto;
    border-radius: 2px;
  }

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

nav a {
  color: #333;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover,
nav a:focus {
  color: #005243;
  opacity: 0.8;
}

.logo a,
.contact-info a {
  text-decoration: none;
  color: #005243;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.logo a:hover,
.logo a:focus,
.contact-info a:hover,
.contact-info a:focus {
  color: #005243;
  opacity: 0.8;
  text-decoration: underline;
  text-decoration-color: #ffe680;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.magic-line {
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 3px;
  background-color: #ffe680;
  border-radius: 2px;
  width: 0;
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}

.service-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.service-hero {
  max-width: 1200px;
  margin: 0 auto;
}

.service-hero h1 {
  text-align: center;
  font-size: 36px;
  color: #333;
  margin: 10px 0 40px;
}

.service-hero-tagline {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 36px;
  color: #333;
  text-decoration: none;
  margin: 0 0 12px;
}

.service-hero-tagline-phone {
  text-decoration: none;
  color: inherit;
}

.service-hero-tagline-phone:hover,
.service-hero-tagline-phone:focus {
  text-decoration: underline;
  text-decoration-color: #ffe680;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.service-hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.service-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 520px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.service-image {
  flex: 0 0 520px;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.service-image.placeholder {
  height: 320px;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8e3dc, #f7f4f0);
  border: 2px dashed rgba(0, 0, 0, 0.08);
}

.service-section {
  max-width: 1200px;
  margin: 0 auto 50px;
}

.service-section h2 {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin: 40px 0 24px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-mini-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.service-mini-card .check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffe680;
  color: #333;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-mini-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #333;
}

.service-mini-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.service-wide-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.service-wide-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #333;
}

.discounts-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.discounts-hero {
  max-width: 1200px;
  margin: 0 auto 30px;
}

.discounts-hero h1 {
  font-size: 32px;
  color: #005243;
  margin: 0 0 12px;
}

.discounts-hero p {
  font-size: 16px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

.discounts-section {
  max-width: 1200px;
  margin: 0 auto 30px;
}

.discounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.discount-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #f0f0f0;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  min-height: 420px;
}

.discount-badge {
  align-self: center;
  background-color: #f7f4f0;
  color: #005243;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.discount-title {
  font-size: 20px;
  color: #005243;
  margin: 0;
}

.discount-subtitle {
  font-size: 14px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

.discount-image-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  background: #c7cfd8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.discount-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #c7cfd8;
}

.rebates-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.rebates-hero {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.rebates-hero h1 {
  font-size: 32px;
  color: #005243;
  margin: 0 0 12px;
}

.rebates-hero p {
  font-size: 16px;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

.rebates-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rebate-card {
  background-color: #f4f1ee;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}

.rebate-image {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e3dc, #ffffff);
}

.rebate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rebate-content h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #005243;
}

.rebate-amount {
  font-size: 20px;
  font-weight: 700;
  color: #005243;
  margin: 0 0 8px;
}

.rebate-content p {
  margin: 0 0 10px;
  color: #444;
  line-height: 1.6;
  font-size: 15px;
}

.rebate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rebate-button {
  background-color: #005243;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}

.rebate-link {
  color: #005243;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.rebate-link:hover,
.rebate-link:focus {
  text-decoration: underline;
}

.rebates-note {
  max-width: 900px;
  margin: 24px auto 0;
  background-color: #fff5f5;
  border: 1px solid #ffe3e3;
  color: #a63a3a;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 700px) {
  .rebate-card {
    grid-template-columns: 1fr;
  }
}

.plumbing-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.plumbing-section {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.plumbing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.plumbing-hero-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.plumbing-hero-card h1 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #005243;
}

.plumbing-hero-card p {
  margin: 0 0 16px;
  color: #444;
  line-height: 1.6;
}

.plumbing-hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #444;
  font-size: 14px;
}

.plumbing-hero-list li::before {
  content: "✓";
  color: #005243;
  font-weight: 700;
  margin-right: 8px;
}

.plumbing-hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.plumbing-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plumbing-hero-cta {
  margin-top: 18px;
  text-align: center;
}

.plumbing-hero-cta a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #005243;
  color: #005243;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.plumbing-process {
  background-color: #ffffff;
  color: #333;
  padding: 50px 20px;
  margin-top: 40px;
}

.plumbing-process h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 24px;
}

.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.process-card {
  background-color: #f7f4f0;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: #ffe680;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 12px;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.process-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.plumbing-premium {
  text-align: center;
  margin-top: 50px;
}

.plumbing-premium h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #333;
}

.plumbing-premium p {
  margin: 0 auto 24px;
  max-width: 720px;
  color: #555;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.premium-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.premium-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #005243;
}

.premium-card ul {
  margin: 0;
  padding-left: 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card-compact {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-compact img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.service-card-compact h4 {
  margin: 0;
  font-size: 16px;
  color: #005243;
}

.service-card-compact p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.choose-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.choose-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffe680;
  color: #2f2f2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.plumbing-team {
  background-color: #ffffff;
  color: #333;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}

.plumbing-team img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  height: 100%;
}

.plumbing-team h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.plumbing-team p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

.plumbing-team-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.plumbing-team-actions a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.plumbing-team-actions .primary {
  background-color: #005243;
  color: #ffffff;
}

.plumbing-team-actions .secondary {
  border: 2px solid #005243;
  color: #005243;
}

.knob-page {
  background-color: #ffffff;
  padding: 60px 20px;
}

.knob-section {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.knob-hero {
  text-align: center;
  margin-bottom: 30px;
}

.knob-hero h1 {
  font-size: 28px;
  color: #005243;
  margin: 0;
}

.knob-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.knob-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.knob-card h2 {
  font-size: 18px;
  color: #005243;
  margin: 0 0 10px;
}

.knob-card p {
  margin: 0 0 12px;
  color: #444;
  line-height: 1.6;
  font-size: 14px;
}

.knob-image-placeholder {
  border-radius: 20px;
  background: #f7f4f0;
  border: 2px dashed rgba(0, 0, 0, 0.08);
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.knob-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.knob-problems {
  display: grid;
  gap: 16px;
}

.knob-problem-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.knob-problem-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #005243;
}

.knob-problem-card p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

.knob-cta {
  text-align: center;
  margin-top: 24px;
}

.knob-cta a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: #005243;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.knob-process {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.knob-process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.knob-process-item:last-child {
  border-bottom: none;
}

.knob-process-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffe680;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.knob-process-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #005243;
}

.knob-process-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 14px;
}

.knob-visual {
  text-align: center;
}

.knob-visual p {
  color: #555;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.6;
  font-size: 14px;
}

.knob-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.knob-gallery-item {
  background: #f7f4f0;
  border-radius: 14px;
  border: 2px dashed rgba(0, 0, 0, 0.08);
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.knob-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.knob-photos-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}

.knob-photos-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #005243;
}

.knob-photos-card ul {
  margin: 0;
  padding-left: 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

.knob-info {
  max-width: 900px;
  margin: 0 auto 30px;
}

.knob-info h2 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #005243;
}

.knob-info p {
  margin: 0 0 12px;
  color: #444;
  line-height: 1.6;
  font-size: 14px;
}

.knob-contact {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}

.knob-contact h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #005243;
}

.knob-contact p {
  margin: 0 0 20px;
  color: #555;
  font-size: 14px;
}

.knob-contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 12px;
}

.knob-contact-form {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid #ffe680;
}

.knob-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.knob-form-field {
  display: flex;
  flex-direction: column;
}

.knob-form-full {
  grid-column: 1 / -1;
}

.knob-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.knob-contact-form input,
.knob-contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 0;
  font-size: 14px;
  box-sizing: border-box;
}

.knob-contact-form button {
  padding: 10px 18px;
  border-radius: 10px;
  background-color: #ffe680;
  color: #333;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
}

.knob-form-disclaimer {
  margin: 12px 0 0;
  font-size: 7px;
  color: #777;
}

.knob-contact-info {
  background-color: #ffffff;
  color: #333;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border: 1px solid #ffe680;
}

.contact-page .knob-contact-card {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-page .knob-contact-form {
  max-width: 900px;
}

.knob-contact-info p {
  margin: 0 0 12px;
  color: #555;
}

.knob-contact-info a {
  color: #005243;
  text-decoration: none;
}

@media (max-width: 768px) {
  .knob-contact-card {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .knob-form-grid {
    grid-template-columns: 1fr;
  }
  .knob-contact-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .knob-intro {
    grid-template-columns: 1fr;
  }
  .knob-image-placeholder {
    height: 200px;
  }
}

@media (max-width: 900px) {
  .plumbing-hero {
    grid-template-columns: 1fr;
  }
  .plumbing-team {
    grid-template-columns: 1fr;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown .dropbtn {
  display: inline-block;
  position: relative;
  padding-right: 18px;
}

.dropdown .dropbtn::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffc30b;
  transition: transform 0.2s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  z-index: 5;
}

.dropdown-content a {
  display: block;
  margin: 0;
  padding: 8px 20px;
  font-size: 16px;
  color: #005243;
  white-space: nowrap;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: #ffe680;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url("hero-image.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-text {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  margin-right: 50px;
  max-width: 400px;
  text-align: left;
}

.hero-text h1 {
  font-size: 36px;
  color: #005243;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
}

.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.home .section {
  margin: 0 auto 120px;
}

.section:nth-child(odd) {
  flex-direction: row;
  /* background-color: #f9f9f9; */
}

.section:nth-child(even) {
  flex-direction: row-reverse;
  /* background-color: #f9f9f9; */
}

.text,
.image {
  flex: 1 1 50%;
}

.text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #005243;
}

.text p {
  font-size: 16px;
  line-height: 1.6;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

footer {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  padding: 20px;
  /* border-top: 1px solid #e0e0e0; */
}

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .social-media,
  .contact-info {
    margin: 10px 0;
  }

  .social-media {
    order: 1;
    justify-content: center;
  }

  .logo {
    order: 2;
  }

  .contact-info {
    order: 3;
    text-align: center;
  }

  .contact-info h3 {
    margin: 0;
  }

  .site-nav {
    flex-direction: column;
    gap: 12px;
    padding: 10px 20px;
  }

  .nav-toggle-wrap {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 6px;
  }

  .site-nav.open .nav-links {
    display: flex;
  }

  nav a {
    margin: 6px 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 0;
    background: transparent;
    padding: 4px 0 8px;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown.open .dropbtn::after {
    transform: rotate(180deg);
  }

  .dropdown-content a {
    padding: 6px 22px;
    white-space: normal;
  }

  .dropdown-content.electrical-dropdown a,
  .dropdown-content.hvac-dropdown a,
  .dropdown-content.plumbing-dropdown a,
  .dropdown-content.prices-dropdown a {
    font-size: 14px;
  }

  .nav-open {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
  }

  .nav-close {
    display: none;
    line-height: 1;
  }

  .site-nav.open .nav-open {
    display: none;
  }

  .site-nav.open .nav-close {
    display: inline-flex;
  }
  .section {
    flex-direction: column !important;
    text-align: center;
  }

  .text,
  .image {
    flex: 1 1 100%;
  }

  .hero {
    height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }

  .hero-text {
    margin: 0;
    max-width: 100%;
  }

  .logo img {
    max-height: 200px;
  }

  nav {
    padding: 10px 20px;
  }

  .section {
    padding: 40px 20px;
    gap: 24px;
  }

  .text h2 {
    font-size: 24px;
  }

  .text p {
    font-size: 15px;
  }

  .service-hero h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .service-hero-tagline {
    font-size: 28px;
  }

  .service-hero-content {
    flex-direction: column;
    gap: 24px;
  }

  .service-card {
    max-width: 100%;
  }

  .service-image {
    flex: 1 1 auto;
    width: 100%;
  }

  .service-section h2 {
    font-size: 24px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px 20px !important;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero .image,
  .hero .hero-text {
    flex: 1 1 100% !important;
  }

  .plumbing-section {
    margin-bottom: 30px;
  }

  .plumbing-hero-card {
    padding: 22px;
  }

  .plumbing-hero-list {
    grid-template-columns: 1fr;
  }

  .plumbing-hero-image img {
    height: auto;
  }

  .plumbing-team {
    text-align: center;
  }

  .plumbing-team-actions {
    justify-content: center;
  }

  .process-card {
    min-height: 0;
  }

  .discount-card {
    min-height: 0;
  }

  .discount-image-placeholder {
    height: 200px;
  }

  #thumbnailRow img {
    width: 60px !important;
  }

  #similarItems {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 520px) {
  .logo img {
    max-height: 140px;
  }

  nav a {
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 15px;
  }

  #thumbnailRow img {
    width: 52px !important;
  }

  #similarItems,
  .shop-grid {
    grid-template-columns: 1fr !important;
  }

  .plumbing-hero-card h1 {
    font-size: 24px;
  }

  .plumbing-premium h2 {
    font-size: 22px;
  }

  .discount-image-placeholder {
    height: 180px;
  }
}
