/**
 * EFD Deaf Foundation — Main Component Stylesheet
 * Theme: "Luminous Dignity — Pearl & Sun"
 */

/* ==========================================================================
   1. Header & Two-Line Brand Identity
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

/* Gold hairline beneath header echoing the medallion ring */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0.85;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--bg-canvas);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
  height: 76px;
  padding-inline: clamp(0.5rem, 1.5vw, 1.25rem);
  min-width: 0;
}

@media (max-width: 1139.98px) {
  .header-inner {
    height: 48px;
  }
}

/* Brand Identity in Two Lines */
.brand-identity {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.9vw, 0.85rem);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.efd-logo-medallion {
  width: 58px;
  height: 58px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}

@media (max-width: 1139.98px) {
  .efd-logo-medallion {
    width: 38px;
    height: 38px;
  }
}

.brand-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand-line-1 {
  font-size: clamp(0.85rem, 1.05vw, 1.08rem);
  font-weight: 800;
  color: var(--text-strong);
  white-space: nowrap;
}

.brand-line-2 {
  font-size: clamp(0.85rem, 1.05vw, 1.08rem);
  font-weight: 800;
  color: var(--brand-sapphire);
  white-space: nowrap;
}

html[data-theme="dark"] .brand-line-2 {
  color: var(--brand-gold);
}

html[dir="ltr"] .brand-line-1 {
  font-size: clamp(0.76rem, 0.9vw, 0.98rem);
}

html[dir="ltr"] .brand-line-2 {
  font-size: clamp(0.76rem, 0.9vw, 0.98rem);
}

@media (max-width: 1139.98px) {
  .brand-line-1,
  .brand-line-2 {
    font-size: 0.82rem;
  }
  html[dir="ltr"] .brand-line-1,
  html[dir="ltr"] .brand-line-2 {
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .brand-line-1,
  .brand-line-2 {
    font-size: 0.75rem;
  }
  html[dir="ltr"] .brand-line-1,
  html[dir="ltr"] .brand-line-2 {
    font-size: 0.72rem;
  }
}

.brand-reg {
  font-size: var(--fs-xs);
  color: var(--brand-gold-deep);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

html[data-theme="dark"] .brand-reg {
  color: var(--brand-gold);
}

@media (max-width: 1280px) {
  html[dir="ltr"] .brand-reg {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-reg {
    display: none;
  }
}

/* Desktop Navigation (Visible at >= 1140px) */
.desktop-nav {
  display: none;
}

@media (min-width: 1140px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(0.3rem, 0.65vw, 0.9rem);
    flex-shrink: 0;
  }
}

.nav-link {
  font-size: clamp(0.8rem, 0.82vw, 0.9rem);
  font-weight: 700;
  color: var(--text-body);
  position: relative;
  padding-block: 0.45rem;
  padding-inline: clamp(0.25rem, 0.4vw, 0.55rem);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand-sapphire);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link:focus-visible {
  color: var(--brand-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2.5px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width var(--transition-base);
}

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

.nav-link-donate {
  background: var(--brand-gold) !important;
  color: #111827 !important;
  border-radius: var(--radius-full) !important;
  padding-inline: 0.95rem !important;
  font-weight: 800 !important;
  transition: all var(--transition-fast) !important;
}

.nav-link-donate:hover {
  background: var(--brand-gold-deep) !important;
  color: #FFFFFF !important;
}

.nav-link-donate::after {
  display: none !important;
}

/* Header Tools & Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.65rem);
  flex-shrink: 0;
  margin-inline-start: auto;
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  cursor: pointer;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  box-shadow: var(--shadow-sm);
  transform: rotate(15deg);
}

.theme-icon-sun,
.theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

/* Compact En / ع Switch Button */
.lang-toggle-btn {
  min-height: 34px;
  min-width: 36px;
  padding: 0 0.6rem;
  border-radius: var(--radius-full);
  background: var(--brand-sapphire-tint);
  border: 1px solid var(--border-soft);
  color: var(--brand-sapphire);
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  cursor: pointer;
}

.lang-toggle-btn:hover {
  background: var(--brand-sapphire);
  color: #FFFFFF;
  border-color: var(--brand-sapphire);
}

html[data-theme="dark"] .lang-toggle-btn {
  background: rgba(212, 160, 23, 0.12);
  color: var(--brand-gold);
  border-color: rgba(212, 160, 23, 0.25);
}

html[data-theme="dark"] .lang-toggle-btn:hover {
  background: var(--brand-gold);
  color: #111827;
  border-color: var(--brand-gold);
}

/* Mobile Nav Toggle (Hamburger Button) */
.mobile-nav-toggle {
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
}

@media (min-width: 1140px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

.mobile-nav-toggle:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  box-shadow: var(--shadow-sm);
}



/* Animated Hamburger Lines */
.hamburger-box {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 14px;
}

.hamburger-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.28s var(--ease-smooth), opacity 0.2s ease, top 0.28s var(--ease-smooth);
}

.hamburger-line.line-1 {
  top: 0;
}

.hamburger-line.line-2 {
  top: 6px;
}

.hamburger-line.line-3 {
  top: 12px;
}

/* Morph Hamburger to X when open */
.mobile-nav-toggle.is-active .hamburger-line.line-1,
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line.line-1 {
  top: 6px;
  transform: rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-line.line-2,
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line.line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.is-active .hamburger-line.line-3,
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line.line-3 {
  top: 6px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Mobile Nav Drawer & Backdrop Overlay
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 17, 30, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--bg-canvas);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.38s;
  overflow-y: auto;
  overscroll-behavior: contain;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.mobile-nav-drawer::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

/* In Arabic (RTL), drawer anchors to the right and slides from the right */
html[dir="rtl"] .mobile-nav-drawer {
  right: 0;
  left: auto;
  border-left: 2px solid var(--border-gold);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.32);
  transform: translateX(100%);
}

/* In English (LTR), drawer anchors to the left and slides from the left */
html[dir="ltr"] .mobile-nav-drawer {
  left: 0;
  right: auto;
  border-right: 2px solid var(--border-gold);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.32);
  transform: translateX(-100%);
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-card);
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.drawer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1.5px solid var(--border-gold);
  flex-shrink: 0;
}

