.pt-4,
.py-4 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.summary-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.summary-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
}

.summary-card:first-child {
    flex: 1 1 100%;
}

.on-click {
    transition: transform 0.4s ease;
}

.on-click:hover {
    transform: scale(1.02);
    background-color: aliceblue;
}

.summary-card h2 {
    margin: 0;
    font-size: 3rem;
    color: #1d4ed8;
}

.summary-card p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: #374151;
}

.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) {
    .summary-cards {
        margin-left: 10px;
        margin-right: 10px;
    }

    .ml-auto-byLee {
        margin-left: auto;
    }

    .student-card {
        width: 90%;
    }
}