:root {
    --primary: #0a1d37;
    --accent: #00d4ff;
    --accent-soft: #40e0ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--light);
    color: #fff;
    overflow-x: hidden;
}
html { scroll-behavior: smooth; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 29, 55, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s;
}
header.scrolled { background: rgba(10, 29, 55, 0.98); padding: 12px 5%; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
}
.logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 5px;
}

nav {
    display: flex;
    gap: 20px;
    transition: all 0.4s ease;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}
nav a:hover, nav a.active {
    background: var(--accent);
    color: var(--dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero-slides, .hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.3s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,29,55,0.75), rgba(0,212,255,0.25));
    z-index: 1;
}
.hero h1, .hero p { position: relative; z-index: 2; }
.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin: 8px 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.hero h1:nth-of-type(2) {
    font-size: 2rem;
    color: var(--accent-soft);
}
.hero p {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
}


/* Majors */
.majors {
    padding: 90px 5%;
    background: linear-gradient(135deg, var(--primary), #112240);
}
.majors h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
    color: var(--accent-soft);
}
.hex-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0 20px;
}
.hex-scroll-container::-webkit-scrollbar { display: none; }
.hex-row {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    min-width: max-content;
}
.hex {
    flex: 0 0 auto;
    width: 160px;
    height: 184px;
    background: #fff center/cover no-repeat;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.hex::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.5), rgba(10,29,55,0.6));
    opacity: 0;
    transition: opacity 0.4s;
}
.hex:hover::before, .hex.active::before { opacity: 1; }
.hex:hover, .hex.active {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    z-index: 10;
}
.hex span {
    background: rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    z-index: 2;
    max-width: 88%;
    line-height: 1.4;
}
.detail {
    margin-top: 50px;
    padding: 35px 30px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(0,212,255,0.3);
    color: #fff;
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.detail.visible {
    opacity: 1;
    transform: translateY(0);
}
.detail h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent);
}
.detail p {
    line-height: 1.8;
    font-size: 1.08rem;
}

/* Modal & Footer same as before... (kept clean) */
#registration-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
#registration-modal.active { display: flex; }
.modal-content { width: 95%; max-width: 800px; background: var(--light); color: var(--dark); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.6); max-height: 95vh; display: flex; flex-direction: column; }
.modal-header { padding: 25px; text-align: center; background: var(--primary); color: white; position: relative; }
.modal-header h2 { font-size: 1.8rem; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 32px; cursor: pointer; color: white; }
.modal-body { flex: 1; padding: 25px; overflow-y: auto; }

footer { background: var(--primary); color: white; padding: 70px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 35px; max-width: 1200px; margin: 0 auto; }
.footer-column h3 { font-size: 1.4rem; margin-bottom: 18px; color: var(--accent); }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.footer-sep { opacity: 0.5; margin: 0 10px; }

/* Mobile Responsive */
@media (max-width: 768px) {
    header { padding: 12px 5%; }
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10,29,55,0.98);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.5s ease;
        padding: 0 5%;
    }
    nav.open {
        max-height: 500px;
        padding: 30px 5%;
    }
    .nav-toggle { display: block; }

    .hero h1 { font-size: 2.6rem; }
    .hero h1:nth-of-type(2) { font-size: 1.6rem; }
    .hero p { font-size: 1.2rem; }

    .majors h2 { font-size: 2rem; margin-bottom: 40px; }
    .hex { width: 135px; height: 155px; }
    .hex span { font-size: 0.82rem; padding: 8px 12px; }
    .hex-row { gap: 20px; }

    .detail { padding: 25px 20px; margin-top: 40px; }
    .detail h2 { font-size: 1.6rem; }
    .detail p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .logo { font-size: 22px; }
    .logo img { width: 45px; height: 45px; }
    .hero h1 { font-size: 2.2rem; }
    .hero h1:nth-of-type(2) { font-size: 1.4rem; }
    .hex { width: 115px; height: 132px; }
    .hex span { font-size: 0.76rem; }
}
/* Registration CTA Section */
#register-cta {
    position: relative;
    padding: 120px 5%;
    background: radial-gradient(
        circle at top,
        rgba(0,212,255,0.15),
        rgba(10,29,55,0.95)
    );
    overflow: hidden;
}

/* Animated glow background */
.cta-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(0,212,255,0.45),
        transparent 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 5s infinite ease-in-out;
    filter: blur(40px);
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

/* CTA Box */
.cta-box {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    border-radius: 26px;
    border: 1px solid rgba(0,212,255,0.35);
    box-shadow: 0 30px 90px rgba(0,0,0,0.65);
    z-index: 2;
}

/* Text */
.cta-box h2 {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-box p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* Button */
.cta-btn {
    padding: 16px 42px;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    color: var(--dark);
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-soft)
    );
    box-shadow:
        0 0 25px rgba(0,212,255,0.6),
        0 12px 40px rgba(0,0,0,0.5);
    transition: all 0.35s ease;
}

/* Button hover = premium vibe */
.cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 0 40px rgba(0,212,255,0.9),
        0 20px 60px rgba(0,0,0,0.6);
}

/* Button active */
.cta-btn:active {
    transform: scale(0.96);
}
@media (max-width: 768px) {
    .cta-box h2 { font-size: 2.1rem; }
    .cta-box p { font-size: 1.1rem; }
    .cta-btn { font-size: 1.05rem; padding: 14px 36px; }
}
    /* Career Fair Section */
.career-section {
  padding: 90px 6%;
  background: linear-gradient(
    135deg,
    var(--primary),
    #112240
  );
}

.career-card {
  max-width: 720px;
  margin: auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 32px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.career-card h2 {
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.career-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
  text-align: center;
}

.degree-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}

.degree-box span {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.career-note {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.career-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--accent-soft);
}

.company-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.company-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.register-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-soft)
  );
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Extra phone tuning */
@media (max-width: 480px) {
  .career-card {
    padding: 26px;
  }

  .career-card h2 {
    font-size: 1.6rem;
  }
}