.drawer-title-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-reg-badge {
  font-size: 0.68rem;
  color: var(--brand-gold-deep);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-theme="dark"] .drawer-reg-badge {
  color: var(--brand-gold);
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: rotate(90deg);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.85rem;
  list-style: none;
  flex: 1 0 auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-nav-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  border-inline-start: 3px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: var(--brand-sapphire-tint);
  color: var(--brand-sapphire);
  border-inline-start-color: var(--brand-gold);
  padding-inline-start: 1.25rem;
}

html[data-theme="dark"] .mobile-nav-link:hover,
html[data-theme="dark"] .mobile-nav-link:focus-visible {
  color: var(--brand-gold);
}

.mobile-drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  box-sizing: border-box;
}

.drawer-actions-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.btn-drawer-tool {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

/* Specific drawer overrides for lang toggle inside drawer */
.drawer-actions-row .btn-drawer-tool.lang-toggle-btn {
  background: var(--bg-canvas);
  color: var(--text-strong);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  min-height: 44px;
  padding: 0.6rem 0.5rem;
}

.drawer-actions-row .btn-drawer-tool.lang-toggle-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--surface-card);
}

.btn-drawer-tool:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--surface-card);
}

.btn-drawer-tool .theme-icon-moon,
.btn-drawer-tool .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .btn-drawer-tool .theme-icon-moon {
  display: inline-block;
}

html[data-theme="dark"] .btn-drawer-tool .theme-icon-sun {
  display: inline-block;
}

.drawer-cta-btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  margin: 0;
  padding-inline: 1rem;
}

