@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --saffron:      #d96a00;
  --saffron-dark: #b85900;
  --gold:         #c99a2e;
  --maroon:       #6b1f1f;
  --maroon-dark:  #521818;
  --cream:        #fff9f0;
  --ink:          #1a1a1a;
  --muted:        #6b5d52;
  --card:         #ffffff;
  --border:       #e8d9c4;
  --success:      #1f7a4f;
  --radius:       16px;
  --transition:   0.22s ease;
  --shadow-sm:    0 2px 10px rgba(72,34,8,.07);
  --shadow-md:    0 8px 28px rgba(72,34,8,.11);
  --shadow-lg:    0 20px 56px rgba(72,34,8,.16);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* ── Layout ────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Topbar ────────────────────────────────────────────── */
.topbar {
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 9px 24px;
}

/* ── Header / Nav ──────────────────────────────────────── */
.header {
  background: linear-gradient(90deg, #b86a10 0%, #e8a020 30%, #f5c040 60%, #d08818 100%);
  border-bottom: 1px solid rgba(120,60,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 20px rgba(150,80,0,0.28), inset 0 -1px 0 rgba(255,200,80,0.30);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  position: relative;
}

/* ── Nav Tagline ───────────────────────────────────────── */
.nav-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, #3d0c1a, #7b1c2e, #3d0c1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.3;
  flex: 1;
  padding: 0 24px;
  text-shadow: none;
}

/* ── Logo ──────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.nav-logo {
  height: 100px;
  width: 280px;
  display: block;
  object-fit: contain;
  object-position: left center;
  margin-left: -8px;
  flex-shrink: 0;
}
.footer-logo {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* ── Menu ──────────────────────────────────────────────── */
.menu {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}
.menu > a {
  font-weight: 700;
  color: #3d0c1a;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.30);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 2px 8px rgba(100,40,0,0.15), inset 0 1px 0 rgba(255,255,255,0.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,240,200,0.6);
}
.menu > a:hover {
  color: #1a0005;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 4px 16px rgba(100,40,0,0.22), inset 0 1px 0 rgba(255,255,255,0.80);
  transform: translateY(-1px);
}
.menu > a.btn-login {
  background: linear-gradient(135deg, #c45200 0%, #f07020 60%, #e05800 100%);
  color: #fff3e0;
  border: 1.5px solid rgba(255,140,40,0.55);
  box-shadow: 0 3px 14px rgba(180,70,0,0.35), inset 0 1px 0 rgba(255,220,160,0.30);
  text-shadow: 0 1px 2px rgba(100,30,0,0.35);
  margin-left: 2px;
  position: relative;
  letter-spacing: 0.4px;
}
.menu > a.btn-login:hover {
  background: linear-gradient(135deg, #e05800 0%, #ff8030 60%, #c94e00 100%);
  color: #fff8f0;
  box-shadow: 0 5px 22px rgba(180,70,0,0.50), inset 0 1px 0 rgba(255,220,160,0.40);
  transform: translateY(-2px);
}

/* ── Hamburger ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--cream); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}
.btn-primary {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217,106,0,.28);
}
.btn-primary:hover {
  background: var(--saffron-dark);
  box-shadow: 0 6px 22px rgba(217,106,0,.40);
  transform: translateY(-2px);
}
.btn-secondary {
  background: #fff;
  color: var(--maroon);
  border: 2px solid var(--maroon);
}
.btn-secondary:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--saffron);
  color: var(--saffron);
  background: transparent;
}
.btn-outline:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #521515 0%, #6b1f1f 45%, #b85000 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: 'ॐ';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 520px;
  opacity: 0.045;
  color: #fff;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: serif;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 10px 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { font-size: 48px; line-height: 1.1; margin-bottom: 16px; }
.hero > .container > div > p { font-size: 17px; opacity: 0.92; margin-bottom: 10px; line-height: 1.7; }
.hero .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 8px; }

/* ── Hero Card ─────────────────────────────────────────── */
.hero-card {
  background: #fff;
  color: var(--ink);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,.20);
}
.hero-card h3 {
  margin-top: 0;
  color: var(--maroon);
  margin-bottom: 18px;
  font-size: 20px;
}

/* ── Card ──────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ── Quick Form / Search ───────────────────────────────── */
.quick-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-form input,
.quick-form select,
.quick-form textarea,
.search-box input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: auto;
}
.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus,
.search-box input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(217,106,0,.12);
}
.quick-form textarea { min-height: 100px; resize: vertical; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 76px 0; }
.section h2 { font-size: 36px; color: var(--maroon); margin-bottom: 6px; }
.section h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin: 12px 0 20px;
}
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 32px; font-size: 16px; line-height: 1.7; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.alt { background: #fff; }

/* ── Grids ─────────────────────────────────────────────── */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Service / City / Feature / Dashboard Cards ────────── */
.service-card, .city-card, .stat, .pricing, .testimonial, .feature, .dashboard-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card { border-top: 3px solid transparent; }
.service-card:hover, .city-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217,106,0,.30);
}
.service-card:hover { border-top-color: var(--saffron); }
.service-card h3, .city-card h3, .dashboard-card h3 { margin-top: 0; color: var(--maroon); }
.service-card p, .city-card p { color: var(--muted); font-size: 14px; margin: 8px 0 16px; line-height: 1.65; }

