/* Credentials & Excellence Section */
.credentials-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.credentials-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading: 36px */
.credentials-heading {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    color: #3b5166;
    margin: 0 0 14px 0;
    text-align: center;
}

/* Description: 16px & Centered */
.credentials-subtext {
    font-size: 16px;
    line-height: 1.6;
    color: #6a7b8c;
    max-width: 700px;
    margin: 0 auto 50px auto;
    text-align: center;
}

/* Logos Grid */
.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 50px;
    width: 100%;
}

.credentials-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

/* Logo Image: Max-width 280px & Natural Height */
.credentials-item img {
    max-width: 280px;
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.credentials-item img:hover {
    transform: translateY(-2px);
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 992px) {
    .credentials-grid {
        gap: 35px 35px;
    }

    .credentials-item img {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .credentials-section {
        padding: 50px 16px;
    }

    .credentials-heading {
        font-size: 28px;
    }

    .credentials-subtext {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .credentials-grid {
        gap: 25px 20px;
    }

    .credentials-item img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .credentials-heading {
        font-size: 24px;
    }

    .credentials-subtext {
        font-size: 14px;
    }

    .credentials-item img {
        max-width: 140px;
    }
}