/* ==========================================================================
   2. Hero Section — "Pearl & Sun" Luminous Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  padding-block-start: clamp(3.5rem, 6vw, 6rem);
  padding-block-end: clamp(4rem, 6vw, 6.5rem);
  overflow: hidden;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border-soft);
  --mouse-x: 50%;
  --mouse-y: 40%;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    650px circle at var(--mouse-x, 50%) var(--mouse-y, 40%),
    rgba(197, 155, 39, 0.16),
    rgba(26, 62, 153, 0.08) 40%,
    transparent 75%
  );
  z-index: 1;
  transition: background 0.08s ease-out;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  inset-inline-start: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 5%;
  inset-inline-end: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(26, 62, 153, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero-mobile-logo {
  display: none;
}

@media (max-width: 991px) {
  .hero-mobile-logo {
    display: flex;
    justify-content: center;
    margin-block-end: 1.5rem;
  }
  .hero-mobile-logo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 3px solid var(--brand-gold);
    box-shadow: var(--shadow-gold);
    background: #FFFFFF;
    padding: 3px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: var(--brand-gold-tint);
  border: 1px solid var(--border-gold);
  color: var(--brand-gold-deep);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 700;
  margin-block-end: 1.5rem;
}

html[data-theme="dark"] .hero-tag {
  color: var(--brand-gold);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 900;
  margin-block-end: 1.5rem;
  color: var(--text-strong);
  line-height: 1.25;
}

.hero-desc {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--text-body);
  margin-block-end: 2.2rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-block-end: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.medallion-card {
  position: relative;
  padding: 2.8rem 2.2rem;
  background: var(--surface-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.medallion-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--grad-gold);
}

.hero-logo-large {
  aspect-ratio: 1 / 1;
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 24px rgba(197, 155, 39, 0.35));
  margin-block-end: 1.5rem;
  animation: floatMedallion 6s ease-in-out infinite;
}

@keyframes floatMedallion {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.medallion-caption {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand-sapphire);
  margin-block-end: 0.4rem;
}

html[data-theme="dark"] .medallion-caption {
  color: var(--brand-gold);
}

.medallion-sub {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ==========================================================================
   3. Quick Impact Stats Bar
   ========================================================================== */
.stats-bar {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--brand-sapphire);
  line-height: 1.1;
  margin-block-end: 0.4rem;
}

html[data-theme="dark"] .stat-number {
  color: var(--brand-gold);
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-body);
  font-weight: 600;
}

/* ==========================================================================
   4. About Section & Logo Symbolism
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-p {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--text-body);
  margin-block-end: 1.5rem;
}

.about-symbolism-box {
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-block-start: 2rem;
  box-shadow: var(--shadow-sm);
}

.symbolism-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-sapphire);
  margin-block-end: 1rem;
}

html[data-theme="dark"] .symbolism-title {
  color: var(--brand-gold);
}

.symbolism-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.symbolism-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.6;
}

.symbol-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.symbol-dot.blue { background: #1A3E99; }
.symbol-dot.gold { background: #D4AF37; }
.symbol-dot.white { background: #FFFFFF; border: 1px solid #C59B27; }
.symbol-dot.ruby { background: #A61C2E; }
.symbol-dot.slate { background: #1E232E; }

.about-goals-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-goals-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--grad-sapphire);
}

.goals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block-start: 1.5rem;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.goal-icon {
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   4b. Latest News & Strategic Announcements (#news)
   ========================================================================== */
.news-section {
  padding-block: var(--space-3xl);
  background: var(--bg-canvas);
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.news-card-featured {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.news-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

/* Image wrapper preserving native 1280:511 aspect ratio */
.news-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 511;
  background: var(--bg-subtle);
  overflow: hidden;
}

.news-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.news-card-featured:hover .news-media-frame img {
  transform: scale(1.02);
}

.news-badge-overlay {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 2;
}

.news-tag-pill {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--brand-sapphire);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .news-tag-pill {
  color: var(--brand-gold);
}

.news-date-pill {
  background: rgba(14, 18, 32, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.news-content-body {
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.news-motto-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--brand-gold-tint);
  border-inline-start: 4px solid var(--brand-gold);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--text-strong);
  margin-block-end: 1rem;
}

.news-card-title {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  color: var(--text-strong);
  line-height: 1.35;
  margin-block-end: 1rem;
}

.news-card-excerpt {
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.8;
  margin-block-end: 1.5rem;
}

.news-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-block-end: 1.75rem;
}

@media (min-width: 768px) {
  .news-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-pillar-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color var(--transition-fast);
}

.news-pillar-item:hover {
  border-color: var(--border-gold);
}

.news-pillar-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--brand-sapphire);
}

