/* ============================================
   SIPEMI-UGM.ORG - Universitas Gadjah Mada
   Style utama website resmi informasi UGM
   ============================================ */

/* --- CSS Variables & Reset --- */
:root {
  --ugm-blue: #003B71;
  --ugm-blue-dark: #002550;
  --ugm-blue-light: #0055A4;
  --ugm-gold: #C5A028;
  --ugm-gold-light: #E8C547;
  --ugm-cream: #FDF6E3;
  --text-dark: #1A1A2E;
  --text-body: #374151;
  --text-muted: #6B7280;
  --bg-white: #FFFFFF;
  --bg-alt: #F8F9FC;
  --bg-dark: #0D1B2A;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ugm-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--ugm-gold); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

/* --- Utility Classes --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.text-gold { color: var(--ugm-gold); }
.text-blue { color: var(--ugm-blue); }
.text-muted { color: var(--text-muted); font-size: 0.92rem; }
.fw-600 { font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ugm-gold);
  background: rgba(197, 160, 40, 0.12);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ugm-blue);
  color: #fff;
  border-color: var(--ugm-blue);
}
.btn-primary:hover {
  background: var(--ugm-blue-dark);
  border-color: var(--ugm-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--ugm-gold);
  color: var(--ugm-blue-dark);
  border-color: var(--ugm-gold);
}
.btn-gold:hover {
  background: var(--ugm-gold-light);
  border-color: var(--ugm-gold-light);
  color: var(--ugm-blue-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ugm-blue);
  border-color: var(--ugm-blue);
}
.btn-outline:hover {
  background: var(--ugm-blue);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ugm-blue);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}
.topbar {
  background: var(--ugm-blue-dark);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,0.7); }
.topbar a:hover { color: var(--ugm-gold); }

.navbar { padding: 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.nav-brand img { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-text { line-height: 1.2; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--ugm-gold);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  background: rgba(255,255,255,0.12);
  color: var(--ugm-gold);
}
.nav-cta {
  background: var(--ugm-gold) !important;
  color: var(--ugm-blue-dark) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover { background: var(--ugm-gold-light) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--ugm-blue-dark);
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ugm-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: rgba(197,160,40,0.15);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(197,160,40,0.3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  font-weight: 800;
}
.hero h1 span { color: var(--ugm-gold); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ugm-gold);
  line-height: 1;
}
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* --- Stats Bar --- */
.stats-bar { background: var(--ugm-blue); padding: 2.2rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 1rem; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ugm-gold);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--ugm-blue);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ugm-gold);
  line-height: 1;
}
.about-badge-text { font-size: 0.8rem; margin-top: 4px; }
.about-list { margin: 1.5rem 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-check {
  width: 22px;
  height: 22px;
  background: var(--ugm-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-check::after {
  content: '✓';
  color: var(--ugm-blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ugm-gold);
  margin-bottom: 0.5rem;
}
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card-title a { color: var(--text-dark); }
.card-title a:hover { color: var(--ugm-blue); }
.card-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1rem; }
.card-meta { font-size: 0.82rem; color: var(--text-muted); display: flex; gap: 1rem; }

/* --- Faculty Grid --- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.faculty-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.faculty-card-img { width: 100%; height: 180px; object-fit: cover; }
.faculty-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,30,60,0.75));
}
.faculty-card-body { padding: 1.2rem; }
.faculty-card-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.faculty-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.faculty-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ugm-blue);
  margin-top: 0.75rem;
}
.faculty-card-link:hover { color: var(--ugm-gold); }
.faculty-card-link::after { content: '→'; }

/* --- News Grid --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.news-card-featured .card-img { height: 100%; min-height: 240px; }
.news-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* --- Breadcrumb --- */
.breadcrumb-section { background: var(--bg-alt); padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--ugm-blue); }
.breadcrumb a:hover { color: var(--ugm-gold); }
.breadcrumb-sep { color: var(--text-muted); }

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--ugm-blue-dark) 0%, var(--ugm-blue) 60%, var(--ugm-blue-light) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(197,160,40,0.08);
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 600px; margin-top: 0.75rem; margin-bottom: 0; }

/* --- Tags & Badges --- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0,59,113,0.08);
  color: var(--ugm-blue);
  letter-spacing: 0.04em;
}
.tag-gold { background: rgba(197,160,40,0.12); color: #9d7c0a; }

/* --- Accordion (FAQ) --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  padding: 1.1rem 1.4rem;
  background: var(--bg-white);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-answer { padding: 0 1.4rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 400px; padding: 0 1.4rem 1.2rem; }
.faq-icon { font-size: 1.2rem; color: var(--ugm-gold); transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- Info Boxes --- */
.info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--ugm-blue);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.info-box.gold { border-color: var(--ugm-gold); }

/* --- Table --- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--ugm-blue);
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.data-table tr:hover td { background: var(--bg-alt); }
.data-table tr:last-child td { border-bottom: none; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--ugm-blue), var(--ugm-gold));
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-dot {
  position: absolute;
  left: -1.65rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ugm-gold);
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--ugm-blue);
}
.timeline-year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ugm-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-content h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.timeline-content p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--ugm-blue-dark) 0%, var(--ugm-blue) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(197,160,40,0.06);
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Highlight cards --- */
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* --- Footer --- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { max-width: 300px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.footer-logo img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-sub { font-size: 0.72rem; color: var(--ugm-gold); letter-spacing: 0.06em; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-top: 0.75rem; }
.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ugm-gold);
  display: inline-block;
}
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--ugm-gold); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  align-items: flex-start;
}
.footer-contact-icon { color: var(--ugm-gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--ugm-gold); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--ugm-gold); }

/* Social Icons */
.social-links { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.social-link:hover { background: var(--ugm-gold); color: var(--ugm-blue-dark); border-color: var(--ugm-gold); }

/* --- Content Article --- */
.article-content h2 { font-size: 1.65rem; margin-top: 2rem; margin-bottom: 1rem; color: var(--ugm-blue); }
.article-content h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.article-content p { color: var(--text-body); line-height: 1.8; }
.article-content ul, .article-content ol { margin: 1rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

/* --- Pagination --- */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--ugm-blue);
  color: #fff;
  border-color: var(--ugm-blue);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-badge { right: 0; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .news-card-featured .card-img { height: 200px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ugm-blue-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { display: block; padding: 0.75rem 1rem; width: 100%; }

  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .faculty-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }
  h1 { font-size: 1.9rem; }
}

/* --- Scroll Top Button --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--ugm-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--ugm-gold); color: var(--ugm-blue-dark); transform: translateY(-2px); }
