/* Huree University static homepage
   Pure HTML/CSS/JavaScript version
*/

:root {
  --primary: #0b3d78;
  --primary-dark: #082d59;
  --secondary: #f4b41a;
  --accent: #17a2a4;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --container: 1180px;
}

.brand.logo-only img {
  width: 180px;
  height: auto;
}

@media (max-width: 640px) {
  .brand.logo-only img {
    width: 140px;
  }
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
}

.top-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.donate-link {
  color: var(--secondary);
  font-weight: 700;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 50px;
  height: 50px;
}

.brand strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

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

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 12px 13px;
  font-weight: 700;
  font-size: 15px;
  color: #243044;
}

.nav-menu > li > a:hover {
  color: var(--primary);
}

.dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: var(--white);
  list-style: none;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.2s ease;
}

.dropdown:hover ul,
.dropdown:focus-within ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
}

.dropdown ul a:hover {
  background: #eef6ff;
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 999px;
  padding-inline: 18px !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  transition: 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 45, 89, 0.94), rgba(11, 61, 120, 0.76)),
    radial-gradient(circle at 85% 20%, rgba(244, 180, 26, 0.38), transparent 30%),
    url("../images/hero-campus.svg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(244, 180, 26, 0.22);
  filter: blur(6px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 46px;
  padding: 90px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 13px;
  color: var(--secondary);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 670px;
  margin: 26px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--secondary);
  color: #1e293b;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-outline {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.hero-card {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card h2 {
  margin: 0 0 20px;
  font-size: 25px;
}

.stat-list {
  display: grid;
  gap: 16px;
}

.stat-list div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.stat-list strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.stat-list span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 5px;
}

.section {
  padding: 90px 0;
}

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

.section h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.feature-band {
  background: var(--light);
  padding: 70px 0;
}

.feature-grid,
.program-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
}

.feature-card h3,
.program-card h3,
.life-grid h3,
.news-card h3 {
  margin: 18px 0 8px;
  color: #111827;
  font-size: 22px;
}

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

.program-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.program-image {
  height: 185px;
  background-size: cover;
  background-position: center;
}

.image-blue {
  background:
    linear-gradient(135deg, rgba(11,61,120,.92), rgba(23,162,164,.68)),
    url("../images/pattern.svg") center/cover;
}

.image-gold {
  background:
    linear-gradient(135deg, rgba(244,180,26,.9), rgba(11,61,120,.58)),
    url("../images/pattern.svg") center/cover;
}

.image-green {
  background:
    linear-gradient(135deg, rgba(23,162,164,.9), rgba(8,45,89,.72)),
    url("../images/pattern.svg") center/cover;
}

.program-body,
.news-card {
  padding: 26px;
}

.program-card a,
.news-card a {
  color: var(--primary);
  font-weight: 900;
}

.faculty-section {
  background:
    linear-gradient(135deg, #eef6ff, #ffffff);
}

.faculty-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 46px;
  align-items: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.quote-card {
  padding: 38px;
  border-radius: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}

.quote-card p {
  color: var(--white);
  font-size: 25px;
  line-height: 1.38;
  margin: 0 0 20px;
}

.quote-card span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.life-grid article {
  padding: 25px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
}

.news-section {
  background: #fbfcff;
}

.news-card span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.cta-section {
  padding: 75px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(244,180,26,.34), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.cta-section p {
  color: rgba(255,255,255,.82);
  max-width: 720px;
}

.light {
  color: var(--secondary);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #071d3a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 38px;
  padding: 58px 0;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-grid h3 {
  color: var(--white);
  margin: 0 0 14px;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 980px) {
  .top-bar-inner {
    justify-content: center;
  }

  .top-links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 13px 14px;
  }

  .dropdown ul {
    position: static;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
    margin-bottom: 8px;
  }

  .dropdown.is-open ul {
    display: block;
  }

  .hero-grid,
  .split,
  .faculty-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 70px 0;
  }

  .feature-grid,
  .program-grid,
  .news-grid,
  .life-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-inner {
    height: 70px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .nav-menu {
    top: 78px;
    left: 14px;
    right: 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .program-grid,
  .news-grid,
  .life-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .quote-card {
    padding: 24px;
  }

  .cta-inner {
    display: grid;
  }
}


/* ---------- Subpage shared styles ---------- */

.page-hero {
  position: relative;
  padding: 110px 0 95px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8,45,89,.94), rgba(11,61,120,.82)),
    radial-gradient(circle at 80% 15%, rgba(244,180,26,.28), transparent 30%),
    url("../images/hero-campus.svg") center/cover no-repeat;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  background: rgba(244,180,26,.20);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,.9);
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 20px;
}

