/* ===========================
   Base / Reset
   =========================== */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a; /* slate-900 */
  background: #98e27f;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92%); margin-inline: auto; }



/* Loading */

.loader-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #0ea5e9 0%, #8b5cf6 100%);
  z-index: 9999;
  /* This animation sequence will keep the overlay visible while letters animate,
     then fade it out and set pointer-events:none so the page becomes interactive. */
  animation: overlay-fade 3.8s ease-in-out 0s forwards;
  color: #fff;
}

/* The loader box (letters) */
.loader {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 2px;
  text-transform: uppercase;
  transform-origin: center;
  margin-bottom: 8px;
}

/* Letters styling */
.loader .letter,
.loader .dot {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: letter-pop 1.0s cubic-bezier(.2,.9,.3,1) forwards;
}

/* Stagger each letter with incremental delays */
.loader .letter:nth-child(1) { animation-delay: 0.05s; } /* L */
.loader .letter:nth-child(2) { animation-delay: 0.14s; } /* O */
.loader .letter:nth-child(3) { animation-delay: 0.23s; } /* A */
.loader .letter:nth-child(4) { animation-delay: 0.32s; } /* D */
.loader .letter:nth-child(5) { animation-delay: 0.41s; } /* I */
.loader .letter:nth-child(6) { animation-delay: 0.50s; } /* N */
.loader .letter:nth-child(7) { animation-delay: 0.59s; } /* G */

/* Dots appear slightly after letters */
.loader .dot {
  font-weight: 900;
  animation-duration: 1.1s;
}
.loader .dot:nth-child(8) { animation-delay: 0.72s; } /* . */
.loader .dot:nth-child(9) { animation-delay: 0.87s; } /* . */
.loader .dot:nth-child(10){ animation-delay: 1.02s; } /* . */

/* Subtext under the loader */
.loader-sub {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.95;
  color: rgba(255,255,255,0.95);
  text-align: center;
  font-weight: 600;
  animation: sub-fade 3.2s linear 0s forwards;
  animation-delay: 0.6s;
}

