/* ============================================================
   GEHU PORTAL — ADVANCED FRONTEND
   Design language: gear (engineering) + flame (Graphic Era)
   Ink & brass surface, flame-gradient accent, Space Grotesk / IBM Plex Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root{
  --ink:        #08090c;
  --ink-2:      #101218;
  --surface:    #15171f;
  --surface-2:  #1b1e28;
  --line:       rgba(255,255,255,0.08);

  --paper:      #f3efe6;
  --text:       #eeeae1;
  --muted:      #9a9aa6;

  --flame-1:    #ff8a2b;
  --flame-2:    #ff4b2b;
  --flame-3:    #ffb020;
  --flame-grad: linear-gradient(115deg, var(--flame-3) 0%, var(--flame-2) 55%, #d21f2c 100%);

  --steel:      #2e77ff;

  --radius:     16px;
  --radius-sm:  10px;

  --font-display: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  --font-body:    'IBM Plex Sans', Arial, sans-serif;

  --shadow-lg:  0 24px 60px rgba(0,0,0,0.5);
  --shadow-md:  0 12px 30px rgba(0,0,0,0.4);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

a{ color: inherit; }

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

::selection{ background: var(--flame-2); color: #fff; }

/* scrollbar */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--ink); }
::-webkit-scrollbar-thumb{ background: #3a3d48; border-radius: 10px; }

/* ============ reveal-on-scroll ============ */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ============ shared bits ============ */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame-3);
}
.eyebrow::before{
  content: "";
  width: 18px;
  height: 2px;
  background: var(--flame-grad);
  display: inline-block;
}