.content-section {
  padding: 86px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 54px;
  align-items: start;
}

.sidebar-card {
  position: sticky;
  top: 105px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  color: #111827;
}

.sidebar-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.sidebar-list a {
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--light);
  color: var(--primary);
  font-weight: 800;
}

.prose h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 34px 0 10px;
  color: #111827;
  font-size: 26px;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.highlight-box {
  margin: 34px 0;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px solid var(--border);
}

.highlight-box strong {
  color: var(--primary);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.timeline-item span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.value-card {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.college-list {
  display: grid;
  gap: 26px;
}

.college-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15,23,42,.07);
}

.college-visual {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(11,61,120,.92), rgba(23,162,164,.64)),
    url("../images/pattern.svg") center/cover;
}

.college-visual.gold {
  background:
    linear-gradient(135deg, rgba(244,180,26,.92), rgba(11,61,120,.68)),
    url("../images/pattern.svg") center/cover;
}

.college-visual.green {
  background:
    linear-gradient(135deg, rgba(23,162,164,.92), rgba(8,45,89,.72)),
    url("../images/pattern.svg") center/cover;
}

.college-visual.dark {
  background:
    linear-gradient(135deg, rgba(8,45,89,.96), rgba(31,41,55,.70)),
    url("../images/pattern.svg") center/cover;
}

.college-visual.lightblue {
  background:
    linear-gradient(135deg, rgba(37,99,235,.86), rgba(23,162,164,.66)),
    url("../images/pattern.svg") center/cover;
}

.college-body {
  padding: 30px;
}

.college-body h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 29px;
  line-height: 1.18;
}

.college-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.department-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.department-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

.notice-box {
  margin-top: 34px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(244,180,26,.38);
  background: rgba(244,180,26,.12);
}

