:root{
  --dark:#0b0f1a;
  --accent:#c0c6d2;
  --soft:#f5f7fb;
}

*{
  box-sizing:border-box;
  font-family:Montserrat,Arial,sans-serif;
}

body{
  margin:0;
  background:#ffffff;
  color:var(--dark);
}

/* HEADER */
header{
  height:70px;
  padding:0 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e5e7eb;
  position:fixed;
  background: linear-gradient(135deg,#0f2027,#203a43);
  width:100%;
  z-index:100;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  background: #e5e7eb;
  padding: 8px 14px;
  border-radius: 8px;
}

.logo img{
  width: 46px;
  height: 56px;
  object-fit: contain;
}


nav a{
  margin-left:26px;
  padding:8px 14px;
  border-radius:8px;
  text-decoration:none;
  color:var(--dark);
  font-weight:600;
  transition:.25s;
  background:#f1f5f9;
}

nav a:hover{
  background:#3f3f42;
  color:var(--accent);
}

/* HERO */
.hero{
  padding-top:140px;
  text-align:center;
  position:relative;
  
}
.hero{
  height:100vh;
  padding-top:70px;
  background-image:url("img/campus.png");   /* 👈 background image */
  background-repeat:no-repeat;              /* 👈 no repeat */
  background-position:center;               /* 👈 center */
  background-size:cover;                    /* 👈 fill screen */
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  position:relative;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}

.hero h1,
.hero p{
  position:relative;
  z-index:1;
}

.hero-box{
  position:absolute;
  top:120px;
  left:50%;
  transform:translateX(-50%);
  width:82%;
  height:340px;
  background:rgba(146,147,151,.25);
  border-radius:18px;
  z-index:-1;
}

.stroke-text{
  font-size:220px;
  font-weight:900;
  fill:none;
  stroke:var(--dark);
  stroke-width:6px;
  letter-spacing:12px;
}

.fill-text{
  font-size:220px;
  font-weight:900;
  fill:url(#imgPattern);
  letter-spacing:12px;
}

/* MAJORS */
.majors{
  margin-top:120px;
  padding:80px;
  display:flex;
  gap:60px;
  align-items:flex-start;
}

.honeycomb{width:50%;}

.row{
  display:flex;
  gap:18px;
  margin-bottom:18px;
}

.row.center{justify-content:center;}

.hex{
  width:180px;
  height:200px;
  clip-path: polygon(50% 0%,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.25s;
}

.hex span{
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(6px);
  padding:8px 14px;
  border-radius:10px;
  font-size:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.hex:hover{
  transform:scale(1.06);
  box-shadow:0 18px 40px rgba(3,13,35,.25);
}

.detail{
  width:50%;
  padding:40px;
  background:#f9fafb;
  border-radius:16px;
  position:sticky;
  top:110px;
}

.detail.slide{
  animation:slideIn .45s ease;
}

@keyframes slideIn{
  from{opacity:0;transform:translateX(40px)}
  to{opacity:1;transform:translateX(0)}
}

/* FORM + MATRIX */
.form-section{
  display:flex;
  min-height:100vh;
}

.binary-rain{
  flex:1;
  background:black;
}

.binary-rain canvas{
  width:100%;
  height:100%;
}

.form-container{
  flex:1;
  padding:60px;
  background:linear-gradient(135deg,#0f2027,#203a43);
  color:white;
}

.form-box{
  height:600px;
  background:white;
  border-radius:14px;
  overflow:hidden;
  margin-top:20px;
}

.form-box iframe{
  width:100%;
  height:100%;
  border:none;
}

/* RESPONSIVE */
@media(max-width:900px){
  .majors,.form-section{flex-direction:column}
  .honeycomb,.detail{width:100%}
  .binary-rain{height:300px}
}
