/* ========================================
   HSRP India – Main Stylesheet
   Modern, Premium, Responsive Design
   ======================================== */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C38;
  --saffron-dark: #E05500;
  --green: #138808;
  --green-light: #22c55e;
  --green-dark: #0d6b05;
  --blue: #000080;
  --blue-mid: #0d47a1;
  --blue-light: #1976d2;
  --white: #ffffff;
  --off-white: #f8fafc;
  --bg-light: #f1f5f9;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 68px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  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 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, var(--saffron) 33%, white 33% 66%, var(--green) 66%) 1;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
}

.flag-stripe { flex: 1; }
.flag-stripe.s1 { background: var(--saffron); }
.flag-stripe.s2 { background: var(--white); position: relative; display: flex; align-items: center; justify-content: center; }
.flag-stripe.s3 { background: var(--green); }

.flag-stripe.s2::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--saffron);
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-text-white { color: #fff; }
.brand-text-white em { color: rgba(255,255,255,0.6); }

/* Navigation */
.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--saffron);
  background: rgba(255,107,0,0.07);
}

.nav-list a i { font-size: 12px; }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
  flex-shrink: 0;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.45);
  color: white;
}

.header-cta-back {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  box-shadow: 0 4px 14px rgba(13,71,161,0.3);
}
.header-cta-back:hover {
  box-shadow: 0 6px 20px rgba(13,71,161,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav Overlay (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
  backdrop-filter: blur(2px);
}

/* ========================================
   TICKER BAR
   ======================================== */
.ticker-bar {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, #fff7ed, #fffbf5);
  border-bottom: 2px solid #fed7aa;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--saffron);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-size: 13px;
  font-weight: 500;
  color: var(--saffron-dark);
  padding-left: 20px;
}

.ticker-content strong { color: var(--green-dark); }

.ticker-wrap:hover .ticker-content { animation-play-state: paused; }

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 40px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0d3b6b 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Tricolor decorative band */
.tricolor-band {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 420px;
  display: flex;
  flex-direction: column;
  opacity: 0.12;
  transform: skewX(-8deg);
}

.band { flex: 1; }
.band.saffron { background: var(--saffron); }
.band.white { background: white; display: flex; align-items: center; justify-content: center; }
.band.green { background: var(--green); }

.chakra-center { position: relative; }
.chakra {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 8px solid var(--blue);
}

/* Decorative circles */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
  top: -200px;
  right: 200px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,136,8,0.06) 0%, transparent 70%);
  bottom: -100px;
  left: 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px 80px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: #ff9f50;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--saffron), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(255,107,0,0.4);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,0,0.5);
  color: white;
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-hero:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }
.stat strong { display: block; font-size: 26px; font-weight: 800; color: white; line-height: 1; }
.stat span { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.06));
  color: var(--saffron);
  border: 1px solid rgba(255,107,0,0.2);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  padding: 100px 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--saffron), var(--saffron-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.card-featured {
  border: 2px solid var(--saffron);
  background: linear-gradient(135deg, #fff8f3, white);
}

.card-featured::before { opacity: 1; }

.card-ev {
  border: 2px solid var(--green);
  background: linear-gradient(135deg, #f0fdf4, white);
}

.card-ev::before {
  background: linear-gradient(to right, var(--green), var(--green-light));
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(255,107,0,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--saffron);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card-icon-green { background: linear-gradient(135deg, rgba(19,136,8,0.12), rgba(19,136,8,0.06)); color: var(--green); }
.card-icon-ev { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.07)); color: var(--green-light); }
.card-icon-track { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.06)); color: #3b82f6; }
.card-icon-sticker { background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(168,85,247,0.06)); color: #a855f7; }
.card-icon-grievance { background: linear-gradient(135deg, rgba(239,68,68,0.12), rgba(239,68,68,0.06)); color: #ef4444; }

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--saffron);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-badge-ev { background: var(--green); }

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-features {
  margin-bottom: 24px;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.card-features li i { color: var(--green-light); font-size: 12px; }

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--saffron);
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
  margin-top: auto;
}

.card-btn:hover {
  background: var(--saffron-dark);
  transform: translateX(3px);
  color: white;
}

.card-btn-green { background: var(--green); }
.card-btn-green:hover { background: var(--green-dark); }

.card-btn-ev { background: var(--green-light); }
.card-btn-ev:hover { background: #16a34a; }

.card-btn-track { background: #3b82f6; }
.card-btn-track:hover { background: #2563eb; }

.card-btn-sticker { background: #a855f7; }
.card-btn-sticker:hover { background: #9333ea; }

.card-btn-grievance { background: #ef4444; }
.card-btn-grievance:hover { background: #dc2626; }

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-section {
  padding: 100px 0;
  background: white;
}

.steps-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.step-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 280px;
  flex: 1;
  min-width: 220px;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saffron);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,107,0,0.35);
}

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--saffron);
  margin: 16px auto 20px;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  color: #cbd5e1;
  font-size: 28px;
  flex-shrink: 0;
}

/* ========================================
   STATES SECTION
   ======================================== */
.states-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.states-section .section-header h2 { color: white; }
.states-section .section-header p { color: rgba(255,255,255,0.6); }
.states-section .section-tag {
  background: rgba(255,107,0,0.15);
  border-color: rgba(255,107,0,0.3);
}

.states-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.state-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.state-chip:hover {
  background: rgba(255,107,0,0.2);
  border-color: rgba(255,107,0,0.5);
  color: #ff9f50;
}

.state-chip i { color: var(--saffron); font-size: 11px; }

.featured-chip {
  background: linear-gradient(135deg, rgba(255,107,0,0.25), rgba(255,107,0,0.15));
  border-color: rgba(255,107,0,0.4);
  color: #ff9f50;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
  padding: 60px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trust-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,107,0,0.2);
}

.trust-item > i {
  font-size: 28px;
  color: var(--saffron);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {}

.footer-top {
  background: #0f172a;
  padding: 70px 0 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-col ul li {
  margin-bottom: 10px;
}

.footer-links-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-col ul li a:hover { color: var(--saffron); }
.footer-links-col ul li a i { font-size: 12px; }

.footer-bottom {
  background: #060f1e;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links-row a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-links-row a:hover { color: rgba(255,255,255,0.8); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
    padding-top: var(--header-height);
  }

  .main-nav.open { right: 0; }
  .main-nav.open .nav-overlay { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 4px;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  .hero-content { padding: 60px 24px; }
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 20px; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); }
  .step-card { max-width: 100%; width: 100%; }

  .trust-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-links-row { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
}