html[data-theme="dark"] .news-pillar-head {
  color: var(--brand-gold);
}

.news-pillar-icon {
  font-size: 1.25rem;
}

.news-pillar-desc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block-start: 1.25rem;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.news-signatories-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
  flex: 1 1 300px;
}

.news-signatories-meta strong {
  color: var(--text-strong);
}

.news-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-small);
  cursor: pointer;
  background: var(--grad-sapphire);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(26, 62, 153, 0.25);
  transition: all var(--transition-fast);
}

.news-action-btn:hover {
  background: var(--grad-gold);
  color: var(--brand-sapphire-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.35);
}

.news-action-btn:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

html[dir="rtl"] .news-action-btn svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   News Accessible Modal Dialog
   ========================================================================== */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal.active {
  opacity: 1;
  visibility: visible;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.news-modal-dialog {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(197, 155, 39, 0.15);
  z-index: 2;
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s ease;
}

.news-modal.active .news-modal-dialog {
  transform: scale(1) translateY(0);
}

.news-modal-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.news-modal-close:hover {
  background: var(--brand-ruby);
  color: #FFFFFF;
  border-color: var(--brand-ruby);
  transform: rotate(90deg);
}

.news-modal-close:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

.news-modal-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
}

.news-modal-photo {
  width: 100%;
  aspect-ratio: 1280 / 511;
  background: var(--bg-subtle);
  overflow: hidden;
}

.news-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-modal-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 1rem;
  flex-wrap: wrap;
}

.news-modal-title {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  color: var(--text-strong);
  line-height: 1.4;
  margin-block-end: 1rem;
}

.news-modal-lead {
  font-size: var(--fs-body-lg);
  font-weight: 600;
  color: var(--brand-sapphire);
  line-height: 1.8;
  margin-block-end: 1rem;
}

html[data-theme="dark"] .news-modal-lead {
  color: var(--brand-gold);
}

.news-modal-quote {
  background: var(--brand-gold-tint);
  border-inline-start: 4px solid var(--brand-gold);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--text-strong);
  margin-block-end: 1.25rem;
}

.news-modal-text {
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.85;
  margin-block-end: 1rem;
}

.news-modal-section-title {
  font-size: var(--fs-h3);
  color: var(--text-strong);
  margin-block: 1.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-parties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-block-end: 1.5rem;
}

@media (min-width: 640px) {
  .news-parties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.news-party-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.news-party-name {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--brand-sapphire);
  margin-block-end: 0.5rem;
}

html[data-theme="dark"] .news-party-name {
  color: var(--brand-gold);
}

.news-party-list {
  font-size: var(--fs-xs);
  color: var(--text-body);
  line-height: 1.7;
}

.news-platforms-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .news-platforms-list {
    grid-template-columns: 1fr 1fr;
  }
}

.news-platform-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-strong);
}

body.news-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   5. Programs & Services Grid (8 Cards)
   ========================================================================== */
.programs-section {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border-soft);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

@media (min-width: 640px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.program-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-gold);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

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

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

.prog-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--brand-sapphire-tint);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sapphire);
  margin-block-end: 1.25rem;
  font-size: 1.5rem;
}

html[data-theme="dark"] .prog-icon-wrap {
  color: var(--brand-gold);
}

.prog-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-block-end: 0.5rem;
}

html[data-theme="dark"] .prog-tag {
  color: var(--brand-gold);
}

.prog-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-block-end: 0.85rem;
  color: var(--text-strong);
  line-height: 1.35;
}

.prog-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   5c. Supported Applications & Technologies (#apps)
   ========================================================================== */
.apps-section {
  padding-block: var(--space-3xl);
  background: var(--bg-canvas);
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 4px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

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

.app-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-block-end: 1.25rem;
}

/* Strict 1:1 Aspect-Ratio Lock for App Logos */
.app-logo-frame {
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.app-logo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.app-header-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.app-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-sapphire);
  background: var(--brand-gold-tint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  width: fit-content;
}

html[data-theme="dark"] .app-kicker-badge {
  color: var(--brand-gold);
}

.app-card-title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  color: var(--text-strong);
  line-height: 1.35;
  margin: 0;
}