/* ── Feature Cards ─────────────────────────────────────── */
.feature {
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  border-left-color: var(--saffron);
  box-shadow: var(--shadow-md);
}
.feature h3 { color: var(--maroon); margin: 6px 0 8px; font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ── Icon ──────────────────────────────────────────────── */
.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff5e4, #ffe8c0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(217,106,0,.16);
}

/* ── Pill ──────────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff3e0;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  margin: 3px 4px 3px 0;
  letter-spacing: 0.2px;
}

/* ── Banner / CTA ──────────────────────────────────────── */
.banner {
  background: linear-gradient(135deg, #fff5e2, #fff);
  border: 1px solid var(--border);
  padding: 40px 44px;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.banner h2 { font-size: 30px; color: var(--maroon); margin-bottom: 0; }
.banner h2::after { display: none; }
.banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Page Hero ─────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #fff5e2 0%, #fff 100%);
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 40px; color: var(--maroon); margin: 8px 0 10px; }
.page-hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin-top: 12px;
}

/* ── Breadcrumb ────────────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.breadcrumb a { color: var(--saffron); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Table ─────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: #fff5e4; color: var(--maroon); font-weight: 700; font-size: 13px; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #fffaf5; }

/* ── Sidebar ───────────────────────────────────────────── */
.sidebar-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 90px;
}
.sidebar h3 { margin-top: 0; color: var(--maroon); margin-bottom: 16px; }

/* ── Stats Row ─────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center;
  padding-top: 20px;
}
.stat::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px 2px 0 0;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
}
.stat h3 { margin: 8px 0 0; font-size: 32px; color: var(--maroon); }
.kpi { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }

/* ── Timeline ──────────────────────────────────────────── */
.timeline { display: grid; gap: 20px; }
.timeline .step { display: flex; gap: 16px; align-items: flex-start; }
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(217,106,0,.32);
}
.step strong { color: var(--maroon); }

/* ── Quote / Testimonial ───────────────────────────────── */
.quote { font-style: italic; color: #5d4d3c; font-size: 15px; line-height: 1.75; }
.testimonial { position: relative; padding-top: 32px; }
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -4px;
  left: 12px;
  font-size: 72px;
  color: var(--gold);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ── Notice ────────────────────────────────────────────── */
.notice {
  background: #eef8f1;
  border-left: 4px solid var(--success);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Split ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }

/* ── Small ─────────────────────────────────────────────── */
.small { font-size: 13px; color: var(--muted); }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: #1e0d0d;
  color: #f0e4d8;
  padding: 60px 0 0;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .logo { font-size: 24px; color: #fff; margin-bottom: 12px; display: block; }
.footer h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.footer p { font-size: 14px; line-height: 1.85; opacity: 0.75; margin-bottom: 5px; }
.footer a { color: #f0e4d8; opacity: 0.72; transition: opacity var(--transition); }
.footer a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
  font-size: 13px;
  text-align: center;
  opacity: 0.45;
}

/* ── Pricing card ──────────────────────────────────────── */
.pricing { transition: transform var(--transition), box-shadow var(--transition); }
.pricing:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Dashboard Card ────────────────────────────────────── */
.dashboard-card h3 { margin-bottom: 16px; }

/* ── Pillar Tiles (hero card) ──────────────────────────── */
.pillar-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.pillar-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 10px;
  transition: all var(--transition);
  color: inherit;
}
.pillar-tile:hover {
  background: #fff;
  border-color: var(--saffron);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.pillar-tile strong { font-size: 13px; color: var(--maroon); display: block; margin-bottom: 4px; }
.pillar-tile span { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-tagline { display: none; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 24px; }
  .topbar .container > div:last-child { white-space: nowrap; }
  .hero .container,
  .split,
  .sidebar-layout,
  .footer-grid,
  .stats-row,
  .grid-4,
  .grid-3,
  .grid-2,
  #view-player .container > div[style*="grid-template-columns"],
  #samagri-grid { grid-template-columns: 1fr !important; }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    gap: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,.09);
    z-index: 200;
  }
  .menu.open { display: flex; }
  .menu > a { width: 100%; padding: 10px 4px; font-size: 15px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .menu > a:last-child { border-bottom: none; }
  .menu .btn { margin-top: 8px; width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .hero h1 { font-size: 32px; }
  .hero .container { padding: 52px 24px; gap: 32px; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 28px; }
  .banner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .banner-btns { justify-content: center; }
  .page-hero { padding: 36px 0; }
  .page-hero h1 { font-size: 28px; }
  .footer { padding-top: 44px; }
  .footer-grid { gap: 28px; }
}
