/* === RESET === */


body {
  font-family: 'Poppins', sans-serif;
  background-color: #ecfdf5;
  color: #1f2937;
  line-height: 1;
  overflow-x: hidden;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* === HOMEPAGE HERO === */
.homepage {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(to bottom right, #10b981, #0f766e);
  color: white;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.homepage-text h2 {
  font-size: 38px;
  font-weight: 800;
}

.hero-text-line1 {
  display: block;
  font-size: 20px;
  font-weight: 400;
}

.hero-text-line2 {
  display: block;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tagline {
  font-size: 18px;
  margin-bottom: 16px;
  color: #d1fae5;
}

.highlight {
  color: #ecfdf5;
  font-weight: 600;
}

/* === HELP SECTION === */
.help-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.help-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 30px;
}

/* === SEARCH BAR === */
.search-bar-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 40px;
}

.search-bar-container input[type="search"] {
  width: 100%;
  padding: 14px 48px 14px 16px;
  border: 2px solid #10b981;
  border-radius: 10px;
  font-size: 16px;
  background-color: #f0fdf4;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
}


.view-all-container {
  text-align: center;
  margin-top: 15px;
}

.view-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #10B981; /* Handy People green */
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-all-btn:hover {
  background-color: #059669; /* darker green */
}


/* === DROPDOWN RESULTS === */
.search-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 10px 10px;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.search-dropdown div {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-dropdown div:hover {
  background-color: #d1fae5;
}

/* === APP PROMOTION === */
.app-promotion {
  background: #ffffff;
  padding: 60px 20px;
}

.app-promotion-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-content {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.app-content h2 {
  font-size: 28px;
  color: #065f46;
  margin-bottom: 16px;
}

.app-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #475569;
}

.app-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.store-button {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  background-color: #d1fae5;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease;
}
.store-button:hover {
  background-color: #bbf7d0;
}

.store-button img {
  height: 40px;
}

.coming-soon-text {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #10b981;
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-image img {
  width: 100%;
  max-width: 420px;
  object-fit: contain;
}

/* === FAQ SECTION === */
.faq-section {
  background-color: #ffffff;
  padding: 60px 20px;
  border-top: 1px solid #d1fae5;
}

.faq-title {
  font-size: 28px;
  color: #065f46;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 8px;
  border: 1px solid #d1fae5;
  background-color: #f0fdf4;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #065f46;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #d1fae5;
}

.faq-answer {
  padding: 0 20px 16px 20px;
  font-size: 15px;
  color: #475569;
  display: none; /* Controlled with JS */
  line-height: 1.5;
}


/* === JOHN HAGER SECTION === */
.john-hager-section {
  background: #ecfdf5;
  padding: 60px 20px;
}

.john-hager-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.john-hager-image img {
  max-width: 240px;
  border-radius: 12px;
}

.john-hager-text {
  flex: 1;
}

.john-hager-text h2 {
  font-size: 26px;
  margin-bottom: 16px;
  color: #065f46;
}

.john-hager-text p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 16px;
}

.john-hager-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}

.john-hager-link:hover {
  text-decoration: underline;
}

/* === REVIEWS === */
.reviews-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.reviews-section h2 {
  font-size: 26px;
  margin-bottom: 30px;
  color: #065f46;
}

.reviews-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.review-card {
  background-color: #f0fdf4;
  padding: 16px;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.review-text {
  font-style: italic;
  font-size: 14px;
  color: #334155;
}

.review-author {
  margin-top: 8px;
  font-weight: bold;
  color: #0f766e;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background-color: #f1f5f9;
  color: #64748b;
}

footer a {
  color: #0f766e;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

  
  @media (max-width: 1024px) {
  .homepage-text h2 {
    font-size: 28px;
  }

  .hero-text-line1 {
    font-size: 18px;
  }

  .hero-text-line2 {
    font-size: 28px;
  }

  .tagline {
    font-size: 16px;
  }

  .help-section h2,
  .app-content h2,
  .john-hager-text h2,
  .reviews-section h2 {
    font-size: 24px;
  }

  .faq-section {
    padding: 50px 20px;
  }

  .faq-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .faq-question {
    font-size: 15px;
    padding: 14px 18px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 18px 14px 18px;
  }

    .app-buttons {
    justify-content: left;
    gap: 16px;
    flex-wrap: wrap;
    width: 50%;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 10px;
  }

  .store-button {
    flex: 1 1 45%;
    max-width: 240px;
    text-align: center;
  }

  .store-button img {
    height: 38px;
  }


  .app-content p,
  .john-hager-text p {
    font-size: 15px;
  }

  .app-promotion-container,
  .john-hager-flex {
    gap: 30px;
  }

  .review-card {
    width: 280px;
  }

  footer {
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .container {
    padding: 24px 16px;
  }

  .homepage-text h2 {
    font-size: 22px;
  }

  .hero-text-line1 {
    font-size: 16px;
  }

  .hero-text-line2 {
    font-size: 22px;
  }

  .tagline {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .help-section {
    padding: 40px 16px;
  }

  .help-section h2,
  .app-content h2,
  .john-hager-text h2,
  .reviews-section h2 {
    font-size: 20px;
  }

   .faq-section {
    padding: 40px 16px;
  }

  .faq-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-question {
    font-size: 14px;
    padding: 12px 14px;
  }

  .faq-answer {
    font-size: 13px;
    padding: 0 14px 12px 14px;
  }

  .faq-question i {
    font-size: 12px;
  }

   .app-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .store-button {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
  }

  .store-button img {
    height: 36px;
    width: auto;
  }

  .coming-soon-text {
    font-size: 11px;
  }

  .app-content p,
  .john-hager-text p {
    font-size: 14px;
  }

  .search-bar-container input[type="search"] {
    font-size: 15px;
    padding: 12px 42px 12px 14px;
  }

  .app-promotion-container,
  .john-hager-flex {
    flex-direction: column;
    gap: 24px;
  }

 .app-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 60%;
  max-width: 100%;
  padding: 0 30px;
  flex-wrap: wrap;
}

.store-button {
  flex: 1 1 auto;           /* ✅ Shrink and grow as needed */
  width: 100%;              /* ✅ Full width of parent */
  max-width: 320px;         /* ✅ Limit max size for nicer spacing */
  text-align: center;
  padding: 12px 16px;
  box-sizing: border-box;
}

.store-button img {
  max-width: 100%;
  height: auto;
}


  .john-hager-image img {
    max-width: 100%;
  }

  .reviews-container {
    gap: 16px;
  }

  .review-card {
    width: 100%;
  }

  footer {
    padding: 16px;
    font-size: 13px;
  }
}


@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  .container {
    padding: 20px 12px;
  }

  /* Homepage hero */
  .homepage {
    padding: 28px 14px;
  }
  .homepage-text h2 {
    font-size: 20px;
  }
  .hero-text-line1 {
    font-size: 14px;
  }
  .hero-text-line2 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .tagline {
    font-size: 13px;
    margin-bottom: 10px;
  }

  /* Help section */
  .help-section {
    padding: 28px 14px;
  }
  .help-section h2 {
    font-size: 18px;
  }

  /* Search bar */
  .search-bar-container input[type="search"] {
    font-size: 14px;
    padding: 10px 38px 10px 12px;
  }

  /* App promotion */
  .app-promotion {
    padding: 28px 14px;
  }
  .app-promotion-container {
    flex-direction: column;
    gap: 20px;
  }
  .app-content h2 {
    font-size: 18px;
  }
  .app-content p {
    font-size: 13px;
  }
  .app-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 0;
  }
  .store-button {
    width: 100%;
    max-width: 280px;
    padding: 10px 14px;
  }
  .store-button img {
    height: 34px;
  }
  .coming-soon-text {
    font-size: 10px;
  }

  /* FAQ */
  .faq-section {
    padding: 28px 14px;
  }
  .faq-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .faq-question {
    font-size: 13px;
    padding: 10px 12px;
  }
  .faq-answer {
    font-size: 12px;
    padding: 0 12px 10px 12px;
  }

  /* John Hager section */
  .john-hager-section {
    padding: 28px 14px;
  }
  .john-hager-flex {
    flex-direction: column;
    gap: 20px;
  }
  .john-hager-text h2 {
    font-size: 18px;
  }
  .john-hager-text p {
    font-size: 13px;
  }

  /* Reviews */
  .reviews-section {
    padding: 28px 14px;
  }
  .reviews-section h2 {
    font-size: 18px;
  }
  .reviews-container {
    gap: 14px;
  }
  .review-card {
    width: 100%;
    padding: 14px;
  }

  /* Footer */
  footer {
    font-size: 12px;
    padding: 14px;
  }
}


@media (max-width: 350px) {
  body {
    padding: 0.4rem;
  }

  .container {
    padding: 16px 10px;
  }

  /* Homepage hero */
  .homepage {
    padding: 24px 12px;
  }
  .homepage-text h2 {
    font-size: 18px;
  }
  .hero-text-line1 {
    font-size: 13px;
  }
  .hero-text-line2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .tagline {
    font-size: 12px;
    margin-bottom: 8px;
  }

  /* Help section */
  .help-section {
    padding: 24px 12px;
  }
  .help-section h2 {
    font-size: 16px;
  }

  /* Search bar */
  .search-bar-container input[type="search"] {
    font-size: 13px;
    padding: 8px 34px 8px 10px;
  }

  /* App promotion */
  .app-promotion {
    padding: 24px 12px;
  }
  .app-content h2 {
    font-size: 16px;
  }
  .app-content p {
    font-size: 12px;
  }
  .app-buttons {
    gap: 8px;
    width: 100%;
  }
  .store-button {
    max-width: 240px;
    padding: 8px 12px;
  }
  .store-button img {
    height: 30px;
  }
  .coming-soon-text {
    font-size: 9px;
  }

  /* FAQ */
  .faq-section {
    padding: 24px 12px;
  }
  .faq-title {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .faq-question {
    font-size: 12px;
    padding: 8px 10px;
  }
  .faq-answer {
    font-size: 11px;
    padding: 0 10px 8px 10px;
  }

  /* John Hager section */
  .john-hager-section {
    padding: 24px 12px;
  }
  .john-hager-text h2 {
    font-size: 16px;
  }
  .john-hager-text p {
    font-size: 12px;
  }

  /* Reviews */
  .reviews-section {
    padding: 24px 12px;
  }
  .reviews-section h2 {
    font-size: 16px;
  }
  .review-card {
    padding: 12px;
  }

  /* Footer */
  footer {
    font-size: 11px;
    padding: 12px;
  }
}


@media (max-width: 330px) {
  /* Make the flex children actually shrink */
  .app-promotion-container,
  .app-content,
  .app-image {
    min-width: 0;
  }

  /* App promotion wrapper */
  .app-promotion {
    padding: 18px 10px;
  }
  .app-promotion-container {
    flex-direction: column;
    gap: 14px;
  }

  /* 🔽 App content: shrink + wrap nicely */
  .app-content {
    padding: 0 2px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .app-content h2 {
    font-size: clamp(14px, 4.2vw, 15px);
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .app-content p {
    font-size: clamp(11px, 3.8vw, 12px);
    line-height: 1.35;
    margin-bottom: 12px;
  }

  /* Buttons: single‑column, smaller art */
  .app-buttons {
    width: 100%;
    gap: 6px;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .store-button {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 8px 10px;
  }
  .store-button img {
    height: 26px;
  }
  .coming-soon-text {
    font-size: 8px;
    bottom: 4px;
  }

  /* App image: downsize to avoid pushing text */
  .app-image img {
    max-width: 200px;
    width: 100%;
  }
}




/* === App badges: full-cover dim + centered label (final) === */

/* Full-cover overlay so the whole badge is dimmed */
.store-button {
  position: relative;
  width: 180px;
  height: 60px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  pointer-events: none;
  background: transparent;
  filter: grayscale(100%);            /* keep it grey */
}

/* Badge image fills the canvas and sits under overlay/text */
.store-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 0;
}

/* Full dim overlay */
.store-button::after {
  content: "";
  position: absolute;
  inset: 0;                           /* cover entire button */
  border-radius: inherit;
  background: rgba(0,0,0,0.28);       /* dim layer */
  backdrop-filter: blur(1px);         /* optional soften */
  z-index: 1;
}

/* Centered label on top */
.coming-soon-text {
  position: absolute;
  top: 55%;
  left: 51%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;   /* ✅ Prevents line breaks */
  text-align: center;    /* ✅ Ensures it's centered */
}


/* Kill any old hover color */
.store-button:hover { background-color: transparent; }

/* Responsive */
@media (max-width: 768px) {
  .store-button { width: 100%; max-width: 320px; height: 60px; }
  .coming-soon-text { font-size: 12px; }
}
