/* ================= ROOT THEME ================= */
:root{
  --bg-main:#050814;
  --bg-dark:#0b1020;
  --glass-bg:rgba(255,255,255,0.06);
  --glass-border:rgba(255,255,255,0.14);

  --primary:#4db8ff;
  --secondary:#7aa2ff;

  --text-main:#ffffff;
  --text-muted:#aab1e6;
}

/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',system-ui,sans-serif;
  background:
    radial-gradient(circle at 20% 10%, #132044, transparent 45%),
    linear-gradient(135deg,#050814,#02040c);
  color:var(--text-main);
  min-height:100vh;
  overflow-x:hidden;
}

/* ================= GLASS ================= */
.glass{
  background:var(--glass-bg);
  backdrop-filter:blur(14px);
  border:1px solid var(--glass-border);
  border-radius:18px;
}

/* ================= TYPOGRAPHY ================= */
h1,h2,h3{
  font-weight:600;
  letter-spacing:.3px;
}

h1{
  font-size:clamp(1.9rem,5vw,2.6rem);
}

h2{
  font-size:1.1rem;
  margin-top:22px;
  margin-bottom:8px;
  color:var(--primary);
}

p,li{
  font-size:.9rem;
  line-height:1.65;
  color:var(--text-muted);
}

ul{
  padding-left:18px;
}

/* ================= HERO ================= */

.hero{
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
}

.hero-card{
  max-width:900px;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:16px;
  padding:36px 28px;
}

.hero-card img{
  max-width:340px;
  width:100%;
  height:auto;
  border-radius:14px;
}

.hero-card p{
  max-width:620px;
  text-align:center;
  color:var(--text-muted);
}


/* Sub title */
.hero p{
  font-size:.85rem;
  color:var(--text-muted);
  padding:10px 14px;
  margin:12px auto 0;
  border-radius:10px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  max-width:520px;
}

/* ================= BUTTON ================= */
.btn{
  display:inline-block;
  margin-top:18px;
  padding:10px 26px;
  border-radius:26px;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#050814;
  font-weight:600;
  font-size:.85rem;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(77,184,255,.28);
}

/* ================= EVENT BOX ================= */
.event-box{
  max-width:900px;
  margin:40px auto;
  padding:30px;
}

/* ================= DEPARTMENTS / EVENTS GRID ================= */
.departments{
  padding:60px 6%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.section-title{
  text-align:center;
  margin-bottom:26px;
}

.dept-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  max-width:1200px;
  width:100%;
  justify-content:center;
}

/* ================= CARDS ================= */
.dept-card{
  padding:20px 16px;
  text-align:center;
  cursor:pointer;
  transition:transform .25s ease, background .25s ease;
}

.dept-card{
  text-align:center;
}

.dept-card:hover{
  background:rgba(255,255,255,0.08);
  transform:translateY(-4px);
}

.dept-card h3{
  font-size:1.05rem;
  margin-bottom:6px;
  color:var(--primary);
}

.dept-card p{
  font-size:.78rem;
  color:var(--text-muted);
}

/* ================= EVENT PAGE ================= */
.event-page{
  min-height:100vh;
  padding:90px 7% 40px;
}

.event-page h1{
  font-size:1.6rem;
  color:var(--primary);
  margin-bottom:6px;
}

/* ================= BACK BUTTON ================= */
.back-btn{
  position:fixed;
  top:10px;
  left:10px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.25);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04));
  backdrop-filter:blur(12px);
  color:#fff;
  font-size:0.8rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:999;
  transition:transform .25s ease, box-shadow .25s ease;
}

.back-btn:hover{
  transform:scale(1.08);
  box-shadow:0 6px 16px rgba(77,184,255,.25);
}

/* ================= FOOTER ================= */
footer{
  padding:18px 10px;
  text-align:center;
  color:var(--text-muted);
  font-size:.75rem;
  border-top:1px solid rgba(255,255,255,.08);
}

/* ================= MOBILE ================= */
@media(max-width:600px){
  .hero{min-height:50vh}
  .dept-grid{grid-template-columns:1fr}
}
