:root {
  --primary: #6a5cff;
  --secondary: #00d2ff;
  --dark: #0f172a;
  --light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--dark);
  color: var(--light);
}

 /* ================= NAVBAR ================= */
    nav {
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(12px);
    }

    .nav-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
    }

    .logo {
      font-size: 22px;
      font-weight: 700;
      color: white;
    }

    .nav-links a {
      color: #cbd5f5;
      margin-left: 24px;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
    }

    .nav-links a:hover {
      color: white;
    }


/* HERO */
.campus-hero {
  height: 90vh;
  background: linear-gradient(
      rgba(15, 23, 42, 0.8),
      rgba(15, 23, 42, 0.8)
    ),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f")
      center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.campus-overlay {
  text-align: center;
  max-width: 600px;
}
.campus-overlay h1 {
  font-size: 52px;
  margin-bottom: 10px;
  color: #4f46e5;
}
.campus-overlay p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* BUTTONS */
.primary-btn,
.secondary-btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.primary-btn {
  background: #4f46e5;
  color: #fff;
}
.primary-btn:hover {
  background: #4338ca;
  transform: scale(1.05);
}
.secondary-btn {
  background: transparent;
  color: #4f46e5;
  border: 2px solid #4f46e5;
  margin-top: 30px;
}
.secondary-btn:hover {
  background: #4f46e5;
  color: #fff;
}

/* CTA SECTION */
.campus-cta {
  padding: 80px 20px;
  text-align: center;
}
.campus-cta h2 {
  font-size: 36px;
  color: #4f46e5;
}
.subtitle {
  max-width: 600px;
  margin: 15px auto 40px;
  color: #cbd5f5;
}

/* CTA CARDS */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: auto;
}
.cta-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.cta-card:hover {
  transform: translateY(-10px);
}
.cta-card h3 {
  color: #facc15;
  margin-bottom: 10px;
}
.cta-card p {
  color: #e5e7eb;
}


/* ================= FOOTER ================= */
    footer {
      background: #020617;
      padding: 40px 80px;
      text-align: center;
      color: #94a3b8;
    }
    footer a:hover {
    color: #00d2ff;
    transform: translateY(-2px);
    transition: 0.3s;
    }
    .footer-social a:hover {
      color: #00d2ff; 
      transform: translateY(-3px);
    }

    /* ================= RESPONSIVE FIXES ================= */

/* Prevent hero hiding behind fixed navbar */
.campus-hero {
  padding-top: 80px;
}

/* Tablets */
@media (max-width: 992px) {
  .nav-container {
    padding: 14px 20px;
  }

  .campus-overlay h1 {
    font-size: 42px;
  }

  .campus-overlay p {
    font-size: 16px;
  }

  footer {
    padding: 40px 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    margin: 6px 12px;
    font-size: 14px;
  }

  /* HERO */
  .campus-hero {
    height: auto;
    padding: 120px 20px 80px;
  }

  .campus-overlay h1 {
    font-size: 34px;
  }

  .campus-overlay p {
    font-size: 15px;
  }

  /* BUTTONS */
  .primary-btn,
  .secondary-btn {
    padding: 12px 26px;
    font-size: 14px;
  }

  /* CTA */
  .campus-cta {
    padding: 60px 15px;
  }

  .campus-cta h2 {
    font-size: 28px;
  }

  /* FOOTER */
  footer {
    padding: 30px 20px;
  }

  footer div {
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .campus-overlay h1 {
    font-size: 28px;
  }

  .campus-overlay p {
    font-size: 14px;
  }

  .cta-card {
    padding: 24px;
  }
}

