/* CSS Design System for International Human Rights Protection & Social Council */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #002b7f;
  --primary-dark: #07162c;
  --primary-blue: #0b2545;
  --accent-red: #d32f2f;
  --accent-red-dark: #b71c1c;
  --accent-gold: #ffd700;
  --accent-gold-dark: #e6b800;
  --accent-gold-light: #fff3b0;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

p, span, div, td, th, a {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* --- TOP ANNOUNCEMENT TICKER & GOVT BAR --- */
.top-gov-bar {
  background: linear-gradient(135deg, #07162c 0%, #002b7f 100%);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--accent-gold);
  width: 100%;
  overflow: hidden;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gov-badges-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: 500;
}

.gov-tag {
  background: var(--accent-red);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-contact-info a {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-contact-info a:hover {
  color: var(--accent-gold);
}

.marquee-wrapper {
  background: var(--accent-gold);
  color: #07162c;
  padding: 0.35rem 0;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  width: 100%;
  overflow: hidden;
}

.marquee-label {
  background: var(--accent-red);
  color: #ffffff;
  padding: 0.2rem 0.75rem;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  z-index: 2;
  border-radius: 2px;
  flex-shrink: 0;
}

.marquee-content {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.marquee-text {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

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

/* --- BRAND LOGO HEADER ROW (MID HEADER) --- */
.header-middle {
  background: #ffffff;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  overflow: hidden;
}

.header-middle-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title-group h1 {
  font-size: 1.45rem;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-title-group p {
  font-size: 0.82rem;
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

.header-mid-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.helpline-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.helpline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.helpline-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.helpline-text strong {
  font-size: 0.95rem;
  color: var(--accent-red);
}

/* --- MAIN NAVBAR ROW (NAVY NAVIGATION BAR) --- */
.nav-bar-row {
  background: linear-gradient(135deg, #07162c 0%, #002b7f 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 43, 127, 0.3);
  border-bottom: 3px solid var(--accent-gold);
  width: 100%;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 44px;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  min-height: 44px;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(211, 47, 47, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #07162c;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: var(--accent-gold);
}

.btn-outline {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  background: transparent;
}

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

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
}

/* --- HERO BANNER & SLIDER --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07162c 0%, #0b2545 50%, #002b7f 100%);
  color: #ffffff;
  padding: 3rem 0;
  overflow: hidden;
  border-bottom: 5px solid var(--accent-gold);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h2 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  max-width: 650px;
}

.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-gold-light);
  max-width: 100%;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 3px solid var(--accent-gold);
  max-width: 100%;
}

.hero-media-card img {
  width: 100%;
  object-fit: cover;
}

/* --- GOVT REGISTRATION BAR --- */
.compliance-strip {
  background: #ffffff;
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}

.compliance-item {
  padding: 0.85rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-navy);
  transition: transform 0.3s ease;
}

.compliance-item:hover {
  transform: translateY(-3px);
}

.compliance-item h4 {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.compliance-item p {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 0.2rem;
}

/* --- SECTION GENERAL STYLES --- */
.section {
  padding: 3rem 0;
  width: 100%;
  overflow: hidden;
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem auto;
}

.subtitle {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--primary-dark);
}

.section-title span {
  color: var(--primary-navy);
  border-bottom: 3px solid var(--accent-gold);
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* --- CHAIRMAN MESSAGE SECTION --- */
.chairman-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 100%;
  box-sizing: border-box;
}

.chairman-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--primary-navy);
  max-width: 100%;
}

.chairman-img-wrap img {
  width: 100%;
  height: auto;
}

.chairman-content p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.quote-box {
  background: var(--accent-gold-light);
  border-left: 4px solid var(--accent-red);
  padding: 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.chairman-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

/* --- WORKING SECTORS / SERVICES (SYMMETRICAL 4-COLUMN DESKTOP GRID) --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sector-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-red);
}

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

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--accent-gold);
}

.sector-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.sector-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* --- MEMBERSHIP DONATION TABLE --- */
.donation-chart-wrap {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  width: 100%;
  overflow-x: auto;
}

.chart-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 1rem;
}

.chart-header h3 {
  color: var(--accent-gold);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  text-transform: uppercase;
}

.chart-header p {
  color: #e2e8f0;
  font-size: 0.8rem;
}

.donation-table-custom {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.donation-table-custom th, .donation-table-custom td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.donation-table-custom th {
  background: var(--primary-blue);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.donation-table-custom tr:nth-child(even) {
  background: var(--bg-light);
}

.fee-badge {
  background: var(--accent-red);
  color: #ffffff;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 30px;
  font-size: 0.8rem;
  display: inline-block;
  white-space: nowrap;
}

/* --- GALLERY & VIDEO SHOWCASE (SYMMETRICAL 4-COLUMN DESKTOP GRID) --- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.82rem;
  min-height: 38px;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #000;
}

.gallery-card img, .gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 44, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--accent-gold);
  font-size: 1.75rem;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* --- LIVE IMPACT COUNTERS --- */
.impact-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 3rem 0;
  width: 100%;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.counter-item h3 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--accent-gold);
  font-weight: 800;
}

.counter-item p {
  color: #cbd5e1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --- FORMS & CARD STYLES --- */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
  font-size: 0.88rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  transition: border-color 0.3s ease;
  background: var(--bg-light);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 43, 127, 0.15);
}

/* --- DIGITAL ID CARD PREVIEW STYLES --- */
.id-card-preview {
  background: linear-gradient(135deg, #07162c 0%, #002b7f 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.id-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
}

.id-logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.id-title h4 {
  color: var(--accent-gold);
  font-size: 0.8rem;
  line-height: 1.1;
}

.id-title p {
  font-size: 0.6rem;
  color: #cbd5e1;
}

.id-body {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 0.75rem;
}

.id-photo-box {
  width: 85px;
  height: 105px;
  background: rgba(255,255,255,0.2);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.id-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-details p {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.id-details strong {
  color: var(--accent-gold-light);
}

.id-footer {
  margin-top: 0.75rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(255,255,255,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: #cbd5e1;
}

/* --- FOOTER --- */
.footer-main {
  background: var(--primary-dark);
  color: #94a3b8;
  padding-top: 3rem;
  border-top: 5px solid var(--accent-red);
  width: 100%;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.35rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent-gold);
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom {
  background: #030b17;
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* --- MODAL POPUP --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0.75rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 650px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--bg-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS (PERFECT SYMMETRICAL GRIDS)
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #07162c !important;
    flex-direction: column;
    padding: 3.5rem 1.25rem 2rem 1.25rem;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.6);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    z-index: 99999 !important;
    overflow-y: auto;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-font-smoothing: antialiased;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 0.95rem;
    color: #ffffff !important;
  }

  .nav-link.active {
    color: var(--accent-gold) !important;
    background: rgba(255, 215, 0, 0.15);
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .header-mid-actions {
    display: none;
  }

  .sectors-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .chairman-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .top-bar-flex {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-middle-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .brand-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 56px;
  }

  .brand-title-group h1 {
    font-size: 1.1rem;
  }

  .brand-title-group p {
    font-size: 0.72rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .counter-item h3 {
    font-size: 2rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    width: 100%;
    padding: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .chairman-actions {
    flex-direction: column;
    width: 100%;
  }

  .chairman-actions .btn {
    width: 100%;
  }

  .donation-chart-wrap {
    padding: 0.75rem 0.35rem;
  }

  .hero-badge-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
}

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .gallery-card {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  .top-gov-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }

  .gov-badges-inline {
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
  }

  .top-contact-info {
    justify-content: center;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .id-card-preview {
    padding: 0.85rem;
  }

  .id-body {
    grid-template-columns: 70px 1fr;
    gap: 0.5rem;
  }

  .id-photo-box {
    width: 70px;
    height: 90px;
  }

  .modal-content-box {
    padding: 1.1rem;
  }
}