.app-card-desc {
  font-size: var(--fs-body);
  color: var(--text-body);
  line-height: 1.75;
  margin-block-end: 1.25rem;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.app-features-list li {
  position: relative;
  padding-inline-start: 1.75rem;
  font-size: var(--fs-small);
  color: var(--text-strong);
  line-height: 1.5;
}

.app-features-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--brand-sapphire-deep);
  font-weight: 900;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-audience-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-block-end: 1.25rem;
}

.app-audience-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-sapphire);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-block-end: 0.25rem;
}

html[data-theme="dark"] .app-audience-title {
  color: var(--brand-gold);
}

.app-audience-val {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

.app-efd-note {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-strong);
  background: var(--brand-gold-tint);
  border-inline-start: 3.5px solid var(--brand-gold);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-block-end: 1.5rem;
  line-height: 1.65;
}

.app-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block-start: auto;
}

.btn-whatsapp-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 700;
  background: #25D366;
  color: #04361A;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transition: all var(--transition-fast);
}

.btn-whatsapp-app:hover {
  background: #1EB85A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-app:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 2px;
}

.btn-visit-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 700;
  background: transparent;
  color: var(--brand-sapphire);
  border: 1.5px solid var(--brand-sapphire);
  text-decoration: none;
  transition: all var(--transition-fast);
}

html[data-theme="dark"] .btn-visit-app {
  color: var(--brand-gold);
  border-color: var(--brand-gold);
}

.btn-visit-app:hover {
  background: var(--brand-sapphire);
  color: #FFFFFF;
  transform: translateY(-2px);
}

html[data-theme="dark"] .btn-visit-app:hover {
  background: var(--brand-gold);
  color: var(--brand-sapphire-deep);
}

.btn-visit-app:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

.apps-trust-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-block-start: 2rem;
  font-weight: 600;
}

/* ==========================================================================
   6. Leadership & Interpreters Showcase
   ========================================================================== */
.leadership-header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-block-end: 2.5rem;
}

.leader-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-card);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.leader-tab {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.leader-tab.active {
  background: var(--brand-sapphire);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.slider-wrapper {
  position: relative;
  margin-block-start: 1.5rem;
}

.slider-controls {
  display: none;
}

.leadership-grid,
.leadership-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  padding-block: 0.5rem 1.5rem;
}

@media (max-width: 991px) {
  .leadership-grid,
  .leadership-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .leadership-grid,
  .leadership-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.leader-card {
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.leader-bio {
  flex-grow: 1;
  display: flex;
  align-items: center;
  margin-block-end: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}

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

.leader-img-frame {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: var(--grad-medallion);
  margin-block-end: 1.25rem;
  box-shadow: var(--shadow-gold);
}

.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface-card);
}

.leader-role-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-gold-deep);
  background: var(--brand-gold-tint);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-block-end: 0.65rem;
}

html[data-theme="dark"] .leader-role-badge {
  color: var(--brand-gold);
}

.leader-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-block-end: 0.75rem;
  color: var(--text-strong);
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-block-end: 1.4rem;
  flex-grow: 1;
}

.leader-contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-block-start: auto;
  margin-block-end: 1.25rem;
}

.leader-btn-cv {
  width: 100%;
  font-size: var(--fs-small);
  padding: 0.6rem 1.2rem;
  min-height: 44px;
}

/* ==========================================================================
   7. Donation & Sponsorship Hub
   ========================================================================== */
.donation-section {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border-soft);
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .donation-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.donation-card-main {
  background: var(--surface-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.vf-cash-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-block: 1.5rem;
}

.vf-cash-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 1rem;
}

.vf-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E60000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.vf-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-block-end: 0.75rem;
  gap: 1rem;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-sapphire);
}

html[data-theme="dark"] .vf-number-row {
  color: var(--brand-gold);
}

.copy-btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.95rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--brand-gold);
  color: var(--text-ongold);
}

.copy-btn.copied {
  background: var(--color-success);
  color: #FFFFFF;
  border-color: var(--color-success);
}

.donation-purposes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 1.5rem;
}

.purpose-pill {
  font-size: var(--fs-small);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  color: var(--text-body);
  font-weight: 600;
}

