/* ===================================
   Accreditations Page — credit-modern.css
   =================================== */

/* ── Hero ── */
.credit-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.credit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/verify.jpg') center/cover;
    opacity: .50;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19,19,20,.88) 0%, rgba(20,20,20,.78) 100%);
    z-index: 1;
}
.credit-hero .container { position: relative; z-index: 2; }
.hero-content {
    text-align: left;
    max-width: 820px;
    margin: 3 auto;
    animation: fadeInUp .8s ease-out;
}
.hero-title {
    font-size: clamp(3rem, 4vw, 4rem);
    color: var(--text-white);
    margin-bottom: .5rem;
    font-weight: 800;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,.92);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* ── Trust Strip ── */
.trust-strip {
    background: var(--accent);
    padding: 1.5rem 0;
}
.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
}
.trust-item i { font-size: 1.3rem; }
.trust-divider {
    width: 1px;
    height: 28px;
    background: rgba(19,19,20,.25);
}

/* ── Section Shared ── */
.accred-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}
.accred-section.alt-bg { background: var(--bg-light); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-header p {
    font-size: 1.15rem;
    color: var(--text-body);
}

/* ── Accreditation Grid & Cards ── */
.accred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.accred-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}
.accred-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Logo area */
.accred-logo-wrap {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    min-height: 160px;
}
.accred-logo {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    transition: transform var(--transition-base);
}
.accred-card:hover .accred-logo { transform: scale(1.08); }

/* Body */
.accred-body { padding: 2rem; flex: 1; }

.accred-badge {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 2rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}
.accred-badge.local      { background: rgba(212,175,55,.18); color: #7a5c00; }
.accred-badge.international { background: rgba(13,110,253,.12); color: #0d4fad; }

.accred-body h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: .4rem;
    line-height: 1.3;
}
.accred-abbr {
    font-size: .95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.accred-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.accred-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.accred-points li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: var(--text-dark);
}
.accred-points li i { color: #28a745; font-size: 1rem; flex-shrink: 0; }

/* ── Pathway Section ── */
.pathway-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.pathway-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/7.jpg') center/cover;
    opacity: .07;
}
.pathway-section .container { position: relative; z-index: 1; }
.pathway-section .section-header h2 { color: var(--text-white); }
.pathway-section .section-header p   { color: rgba(255,255,255,.85); }

.pathway-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pathway-step {
    background: rgba(255,255,255,.95);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--transition-base);
}
.pathway-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 800;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212,175,55,.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(212,175,55,.35);
}

.pathway-step h4 {
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: var(--text-dark);
}
.pathway-step p {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--text-body);
}

.pathway-arrow {
    color: rgba(255,255,255,.7);
    font-size: 1.75rem;
    flex-shrink: 0;
}

/* ── CTA ── */
.credit-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.credit-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/academic-degree-academic-dress-accomplishment-2517759.jpg') center/cover;
    opacity: .1;
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
}
.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}
.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .accred-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .credit-hero { min-height: 45vh; padding: 7rem 0 4rem; }
    .trust-divider { display: none; }
    .trust-items { gap: 1rem; }
    .pathway-grid { flex-direction: column; align-items: stretch; }
    .pathway-step { max-width: 100%; }
    .pathway-arrow { transform: rotate(90deg); }
    .cta-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
    .section-header h2 { font-size: 2rem; }
    .accred-body h3 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .accred-card, .pathway-step, .hero-content { animation: none; transition: none; }
}
