/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: #fff;
  min-height: 100vh;
}

/* Glow effect */
.glow {
  text-shadow: 0 0 5px #fff, 0 0 10px #f0f, 0 0 20px #ff0, 0 0 40px #0ff;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0,0,0,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px #0ff;
}

header nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

header nav a:hover {
  text-shadow: 0 0 10px #ff0;
  color: #ff0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px 50px;
}

.hero .subtext {
  font-size: 18px;
  margin: 15px 0;
}

/* Search */
.search-container {
  margin-top: 20px;
}

.search-container input {
  padding: 10px 15px;
  width: 300px;
  border-radius: 25px;
  border: none;
  outline: none;
  transition: 0.3s;
}

.search-container input:focus {
  box-shadow: 0 0 15px #0ff;
}

.search-container button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 25px;
  background: #ff0;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.search-container button:hover {
  background: #0ff;
  color: #fff;
  box-shadow: 0 0 15px #0ff;
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.filters select {
  margin: 5px 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  transition: 0.3s;
}

.filters select:hover {
  box-shadow: 0 0 10px #ff0;
}

/* Students Grid */
.students-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 50px;
}

/* Student Cards */
.student-card {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  box-shadow: 0 0 10px #0ff;
}

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #ff0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: linear-gradient(135deg, #1f1c2c, #4e4376);
  margin: 10% auto;
  padding: 30px;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  position: relative;
  animation: popup 0.5s ease-in-out;
}

@keyframes popup {
  0% {transform: scale(0);}
  100% {transform: scale(1);}
}

.close {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ff0;
}

/* Stats Section */
.stats-section {
  display: flex;
  justify-content: center;
  margin: 50px 0;
  gap: 50px;
}

.stats-section .stat {
  text-align: center;
  font-size: 20px;
}

.stats-section .stat h2 {
  font-size: 36px;
  color: #0ff;
}

/* About Section */
.about-section {
  padding: 50px;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  box-shadow: inset 0 0 10px #fff;
}
