/* ============================= */
/* Reset (using modern minimal reset approach) */
/* ============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* ============================= */
/* Body */
/* ============================= */
body {
  font-family: "Arial", sans-serif;
  background: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================= */
/* Container */
/* ============================= */
.container {
  text-align: center;
  padding: 30px 20px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

/* ============================= */
/* Logo container to center logo */
/* ============================= */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto 20px auto;
  max-width: 200px;
  width: 100%;
}

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

/* ============================= */
/* Tagline with line spacing */
/* ============================= */
.tagline {
  font-size: 1.5rem;
  color: #333333;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: inherit;
}

.tagline-line {
  display: block;
  margin-bottom: 6px;
}

.tagline-line:last-child {
  margin-bottom: 0;
}

/* ============================= */
/* Featured Social Media Icons Section */
/* ============================= */
.featured-links {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 40px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 6px;
}

.featured-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.1s ease,
    box-shadow 0.25s ease;
}

.featured-link img {
  width: 80px; /* normal size */
  height: 80px; /* normal size */
  transition: transform 0.5s ease;
}

.featured-link span {
  margin-top: 5px;
  font-size: 14px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* Hover pop-up effect - DESKTOP */
.featured-link:hover {
  transform: translateY(-8px); /* pop up slightly */
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.featured-link:hover img {
  transform: scale(1.5);
}

.featured-link:hover span {
  transform: translateY(-5px) scale(1.1);
}
.featured-link:focus-visible {
  outline: 2px solid #2a7b62;
  outline-offset: 4px;
  border-radius: 12px;
}

/* ============================= */
/* Main Buttons Column */
/* ============================= */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  width: 45%;
  font-size: 1.1rem;
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
  border: 1.6px solid #cccccc;
  border-radius: 14px;
  font-weight: bold;
  transition:
    transform 0.2s,
    background-color 0.2s,
    color 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn i {
  font-size: 1.2rem;
}

.btn:hover {
  transform: scale(1.05);
  background-color: #ffc845;
  color: #ffffff;
}
.btn:focus-visible {
  outline: 2px solid #2a7b62;
  outline-offset: 3px;
}

/* ============================= */
/* CTA + How It Works            */
/* ============================= */
.cta-button {
  background: #2a7b62;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  padding: 12px 26px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.2s;
}
.cta-button:hover {
  background: #16624b;
  transform: translateY(-1px) scale(1.01);
}
.cta-button:focus-visible {
  outline: 2px solid #2a7b62;
  outline-offset: 3px;
}

.how-it-works {
  margin: 36px auto 0;
  width: 45%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1.5px solid #bbb;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.how-it-works:hover {
  border-color: #ffc107;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}
.how-summary {
  all: unset;
  display: block;
  cursor: pointer;
  padding: 18px 36px;
  font-size: 1.4rem;
  font-weight: bold;
  user-select: none;
  color: #000;
  text-align: center;
}
.how-summary::-webkit-details-marker {
  display: none;
}
.how-content {
  display: none;
  padding: 24px 36px;
}
.how-it-works[open] .how-content {
  display: block;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.how-card {
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 14px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.how-card.cta-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.how-card.cta-card .cta-button {
  width: 100%;
  margin-top: auto;
}
.how-card h3 {
  margin-bottom: 6px;
  color: #2a7b62;
  font-size: 1.05rem;
}
.service-area {
  margin-top: 14px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-block;
}

/* ============================= */
/* Footer */
/* ============================= */
footer {
  text-align: center;
  margin-top: 30px;
  padding: 30px 0;
  font-size: 0.85rem;
  color: #555;
  width: 100%;
}

/* ============================= */
/* Mobile View Adjustments       */
/* ============================= */
@media (max-width: 768px) {
  .logo-container {
    max-width: 150px;
    width: 70%;
    margin: 30px auto 15px auto;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .tagline-line {
    margin-bottom: 4px;
  }

  /* Featured links (social + contact icons) */
  .featured-links {
    gap: 12px; /* keep icons on one row */
    width: 100%;
    justify-content: space-between;
  }
  .featured-link img {
    width: 56px;
    height: 56px;
  }

  .featured-link span {
    font-size: 15px; /* text below icon smaller on mobile */
  }

  /* Buttons */
  .buttons {
    width: 100%;
  }

  .btn {
    width: 90%;
  }

  .cta-button {
    width: 100%;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }

  /* MOBILE ONLY: Brief hover + FORCE reset after click */
  .featured-link {
    transition: all 0.06s ease !important; /* ultra-fast */
  }

  .featured-link img,
  .featured-link span {
    transition: all 0.06s ease !important;
  }

  /* Show brief hover on tap */
  .featured-link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  }

  .featured-link:hover img {
    transform: scale(1.15) !important;
  }

  .featured-link:hover span {
    transform: translateY(-1px) scale(1.02) !important;
  }

  /* CRITICAL: Force reset states with HIGHEST specificity */
  .featured-link:active,
  .featured-link:focus,
  .featured-link:focus-within,
  .featured-link:visited,
  body .featured-link:hover:active,
  body .featured-link:hover:focus {
    transform: none !important;
    box-shadow: none !important;
  }

  .featured-link:active img,
  .featured-link:focus img,
  .featured-link:focus-within img,
  .featured-link:visited img,
  body .featured-link:hover img:active,
  body .featured-link:hover img:focus {
    transform: none !important;
  }

  .featured-link:active span,
  .featured-link:focus span,
  .featured-link:focus-within span,
  .featured-link:visited span,
  body .featured-link:hover span:active,
  body .featured-link:hover span:focus {
    transform: none !important;
  }
}
.how-it-works {
  width: 90%;
}
.how-summary {
  padding: 14px 24px;
  font-size: 1.2rem;
  text-align: center;
}
.how-content {
  padding: 18px 24px;
}