.section-head{
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}
.section-title{
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  margin-top: 10px;
  color: var(--paper);
}
.section-sub{
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.flame-text{
  background: var(--flame-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content-section{
  padding: 96px 8vw;
  position: relative;
}
.content-section.tight{ padding: 72px 8vw; }

/* gear-tooth seam between two contrasting bands */
.cog-seam{
  height: 22px;
  width: 100%;
  background:
    linear-gradient(135deg, transparent 50%, var(--ink) 51%) 0 0,
    linear-gradient(-135deg, transparent 50%, var(--ink) 51%) 0 0;
  background-size: 22px 22px;
  background-repeat: repeat-x;
}
.cog-seam.flip{
  transform: scaleY(-1);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.top-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  z-index: 999;
  background: rgba(8,9,12,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease, background 0.3s ease;
}
.top-nav.scrolled{
  padding: 8px 5vw;
  background: rgba(8,9,12,0.92);
}

.nav-logo{ display: flex; align-items: center; gap: 10px; }
.nav-logo img{ width: 42px; height: 42px; object-fit: contain; }
.nav-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
  line-height: 1.1;
}
.nav-word span{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links{
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a{
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--flame-grad);
  transition: width 0.25s ease;
}
.nav-links a:hover{ color: var(--paper); }
.nav-links a:hover::after{ width: 100%; }

.nav-actions{ display: flex; align-items: center; gap: 14px; }

#studentBtn{
  background: var(--flame-grad);
  color: #16090a;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#studentBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,75,43,0.35);
}

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{
  width: 24px; height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: 0.25s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============ login panel ============ */
.login-panel{
  position: absolute;
  top: 64px;
  right: 5vw;
  width: 300px;
  background: rgba(21,23,31,0.97);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  padding: 24px;
  border-radius: var(--radius);
  display: none;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}
.login-panel h3{
  font-size: 16px;
  color: var(--paper);
  margin-bottom: 14px;
}
.login-panel input{
  width: 100%;
  padding: 11px 13px;
  margin: 6px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.login-panel input:focus{
  outline: none;
  border-color: var(--flame-2);
}
.login-panel button{
  width: 100%;
  padding: 11px;
  background: var(--flame-grad);
  color: #16090a;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  font-family: var(--font-body);
}
.login-panel small{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section{
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 140px 6vw 90px;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,75,43,0.14), transparent 55%),
    var(--ink);
}

.hero-left .eyebrow{ margin-bottom: 18px; }

.hero-left h1{
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--paper);
}

.hero-left p{
  margin: 22px 0 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}

.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary{
  background: var(--flame-grad);
  color: #16090a;
  border: none;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,75,43,0.35);
}

.btn-ghost{
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover{
  border-color: var(--flame-2);
  background: rgba(255,75,43,0.08);
}

.hero-right{ position: relative; }

.hero-ring{
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 0deg, var(--flame-3), var(--flame-2), #d21f2c, var(--flame-3));
  animation: spin 24s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .hero-ring{ animation: none; } }

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

.hero-ring-inner{
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--ink) url("campus.jpg") center/cover no-repeat;
  border: 6px solid var(--ink);
}

.hero-floater{
  position: absolute;
  bottom: 10px;
  left: -10px;
  background: rgba(21,23,31,0.9);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-floater .dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--flame-2);
  box-shadow: 0 0 0 4px rgba(255,75,43,0.2);
}

/* ============ stats strip (overlapping) ============ */
.stats-section{
  padding: 0 6vw;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stats-grid{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat{
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child{ border-right: none; }
.stat h3{
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  background: var(--flame-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p{
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   GRID CARDS (departments / campus)
   ============================================================ */
.grid-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px 22px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--flame-grad);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.card > *{ position: relative; z-index: 1; }
.card:hover{
  transform: translateY(-6px);
  border-color: transparent;
}
.card:hover::before{ opacity: 1; }
.card h3, .card h4{
  font-size: 18px;
  color: var(--paper);
  transition: color 0.3s ease;
}
.card p{
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.3s ease;
}
.card:hover h3, .card:hover h4, .card:hover p{ color: #16090a; }

/* ============ courses ============ */
.course-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.course-card:hover{ transform: translateY(-6px); border-color: var(--flame-2); }
.course-card h4{ font-size: 18px; color: var(--paper); margin-bottom: 4px; }
.course-card > p{ color: var(--flame-3); font-size: 13px; font-weight: 600; }

/* ============================================================
   FACULTY / PROJECT TEAM
   ============================================================ */
.faculty-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
}
.faculty-card{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.faculty-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255,75,43,0.18);
  border-color: var(--flame-2);
}
.faculty-card .avatar{
  width: 92px; height: 92px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: var(--flame-grad);
}
.faculty-card img{
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
}
.faculty-card h4{ font-size: 16px; color: var(--paper); }
.faculty-card p{ margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ============================================================
   WORKFLOW / STUDENT JOURNEY
   ============================================================ */
.workflow-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.workflow-card{
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.workflow-card:hover{ transform: translateY(-6px); border-color: var(--flame-2); }
.workflow-step{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  background: var(--flame-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.workflow-card h4{ font-size: 17px; color: var(--paper); margin-bottom: 8px; }
.workflow-card p{ font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   MUSIC / SPOTIFY
   ============================================================ */
.music-section{
  display: flex;
  justify-content: center;
  padding: 90px 6vw;
  background: linear-gradient(150deg, #101422, #171016);
}
.music-card{
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.music-card h3{ font-size: 19px; color: var(--paper); }
.music-card p{ margin: 8px 0 16px; font-size: 13.5px; color: var(--muted); }
.music-card iframe{ border-radius: 10px; }

/* ============================================================
   PLACEMENTS
   ============================================================ */
.placements-section .card h3{ font-size: 22px; }

/* ============================================================
   ADMISSIONS CTA
   ============================================================ */
.admissions-section{
  text-align: center;
  padding: 90px 6vw;
  background: var(--flame-grad);
  color: #1a0b06;
}
.admissions-section .section-title{ color: #1a0b06; }
.admissions-section p{
  max-width: 480px;
  margin: 14px auto 26px;
  font-size: 15.5px;
  color: rgba(26,11,6,0.8);
}
.admissions-section button{
  background: #14090a;
  color: var(--paper);
  border: none;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease;
}
.admissions-section button:hover{ transform: translateY(-2px); }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.news-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.news-card:hover{ transform: translateY(-6px); }
.news-card .news-img-wrap{ height: 180px; overflow: hidden; }
.news-card img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover img{ transform: scale(1.08); }
.news-card .news-body{ padding: 18px 20px 22px; text-align: left; }
.news-card h4{ font-size: 17px; color: var(--paper); }
.news-card p{ margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   ABOUT / CONTACT
   ============================================================ */
.about-section, .contact-section{
  text-align: center;
}
.about-section p, .contact-section p{
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.contact-section p{ margin-top: 10px; }
.contact-section p:first-of-type{ margin-top: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  background: var(--ink-2);
  padding: 40px 6vw;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-content p{ margin: 4px 0; font-size: 13.5px; }
.footer-content p:first-child{ color: var(--paper); font-weight: 600; }

/* ============================================================
   AUTH / APPLY PAGES (standalone, no backend)
   ============================================================ */
.auth-shell{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,75,43,0.16), transparent 55%),
    var(--ink);
  padding: 24px;
}
.auth-box{
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.auth-box .nav-logo{ justify-content: center; margin-bottom: 18px; }
.auth-box h2{ font-size: 22px; color: var(--paper); margin-bottom: 6px; }
.auth-box .auth-sub{ font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.auth-box input, .auth-box select{
  width: 100%;
  padding: 13px 14px;
  margin: 7px 0;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.auth-box input:focus, .auth-box select:focus{
  outline: none;
  border-color: var(--flame-2);
}
.auth-box button{
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: var(--flame-grad);
  color: #16090a;
  border: none;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.auth-box button:hover{ transform: translateY(-2px); }
.auth-box .back-link{
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.auth-box .back-link:hover{ color: var(--flame-3); }
.form-note{
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.success-msg{
  display: none;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #6fe3c9;
  padding: 12px;
  border-radius: 9px;
  font-size: 13.5px;
  margin-top: 14px;
}

/* ============================================================
   DASHBOARDS (kept, lightly themed)
   ============================================================ */
.admin-container{
  display: flex;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
}
.sidebar{
  width: 250px;
  background: var(--ink-2);
  padding: 25px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.sidebar .logo{ color: var(--flame-3); margin-bottom: 30px; font-family: var(--font-display); }
.sidebar button{
  background: none;
  border: none;
  color: var(--muted);
  text-align: left;
  padding: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: 0.2s ease;
}
.sidebar button:hover{ background: var(--surface-2); color: var(--paper); }
.sidebar .logout{ margin-top: auto; background: var(--flame-2); color: #fff; }
.dashboard-main{ flex: 1; padding: 32px; }
.topbar{ margin-bottom: 30px; }
.cards{ display: flex; gap: 20px; flex-wrap: wrap; }
.dashboard-main .card{ background: var(--surface); flex: 1; min-width: 180px; }
.dashboard-main .card:hover::before{ opacity: 0; }
.dashboard-main .card:hover h3, .dashboard-main .card:hover h4, .dashboard-main .card:hover p{ color: inherit; }
.section{ display: none; }
.section.active{ display: block; }
.form-row{ display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.form-row input{ padding: 11px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); flex: 1; }
.form-row button{ background: var(--flame-grad); border: none; padding: 11px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; color: #16090a; }
.table-container{ background: var(--surface); padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow-x: auto; }
table{ width: 100%; border-collapse: collapse; }
th, td{ padding: 12px; text-align: left; font-size: 14px; }
th{ background: var(--ink-2); color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
tr:nth-child(even){ background: var(--surface-2); }
.delete-btn{ background: var(--flame-2); border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: #fff; }
.home-btn{
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
}
.home-btn:hover{ border-color: var(--flame-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .hero-section{ grid-template-columns: 1fr; padding-top: 120px; }
  .hero-right{ order: -1; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2){ border-right: none; }
}

@media (max-width: 820px){
  .nav-links{
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8,9,12,0.98);
    border-bottom: 1px solid var(--line);
    padding: 18px 8vw 26px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle{ display: flex; }
  .nav-actions #studentBtn{ display: none; }
  .nav-links.open ~ .nav-actions #studentBtn,
  .nav-actions.show-btn #studentBtn{ display: inline-block; }
  .login-panel{ right: 5vw; left: 5vw; width: auto; }
  .content-section{ padding: 72px 6vw; }
}

@media (max-width: 560px){
  .stats-grid{ grid-template-columns: 1fr 1fr; }
  .hero-cta{ flex-direction: column; }
  .hero-cta a, .hero-cta button{ width: 100%; text-align: center; justify-content: center; }
  #studentBtn{ font-size: 12.5px; padding: 9px 14px; }
  .nav-word{ font-size: 13px; }
  .nav-word span{ font-size: 9px; }
}
