/* ══════════════════════════════════════════════════════════
   MAHARASHTRA PAN VYAPARI MAHASANGH — DESIGN SYSTEM
   ══════════════════════════════════════════════════════════ */
:root {
  /* Institutional green scale (derived from the official emblem) */
  --green-950: #0b3528;
  --green-900: #124a35;
  --green-800: #17613f;
  --green-700: #1f7448;
  --green-600: #2c8a58;

  /* Warm accents */
  --saffron: #d9932f;
  --saffron-dark: #b97a1f;
  --gold: #c9a13b;
  --gold-light: #e3c377;

  /* Neutrals */
  --ivory: #faf8f2;
  --cream: #f4efe3;
  --pale-green: #eaf2ea;
  --white: #ffffff;

  /* Text */
  --text-dark: #17241d;
  --text-muted: #5f6b64;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.68);

  /* Structure */
  --border: #e4ddcc;
  --border-dark: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11, 53, 40, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 53, 40, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 53, 40, 0.18);

  --font-heading: "Noto Serif Devanagari", "Playfair Display", serif;
  --font-body: "Noto Sans Devanagari", "Inter", sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  padding-top: 88px;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a { color: inherit; }
img { max-width: 100%; }

/* ── SHARED SECTION PRIMITIVES ── */
.section-tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--saffron-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading-dark {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.35;
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 18px;
}

/* ── BUTTON SYSTEM ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--green-800);
  color: var(--green-800);
}
.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

/* Dark-background context (hero) */
.hero .btn-primary {
  background: var(--saffron);
  color: var(--green-950);
  box-shadow: 0 10px 26px rgba(11, 53, 40, 0.35);
}
.hero .btn-primary:hover {
  background: var(--gold-light);
}
.hero .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--green-950);
  border-bottom: 1px solid rgba(201, 161, 59, 0.35);
}

.navbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  gap: 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

.navbar-emblem {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.navbar-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  white-space: normal;
}

.navbar-brand-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Hamburger toggle (mobile) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggle:focus-visible,
.lang-btn:focus-visible,
.navbar-links a:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.navbar-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width 0.2s ease;
}

.navbar-links a:hover {
  color: var(--white);
}
.navbar-links a:hover::after {
  width: 100%;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 161, 59, 0.4);
  border-radius: 30px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover { color: var(--white); }

.lang-btn.active {
  background: var(--saffron);
  color: var(--green-950);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
  padding: 56px 32px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1.5px,
    transparent 1.5px,
    transparent 26px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-text { max-width: 620px; }

.hero-eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.28;
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-on-dark);
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual / medallion */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-medallion {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-medallion::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 147, 47, 0.25) 0%, transparent 70%);
}

.hero-medallion-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(227, 195, 119, 0.5);
}

.hero-emblem-img {
  position: relative;
  z-index: 2;
  width: 76%;
  height: 76%;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 50%;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

/* ── SECTION DIVIDER MOTIF ── */
.about-section,
.initiative-section,
.contact-section {
  position: relative;
}

.about-section::before,
.initiative-section::before,
.contact-section::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 0 auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── ABOUT / ORGANIZATION SECTION ── */
.about-section {
  background: var(--ivory);
  padding: 84px 32px;
}

.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 30px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.about-pillars li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.about-pillar-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-panel {
  position: relative;
  background: linear-gradient(160deg, var(--pale-green), var(--cream));
  border-radius: 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(23, 97, 63, 0.28);
  border-radius: 14px;
}

.about-panel-watermark {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 170px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 20px;
  box-shadow: var(--shadow-md);
}

/* ── ME PANWALA INITIATIVE SECTION ── */
.initiative-section {
  background: var(--pale-green);
  padding: 84px 32px;
}

.initiative-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 52px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.initiative-card .section-tag { margin-bottom: 24px; }

.initiative-body {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.initiative-logo-frame {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.initiative-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.initiative-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
}

.initiative-content p {
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--text-muted);
  letter-spacing: normal;
  word-spacing: normal;
  margin-bottom: 10px;
}

.initiative-note {
  font-family: "Inter", sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  color: var(--saffron-dark) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  margin-bottom: 22px !important;
}

.initiative-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--ivory);
  padding: 84px 32px;
}
.contact-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.contact-text p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  letter-spacing: normal;
  word-spacing: normal;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.contact-icon {
  width: 42px; height: 42px;
  background: var(--pale-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 19px; height: 19px; fill: var(--green-800); }
.contact-card-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--saffron-dark);
  letter-spacing: 0.08em;
  line-height: 1;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
}
.contact-card-value,
.contact-card-value a {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}
.contact-card-value a:hover { color: var(--green-800); text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: var(--green-950);
  padding: 60px 32px 0;
}
.footer-top {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-emblem {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.footer-brand-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.footer-links-col h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
}
.footer-links-col a,
.footer-links-col span {
  display: block;
  text-decoration: none;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  line-height: 2;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
}
.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-legal a {
  text-decoration: none;
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold-light); }
.footer-divider { color: rgba(255, 255, 255, 0.3); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-medallion { width: 200px; height: 200px; }

  .about-inner { grid-template-columns: 1fr; }
  .about-panel { order: -1; min-height: 220px; }
  .about-panel-watermark { width: 130px; height: 130px; }

  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .navbar-toggle { display: flex; }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-950);
    border-bottom: 1px solid rgba(201, 161, 59, 0.35);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .navbar-menu.open {
    max-height: 420px;
    padding: 20px 24px 28px;
  }

  .navbar-links {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .lang-switcher { align-self: flex-start; }

  .initiative-body { flex-direction: column; text-align: center; }
  .initiative-content { text-align: center; }
  .initiative-cta-group { justify-content: center; }
}

@media (max-width: 768px) {
  body { padding-top: 72px; }
  .navbar-inner { padding: 10px 18px; gap: 14px; }
  .navbar-emblem { height: 38px; width: 38px; }
  .navbar-brand-name { font-size: 0.98rem; }
  .navbar-brand-sub { font-size: 0.66rem; }

  .hero { padding: 44px 22px; }
  .hero-inner { min-height: auto; }

  .about-section,
  .initiative-section,
  .contact-section { padding: 56px 22px; }
  .initiative-card { padding: 34px 24px; }

  .contact-cards { grid-template-columns: 1fr; }

  .footer { padding: 48px 22px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand { flex-direction: column; align-items: center; }
  .footer-links-col { align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .navbar-inner { padding: 8px 14px; gap: 10px; }
  .navbar-emblem { height: 32px; width: 32px; }
  .navbar-brand-name { font-size: 0.85rem; }
  .navbar-toggle { width: 34px; height: 34px; }
}