.donation-side-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.official-receipt-box {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.seal-icon {
  font-size: 2.5rem;
  margin-block-end: 1rem;
}

/* ==========================================================================
   8. Contact Section & Interactive Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-sapphire-tint);
  border: 1px solid var(--border-soft);
  color: var(--brand-sapphire);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html[data-theme="dark"] .contact-icon-box {
  color: var(--brand-gold);
}

.contact-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-block-end: 0.25rem;
}

.contact-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.5;
}

.map-embed-wrapper {
  margin-block-start: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  height: 200px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form-card {
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-block-end: 1.25rem;
}

.form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-strong);
  margin-block-end: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-strong);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-sapphire);
  box-shadow: var(--glow-focus);
}

.form-select option {
  background: var(--surface-card);
  color: var(--text-strong);
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-block-start: 1.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--color-success-bg);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.form-feedback.error {
  display: block;
  background: var(--brand-ruby-tint);
  border: 1px solid var(--brand-ruby);
  color: var(--brand-ruby);
}

/* ==========================================================================
   9. Photo Albums Gallery & Lightbox (#gallery)
   ========================================================================== */
.gallery-section {
  padding-block: var(--space-3xl);
  background: var(--bg-canvas);
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-block: 2rem 2.5rem;
}

.gallery-year-tab {
  border: 1px solid var(--border-soft);
  background: var(--surface-card);
  color: var(--text-body);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-small);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-year-tab:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
}

.gallery-year-tab.active {
  background: var(--brand-sapphire);
  color: #FFFFFF;
  border-color: var(--brand-sapphire);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  outline: none;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.gallery-card:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

.gallery-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.06);
}

.gallery-year-badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  background: var(--brand-sapphire);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.gallery-tag-badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  background: rgba(14, 18, 32, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.gallery-view-icon {
  position: absolute;
  inset-inline-end: 0.75rem;
  bottom: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: var(--text-dark);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.75);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.gallery-card:hover .gallery-view-icon,
.gallery-card:focus-visible .gallery-view-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-block-end: 0.4rem;
  line-height: 1.4;
}

.gallery-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-block-end: 0.75rem;
}

.gallery-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 25, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0A0F1D;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-gold);
  background: var(--brand-gold-tint);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-block-end: 0.25rem;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--brand-ruby);
  border-color: var(--brand-ruby);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--brand-sapphire);
  border-color: var(--brand-sapphire);
}

.lightbox-prev {
  inset-inline-start: 1rem;
}

.lightbox-next {
  inset-inline-end: 1rem;
}

/* ==========================================================================
   10. Strategic Partners — Auto-Scrolling Infinite Marquee Carousel
   ========================================================================== */
.partners-section {
  padding-block: 3.5rem;
  background: var(--bg-subtle);
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-soft);
}

.partners-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 0.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.partners-marquee-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: marquee-scroll 35s linear infinite;
}

html[dir="rtl"] .partners-marquee-track {
  animation-name: marquee-scroll-rtl;
}

.partners-marquee-wrapper:hover .partners-marquee-track,
.partners-marquee-wrapper:focus-within .partners-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.partner-card {
  flex: 0 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.partner-card:hover {
  border-color: var(--brand-gold);
  color: var(--brand-sapphire);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-card img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.partner-card:hover img {
  transform: scale(1.04);
}

.site-footer {
  background: var(--bg-sunk);
  border-top: 1px solid var(--border-soft);
  padding-block: 3.5rem 2rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}

html[data-theme="dark"] .site-footer {
  background: #080B14;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-block-end: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-block-end: 0.85rem;
}

.footer-desc {
  line-height: 1.7;
  margin-block-end: 1.5rem;
  max-width: 400px;
  color: var(--text-body);
}

.footer-social-links {
  display: flex;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-block-end: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-sapphire);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-body);
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-block-start: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: inherit;
  }
}

.diginovia-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  font-weight: 600;
}

.diginovia-credit a {
  color: var(--brand-sapphire);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] .diginovia-credit a {
  color: var(--brand-gold);
}

.diginovia-heart {
  color: #DC2626;
  display: inline-block;
  animation: pulseHeart 1.5s infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
