/* Dr. Abdul Shakeel Charitable Trust — Landing Page */

:root {
  --white: #ffffff;
  --off-white: #f8f9fb;
  --surface: #f1f4f8;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --gold: #b8860b;
  --gold-light: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --navy: #0f2447;
  --green: #2d6a4f;
  --shadow-sm: 0 1px 3px rgba(15, 36, 71, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 36, 71, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 36, 71, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, var(--gold-soft) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(15, 36, 71, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text .location {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a.nav-active {
  color: var(--gold);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.3);
}

.nav-desktop a.btn-primary {
  color: var(--white);
}

.nav-desktop a.btn-primary:hover {
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* ── Hero ── */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual-inner {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-visual-inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-light), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-visual .logo {
  width: 200px;
  margin: 0 auto;
}

.hero-visual-trust {
  text-align: center;
  padding: 2.5rem 2rem;
}

.logo-large {
  width: 240px !important;
  margin-bottom: 1.5rem !important;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.hero-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-values span {
  padding: 0.4rem 1rem;
  background: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

/* ── Stats ── */
.stats {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  text-align: center;
  padding: 1.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Section common ── */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  margin: 0 auto 1rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-content p strong {
  color: var(--navy);
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.about-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Programs ── */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.program-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-md);
}

.program-card.featured {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
}

.program-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.program-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s;
}

.program-link:hover {
  gap: 0.6rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--gold-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
}

.contact-map img {
  width: 120px;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.contact-map h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-map p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 80px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom span {
  color: var(--gold-light);
}

.programs-grid-three {
  grid-template-columns: 1fr;
}

/* ── Home quick links ── */
.home-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.home-link-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s ease;
}

.home-link-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-link-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.home-link-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.home-link-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

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

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

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  text-align: center;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Past events ── */
.event-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.event-feature-content .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.event-feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.event-intro {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.event-feature-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.event-feature-visual {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.event-feature-visual img {
  max-width: 320px;
  width: 100%;
  object-fit: contain;
}

.events-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.3s;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
}

.event-card-highlight {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
}

.event-card-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0;
}

.event-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.event-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-status-done {
  background: #dcfce7;
  color: #166534;
}

.season-table-wrap {
  overflow-x: auto;
  margin-bottom: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.season-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.season-table th,
.season-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.season-table th {
  background: var(--off-white);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.season-table tbody tr:last-child td {
  border-bottom: none;
}

.season-table-highlight {
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
}

.season-table td strong {
  color: var(--navy);
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.event-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.event-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.event-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.event-details li {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  list-style: none;
}

.event-details li strong {
  color: var(--navy);
}

.event-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.event-note p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.event-note a:not(.btn) {
  color: var(--gold);
  font-weight: 600;
}

.event-note a:not(.btn):hover {
  text-decoration: underline;
}

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

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

/* ── Responsive ── */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1.2fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

/* ── Registration form ── */
.container-narrow {
  max-width: 820px;
}

.page-hero-compact {
  padding-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem !important;
}

.info-banner {
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.info-banner h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.info-banner ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.info-banner li {
  margin-bottom: 0.35rem;
}

.deadline-notice {
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0;
}

.deadline-notice.closed {
  color: #b91c1c;
}

.form-closed {
  text-align: center;
  padding: 2rem;
  background: var(--off-white);
  border-radius: var(--radius);
}

.reg-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--white);
}

/* ── Multi-step registration flow ── */
.reg-flow.reg-form-multistep .form-steps {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.form-step-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.reg-flow.reg-form-multistep .form-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: 72px;
  text-align: center;
}

.reg-flow.reg-form-multistep .step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--off-white);
  color: var(--text-muted);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.reg-flow.reg-form-multistep .form-step-indicator.active .step-number {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.reg-flow.reg-form-multistep .form-step-indicator.completed .step-number {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.reg-flow.reg-form-multistep .step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.reg-flow.reg-form-multistep .form-step-indicator.active .step-label {
  color: var(--navy);
}

.reg-flow.reg-form-multistep .form-step-line {
  flex: 0 0 20px;
  height: 2px;
  background: var(--border);
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}

.reg-flow.reg-form-multistep .form-step-panel[hidden],
.reg-flow #registrationForm[hidden],
.reg-flow .form-step-panel[data-form-step][hidden] {
  display: none !important;
}

.reg-flow .form-nav {
  margin-top: 0.5rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, var(--white) 75%, transparent);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.reg-flow #formNav[hidden] {
  display: none !important;
}

.reg-flow .form-nav-final {
  margin-top: 0;
  position: static;
  background: none;
  padding-top: 0;
  padding-bottom: 0;
}

.reg-flow .form-actions-split {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reg-flow .form-actions-split .btn-outline {
  flex: 0 0 auto;
}

.reg-flow .form-actions-split .btn-primary {
  flex: 1;
  min-width: 180px;
}

/* Scholarship details (step 1 info) */
.scholarship-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.detail-card-highlight {
  border-color: rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-soft) 100%);
}

.detail-card-eligibility {
  border-color: rgba(15, 36, 71, 0.12);
  background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.detail-card-header h3 {
  margin-bottom: 0;
}

.detail-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eligibility-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eligibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.eligibility-list li:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 12px rgba(15, 36, 71, 0.06);
}

.eligibility-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.eligibility-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.eligibility-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.eligibility-text span {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.detail-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

.detail-intro {
  font-size: 0.925rem;
}

.detail-list,
.detail-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.detail-list li,
.detail-steps li {
  margin-bottom: 0.35rem;
}

.doc-checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: doc-counter;
}

.doc-checklist li {
  counter-increment: doc-counter;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.doc-checklist li:last-child {
  border-bottom: none;
}

.doc-checklist li::before {
  content: counter(doc-counter);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialization-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 480px) {
  .reg-flow.reg-form-multistep .form-steps {
    gap: 0.25rem;
  }

  .reg-flow.reg-form-multistep .form-step-line {
    flex-basis: 24px;
  }

  .reg-flow.reg-form-multistep .step-label {
    font-size: 0.72rem;
  }

  .reg-flow .form-actions-split {
    flex-direction: column-reverse;
  }

  .reg-flow .form-actions-split .btn {
    width: 100%;
  }
}

.reg-form legend {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  padding: 0 0.5rem;
}

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

.form-group label span {
  color: #b91c1c;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

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

.form-hint {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.label-hint {
  display: inline;
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.label-with-help {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.label-with-help label {
  margin-bottom: 0;
}

.doc-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.doc-help-btn:hover,
.doc-help-btn:focus {
  border-color: var(--gold-light);
  background: var(--gold-soft);
  outline: none;
}

.doc-help-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.doc-help-modal[hidden] {
  display: none;
}

.doc-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.doc-help-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.doc-help-dialog h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.doc-help-dialog p {
  color: var(--text);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

body.doc-help-open {
  overflow: hidden;
}

.form-label-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.35rem;
  width: 100%;
}

.form-label-row label {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.char-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0 0 0 auto;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.4;
  text-align: right;
}

.char-count-limit .char-count-current {
  color: #b91c1c;
  font-weight: 600;
}

.multiselect {
  position: relative;
}

.multiselect-trigger {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.multiselect-trigger:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.multiselect-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
}

.multiselect-option:hover {
  background: var(--off-white);
}

.multiselect-option input {
  width: auto;
  margin: 0;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.925rem;
  color: var(--text);
  cursor: pointer;
}

.radio-label input,
.checkbox-label input {
  margin-top: 0.2rem;
  width: auto;
}

.inline-radios {
  display: flex;
  gap: 1.5rem;
}

.form-actions {
  margin-top: 1rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
}

.btn-block {
  width: 100%;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.form-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.success-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: #dcfce7;
  color: #166534;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.reference-box {
  font-size: 1.1rem;
  margin: 1rem 0;
}

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

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

/* ── Admin panel ── */
.admin-body {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--off-white);
}

.admin-sidebar {
  width: 240px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.admin-brand img {
  width: 40px;
  filter: brightness(0) invert(1);
}

.admin-brand span {
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.admin-sidebar nav a {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: background 0.2s;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.admin-user {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
}

.admin-user a {
  color: var(--gold-light);
}

.admin-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}

/* AOS uses window scroll; admin-main scrolls internally — keep content visible */
.admin-main [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-header-bar h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.admin-header-bar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.admin-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-header-action {
  flex-shrink: 0;
}

.admin-dashboard-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
}

.admin-dashboard-banner.is-open {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-dashboard-banner.is-closed {
  border-color: #fecaca;
  background: #fef2f2;
}

.admin-dashboard-banner strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.admin-dashboard-banner span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.admin-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
}

.admin-stat-card-link:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
}

.admin-stat-card.status-pending { border-left: 4px solid #f59e0b; }
.admin-stat-card.status-reviewed { border-left: 4px solid #3b82f6; }
.admin-stat-card.status-approved { border-left: 4px solid #22c55e; }
.admin-stat-card.status-rejected { border-left: 4px solid #ef4444; }

.admin-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.admin-stat-value {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--navy);
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.admin-recent-list,
.admin-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-recent-list li,
.admin-spec-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.admin-recent-list li:last-child,
.admin-spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.admin-recent-list li > div:first-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.5rem;
}

.admin-recent-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.admin-shell {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-mobile-bar {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.admin-mobile-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

.admin-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 1px;
}

.admin-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(15, 23, 42, 0.45);
}

.admin-sidebar-overlay[hidden] {
  display: none;
}

.admin-mobile-list {
  display: none;
}

.admin-mobile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.admin-mobile-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.admin-mobile-card p {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}

.admin-mobile-card .btn-block {
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
}

.admin-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ── Registrations page ── */
.admin-page {
  max-width: 1400px;
}

.admin-page-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.admin-page-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-page-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.admin-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.admin-meta-chip-accent {
  background: var(--gold-soft);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--navy);
}

.admin-reg-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.admin-stat-card.is-active {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 36, 71, 0.08);
  background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%);
}

.admin-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.admin-filters-panel {
  padding: 1rem 1.1rem;
}

.admin-table-panel {
  padding: 0;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.admin-panel-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: var(--navy);
}

.admin-panel-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
  align-items: stretch;
}

.admin-filter-search {
  flex: 1 1 220px;
}

.admin-filter-status {
  flex: 0 1 180px;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--white);
  color: var(--text);
}

.admin-filters input:focus,
.admin-filters select:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.admin-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.admin-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-table-panel .admin-table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-reg-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-reg-table tbody tr {
  transition: background 0.15s ease;
}

.admin-reg-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.06);
}

.admin-table-primary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-table-primary strong {
  color: var(--navy);
  font-size: 0.925rem;
}

.admin-ref-code {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.admin-table-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.875rem;
}

.admin-table-contact .text-muted {
  font-size: 0.8rem;
}

.admin-table time {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.875rem;
  color: var(--text);
}

.admin-table-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-table-actions {
  text-align: right;
  white-space: nowrap;
}

.admin-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.admin-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.admin-empty-state h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.admin-empty-state p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-mobile-card-details {
  display: grid;
  gap: 0.65rem;
  margin: 0.85rem 0 0;
}

.admin-mobile-card-details div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.5rem;
  align-items: start;
}

.admin-mobile-card-details dt {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.admin-mobile-card-details dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text);
  word-break: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--off-white);
  font-weight: 600;
  color: var(--navy);
}

.empty-row {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem !important;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-reviewed { background: #dbeafe; color: #1e40af; }
.status-approved { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.admin-card h2 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-card-full {
  grid-column: 1 / -1;
}

.admin-main > .admin-card {
  margin-bottom: 1rem;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.detail-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-list dd {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 0.925rem;
}

.doc-links {
  display: grid;
  gap: 0.75rem;
}

.doc-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}

.admin-view-page {
  max-width: 1400px;
}

.admin-view-header {
  margin-bottom: 1.25rem;
}

.admin-view-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-status-dialog {
  width: min(480px, 100%);
  max-height: none;
}

.admin-status-modal-body {
  padding: 1.25rem;
}

.admin-card-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-card-heading-row h2 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.admin-card-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.detail-list-pairs dd {
  margin-bottom: 0.75rem;
}

.detail-text-block {
  line-height: 1.6;
  white-space: pre-wrap;
}

.admin-doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.admin-doc-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
}

.admin-doc-card-missing {
  opacity: 0.75;
}

.admin-doc-card-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.admin-doc-preview-loader {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: admin-doc-spin 0.8s linear infinite;
}

@keyframes admin-doc-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-doc-preview-fallback[hidden] {
  display: none !important;
}

.admin-doc-card-preview img.admin-doc-thumb {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.admin-doc-card-preview img.admin-doc-thumb[hidden] {
  display: none;
}

.admin-doc-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-soft), var(--off-white));
}

.admin-doc-file-icon-empty {
  color: var(--text-muted);
  background: var(--white);
}

.admin-doc-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.admin-doc-card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
}

.admin-doc-type-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-doc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.admin-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-doc-modal[hidden] {
  display: none;
}

.admin-doc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.admin-doc-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.admin-doc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.admin-doc-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.admin-doc-modal-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.admin-doc-modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--white);
}

.admin-doc-modal-body.is-pdf-view {
  background: #525659;
  overflow: hidden;
}

.admin-doc-modal-body.is-image-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 640px);
  padding: 1.5rem;
}

