/* ===== Variables ===== */
:root {
  --primary: #FF6B00;
  --primary-dark: #E55D00;
  --primary-light: #FF8533;
  --bg: #FFFBF7;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --white: #FFFFFF;
  --border: #E8E4E0;
  --shadow: 0 4px 24px rgba(255, 107, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-height: 72px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes iconPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll-triggered: start hidden, animate when .animate-in */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for card grids */
.benefits-grid .benefit-card.animate-in,
.why-grid .why-card.animate-in,
.platforms-grid .platform-card.animate-in,
.testimonials-grid .testimonial-card.animate-in,
.contact-grid .contact-card.animate-in,
.steps .step.animate-in {
  animation: fadeInUp 0.55s ease-out forwards;
}

.benefits-grid .benefit-card:nth-child(1).animate-in { animation-delay: 0.05s; }
.benefits-grid .benefit-card:nth-child(2).animate-in { animation-delay: 0.12s; }
.benefits-grid .benefit-card:nth-child(3).animate-in { animation-delay: 0.19s; }
.benefits-grid .benefit-card:nth-child(4).animate-in { animation-delay: 0.26s; }

.why-grid .why-card:nth-child(1).animate-in { animation-delay: 0.05s; }
.why-grid .why-card:nth-child(2).animate-in { animation-delay: 0.12s; }
.why-grid .why-card:nth-child(3).animate-in { animation-delay: 0.19s; }
.why-grid .why-card:nth-child(4).animate-in { animation-delay: 0.26s; }

.platforms-grid .platform-card:nth-child(1).animate-in { animation-delay: 0.05s; }
.platforms-grid .platform-card:nth-child(2).animate-in { animation-delay: 0.15s; }
.platforms-grid .platform-card:nth-child(3).animate-in { animation-delay: 0.25s; }

.testimonials-grid .testimonial-card:nth-child(1).animate-in { animation-delay: 0.05s; }
.testimonials-grid .testimonial-card:nth-child(2).animate-in { animation-delay: 0.15s; }

.contact-grid .contact-card:nth-child(1).animate-in { animation-delay: 0.05s; }
.contact-grid .contact-card:nth-child(2).animate-in { animation-delay: 0.12s; }
.contact-grid .contact-card:nth-child(3).animate-in { animation-delay: 0.19s; }

.steps .step:nth-child(1).animate-in { animation-delay: 0.05s; }
.steps .step:nth-child(2).animate-in { animation-delay: 0.15s; }
.steps .step:nth-child(3).animate-in { animation-delay: 0.25s; }

/* Cards: start with opacity 0 for stagger animation */
.benefits-grid .benefit-card,
.why-grid .why-card,
.platforms-grid .platform-card,
.testimonials-grid .testimonial-card,
.contact-grid .contact-card,
.steps .step {
  opacity: 0;
  transform: translateY(28px);
}

.benefits-grid .benefit-card.animate-in,
.why-grid .why-card.animate-in,
.platforms-grid .platform-card.animate-in,
.testimonials-grid .testimonial-card.animate-in,
.contact-grid .contact-card.animate-in,
.steps .step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Section titles fade-in */
.section-title.animate-on-scroll.animate-in {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  /* gap: 0.4rem; */
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.08);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 107, 0, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }
}