.notice-box h3 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .content-grid,
  .college-card {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .college-visual {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 78px 0 70px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .content-section {
    padding: 62px 0;
  }

  .timeline-item,
  .value-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------- Academic Staff page ---------- */

.staff-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.search-box {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 16px;
  outline: none;
}

.search-box:focus {
  border-color: rgba(11, 61, 120, 0.55);
  box-shadow: 0 0 0 4px rgba(11, 61, 120, 0.08);
}

.staff-count {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.department-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.staff-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.staff-avatar {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(244,180,26,.9), transparent 34%),
    linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.staff-info h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
}

.staff-title {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 4px;
}

.staff-department {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.staff-meta {
  display: grid;
  gap: 5px;
  font-size: 14px;
  color: var(--muted);
}

.staff-meta a {
  color: var(--primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.staff-empty {
  display: none;
  padding: 32px;
  border-radius: 18px;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
}

.staff-empty.is-visible {
  display: block;
}

.data-note {
  margin-top: 30px;
  padding: 24px;
  border-radius: 18px;
  background: #fbfcff;
  border: 1px dashed rgba(11,61,120,.35);
}

.data-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .staff-toolbar {
    grid-template-columns: 1fr;
  }

  .staff-count {
    text-align: left;
  }

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

  .staff-card {
    grid-template-columns: 64px 1fr;
  }

  .staff-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}


/* ---------- Administrative Staff page ---------- */

.admin-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.admin-overview-card {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.admin-overview-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 16px;
}

.admin-overview-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
}

.admin-overview-card p {
  margin: 0;
  color: var(--muted);
}

.admin-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.admin-count {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.unit-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.admin-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.admin-avatar {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(244,180,26,.9), transparent 34%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.admin-info h3 {
  margin: 0 0 5px;
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
}

.admin-position {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 4px;
}

.admin-unit {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.admin-meta {
  display: grid;
  gap: 5px;
  font-size: 14px;
  color: var(--muted);
}

.admin-meta a {
  color: var(--primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-empty {
  display: none;
  padding: 32px;
  border-radius: 18px;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
}

.admin-empty.is-visible {
  display: block;
}

.org-section {
  margin-top: 58px;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px solid var(--border);
}

.org-chart {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.org-level {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.org-node {
  flex: 1 1 220px;
  padding: 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.org-node strong {
  display: block;
  color: var(--primary);
  margin-bottom: 5px;
}

@media (max-width: 1100px) {
  .admin-grid,
  .admin-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .admin-toolbar,
  .admin-grid,
  .admin-overview {
    grid-template-columns: 1fr;
  }

  .admin-count {
    text-align: left;
  }

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

  .admin-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .org-section {
    padding: 24px;
  }
}


/* ---------- President page ---------- */

.president-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.president-profile {
  position: sticky;
  top: 105px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15,23,42,.08);
}

.president-photo {
  min-height: 360px;
  background:
    radial-gradient(circle at 25% 20%, rgba(244,180,26,.45), transparent 34%),
    linear-gradient(135deg, rgba(11,61,120,.96), rgba(23,162,164,.72)),
    url("../images/pattern.svg") center/cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 34px;
}

.president-initials {
  width: 148px;
  height: 148px;
  border-radius: 44px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.president-profile-body {
  padding: 30px;
}

.president-profile-body h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 30px;
  line-height: 1.15;
}

.president-profile-body .role {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 16px;
}

.president-profile-body p {
  color: var(--muted);
  margin: 0 0 16px;
}

.president-contact {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.president-contact strong {
  color: #111827;
}

.message-card {
  padding: 38px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15,23,42,.06);
}

.message-card h2 {
  margin: 0 0 22px;
  color: #111827;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.message-card p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}

.message-signature {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.message-signature strong {
  display: block;
  color: #111827;
  font-size: 22px;
}

.message-signature span {
  color: var(--primary);
  font-weight: 900;
}

.president-quote {
  margin: 36px 0;
  padding: 30px;
  border-left: 6px solid var(--secondary);
  border-radius: 18px;
  background: #fbfcff;
}

.president-quote p {
  margin: 0;
  color: #243044;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.vision-item {
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.vision-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.vision-item h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
}

.vision-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.president-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.president-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 980px) {
  .president-layout {
    grid-template-columns: 1fr;
  }

  .president-profile {
    position: static;
  }

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

@media (max-width: 640px) {
  .message-card {
    padding: 26px;
  }

  .president-photo {
    min-height: 280px;
  }

  .president-initials {
    width: 116px;
    height: 116px;
    border-radius: 34px;
    font-size: 36px;
  }
}


/* ---------- Graduate and Global pages ---------- */

.program-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.program-table th,
.program-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.program-table th {
  background: #eef6ff;
  color: var(--primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.program-table tr:last-child td {
  border-bottom: 0;
}

.program-table td strong {
  color: #111827;
}

.graduate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.graduate-card {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.graduate-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 16px;
}

.graduate-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 23px;
}

.graduate-card p {
  color: var(--muted);
  margin: 0;
}

.admission-steps {
  counter-reset: steps;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.admission-step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
}

.admission-step::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.admission-step h3 {
  margin: 0 0 6px;
  color: #111827;
}

.admission-step p {
  margin: 0;
  color: var(--muted);
}

.global-map-card {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, rgba(244,180,26,.75), transparent 3%),
    radial-gradient(circle at 76% 38%, rgba(244,180,26,.75), transparent 3%),
    radial-gradient(circle at 62% 58%, rgba(244,180,26,.75), transparent 3%),
    linear-gradient(135deg, rgba(8,45,89,.96), rgba(11,61,120,.78)),
    url("../images/pattern.svg") center/cover;
  box-shadow: var(--shadow);
  padding: 38px;
  color: var(--white);
}

.global-map-card h2 {
  color: var(--white);
  max-width: 680px;
}

.global-map-card p {
  color: rgba(255,255,255,.84);
  max-width: 650px;
}

.map-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 0 10px rgba(244,180,26,.18);
}

.map-dot.korea { left: 73%; top: 35%; }
.map-dot.mongolia { left: 66%; top: 31%; }
.map-dot.usa { left: 19%; top: 36%; }
.map-dot.partner { left: 56%; top: 55%; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.partner-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.partner-card span {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.partner-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
}

.global-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.global-focus-item {
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.global-focus-item strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
}

.global-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.global-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 980px) {
  .graduate-grid,
  .partner-grid,
  .global-focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-map-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .graduate-grid,
  .partner-grid,
  .global-focus-grid {
    grid-template-columns: 1fr;
  }

  .admission-step {
    grid-template-columns: 1fr;
  }

  .global-map-card {
    padding: 28px;
    min-height: 330px;
  }
}


/* ---------- Why Huree page ---------- */

.why-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.why-highlight-panel {
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 10%, rgba(244,180,26,.35), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.why-highlight-panel h2 {
  color: var(--white);
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.why-highlight-panel p {
  color: rgba(255,255,255,.84);
  margin: 0;
}

.why-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.why-stat {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.why-stat strong {
  display: block;
  font-size: 25px;
  line-height: 1.1;
}

.why-stat span {
  display: block;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  font-size: 14px;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 38px;
}

.why-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.why-card .number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.why-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 25px;
}

.why-card p {
  color: var(--muted);
  margin: 0;
}

.why-card.featured {
  background:
    radial-gradient(circle at 90% 10%, rgba(244,180,26,.20), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef6ff);
}

.reason-band {
  padding: 82px 0;
  background: var(--light);
}

.reason-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.reason-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
}

.reason-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.reason-item h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 22px;
}

.reason-item p {
  margin: 0;
  color: var(--muted);
}

.student-pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.pathway-step {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.pathway-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 16px;
}

.pathway-step h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
}

.pathway-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.why-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.why-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 980px) {
  .why-intro-grid,
  .why-card-grid,
  .student-pathway {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .why-intro-grid,
  .why-card-grid,
  .student-pathway,
  .why-stat-row {
    grid-template-columns: 1fr;
  }

  .reason-item {
    grid-template-columns: 1fr;
  }
}


/* ---------- Research Centers page ---------- */

.research-overview {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.research-visual {
  min-height: 420px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 22%, rgba(244,180,26,.38), transparent 30%),
    radial-gradient(circle at 78% 76%, rgba(23,162,164,.34), transparent 28%),
    linear-gradient(135deg, rgba(8,45,89,.96), rgba(11,61,120,.78)),
    url("../images/pattern.svg") center/cover;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.research-visual::before,
.research-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
}

.research-visual::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -60px;
}

.research-visual::after {
  width: 180px;
  height: 180px;
  left: 42px;
  bottom: 42px;
}

.research-visual-content {
  position: absolute;
  inset: auto 34px 34px 34px;
  color: var(--white);
}

.research-visual-content strong {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.research-visual-content span {
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

.center-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.center-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.center-card .center-type {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.center-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 23px;
  line-height: 1.2;
}

.center-card p {
  color: var(--muted);
  margin: 0;
}

.center-card.featured {
  background:
    radial-gradient(circle at 88% 12%, rgba(244,180,26,.22), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef6ff);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.support-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.support-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.support-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
}

.support-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.research-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  margin-top: 34px;
}

.research-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

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

.research-table th {
  background: #eef6ff;
  color: var(--primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.research-table tr:last-child td {
  border-bottom: 0;
}

.research-table td strong {
  color: #111827;
}

.research-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.research-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .center-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .research-overview {
    grid-template-columns: 1fr;
  }

  .research-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .center-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .research-visual {
    min-height: 280px;
  }
}


/* ---------- Donate page ---------- */

.donate-hero-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
}

.donate-hero-stat {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}

.donate-hero-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.donate-hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.78);
  font-weight: 700;
}

.donate-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.donate-message {
  padding: 38px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15,23,42,.06);
}

.donate-message h2 {
  margin: 0 0 20px;
  color: #111827;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.donate-message p {
  color: var(--muted);
  font-size: 18px;
}

.donate-quote {
  margin: 30px 0;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border-left: 6px solid var(--secondary);
}

.donate-quote p {
  color: #243044;
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
}

.donate-card {
  position: sticky;
  top: 105px;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 12%, rgba(244,180,26,.30), transparent 32%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.donate-card h2 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.16;
}

.donate-card p {
  color: rgba(255,255,255,.82);
  margin: 0 0 22px;
}

.donate-options {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.donate-option {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
}

.donate-option strong {
  display: block;
  font-size: 24px;
}

.donate-option span {
  display: block;
  color: rgba(255,255,255,.78);
  margin-top: 4px;
}

.donate-contact-box {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
}

.donate-contact-box a {
  color: var(--secondary);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.impact-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.impact-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.impact-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
}

.impact-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.donation-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.method-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.method-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.method-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 23px;
}

.method-card p {
  color: var(--muted);
  margin: 0;
}

.method-card a {
  color: var(--primary);
  font-weight: 900;
}

.donate-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

.donate-form label {
  display: grid;
  gap: 7px;
  color: #111827;
  font-weight: 900;
}

.donate-form input,
.donate-form select,
.donate-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

.donate-form textarea {
  min-height: 130px;
  resize: vertical;
}

.donate-form input:focus,
.donate-form select:focus,
.donate-form textarea:focus {
  border-color: rgba(11,61,120,.55);
  box-shadow: 0 0 0 4px rgba(11,61,120,.08);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.donate-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.donate-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 980px) {
  .donate-layout,
  .donation-methods {
    grid-template-columns: 1fr;
  }

  .donate-card {
    position: static;
  }

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

@media (max-width: 640px) {
  .donate-message {
    padding: 26px;
  }

  .impact-grid,
  .donate-hero-panel,
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* ---------- Student Life page ---------- */

.student-life-intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.student-life-visual {
  min-height: 430px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 25%, rgba(244,180,26,.38), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(23,162,164,.35), transparent 28%),
    linear-gradient(135deg, rgba(8,45,89,.96), rgba(11,61,120,.78)),
    url("../images/pattern.svg") center/cover;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.student-life-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  right: -70px;
  top: -60px;
}

.student-life-visual::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  left: 42px;
  bottom: 46px;
}

.student-life-visual-content {
  position: absolute;
  inset: auto 34px 34px 34px;
  color: var(--white);
}

.student-life-visual-content strong {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.student-life-visual-content span {
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

.life-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.life-feature-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.life-feature-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 14px;
}

.life-feature-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
}

.life-feature-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.activity-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.activity-visual {
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(11,61,120,.92), rgba(23,162,164,.64)),
    url("../images/pattern.svg") center/cover;
}

.activity-visual.gold {
  background:
    linear-gradient(135deg, rgba(244,180,26,.92), rgba(11,61,120,.66)),
    url("../images/pattern.svg") center/cover;
}

.activity-visual.green {
  background:
    linear-gradient(135deg, rgba(23,162,164,.92), rgba(8,45,89,.72)),
    url("../images/pattern.svg") center/cover;
}

.activity-body {
  padding: 26px;
}

.activity-body span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.activity-body h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 23px;
}

.activity-body p {
  color: var(--muted);
  margin: 0;
}

.student-support-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.student-support-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
}

.student-support-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.student-support-item h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 22px;
}

.student-support-item p {
  margin: 0;
  color: var(--muted);
}

.newsletter-panel {
  margin-top: 40px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(244,180,26,.25), transparent 32%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.newsletter-panel h2 {
  color: var(--white);
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.newsletter-panel p {
  color: rgba(255,255,255,.82);
  margin-bottom: 22px;
}

.life-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.calendar-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.calendar-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 8px;
}

.calendar-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.student-life-note {
  margin-top: 34px;
  padding: 24px;
  border-radius: 20px;
  border: 1px dashed rgba(11,61,120,.35);
  background: #fbfcff;
}

.student-life-note code {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .student-life-intro {
    grid-template-columns: 1fr;
  }

  .student-life-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .activity-grid,
  .life-feature-grid,
  .life-calendar {
    grid-template-columns: 1fr;
  }

  .student-support-item {
    grid-template-columns: 1fr;
  }

  .student-life-visual {
    min-height: 280px;
  }

  .newsletter-panel {
    padding: 26px;
  }
}