.admin-doc-pdf-view,
.admin-doc-image-view {
  width: 100%;
}

.admin-doc-pdf-view {
  height: 100%;
  min-height: 60vh;
}

.admin-doc-image-view {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: min(60vh, 520px);
  background: var(--white);
}

.admin-doc-image-view[hidden] {
  display: none !important;
}

.admin-doc-pdf-view iframe {
  display: block;
  width: 100%;
  height: 60vh;
  min-height: 50vh;
  max-height: calc(100vh - 8rem);
  border: 0;
  background: var(--white);
}

.admin-doc-image-view img {
  display: block;
  width: auto;
  height: auto;
  margin: auto;
  max-width: calc(100vw - 5rem);
  max-height: calc(100vh - 10rem);
  object-fit: none;
  background: var(--white);
}

body.admin-doc-modal-open {
  overflow: hidden;
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.admin-login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  padding: 1rem;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.admin-login-logo {
  width: 72px;
  margin: 0 auto 1rem;
}

.admin-login-card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.admin-login-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* ── Founder profile ── */
.founder-section {
  padding-top: 3rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.founder-photo-wrap {
  max-width: 380px;
  margin: 0 auto;
}

.founder-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.founder-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-light), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.founder-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-award {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
}

.founder-award-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.founder-award p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.founder-content .section-tag {
  margin-bottom: 0.5rem;
}

.founder-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.founder-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.founder-text p:last-child {
  margin-bottom: 0;
}

.founder-text strong {
  color: var(--gold);
  font-weight: 600;
}

.home-founder {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-founder-grid .founder-photo-wrap {
  max-width: 320px;
}

.home-founder .founder-content .btn {
  margin-top: 1.25rem;
}

/* ── Mission & vision ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.mission-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.975rem;
}

/* ── Impact areas ── */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.impact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.impact-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.impact-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.impact-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.impact-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Trust story ── */
.trust-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.trust-story-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.trust-story-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.trust-story-content strong {
  color: var(--navy);
}

.trust-story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-story-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.trust-highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition);
}