/* ===== Hero ===== */
.hero {
  min-height: calc(85vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  background: linear-gradient(180deg, #FFF5ED 0%, var(--bg) 60%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 400px);
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero h1 {
  animation: fadeInUp 0.7s ease-out 0.25s both;
}

.hero p {
  animation: fadeInUp 0.7s ease-out 0.4s both;
}

.hero .cta-btn {
  animation: fadeInUp 0.7s ease-out 0.55s both;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.95rem 1.85rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(255, 107, 0, 0.25);
}

.cta-btn:active {
  transform: translateY(0) scale(1);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== Section common ===== */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ===== About ===== */
.about {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.about .section-title {
  margin-bottom: 1.5rem;
}

.about-content {
  text-align: center;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ===== Benefits ===== */
.benefits {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.25);
}

.benefit-card:hover .benefit-icon {
  animation: iconPop 0.4s ease;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Form section ===== */
.form-section {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, #FFF5ED 100%);
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-section .section-title {
  margin-bottom: 1.5rem;
}

.form-wrapper.animate-on-scroll {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-group input.error {
  border-color: #D32F2F;
}

.form-group .error-msg {
  font-size: 0.8rem;
  color: #D32F2F;
  margin-top: 0.35rem;
  display: none;
}

.form-group input.error + .error-msg {
  display: block;
}

.submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== Contact ===== */
.contact {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact .section-title {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.2);
}

.contact-card:hover .icon {
  animation: iconPop 0.4s ease;
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(255, 107, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.contact-card a,
.contact-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--primary);
}

/* ===== WhatsApp CTA ===== */
.whatsapp-cta {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
}

.whatsapp-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.whatsapp-btn:hover {
  background: #20BD5A;
  transform: translateY(-2px);
}

.whatsapp-btn svg {
  width: 22px;
  height: 22px;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== Urgency / Scarcity ===== */
.urgency {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.04) 100%);
  border-bottom: 1px solid var(--border);
}

.urgency-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.urgency-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.5rem;
}

.countdown-unit span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.countdown-unit small {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0.1rem;
  animation: fadeIn 0.5s ease-out;
}

.urgency.animate-in .countdown-unit span {
  animation: iconPop 0.5s ease-out;
}

.trust-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item strong {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 600px) {
  .urgency-inner {
    flex-direction: column;
  }
  .countdown-unit span {
    font-size: 1.25rem;
  }
}

/* ===== Why 5 Paisa ===== */
.why-5paisa {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.25);
}

.why-card:hover .why-icon {
  animation: iconPop 0.4s ease;
}

.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: rgba(255, 107, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, #FFF5ED 50%, var(--bg) 100%);
}

.how-it-works .section-title {
  margin-bottom: 2rem;
}

.steps {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.how-note {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== What You Get (table) ===== */
.what-you-get {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.benefits-table thead {
  background: rgba(255, 107, 0, 0.1);
}

.benefits-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.benefits-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.benefits-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.benefits-table tbody tr:hover {
  background: rgba(255, 107, 0, 0.04);
}

.benefits-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

.benefits-table td:last-child {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .benefits-table {
    font-size: 0.85rem;
  }
  .benefits-table th,
  .benefits-table td {
    padding: 0.6rem 0.75rem;
  }
}

/* ===== Platforms ===== */
.platforms {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.25);
}

.platform-card:hover .platform-icon {
  animation: iconPop 0.4s ease;
}

.platform-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: rgba(255, 107, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 3.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, #FFF5ED 100%);
}

.testimonials-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 680px;
  margin: 0 auto;
}

.faq-list {
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--white);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.faq-q:hover {
  background: rgba(255, 107, 0, 0.06);
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.12);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 1.25rem;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.faq-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ===== Form: select, checkbox, privacy, secondary CTA ===== */
.form-group select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-group-checkbox {
  margin-bottom: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.form-message {
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(76, 175, 80, 0.12);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  background: rgba(211, 47, 47, 0.08);
  color: #c62828;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.form-secondary-cta {
  text-align: center;
  margin-top: 1rem;
}

.whatsapp-btn-small {
  display: inline-flex;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}

/* ===== Office hours ===== */
.office-hours {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ===== Terms section ===== */
.terms-section {
  padding: 3rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.terms-content {
  text-align: left;
}

.terms-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.terms-content h3:first-of-type {
  margin-top: 0;
}

.terms-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* ===== Main footer ===== */
.main-footer {
  background: var(--text);
  color: var(--white);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-block h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.footer-block p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-block a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== Scroll targets ===== */
#hero,
#about,
#why-5paisa,
#how-it-works,
#what-you-get,
#benefits,
#platforms,
#testimonials,
#faq,
#register,
#contact,
#terms {
  scroll-margin-top: var(--header-height);
}

/* ===== Header & Logo ===== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}

.logo-img {
  height: 150px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Mobile responsive logo */
@media (max-width: 480px) {
  .logo-img {
    height: 100px;
    max-width: 140px;
  }
}

/* Remove the problematic .logo style at the bottom of your CSS */
/* Delete this:
.logo{
  height: 200px;
  background-color: #25D366;
}
*/
