/* ============================================
   SHARED CSS — Jan Seva Kendra Website
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Hind:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #0B2545;
  --navy-mid:   #134074;
  --blue:       #1A6FBF;
  --blue-light: #2E8FE4;
  --saffron:    #E87722;
  --saffron-lt: #F59A45;
  --green:      #217A3C;
  --green-lt:   #2DA54F;
  --gold:       #D4A017;
  --white:      #FFFFFF;
  --off-white:  #F4F7FB;
  --gray-lt:    #EEF2F7;
  --gray:       #8A97A8;
  --text:       #1C2B3A;
  --text-mid:   #4A5568;
  --shadow-sm:  0 2px 8px rgba(11,37,69,0.08);
  --shadow-md:  0 6px 24px rgba(11,37,69,0.12);
  --shadow-lg:  0 16px 48px rgba(11,37,69,0.16);
  --radius:     14px;
  --radius-lg:  20px;
  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Hind', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

h1,h2,h3,h4,h5 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== TOP GOV BAR ===== */
.gov-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 2px solid var(--saffron);
}
.gov-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.gov-bar-left { display: flex; align-items: center; gap: 16px; }
.gov-bar-left span { display: flex; align-items: center; gap: 5px; }
.flag-strip {
  display: flex;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  width: 22px;
}
.flag-strip .s { flex: 1; }
.flag-strip .s1 { background: #FF9933; }
.flag-strip .s2 { background: white; }
.flag-strip .s3 { background: #138808; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-brand-text .brand-name {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.1;
}
.nav-brand-text .brand-sub {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--off-white);
  color: var(--navy);
}
.nav-links a.active {
  color: var(--blue);
  background: rgba(26,111,191,0.08);
}
.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-lt));
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(232,119,34,0.35);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,119,34,0.45) !important;
  background: linear-gradient(135deg, var(--saffron-lt), var(--saffron)) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
  color: white;
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,119,34,0.2) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,111,191,0.25) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--saffron-lt); }
.page-hero p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  opacity: 0.7;
}
.breadcrumb a { color: var(--saffron-lt); }
.breadcrumb span { opacity: 0.5; }

/* ===== SECTION COMMON ===== */
.section {
  padding: 72px 24px;
}
.section-alt {
  background: var(--white);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,111,191,0.1);
  color: var(--blue);
  border: 1px solid rgba(26,111,191,0.2);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-header h2 span { color: var(--saffron); }
.section-header p {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}
.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Baloo 2', cursive;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-lt));
  color: white;
  box-shadow: 0 4px 18px rgba(232,119,34,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,34,0.5);
}
.btn-secondary {
  background: white;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: white;
  color: var(--navy);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  color: white;
  box-shadow: 0 4px 16px rgba(33,122,60,0.35);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33,122,60,0.45);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 22px;
  color: white;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  color: white;
}
.social-btn:hover {
  background: var(--saffron);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 16px;
  color: white;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--saffron);
  display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--saffron-lt); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-contact-item .icon {
  width: 32px; height: 32px;
  background: rgba(232,119,34,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a { color: var(--saffron-lt); }
.govt-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.govt-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2s infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.65);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-md); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
  .page-hero { padding: 48px 16px; }
}