.trust-highlight-card:hover {
  transform: translateY(-2px);
}

.trust-highlight-card.gold {
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
  border-color: rgba(212, 175, 55, 0.35);
}

.trust-highlight-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.trust-highlight-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.cta-banner-text .section-tag {
  color: var(--gold-light);
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin: 0.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-btn-light {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: var(--white) !important;
  background: transparent !important;
}

.cta-btn-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--gold-light) !important;
}

/* ── Contact CTA strip ── */
.contact-cta {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}

.contact-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-cta p {
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.contact-cta-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-cta-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition);
}

.contact-cta-phone:hover {
  color: var(--gold);
}

.contact-cta-location {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Scholarship logo ── */
.scholarship-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.scholarship-logo-card {
  max-width: 200px;
  margin: 0 0 1.25rem;
}

.scholarship-logo-cta {
  max-width: 140px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.scholarship-logo-feature {
  max-width: 320px;
}

.page-hero-scholarship {
  text-align: left;
}

.page-hero-scholarship .divider {
  margin: 0 0 1rem;
}

.scholarship-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.scholarship-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.scholarship-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #fffdf7 0%, var(--white) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.scholarship-feature-content .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.scholarship-feature-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.scholarship-feature-content p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.scholarship-feature-content .btn {
  margin-top: 0.5rem;
}

.program-card-scholarship {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Scholarship popup ── */
body.popup-open {
  overflow: hidden;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 36, 71, 0.65);
  backdrop-filter: blur(6px);
  animation: popupFadeIn 0.35s ease;
}

.popup-overlay[hidden] {
  display: none !important;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 36, 71, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.25);
  animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--off-white);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.popup-close:hover {
  background: var(--gold-soft);
  color: var(--gold);
}

