/* ACCREDITATIONS - PREMIUM CIRCULAR ANIMATION */
.accreditations-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: #07183D; /* Deep Navy */
    color: #F3E7CC; /* Warm Beige */
    isolation: isolate;
}

/* Background animated elements */
.accreditations-bg-fx {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.accreditations-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(30, 86, 184, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: slow-pulse 10s ease-in-out infinite alternate;
}

@keyframes slow-pulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.accreditations-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    perspective: 2000px;
}

/* Circular Orbit Container */
.accreditation-orbit-wrap {
    position: relative;
    width: min(600px, 90vw);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.accreditation-orbit-card {
    position: absolute;
    width: 180px;
    height: 180px;
    background: #F3E7CC; /* Warm Beige */
    color: #07183D; /* Deep Navy */
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.9s ease, filter 0.9s ease;
    cursor: pointer;
    backface-visibility: hidden;
}

.accreditation-orbit-card.active {
    border-color: #D5A62A; /* Gold */
    box-shadow: 0 0 30px rgba(30, 86, 184, 0.5), 0 0 15px rgba(213, 166, 42, 0.3);
    z-index: 10;
}

.accreditation-orbit-card .accreditation-mark {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1E56B8; /* Royal Blue */
    margin-bottom: 12px;
}

.accreditation-orbit-card h3 {
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
    color: #07183D;
}

/* Info Card Container */
.accreditation-info-wrap {
    position: relative;
    width: min(700px, 90vw);
    height: 180px;
    overflow: hidden;
}

.accreditation-info-card {
    position: absolute;
    inset: 0;
    background: rgba(30, 86, 184, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(213, 166, 42, 0.3);
    border-radius: 24px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.accreditation-info-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.accreditation-info-card.exit {
    opacity: 0;
    transform: translateX(-100%);
}

.accreditation-info-card h4 {
    color: #D5A62A;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.accreditation-info-card p {
    color: #F3E7CC;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .accreditation-orbit-wrap {
        height: 300px;
    }
    .accreditation-orbit-card {
        width: 140px;
        height: 140px;
        padding: 15px;
    }
    .accreditation-info-wrap {
        height: 220px;
    }
    .accreditation-info-card {
        padding: 20px;
    }
}
