/* ===== Credits Page Styling ===== */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
}

.section-title-sub {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 600;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
    gap: 2rem;
}

.credit-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.credit-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #0056b3;
}

.credit-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
    font-weight: 500;
}

.credit-card p {
    margin: 0.25rem 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.credit-social-links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 0.6rem;
    font-size: 1.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.credit-social-links a:hover {
    color: #0056b3;
    transform: scale(1.2);
}

/* ===== Responsive Layout ===== */
@media (max-width: 900px) {
    .credits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

@media (max-width: 600px) {
    .credits-grid {
        grid-template-columns: 1fr; /* 1 card per row */
    }
}