.popup-body {
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
}

.popup-logo {
  max-width: 220px;
  margin: 0 auto 1.25rem;
}

.popup-body .section-tag {
  margin-bottom: 0.5rem;
}

.popup-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.popup-subtitle {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.popup-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

@media (min-width: 768px) {
  .scholarship-hero {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }

  .scholarship-hero .scholarship-logo {
    margin: 0;
  }

  .scholarship-feature {
    grid-template-columns: 320px 1fr;
    padding: 2.5rem;
  }

  .scholarship-logo-feature {
    margin: 0;
  }

  .cta-banner-inner {
    gap: 2rem;
  }
}

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

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

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

  .cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-story-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: 340px 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .founder-photo-wrap {
    margin: 0;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.about-card,
.program-card,
.home-link-card,
.contact-item,
.event-card,
.stat-item {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hero-visual-inner {
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-visual-inner:hover {
  transform: translateY(-4px);
}

.stat-item {
  border-radius: var(--radius);
}

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

.btn {
  letter-spacing: 0.01em;
}

.site-header {
  transition: box-shadow var(--transition), background var(--transition);
}

@media (min-width: 640px) {
  .admin-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-reg-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .detail-list {
    grid-template-columns: 160px 1fr;
    align-items: baseline;
  }

  .admin-doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .admin-doc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .admin-reg-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1200;
    width: min(280px, 85vw);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-md);
  }

  body.admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  body.admin-nav-open {
    overflow: hidden;
  }

  .admin-mobile-bar {
    display: flex;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-view-header-actions {
    justify-content: flex-start;
  }

  .admin-header-action {
    width: 100%;
    text-align: center;
  }

  .admin-filters {
    flex-direction: column;
  }

  .admin-filters input,
  .admin-filters select,
  .admin-filters .btn {
    width: 100%;
  }

  .admin-table-wrap {
    display: none;
  }

  .admin-mobile-list {
    display: grid;
    gap: 1rem;
    padding: 1rem;
  }

  .admin-page-header-meta {
    justify-content: flex-start;
  }

  .admin-doc-card {
    grid-template-columns: 1fr;
  }

  .admin-doc-card-preview {
    min-height: 160px;
  }

  .admin-dashboard-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-recent-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .admin-mobile-list {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
