/* ==========================================================================
   KASMN Official Stylesheet — Fresh 2026 Editorial Press Guild Theme
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-deep: #061326;
  --navy-soft: #16335b;
  --crimson: #b8141a;
  --crimson-dark: #8f0e13;
  --teal: #0d7a8c;
  --teal-light: #e7f4f6;
  --gold: #e5b84b;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-alt: #efece4;
  --text: #1b2430;
  --text-muted: #516072;
  --border: #e2ddd2;
  --shadow-sm: 0 4px 14px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 14px 36px rgba(11, 31, 58, 0.09);
  --shadow-lg: 0 24px 58px rgba(6, 19, 38, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans Kannada', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'Noto Sans Kannada', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.lang-kn {
  line-height: 1.78;
}

section[id] {
  scroll-margin-top: 86px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Desktop Utility Bar ---------------- */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.79rem;
  border-bottom: 2px solid var(--crimson);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 5px 24px;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.utility-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd983;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.74rem;
}

.utility-sep {
  opacity: 0.45;
}

.utility-link:hover {
  color: #fff;
}

/* ---------------- Sticky Site Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(11, 31, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(11, 31, 58, 0.14));
}

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

.brand-acronym {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--crimson);
  letter-spacing: 0.03em;
}

.brand-reg-tag {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 700;
}

.brand-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  max-width: 300px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--crimson);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f2efe7;
  border: 1px solid #d5cfc1;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
}

.lang-switch-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-pill-mobile {
  background: var(--navy);
  color: #fff;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  background: #fff;
  border: 1px solid #cfc9bc;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--navy);
  display: block;
  border-radius: 2px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
  border-radius: 8px;
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 20, 26, 0.25);
}

.btn-primary:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--navy-soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------------- Fresh Editorial Hero & Official Bulletin ---------------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 15%, rgba(13, 122, 140, 0.28), transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(184, 20, 26, 0.18), transparent 40%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #132e54 100%);
  color: #fff;
  padding: 28px 0 68px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Official Bulletin Card Integrated Cleanly in Hero */
.bulletin-banner {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 217, 131, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 11px 16px;
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bulletin-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.bulletin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--crimson);
  color: #fff;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.bulletin-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd983;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.bulletin-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.45;
}

.bulletin-cta {
  background: #ffd983;
  color: var(--navy-deep);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.bulletin-cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 44px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd983;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.95rem, 3.6vw, 3.1rem);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
}

body.lang-kn .hero-title {
  font-family: 'Noto Sans Kannada', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.34;
}

.hero-desc {
  font-size: 1.03rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 26px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stat-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 13px 15px;
}

.stat-val {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  color: #fff;
}

.stat-lbl {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
}

.hero-seal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 217, 131, 0.32);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-seal-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.hero-seal-img {
  width: 240px;
  height: 240px;
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.36));
}

.hero-seal-caption {
  font-weight: 800;
  font-size: 1.02rem;
  margin: 0 0 6px;
}

.hero-seal-sub {
  font-size: 0.84rem;
  color: #ffd983;
  font-weight: 700;
  margin: 0;
}

.hero-seal-reg {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
  margin: 6px 0 0;
}

/* ---------------- Section Base ---------------- */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header-left {
  text-align: left;
  margin-left: 0;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--crimson);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.24;
}

body.lang-kn .section-title {
  font-family: 'Noto Sans Kannada', sans-serif;
  line-height: 1.36;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ---------------- Grids & Cards ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Commitments */
.commitment-card {
  border-top: 4px solid var(--navy);
}

.commitment-card:nth-child(even) {
  border-top-color: var(--crimson);
}

.commitment-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: rgba(11, 31, 58, 0.14);
  line-height: 1;
  margin-bottom: 10px;
}

/* About & Bilingual Quote */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--crimson);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.about-card p {
  margin: 0 0 14px;
  font-size: 1.02rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.dropcap-p::first-letter {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  float: left;
  line-height: 0.9;
  margin: 4px 10px 0 0;
  color: var(--crimson);
}

body.lang-kn .dropcap-p::first-letter {
  font-size: inherit;
  float: none;
  margin: 0;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
}

.bilingual-quote-card {
  background: linear-gradient(155deg, var(--navy) 0%, #153158 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bilingual-quote-label {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffd983;
}

.bilingual-quote-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.94);
}

