/* =======================
   Base Styles
   ======================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", sans-serif;
  background: #f9fdfc;
  color: #111;
  line-height: 1.55;
}

/* =======================
   Navbar
   ======================= */
.navbar {
  background: #0DA861;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  align-items: flex-start; /* change from center to flex-start */
  padding: 8px 16px;       /* reduce vertical padding on mobile */
}
.logo { height: 40px; }

/* =======================
   Hero Section
   ======================= */
.hero {
  text-align: center;
  background: #0DA861;
  color: white;
  padding: 16px 16px 120px;
  margin-top: 0;
}
.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}
.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: 1rem;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
}
.stat {
  background: #90EE90;
  color: #111;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 200;
  font-size: .9rem;
}
.ratings {
  display: flex;
  gap: 14px;
  justify-content: center;
  font-weight: 600;
}

/* =======================
   WhatsApp Form
   ======================= */
/* Default: hide both */
.app-download-qr,
.app-download-buttons {
  display: none;
}

/* Desktop (≥768px) → show QR, hide store logos */
@media (min-width: 768px) {
  .app-download-qr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 12px 16px;
    background-color: #0a9b5b; /* adjust green */
    color: #fff;
    max-width: 450px;
    margin: 0 auto 20px auto;
  }

  .app-download-buttons {
    display: none;
  }
}

/* Mobile (<768px) → show store logos, hide QR */
@media (max-width: 767.98px) {
  .app-download-buttons {
    display: flex;
    justify-content: center;
    margin: 10px;
  }

  .app-download-buttons img {
    display: inline-block;
    margin: 0 5px;
    transition: transform 0.2s ease;
  }

  .app-download-buttons img:hover {
    transform: scale(1.05);
  }
  

  .app-download-qr {
    display: none;
    
  }
}

/* OR Divider (always visible) */
.app-download-or {
  margin: 16px 0;
  font-weight: 600;
  color: #555;
  position: relative;
  text-align: center;
}

.app-download-or span {
  background: #fff;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.app-download-or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 0;
}


   
  /* ✅ Scoped only to OTP section */
  #otp-login-section {
    display: flex;
    justify-content: center;
    margin: -80px 16px 16px;
    margin-bottom: 20px;
  
}
  #otp-login-section .otp-container {
    background: #f7f7f7;
    padding: 0px;
    padding-inline: 18px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  #otp-login-section .otp-container h2 {
    font-size: 1.2rem;
    color: #222;
    margin: 0;
    font-weight: 500;
    padding: 10px;
  }
  #otp-login-section input[type="tel"] {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }
  #otp-login-section .consent {
    display: flex;
    align-items: flex-start;
    margin: 0px 0 20px 0px;
    font-size: 13px;
    text-align: left;
    color: #555;
  }
  #otp-login-section .consent input {
    margin-right: 8px;
  }
  #otp-login-section .otp-inputs {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px; /* adjust value as needed */
  }
  #otp-login-section .otp-inputs input {
    width: 40px;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  #otp-login-section button{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #0DA861 ;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  #otp-login-section button:hover {
    background: #0DA861;
  }
  #otp-login-section .message {
    margin-top: 15px;
    font-size: 14px;
    color: #27ae60;
  }

/* =======================
   Sections Shared
   ======================= */


.steps, .why, .screenshots {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
}
.steps h2, .why h2 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 30px;
}
.subtitle {
  text-align: center;
  color: #555;
  margin: 0 auto 24px;
  max-width: 780px;
}

/* =======================
   Swiper Carousels
   ======================= */
.swiper {
  width: 100%;
  padding: 20px 0;
}
.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Step Cards */


.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  width: 280px;
  max-width: 85vw;
}
.step-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}
.step-card h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
}
.step-card p { margin: 0; color: #555; }

/* Why Cards */
.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  width: 260px;
  max-width: 80vw;
}
.why-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}
.why-card .number {
  font-size: 1.8rem;
  color: #00a651;
  font-weight: 800;
  margin: 6px 0;
}

/* Center the line under Why heading */
.why p {
  text-align: center;
  margin: 0 auto;        /* optional, ensures block is centered */
  max-width: 780px;      /* optional, keeps line readable */
}

/* Screenshots */
/* Screenshots */
.screenshots img {
  width: 90%;           /* Not full width, leaves some margin */
  max-width: 500px;     /* Adjust for readability */
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}


.screenshots .overall-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #333;
}
.overall-rating .stars { color: #ffc107; }

/* Swiper Buttons */
.swiper-button-prev,
.swiper-button-next {
  color: #00a651;
  width: 36px;
  height: 36px;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #008d43;
}

/* =======================
   CTA
   ======================= */
.cta { text-align: center; margin-top: 24px; }
.cta-btn {
 width: fit-content;
 padding: 12px;
 border: none;
 border-radius: 8px;
 background: #0DA861 ;
 color: #fff;
 font-size: 16px;
 cursor: pointer;
 transition: 0.3s;
}
.cta-btn:hover { background: #008d43; }

@media (max-width: 1024px) {
  .cta-btn { width: 85vw;  min-height: 45px;}
} 

/* =======================
   Footer
   ======================= */
.footer {
  background: #fff;
  color: #111;
  padding: 40px 16px;
  border-top: 1px solid #e5e5e5;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand img { height: 40px; }
.footer-brand .tagline { max-width: 360px; }
.footer-contact p { margin: 8px 0; }
.footer-contact a {
  color: #111;
  text-decoration: none;
  font-weight: 200;
}
.footer-contact a:hover { color: #00a651; }
.footer-bottom {
  text-align: center;
  color: #777;
  font-size: .9rem;
  margin-top: 16px;
}
.footer-address { color: #000; font-weight: 200; }

.step-card, .why-card {
  width: 280px;          /* fixed width for desktop */
  min-height: 220px;     /* ensures all cards same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* =======================
   Responsive
   ======================= */
@media (max-width: 1024px) {
  .step-card, .why-card { width: 45vw;  min-height: 220px;}
}
@media (max-width: 640px) {
  .hero { padding-bottom: 100px; padding-top: 16px;}
  .whatsapp-form { padding: 16px; }
  .step-card, .why-card { width: 85vw; min-height: 220px;}
  .hero h1 { font-size: 2rem; line-height: 1.4; margin-top: 0;}
  
  

  .navbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .navbar .logo {
    display: block;       /* removes inline gap under image */
    /*vertical-align: top;  /* ensures no extra spacing */
    height: 36px;         /* adjust logo height for mobile if needed */
  }
}



.testimonial-carousel {
  max-width: 1000px;
  margin: 12px auto;
  padding: 20px 16px;
  text-align: center;
}

.testimonial-carousel h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  margin-top: 8px;
}

.testimonial-carousel .swiper {
  padding: 20px 0;
}

.testimonial-carousel .swiper-slide {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  height: auto;      /* let it grow naturally */
}


.testimonial-carousel .testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-carousel .testimonial-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  margin: 0;
  overflow: auto; /* allows scrolling if text is too long */
  text-align: center; /* optional for better look */
}

.testimonial-carousel .testimonial-name {
  font-weight: 600;
  margin-top: 6px;
  color: #0DA861;
}