/* Animations */
/* individual letter pop (fade + rise + slight scale) */
@keyframes letter-pop {
  0% { opacity: 0; transform: translateY(12px) scale(.98); filter: blur(2px); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.05); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Subtext fade-in then hold */
@keyframes sub-fade {
  0% { opacity: 0; transform: translateY(6px); }
  30% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Overlay fade and hide after full sequence (duration matches animation timings above) */
@keyframes overlay-fade {
  0%   { opacity: 1; transform: translateY(0); pointer-events: auto; }
  70%  { opacity: 1; transform: translateY(0); pointer-events: auto; }
  90%  { opacity: 0.0; transform: translateY(-6px); pointer-events: none; }
  100% { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; }
}

/* Accessibility: reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .loader .letter,
  .loader .dot,
  .loader-sub,
  .loader-overlay {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .loader-overlay { visibility: hidden; display: none; }
}

/* ===========================
   Header
   =========================== */
.header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #e7e5e5; /* slate-200 */
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0;
}
.logo {
  font-weight: 800; letter-spacing: .2px; font-size: 1.25rem;
}
.logo img{
    height: 80px;
    width: auto;
}
.nav { display: flex; gap: 18px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; color:#334155; }
.nav a:hover { background:#18181866; }

/* Mobile nav */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block; width: 24px; height: 2px; background:#0f172a; position: relative; border-radius: 2px;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after { top: 7px; }

@media (max-width: 860px) {
  .nav-toggle-label { display: block; }
  .nav { 
    position: fixed; inset: 64px 0 auto 0;
    background: #14141498; border-bottom: 1px solid #e2e8f0;
    display: grid; gap: 8px; padding: 12px 20px;
    transform-origin: top; transform: scaleY(0); transition: .2s ease;
  }
  .nav a { padding: 12px; }
  .nav-toggle:checked ~ .nav { transform: scaleY(1); }
}

/* ===========================
   Hero
   =========================== */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, #a78bfa33, transparent),
              radial-gradient(800px 400px at -10% 0%, #60a5fa33, transparent);
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); }
.hero__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 12px; }
.hero__subtitle { color:#475569; font-size: clamp(16px, 2.4vw, 18px); margin: 0 0 22px; max-width: 55ch; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 14px; font-weight: 700; border: 1px solid #0f172a;
}
.btn--store { background:#0f172a; color:#fff; border-color:#0f172a; }
.btn--store:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--primary { background:#2563eb; color:#fff; border: none; }
.btn--primary:hover { background:#1d4ed8; }

.hero__media { display: grid; place-items: center; }
.phone-mockup {
  width: min(340px, 80%); aspect-ratio: 9/19.5;
  border: 10px solid #0f172a; border-radius: 28px;
  background: #0f172a; padding: 10px; box-shadow: 0 20px 60px rgba(2,6,23,.2);
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  color:#fff; font-weight: 800; font-size: 28px; letter-spacing: .4px;
}

/* ===========================
   Sections
   =========================== */
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--soft { background: #f4f5f6; }
.section__title { font-size: clamp(24px, 3.5vw, 36px); margin: 0 0 6px; }
.section__subtitle { color:#64748b; margin: 0 0 26px; }

/* ===========================
   Features
   =========================== */
.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.feature {
  grid-column: span 4;
  background: #f7f9f8; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 20px; box-shadow: 0 6px 20px rgba(2,6,23,.04);
}
.feature__icon { font-size: 28px; }
.feature__title { margin: 6px 0 6px; font-size: 18px; }
.feature__text { color:#475569; }

@media (max-width: 900px) { .feature { grid-column: span 6; } }
@media (max-width: 560px) { .feature { grid-column: span 12; } }

/* ===========================
   Carousel (CSS-only with auto-rotate)
   =========================== */
.carousel {
  overflow: hidden; border-radius: 18px; border: 1px solid #e2e8f0; background:#fff;
  box-shadow: 0 8px 30px rgba(2,6,23,.06);
}
.carousel__track {
  display: flex; width: 230%;
  animation: slide 5s infinite;  /* 3 slides x 6s each */
}
.slide {
  width: 100%; flex: 0 0 33.3333%; padding: 18px;
}
.slide img {
  width: 100%; aspect-ratio: 10/6; object-fit: cover; border-radius: 14px;
  background: #e2e8f0;
}
.slide figcaption { text-align: center; color:#475569; margin-top: 10px; }
@keyframes slide {
  0%, 26%   { transform: translateX(0%); }
  33%, 60%  { transform: translateX(-33.3333%); }
  66%, 93%  { transform: translateX(-66.6666%); }
  100%      { transform: translateX(0%); }
}
.carousel__dots {
  display: flex; gap: 8px; justify-content: center; padding: 12px 0 16px;
}
.dot { width: 8px; height: 8px; border-radius: 999px; background:#cbd5e1; }
.dot:nth-child(1) { animation: dot 18s infinite; }
.dot:nth-child(2) { animation: dot 18s infinite -6s; }
.dot:nth-child(3) { animation: dot 18s infinite -12s; }
@keyframes dot {
  0%,26% { background:#0f172a; }
  27%,100% { background:#cbd5e1; }
}

/* ===========================
   Testimonials (CSS auto-rotate crossfade)
   =========================== */
.testimonials {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 160px;
}
.testimonial {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(6px);
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 22px 22px 18px;
  display: grid; align-content: space-between;
  transition: opacity .6s ease, transform .6s ease;
}
.testimonial:nth-child(1) { animation: fade 18s infinite; }
.testimonial:nth-child(2) { animation: fade 18s infinite -6s; }
.testimonial:nth-child(3) { animation: fade 18s infinite -12s; }
.testimonial blockquote { margin: 0 0 8px; font-size: clamp(16px, 2.4vw, 18px); }
.stars { color:#f59e0b; letter-spacing: 1px; font-weight: 700; }
.reviewer { color:#64748b; margin-left: 6px; }
@keyframes fade {
  0%, 26%   { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(6px); }
}

/* ===========================
   CTA
   =========================== */
.cta {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
}
.cta__inner {
  display: grid; gap: 14px; place-items: center;
  text-align: center; padding: clamp(40px, 6vw, 64px) 0;
}
.cta__title { font-size: clamp(24px, 3.8vw, 40px); margin: 0; }

/* ===========================
   Contact + Map
   =========================== */
.contact__grid {
  display: grid; gap: 24px; grid-template-columns: 1fr 1.1fr; align-items: stretch;
}
.contact__form form { display: grid; gap: 12px; }
.contact__form input, .contact__form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px;
  font: inherit; color:#0f172a; background:#fff;
}
.contact__form input:focus, .contact__form textarea:focus { outline: 3px solid #bfdbfe; border-color:#60a5fa; }
.contact__map { min-height: 330px; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

/* ===========================
   Footer
   =========================== */
.footer { border-top: 1px solid #e2e8f0; background:#ffffff; }
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between;
  padding: 1px 0;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 2px; }
.footer__links a {
  color:#334155; padding: 8px 10px; border-radius: 2px;
}
.footer__links a:hover { background:#0e0e0f7d; }

.footer_display{
  display: inline;
}
.footer__social {
  text-align: center;
}

/* ===========================
   Utilities & A11y
   =========================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


.faq {
  padding: 60px 20px;
  background: #f9f9f9;
}

.faq h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.faq-question {
  display: block;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

.questions{
  display: flex;
}


.faq-question:hover {
  background: #f1f1f1;
}


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding: 0 10px;
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 200px;
  margin-top: 10px;
}

.faq-answer p {
  margin: 0;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
}


/* media */
/* FAQ Mobile Responsive */
@media (max-width: 600px) {
  .faq h2 {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

/* about section */
.about-hero {
  background: #fff;
  padding: 60px 0;
}

.about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-text h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #111827;
}

.about-text p {
  margin-bottom: 15px;
  color: #444;
}

.about-image img {
  max-width: 130%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Mission Section */
.mission {
  background: #f0fdf4;
  padding: 60px 20px;
  text-align: center;
}

.mission h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #065f46;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 10px;
  color: #10b981;
}

/* Why Section */
.why {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.why h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  margin: 10px 0;
  font-size: 1rem;
  color: #444;
}

/* support page */

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(48, 92, 226, 0.8);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Card */
.popup-card {
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  position: relative;
  animation: popUp 0.3s ease;
}

.popup-card h2 {
  margin-bottom: 10px;
  color: #10b981;
}

.popup-card p {
  margin-bottom: 20px;
  color: #333;
}


.close-btn {
  position: absolute;
  top: 12px; right: 15px;
  font-size: 28px;
  color: #a09999c9;
  cursor: pointer;
}
.close-btn:hover { color: #111; }

/* Support Form */
.support-form {
  display: flex;
  flex-direction: column;
}
.support-form label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #444;
}
.support-form input,
.support-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
}
.support-form input:focus,
.support-form textarea:focus {
  border-color: #10b981;
  outline: none;
}
.support-form button {
  background: #10b981;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.support-form button:hover {
  background: #059669;
}

/* Animation */
@keyframes popUp {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
  .popup-card {
    padding: 20px;
  }
  .support-form button {
    font-size: 0.9rem;
  }
}


/* T&C */
