:root {
  --font: 'Lexend', sans-serif;
  --bg-color: #fffdf8;
  --primary-color: #00498a;
  --secondary-color: #01abe8;
  --accent-color: #fd9325;
  --accent-color-2: #828687;
  --text-color: #024687;
}

h3 {
  font-family: var(--font);
  font-size: 1.5rem;
  color: var(--text-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  background-color: var(--bg-color);
}

header {
  width: 100%;
  height: 90px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--header-margin, 20px);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  color: var(--primary-color);
}

footer .a {
  text-decoration: none;
  color: var(--primary-color);
}

footer a:visited {
  color: var(--primary-color);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 30px;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-link {
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font);
}

.logo-link h3 {
  color: var(--accent-color);
  font-size: 2rem;
}

.logo p {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 300;
}

.desktop-nav {
  display: flex;
  margin-left: 40px;
}

.desktop-nav a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  margin: 0 25px;
}

.desktop-nav a:hover,
.contact-info a:hover {
  /* text-decoration: underline 2px;
  text-underline-offset: 0.2em; */
  color: var(--accent-color);
}

.hero {
  background-color: var(--header-color);
  min-height: 35vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding: 10px 0;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  width: 50%;
  box-sizing: border-box;
}

.hero-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.hero-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

.hero-image img {
  width: auto;
  height: 250px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: -1.5px;
  text-wrap: balance;
}

.hero h4 {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 350;
}

.cta-button-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.cta-button-1 button {
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 7px;
}

.service-section {
  display: grid;
  gap: 1.5rem;
  padding: 25px;
  background-image: 
    linear-gradient(to right, rgba(255,253,248,1) 15%, rgba(255,253,248, 0.3) 70%, rgba(255,253,248,0) 100%),
    url('/public/images/water_tap.jpg');
  background-size: 1200px;
  background-position: right;
  background-repeat: no-repeat;
}

.card {
  width: 35%;
  margin-left: 70px;
  background-color: rgba(201, 238, 255, 0.45);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h2 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.card p, li {
  list-style-position: inside;
  font-size: 1.1rem;
  font-weight: 300;
}

.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  height: 70px;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  background-color: var(--primary-color);
  width: 75%;
  max-width: 300px;
  text-align: right;
  padding: 10px 20px;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav a {
  color: white;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav.show {
  display: flex;
  transform: translateX(0);
}

.call-button,
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 15px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.call-button {
  right: 20px;
  background-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.whatsapp-button {
  left: 20px;
  background-color: #25D366;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.whatsapp-button img {
  height: 22px;
  width: auto;
}

.call-button.show,
.whatsapp-button.show {
  opacity: 1;
  pointer-events: auto;
}

.call-button img {
  height: 22px;
  width: auto;
}

@media (max-width: 1024px) {
  hr {
    margin-top: 20px;
  }

  .call-button {
    display: none !important;
  }

  .whatsapp-button {
    display: none !important;
  }

  .card {
    width: 65%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  header, footer {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 10px 15px;
  }

  nav {
    display: none;
  }

  hr {
    margin-top: 22px;
  }

  .container {
    flex-direction: row;
    align-items: center;
    text-align: center;
    padding: 0 15px;
  }

  .desktop-nav {
    flex-direction: column;
    margin-left: 0;
    margin-top: 10px;
  }

  .desktop-nav a {
    margin: 8px 0;
  }

  .hamburger {
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: center;
  }

  .desktop-nav {
    display: none;
  }

  .desktop-nav a {
    margin: 8px 0;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--primary-color);
    width: 100%;
    text-align: right;
    padding: 10px 20px;
    z-index: 10;
  }

  .mobile-nav.show {
    display: flex;
  }

  .mobile-nav a {
    color: white;
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }

  .hero {
    height: 80vh;
    padding: 10px;
  }

  .hero h2 {
    font-size: 2rem;
    padding: 0 10px;
  }

  .logo {
    padding: 0;
  }

  .hero-header {
    padding: 10px 0 0 0;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .hero-image img {
    height: 180px;
  }

  .card {
    width: 85%;
  }

  .cta-button-1 {
    margin-top: 0;
  }

  .cta-button-1 button {
    font-size: 20px;
    padding: 12px 24px;
  }

  .call-button, .whatsapp-button {
    font-size: 18px;
    padding: 14px 26px;
  }

  .service-section {
    background-image: url('/public/images/water_tap.jpg');
    background-position: 35% 60%;
  }

  .card {
    width: 100%;
    background-color: rgba(255, 253, 248, 0.65);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    border-radius: 10px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
  }

  .card h2 {
    font-size: 1.3rem;
    text-wrap-style: auto;
  }

  .card p, li {
    font-size: 1rem;
  }
}