/* =========================================================
   YantraBodh Tech — Main Stylesheet
   For: index.html (Homepage)
   ========================================================= */

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #1a2332;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: #FF6B4A;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.3);
}
.btn-primary:hover { background: #e85a3a; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 2px solid #1E88E5;
  color: #1E88E5;
}
.btn-ghost:hover { background: #1E88E5; color: #fff; }
.btn-ghost-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: #1E88E5; }
.btn-card {
  display: block;
  text-align: center;
  background: #1E88E5;
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-top: 18px;
  font-weight: 600;
}
.btn-card:hover { background: #1565C0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #1a2332; }
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { font-weight: 500; font-size: 15px; color: #1a2332; transition: color 0.2s; }
.main-nav a:hover { color: #1E88E5; }
.btn-nav {
  background: #1E88E5; color: #fff !important;
  padding: 9px 20px; border-radius: 50px;
}
.btn-nav:hover { background: #1565C0; }
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 26px; cursor: pointer; color: #1a2332;
}

/* ===== HERO BANNER (Full-width image with overlay text) ===== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B1A2E;
}
.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 26, 46, 0.75) 0%, rgba(11, 26, 46, 0.35) 100%);
  z-index: 1;
}
.hero-banner-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 780px;
  padding: 80px 24px;
}
.hero-banner-overlay .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-banner-overlay h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero-banner-overlay h1 .accent { color: #FF6B4A; }
.hero-banner-overlay p {
  font-size: 17px;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.6;
}
.hero-banner-overlay .hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-banner-overlay .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #E8F4FD;
}

/* ===== ALTERNATIVE TWO-COLUMN HERO (keep for fallback) ===== */
.hero {
  background: linear-gradient(135deg, #E8F4FD 0%, #F7FBFF 100%);
  padding: 80px 0 90px;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 50px; align-items: center;
}
.hero-text .badge {
  display: inline-block;
  background: #D6EBFB; color: #1565C0;
  padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px; line-height: 1.15;
  font-weight: 800; margin-bottom: 20px;
}
.hero h1 .accent { color: #FF6B4A; }
.hero p { font-size: 17px; color: #55657a; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 14px; color: #1565C0; font-weight: 500;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-product-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(30, 136, 229, 0.25);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 34px; font-weight: 700;
  text-align: center; margin-bottom: 12px;
  color: #1a2332;
}
.section-sub {
  text-align: center; color: #66788a;
  margin-bottom: 50px; font-size: 16px;
}

/* ===== PERSONAS ===== */
.personas { padding: 90px 0; background: #fff; }
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.persona-card {
  background: #F9FBFD;
  border-radius: 20px;
  padding: 30px 24px;
  border-top: 5px solid #1E88E5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.persona-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 136, 229, 0.12);
}
.persona-card.kids { border-top-color: #FF6B4A; }
.persona-card.women { border-top-color: #E91E63; }
.persona-card.elderly { border-top-color: #43A047; }
.persona-card.vehicles { border-top-color: #1E88E5; }

.persona-icon { font-size: 44px; margin-bottom: 14px; }
.persona-card h3 { font-size: 22px; margin-bottom: 6px; color: #1a2332; }
.persona-card .tagline { color: #66788a; font-size: 14px; margin-bottom: 16px; }
.persona-card ul li {
  font-size: 14.5px; padding: 6px 0 6px 22px;
  position: relative; color: #33445a;
}
.persona-card ul li::before {
  content: "✓"; position: absolute; left: 0;
  color: #1E88E5; font-weight: 700;
}

/* ===== WHY US ===== */
.why-us { background: #F4F9FE; padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-item { text-align: center; padding: 20px; }
.why-icon { font-size: 38px; margin-bottom: 12px; }
.why-item h4 { font-size: 18px; margin-bottom: 8px; color: #1a2332; }
.why-item p { font-size: 14.5px; color: #66788a; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 90px 0; background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  background: #F9FBFD;
  padding: 36px 26px;
  border-radius: 20px;
  text-align: center;
}
.step-num {
  width: 52px; height: 52px;
  background: #1E88E5; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px;
  margin: 0 auto 18px;
}
.step h4 { font-size: 18px; margin-bottom: 8px; color: #1a2332; }
.step p { font-size: 14.5px; color: #66788a; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #F4F9FE; padding: 80px 0; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  padding: 30px 26px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.testi-card p {
  font-size: 15px; color: #33445a;
  font-style: italic; margin-bottom: 16px;
}
.testi-card span { font-size: 13.5px; font-weight: 600; color: #1E88E5; }

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #fff; padding: 80px 0; text-align: center;
}
.contact-cta h2 { font-size: 34px; margin-bottom: 14px; color: #fff; }
.contact-cta p { font-size: 16px; margin-bottom: 30px; opacity: 0.95; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: #0F1B2D; color: #C8D3E0; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.site-footer a { display: block; padding: 6px 0; font-size: 14.5px; color: #A7B5C7; transition: color 0.2s; }
.site-footer a:hover { color: #FF6B4A; }
.site-footer p { font-size: 14.5px; color: #A7B5C7; }
.newsletter {
  display: flex; margin-top: 10px;
  background: #1A2A40; border-radius: 50px; overflow: hidden;
}
.newsletter input {
  flex: 1; padding: 12px 18px;
  background: transparent; border: none; color: #fff; outline: none;
  font-family: inherit; font-size: 14px;
}
.newsletter input::placeholder { color: #7C8CA0; }
.newsletter button {
  background: #FF6B4A; color: #fff; border: none;
  padding: 12px 22px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.newsletter button:hover { background: #e85a3a; }
.footer-bottom {
  border-top: 1px solid #1F2E45;
  padding: 22px 0; text-align: center;
  font-size: 13.5px; color: #7C8CA0;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-product-img { max-width: 100%; }
  .hero h1 { font-size: 34px; }
  .hero-banner { min-height: 520px; }
  .hero-banner-overlay h1 { font-size: 36px; }
  .hero-banner-overlay p { font-size: 16px; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px; gap: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .persona-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15.5px; }
  .hero-banner { min-height: 480px; }
  .hero-banner-overlay { padding: 60px 20px; }
  .hero-banner-overlay h1 { font-size: 28px; }
  .hero-banner-overlay p { font-size: 15px; }
  .hero-banner-overlay .badge { font-size: 11.5px; padding: 6px 14px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }
  .contact-cta h2 { font-size: 26px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}