.bilingual-quote-card .kn-text {
  font-size: 0.96rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.vision-box {
  background: linear-gradient(145deg, var(--teal) 0%, #085663 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.vision-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vision-box h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 0 0 12px;
}

body.lang-kn .vision-box h3 {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.vision-box p {
  font-size: 1.03rem;
  line-height: 1.75;
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
}

.mission-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.mission-box h3 {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  color: var(--navy);
  margin: 0 0 18px;
}

body.lang-kn .mission-box h3 {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mission-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.mission-num {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--crimson);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mission-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--navy);
}

.mission-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Pillars */
.pillar-card {
  border-top: 4px solid var(--teal);
  justify-content: space-between;
}

.pillar-card-action {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-card-action:hover {
  color: var(--crimson);
}

/* News */
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-announcement { background: #fdecec; color: var(--crimson); }
.badge-policy { background: #e8effa; color: var(--navy); }
.badge-training { background: var(--teal-light); color: var(--teal); }
.badge-press_release { background: #fff4df; color: #9a6700; }

.news-date {
  color: var(--text-muted);
  font-weight: 600;
}

.news-card-link {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--crimson);
}

/* Founders & Leadership */
.leader-subhead {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leader-subhead::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.leader-card {
  text-align: center;
  align-items: center;
  padding: 22px 16px;
  border-top: 3px solid var(--navy);
}

.leader-card-office {
  border-top-color: var(--crimson);
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.leader-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--crimson);
  padding: 2px;
  background: #fff;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.14);
}

.leader-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 3px solid rgba(255, 217, 131, 0.72);
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.14);
}

.leader-card h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}

.leader-role {
  color: var(--crimson);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.leader-pub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Process & CTA */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--navy);
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.info-box h3 {
  font-family: var(--font-serif);
  margin: 0 0 12px;
  font-size: 1.45rem;
}

body.lang-kn .info-box h3 {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.info-box p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  border-left: 5px solid var(--crimson);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 220px;
  height: 220px;
  background: url('/assets/images/kasmn-logo.png') center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.topbar-badge {
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
}

/* ---------------- Inner Pages & Forms ---------------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 44px 0;
  border-bottom: 3px solid var(--crimson);
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 8px 0 6px;
}

body.lang-kn .page-banner h1 {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.page-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 720px;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfc9bd;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 122, 140, 0.14);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.92);
}

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.93rem;
}

.alert-success { background: #e7f6ee; border: 1px solid #9bd7b6; color: #145c36; }
.alert-error { background: #fdecec; border: 1px solid #f5b5b7; color: #8f0e13; }
.alert-info { background: #e8f1fb; border: 1px solid #b5d0f2; color: #11407a; }

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.article-body {
  font-size: 1.04rem;
  line-height: 1.85;
  white-space: pre-line;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding-top: 56px;
  border-top: 4px solid var(--crimson);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.95fr;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand-row h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.footer-org-sub {
  margin: 2px 0 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-desc {
  font-size: 0.91rem;
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 16px;
}

.footer-est-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd983;
}

.footer-links-col h4,
.footer-contact-col h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-links-col ul,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links-col a:hover,
.footer-contact-list a:hover {
  color: #ffd983;
}

.footer-bottom {
  background: #040c18;
  padding: 16px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1160px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 510;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 24px 22px;
    gap: 4px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    border-bottom: 3px solid var(--crimson);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .nav-link {
    padding: 11px 4px;
    border-bottom: 1px solid #f1eee7;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 12px 0 0;
    gap: 10px;
  }
  .nav-actions .btn,
  .nav-actions .lang-switch-btn {
    width: 100%;
    justify-content: center;
    padding: 11px;
  }
  .header-mobile-actions {
    display: flex;
  }
  .grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .vm-grid,
  .split-panel {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .utility-bar {
    display: none;
  }
  .header-inner {
    min-height: 62px;
    gap: 10px;
  }
  .brand {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .brand-acronym {
    font-size: 1.04rem;
  }
  .brand-name {
    font-size: 0.72rem;
    line-height: 1.22;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero {
    padding: 16px 0 42px;
  }
  .bulletin-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 22px;
  }
  .bulletin-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .bulletin-text {
    font-size: 0.83rem;
  }
  .bulletin-cta {
    text-align: center;
    padding: 9px 14px;
  }
  .hero-grid {
    gap: 26px;
  }
  .hero-kicker {
    font-size: 0.73rem;
    padding: 5px 11px;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-actions {
    flex-direction: column;
    margin-bottom: 20px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-seal-card {
    padding: 22px 16px;
  }
  .hero-seal-img {
    width: 165px;
    height: 165px;
    margin-bottom: 14px;
  }
  .section {
    padding: 46px 0;
  }
  .section-header {
    margin-bottom: 26px;
  }
  .about-card,
  .bilingual-quote-card,
  .vision-box,
  .mission-box,
  .info-box,
  .form-card {
    padding: 20px 16px;
  }
  .grid-3,
  .grid-4,
  .process-grid,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .leader-card {
    padding: 16px 10px;
  }
  .leader-photo,
  .leader-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.4rem;
  }
  .article-shell {
    padding: 20px 16px;
  }
}

@media (max-width: 400px) {
  .grid-5 {
    grid-template-columns: 1fr;
  }
}
