/* General Reset */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f3f8fc;
    color: #333;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar .logo:hover {
    color: #ffdd59;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .nav-links a:hover {
    background-color: #ffffff33;
    color: #ffdd59;
}

/* Student List */
.student-list {
    padding: 40px 20px;
    text-align: center;
}

.student-list h1 {
    margin-bottom: 20px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.students {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.student-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 220px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.student-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #4facfe;
    transition: border-color 0.3s;
}

.student-card:hover img {
    border-color: #ffdd59;
}

.student-card h2 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
    font-weight: 600;
}

.student-card a {
    text-decoration: none;
    color: #4facfe;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid #4facfe;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.student-card a:hover {
    background: #4facfe;
    color: white;
    border-color: #4facfe;
}
