/*==============================
 ACCREDITATION SECTION
===============================*/
:root {
    --navy: #0e2a4d;
    --navy-d: #091b33;
    --red: #b4232f;
    --red-d: #951b26;
    --gold: #ffd700;
    --ink: #1d2733;
    --muted: #66758a;
    --line: #e3e8ef;
    --soft: #f6f8fb;
    --font: 'Sora', system-ui, sans-serif;
    --serif: 'Sora', system-ui, sans-serif;
}

.accreditation-section {
    position: relative;
    padding: 40px 0;
    font-family: 'Sora', system-ui, sans-serif;
    background: var(--soft);
    overflow: hidden;
}

.accreditation-section .container {
    position: relative;
    width: 92%;
    max-width: 1600px;
    margin: auto;
    padding: 0 16px;
}

.accreditation-wrapper {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 70px;
    align-items: center;
}

/* ---------- Left (heading style) ---------- */

.section-tag {
    display: inline-block;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    margin-bottom: 26px;
}

.accreditation-content h2 {
    font-family: 'Sora', system-ui, sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--navy-d);
    margin: 0 0 24px;
}

.accreditation-content h2 em {
    display: inline-block;
    font-style: italic;
    font-weight: 800;
    color: var(--red);
    padding: 0 8px;
    background: linear-gradient(transparent 55%, rgba(255, 215, 0, .45) 55%);
}

.accreditation-content p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 400;
    margin: 0 0 32px;
    max-width: 440px;
}

.accreditation-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(14, 42, 77, .08);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(180, 35, 47, .5);
    animation: acPulse 2s infinite;
}

@keyframes acPulse {
    70%  { box-shadow: 0 0 0 10px rgba(180, 35, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(180, 35, 47, 0); }
}

/* ---------- Right Grid ---------- */

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.ac-card {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(14, 42, 77, .06);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}


.ac-card img {
    width: 100px;
    max-width: 65%;
    height: auto;
    object-fit: contain;
    transition: transform .35s ease;
}





/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    .accreditation-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .accreditation-content { text-align: left; }
    .accreditation-content p { margin-left: 0; margin-right: 0; max-width: 100%; }
}

@media (max-width: 1400px) {
    .accreditation-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}
@media (max-width: 992px) {
    .accreditation-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

@media (max-width: 768px) {
    .accreditation-section { padding: 50px 0; }
    .accreditation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .accreditation-content p { font-size: 15px; }
    .ac-card img { width: 80px; max-width: 60%; }
}

@media (max-width: 480px) {
    .accreditation-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .section-tag { font-size: 11px; letter-spacing: 2px; }
    .ac-card { border-radius: 12px; }
    .accreditation-badge { font-size: 13px; padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .ac-card, .ac-card img, .ac-card::after, .badge-dot { transition: none; animation: none; }
}