/* ==================== VARIABLES ==================== */
:root {
    --primary-color: #1a5f3a;
    --primary-dark: #0f3d22;
    --primary-light: #2d8659;
    --secondary-color: #f39c12;
    --accent-color: #f5b041;
    --text-dark: #2c3e50;
    --text-muted: #95a5a6;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* ==================== HERO SECTION ==================== */
.akreditasi-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akreditasi-hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.akreditasi-hero p {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 0;
}

.akreditasi-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    border: 3px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* ==================== AKREDITASI MAIN ==================== */
.akreditasi-main {
    padding: 80px 0;
    background: white;
}

.akreditasi-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.akreditasi-letter-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akreditasi-letter {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 150px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(26,95,58,0.4);
    position: relative;
    z-index: 2;
    animation: letterPulse 3s ease-in-out infinite;
    font-family: 'Playfair Display', serif;
}

@keyframes letterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.akreditasi-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    opacity: 0.3;
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.showcase-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.showcase-text h3 {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.showcase-text .lead {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.akreditasi-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 28px;
    color: var(--accent-color);
    margin-top: 5px;
}

.detail-item strong {
    display: block;
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.detail-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
}

/* ==================== PRESTASI SECTION ==================== */
.prestasi-section {
    padding: 80px 0;
    background: var(--light-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.prestasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.prestasi-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prestasi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.prestasi-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.prestasi-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.5;
}

/* ==================== CTA SECTION ==================== */
.akreditasi-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.akreditasi-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 30px;
    border: 3px solid rgba(255,255,255,0.3);
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .akreditasi-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .showcase-content {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
        text-align: center;
    }
    
    .akreditasi-letter {
        width: 200px;
        height: 200px;
        font-size: 120px;
        margin: 0 auto;
    }
    
    .akreditasi-glow {
        width: 230px;
        height: 230px;
    }
    
    .akreditasi-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        justify-content: center;
    }
    
    .prestasi-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .showcase-text h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}

/* === PRESTASI CARD FIX RAPI === */

.prestasi-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.prestasi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Area gambar / icon */
.prestasi-media {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Gambar */
.prestasi-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Icon fallback */
.prestasi-media i {
    font-size: 48px;
    color: #f1c40f;
}

/* Judul */
.prestasi-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-top: auto;
    line-height: 1.4;
}
