.subjects-section {
    /* background-color: #f8f9fa; */
    padding: 4rem 0;
}

.subjects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.subject-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.subject-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.subject-card h3 {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
}

.subject-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subjects-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

html, body {
    background-color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/Uc-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    margin-top: auto;
    background-color: #333;
    color: white;
    padding: 1.5rem 0;
}
