.pt-4,
.py-4 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.year-filter {
    margin-bottom: 2rem;
    margin-left: auto;
    /* text-align: right; */
}

.year-filter label {
    font-weight: 500;
    font-size: 1rem;
    color: #1e3a8a;
    margin-left: 1rem;
}

.year-filter select {
    width: 140px;
    margin-left: 0.5rem;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 800px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.year-filter select:focus {
    border-color: #38bdf8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.student-card {
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.student-card:hover {
    transform: translateY(-8px);
}

.student-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #38bdf8;
    margin-bottom: 1rem;
}

.student-card h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 1.3rem;
    color: #0f172a;
}

.student-card p {
    margin: 0.2rem 0;
    font-size: 1rem;
    color: #475569;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
}

.social-icons a {
    text-decoration: none;
    color: #2563eb;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .ml-auto-byLee {
        margin-left: auto;
    }

    .student-card {
        width: 90%;
    }
}