/* ===== BalajiStar Storefront Master Stylesheet — Super Professional Vedic Theme ===== */
:root {
  --orange: #f26a1b;
  --orange-d: #ea580c;
  --orange-light: #fff7ed;
  --red: #be123c;
  --brown: #7c2d12;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --green: #15803d;
  --ink: #1e293b;
  --muted: #64748b;
  --cream: #fffdfa;
  --card: #ffffff;
  --line: #fed7aa;
  --line-soft: #fde68a;
  --shadow-sm: 0 2px 8px rgba(180, 83, 9, 0.06);
  --shadow-md: 0 6px 20px rgba(180, 83, 9, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 10px 28px rgba(234, 88, 12, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

html {
  overflow-x: hidden !important;
  max-width: 100vw;
}
body.balaji-theme, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  font-family: 'Poppins', 'Segoe UI', Roboto, -apple-system, sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: #fdf8ee;
  background-image: 
    radial-gradient(circle at 15% 10%, #fff4df 0, transparent 45%),
    radial-gradient(circle at 85% 50%, #fff7eb 0, transparent 50%),
    radial-gradient(circle at 50% 90%, #fef3c7 0, transparent 50%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease, transform 0.15s ease; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.wrap { max-width: 1560px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAVBAR ---------- */
.nav {
  position: relative;
  z-index: 30;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  height: 56px;
  margin: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.09);
  border: 1px solid rgba(254, 215, 170, 0.6);
  border-top: none;
  box-sizing: border-box;
}
.logo {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { width: 44px; height: 44px; flex-shrink: 0; }
.logo b {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #c2410c;
  letter-spacing: 0.3px;
  line-height: 1;
}
.logo small {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
  text-align: left;
  letter-spacing: 0.2px;
}
.logo .lt { display: flex; flex-direction: column; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 20px;
  flex: 1;
}
.nav-links a {
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.nav-links a:hover {
  background: #fff7ed;
  color: var(--orange-d);
}
.nav-links a.active {
  background: #fff0e4;
  color: var(--orange-d);
  font-weight: 700;
}
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid #64748b;
  display: inline-block;
  margin-left: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
}

/* ---------- LANGUAGE DROPDOWN ---------- */
.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #fed7aa;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  user-select: none;
  background: #fffdfa;
  color: #1e293b;
  transition: all 0.15s ease;
}
.lang:hover {
  border-color: var(--orange-d);
  background: #fff7ed;
}
.dv-lang-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  min-width: 210px;
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid #fed7aa;
  border-top: 3.5px solid #ea580c;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  z-index: 999999;
  padding: 6px 0;
}
.dv-lang-menu.open { display: block !important; animation: dvMenuIn 0.15s ease-out; }
@keyframes dvMenuIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.dv-lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
  border-left: 3px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  color: #1e293b;
}
.dv-lang-opt:hover, .dv-lang-opt.dv-active {
  background: #fff7ed;
  border-left-color: #ea580c;
  color: #c2410c;
}
.dv-native { font-size: 13px; font-weight: 700; color: #1e293b; flex: 1; }
.dv-check { font-size: 13px; color: #ea580c; font-weight: 900; }

.icon-btn {
  width: 38px; height: 38px;
  border: 1.5px solid #fed7aa;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #fff;
  transition: all 0.15s ease;
}
.icon-btn:hover { background: #fff7ed; border-color: #ea580c; }
.icon-btn img { width: 19px; height: 19px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  border: 1.5px solid var(--orange);
  transition: all 0.15s ease;
}
.btn-line { color: var(--orange-d); background: #fff; padding: 8px 18px; }
.btn-line:hover { background: #fff7ed; border-color: #ea580c; }
.btn-fill {
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ea580c);
  padding: 8px 20px;
  border-color: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}
.btn-fill:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
  transform: translateY(-1px);
}

/* ---------- HERO BANNER (SUPER PROFESSIONAL REALISTIC MOCKUP BANNER) ---------- */
.hero-banner-section {
  position: relative;
  max-width: 1560px;
  margin: 18px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #fed7aa;
  background: #fdf8ee;
  aspect-ratio: 2048 / 324;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Interactive hotspots over mockup elements */
.hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.hotspot-balaji {
  left: 0;
  top: 0;
  width: 22%;
  height: 100%;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.hotspot-balaji:hover {
  background: radial-gradient(circle at center, rgba(254, 215, 170, 0.25) 0%, transparent 75%);
}

.hotspot-hanuman {
  right: 0;
  top: 0;
  width: 22%;
  height: 100%;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}
.hotspot-hanuman:hover {
  background: radial-gradient(circle at center, rgba(254, 215, 170, 0.25) 0%, transparent 75%);
}

.hotspot-role {
  top: 72%;
  height: 23%;
  border-radius: 20px;
}
.hotspot-role:hover {
  background: rgba(234, 88, 12, 0.18);
  box-shadow: 0 0 14px rgba(234, 88, 12, 0.45);
}

.hotspot-astrologers {
  left: 26.5%;
  width: 11%;
}
.hotspot-students {
  left: 38.3%;
  width: 11%;
}
.hotspot-teachers {
  left: 50.1%;
  width: 11%;
}
.hotspot-everyone {
  left: 62%;
  width: 11%;
}

.hero-mobile-pills {
  display: none;
}

/* ---------- QUICK LINKS ---------- */
.quick {
  position: relative;
  z-index: 20;
  max-width: 1560px;
  margin: 14px auto 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #fed7aa;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  padding: 12px 14px;
  gap: 8px;
}
.quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fffdfa;
  border: 1px solid #fef3c7;
  transition: all 0.2s ease;
}
.quick a:hover {
  background: #fff7ed;
  border-color: #fdba74;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}
.quick img { width: 34px; height: 34px; flex: none; }
.quick b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.quick small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.25;
  margin-top: 2px;
}

/* ---------- GENERIC CARD & MAIN CONTAINER ---------- */
main {
  padding: 14px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1560px;
  margin: 0 auto;
}
.row { display: grid; gap: 20px; }
.r1 { grid-template-columns: 1.25fr 1.15fr 0.85fr; }
.r2 { grid-template-columns: 1.35fr 1fr 1fr; }
.r2-sub { grid-template-columns: 1.5fr 1fr; }
.r3 { grid-template-columns: 1.2fr 1fr 1fr; }

.card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-width: 0;
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #fdba74;
}

.card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  color: var(--brown);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: var(--brown);
  font-weight: 700;
  margin: 0;
}
.view {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange-d);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.view:hover { color: #c2410c; transform: translateX(2px); }
.view img { width: 12px; height: 12px; }

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.head .t { display: flex; align-items: center; gap: 9px; }
.head .t img { width: 28px; height: 28px; }

/* ---------- FORMS (Kundli & Matching) ---------- */
.form-card { display: flex; gap: 16px; }
.big-ic {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  display: grid;
  place-items: center;
}
.big-ic img { width: 38px; height: 38px; }
.form-card p.desc {
  font-size: 13.5px;
  color: #475569;
  margin-top: 4px;
  line-height: 1.45;
}

.fgrid { display: grid; gap: 10px; margin-top: 14px; }
.fgrid.k { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.field .in {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffdfa;
  border: 1.5px solid #fed7aa;
  border-radius: 8px;
  height: 38px;
  padding: 0 10px;
  color: #64748b;
  font-size: 13.5px;
  transition: all 0.15s ease;
}
.field .in:focus-within {
  border-color: #ea580c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.field .in img { width: 16px; height: 16px; flex: none; opacity: 0.7; }
.field input {
  border: 0; outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  color: #1e293b;
  min-width: 0;
  font-size: 13.5px;
}
.field input::placeholder { color: #94a3b8; }

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 42px;
  margin-top: 14px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.cta:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
  transform: translateY(-1px);
}
.cta img { width: 16px; height: 16px; }

.cta.red {
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}
.cta.red:hover {
  background: linear-gradient(135deg, #be123c, #9f1239);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.mini {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.mini div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.25;
  background: #fffdfa;
  border: 1px solid #fef3c7;
  padding: 6px 10px;
  border-radius: 8px;
  flex: 1;
  min-width: 120px;
}
.mini img { width: 26px; height: 26px; flex: none; }
.mini b { display: block; font-weight: 700; font-size: 12px; color: #1e293b; }

.match-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* ---------- LIVE PANCHANG ---------- */
.panch .date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #7c2d12;
  margin: 4px 0 10px;
  padding: 6px 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}
.panch table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.panch td { padding: 6px 8px; border-top: 1px solid #fef3c7; }
.panch td:first-child { font-weight: 700; width: 42%; color: #334155; }
.panch td:last-child { color: #1e293b; }

/* ---------- RASHIFAL (Zodiac Guidance) ---------- */
.tabs {
  display: inline-flex;
  background: #fef3c7;
  border-radius: 8px;
  padding: 3px;
}
.tabs span {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #92400e;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.tabs span.on {
  background: var(--orange-d);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

.rashi {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.rashi div {
  background: #fffdfa;
  border: 1.5px solid #fef3c7;
  border-radius: 10px;
  padding: 10px 4px 8px;
  text-align: center;
  transition: all 0.2s ease;
}
.rashi div:hover {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.18);
}
.rashi i {
  display: block;
  font-style: normal;
  font-size: 26px;
  line-height: 1;
  color: var(--orange-d);
  margin-bottom: 2px;
}
.rashi b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}
.rashi s {
  display: block;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1px;
  color: #f59e0b;
  margin-top: 2px;
}
.rashi s em { font-style: normal; color: #cbd5e1; }

/* ---------- LISTS (Mantras, Festivals, Articles) ---------- */
.thumb-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fffdfa;
  border: 1px solid #fef3c7;
  transition: all 0.15s ease;
}
.thumb-list li:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  transform: translateX(3px);
}
.thumb-list li:last-child { margin-bottom: 0; }
.thumb-list img.th {
  width: 70px; height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
}
.thumb-list b {
  display: block;
  font-size: 14px;
  color: #7c2d12;
  font-weight: 700;
  line-height: 1.25;
}
.thumb-list small {
  display: block;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
  margin-top: 2px;
}

.fest li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fffdfa;
  border: 1px solid #fef3c7;
  transition: all 0.15s ease;
}
.fest li:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  transform: translateX(3px);
}
.fest li:last-child { margin-bottom: 0; }
.fest .d {
  width: 42px;
  text-align: center;
  line-height: 1.1;
  flex: none;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 4px 0;
}
.fest .d b {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: var(--orange-d);
}
.fest .d span {
  font-size: 10.5px;
  font-weight: 700;
  color: #7c2d12;
}
.fest img.th {
  width: 50px; height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
}
.fest b {
  display: block;
  font-size: 13.5px;
  color: #7c2d12;
  line-height: 1.2;
  font-weight: 700;
}
.fest small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 2px;
}

/* Articles Card */
.art .feature {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 90px;
  margin-bottom: 8px;
}
.art .feature img { width: 100%; height: 100%; object-fit: cover; }
.art .feature span {
  position: absolute;
  left: 8px; bottom: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--orange-d);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.art h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #7c2d12;
  margin: 6px 0 4px;
  line-height: 1.3;
}
.meta {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
  align-items: center;
}
.art .mini-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 6px;
  border-radius: 8px;
  align-items: center;
  transition: background 0.15s;
}
.art .mini-row:hover { background: #fff7ed; }
.art .mini-row img {
  width: 52px; height: 38px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
}
.art .mini-row b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #7c2d12;
  line-height: 1.25;
}

/* Blogs */
.blog li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.blog li:hover { background: #fff7ed; }
.blog img.th {
  width: 56px; height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex: none;
}
.blog b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #7c2d12;
  line-height: 1.25;
}

/* ---------- SACRED TEMPLES ---------- */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tpl-grid a {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #fffdfa;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 8px 6px;
  transition: all 0.2s ease;
}
.tpl-grid a:hover {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.15);
}
.tpl-grid img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
}
.tpl-grid b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.tpl-grid small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.25;
  margin-top: 2px;
}

/* ---------- ASTROLOGY FEATURES & REMEDIES ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.feat-grid > div {
  background: #fffdfa;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 58px;
  transition: all 0.15s ease;
}
.feat-grid > div:hover {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-1px);
}
.feat-grid img { width: 28px; height: 28px; flex: none; }
.feat-grid b {
  display: block;
  font-size: 13px;
  color: #7c2d12;
  line-height: 1.2;
  font-weight: 700;
}
.feat-grid small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 2px;
}

.rem p.d { font-size: 13px; color: #475569; margin: 4px 0 12px; }
.rem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rem-grid > div {
  background: #fffdfa;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 80px;
  transition: all 0.15s ease;
}
.rem-grid > div:hover {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-1px);
}
.rem-grid img { width: 34px; height: 34px; flex: none; }
.rem-grid b {
  display: block;
  font-size: 13px;
  color: #7c2d12;
  line-height: 1.25;
  font-weight: 700;
}
.rem-grid small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
  margin-top: 3px;
}
.note {
  margin-top: 12px;
  font-size: 12px;
  color: #7c2d12;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
}
.note img { width: 20px; height: 20px; flex: none; }

.about { display: flex; gap: 14px; }
.about .tem { width: 34px; flex: none; }
.about p {
  font-size: 13.5px;
  color: #334155;
  margin: 6px 0 12px;
  line-height: 1.6;
}
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--orange-d);
  color: var(--orange-d);
  border-radius: 7px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 13px;
  background: #fff;
  transition: all 0.15s ease;
}
.btn-read:hover {
  background: #ea580c;
  color: #ffffff;
}

/* ---------- TRUST STRIP ---------- */
.strip {
  margin: 0 24px 24px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 14px 10px;
  box-shadow: var(--shadow-sm);
}
.strip div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-right: 1px solid #fed7aa;
}
.strip div:last-child { border: 0; }
.strip img { width: 36px; height: 36px; flex: none; }
.strip b {
  display: block;
  font-size: 13.5px;
  color: #7c2d12;
  font-weight: 700;
}
.strip small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1280px) {
  .nav-links { margin-left: 100px; gap: 1px; }
  .r1 { grid-template-columns: 1fr 1fr; }
  .r1 .panch { grid-column: span 2; }
  .r2 { grid-template-columns: 1fr 1fr; }
  .r3 { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 14px 0; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .r1, .r2, .r3 { grid-template-columns: 1fr; }
  .r1 .panch { grid-column: span 1; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .rem-grid { grid-template-columns: 1fr; }
  .fgrid.k { grid-template-columns: 1fr 1fr; }
  .match-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .wrap, main { padding: 12px; max-width: 100% !important; box-sizing: border-box; }
  
  /* Mobile Nav Bar - Clean, perfectly spaced, zero overlap */
  .nav {
    margin: 0 8px;
    padding: 0 10px;
    height: 54px;
    border-radius: 0 0 16px 16px;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .logo {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    gap: 6px;
    flex-shrink: 0;
  }
  .logo img { width: 34px !important; height: 34px !important; }
  .logo b { font-size: 18px !important; line-height: 1.1; }
  .logo small { font-size: 9px !important; text-align: left !important; line-height: 1; margin-top: 1px; }

  .nav-right {
    gap: 6px !important;
    margin-left: auto;
    flex-shrink: 0;
  }
  /* Hide the 150px wide button on mobile so it doesn't crush the logo */
  .nav-right .btn-fill { display: none !important; }
  
  .nav-right .btn-line {
    padding: 5px 12px !important;
    font-size: 12px !important;
    height: 34px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .nav-right .icon-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex: none !important;
  }
  .nav-right .icon-btn img { width: 16px !important; height: 16px !important; }
  .nav-right .lang {
    padding: 4px 8px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex: none !important;
  }
  .nav-right .lang img { width: 16px !important; height: 16px !important; }

  /* Hero Banner - Dedicated mobile ratio & crisp clarity */
  .hero-banner-section { padding: 0 8px; margin-top: 10px; max-width: 100%; box-sizing: border-box; }
  .hero-banner-frame {
    border-radius: 14px;
    aspect-ratio: 800 / 280 !important;
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.1);
  }
  .hero-banner-frame .hotspot { display: none !important; }
  .hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 4 Role Jump Pills */
  .hero-mobile-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }
  .hero-mobile-pills a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #7c2d12;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, background 0.15s;
  }
  .hero-mobile-pills a:active {
    background: #fff7ed;
    border-color: #ea580c;
    transform: scale(0.98);
  }
  .hero-mobile-pills a img { width: 16px; height: 16px; }

  /* Quick Access 12-Card Grid (2 columns, 6 balanced rows) */
  .quick {
    grid-template-columns: repeat(2, 1fr) !important;
    margin: 12px 8px 0 !important;
    padding: 10px 8px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }
  .quick a {
    padding: 8px 10px !important;
    gap: 8px !important;
    min-width: 0 !important;
    border-radius: 10px !important;
  }
  .quick a img { width: 28px !important; height: 28px !important; flex-shrink: 0 !important; }
  .quick a span { min-width: 0 !important; overflow: hidden !important; }
  .quick a b {
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .quick a small {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .rashi { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: 1fr; }
  .strip div { border-right: none; border-bottom: 1px solid #fed7aa; padding: 10px 0; }
  .strip div:last-child { border-bottom: none; }
}


/* ---------- MODERN CALCULATOR FORMS (KUNDLI & MATCHING) ---------- */
.form-card-modern {
  display: flex;
  flex-direction: column;
  padding: 22px 22px;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(124, 45, 18, 0.05);
  transition: all 0.25s ease;
}
.form-card-modern:hover {
  box-shadow: 0 8px 25px rgba(124, 45, 18, 0.09);
  border-color: #f97316;
}
.form-card-modern.matching {
  border-color: #fecdd3;
  box-shadow: 0 4px 20px rgba(190, 18, 60, 0.05);
}
.form-card-modern.matching:hover {
  border-color: #f43f5e;
  box-shadow: 0 8px 25px rgba(190, 18, 60, 0.09);
}

.card-head-compact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.card-icon-badge {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.card-icon-badge.orange {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
}
.card-icon-badge.rose {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
}
.card-icon-badge img { width: 28px; height: 28px; }

.card-title-group { flex: 1; min-width: 0; }
.card-title-group h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
  color: #7c2d12;
}
.card-title-group p.desc {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

.modern-calc-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fgrid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.fgrid-2col .field.full-w {
  grid-column: span 2;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.field .in {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fffdfa;
  border: 1.5px solid #fed7aa;
  border-radius: 9px;
  height: 40px;
  padding: 0 12px;
  color: #475569;
  font-size: 13.5px;
  transition: all 0.15s ease;
}
.field .in:focus-within {
  border-color: #ea580c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}
.form-card-modern.matching .field .in {
  border-color: #fecdd3;
  background: #fffdfd;
}
.form-card-modern.matching .field .in:focus-within {
  border-color: #be123c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.12);
}
.field .in .f-ic {
  font-size: 14px;
  opacity: 0.8;
  flex: none;
}
.field .in img {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0.75;
}
.field input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: #0f172a;
  min-width: 0;
}
.field input::placeholder { color: #94a3b8; font-size: 13px; }

/* Partner sections inside Matching Card */
.partner-sec {
  background: #fffaf5;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 8px 10px 10px;
  margin-bottom: 8px;
}
.partner-sec.girl {
  background: #fff8f8;
  border-color: #fecdd3;
}
.partner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(0,0,0,0.07);
}
.partner-header.boy { color: #c2410c; }
.partner-header.girl { color: #be123c; }

/* Mini Feature Badges */
.mini-chips {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mini-chips .chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fffdfa;
  border: 1px solid #fef3c7;
  padding: 5px 8px;
  border-radius: 8px;
  flex: 1;
  min-width: 100px;
  font-size: 11px;
  color: #475569;
  line-height: 1.2;
}
.mini-chips .chip img { width: 22px; height: 22px; flex: none; }
.mini-chips .chip b { display: block; font-weight: 700; color: #1e293b; font-size: 11.5px; }



/* Responsive Enhancements for Calculators */
@media (max-width: 1200px) {
  .r1 { grid-template-columns: 1fr 1fr !important; }
  .r1 .panch { grid-column: span 2 !important; }
}

@media (max-width: 820px) {
  .r1 { grid-template-columns: 1fr !important; gap: 16px !important; }
  .r1 .panch { grid-column: span 1 !important; }
  .fgrid-2col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .form-card-modern { padding: 16px 14px !important; }
  .card-head-compact { gap: 10px; margin-bottom: 12px; }
  .card-icon-badge { width: 42px; height: 42px; border-radius: 10px; }
  .card-icon-badge img { width: 24px; height: 24px; }
  .card-title-group h2 { font-size: 17px !important; }
  .card-title-group p.desc { font-size: 11.5px !important; }
  .fgrid-2col { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fgrid-2col .field:nth-child(1),
  .fgrid-2col .field:nth-child(2) {
    grid-column: span 2;
  }
  .field .in { height: 42px !important; font-size: 14px !important; }
  .partner-sec { padding: 8px 8px 10px !important; margin-bottom: 8px !important; }
  .cta { height: 44px !important; font-size: 14px !important; }
  .mini-chips .chip { min-width: 45%; }
}
