/* ========================================
   TATA KELOLA SECTION STYLES
======================================== */

/* Section Container */
.tata-kelola-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Kepala Sekolah Card */
.kepsek-card {
    background: linear-gradient(135deg, #667eea 0%, #1e90ff 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.kepsek-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

.kepsek-photo {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.kepsek-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kepsek-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.kepsek-info p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 3rem 0 2rem 0;
    color: #2c3e50;
    position: relative;
}

.section-title i {
    color: #667eea;
    margin-right: 0.5rem;
    font-size: 2.2rem;
}

/* Tata Kelola Table Container */
.tata-kelola-table-container {
    margin: 2rem 0;

    overflow-x: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tata-kelola-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 800px;
}

.tata-kelola-table thead {
    border-radius: 30px;
    background: linear-gradient(135deg, #667eea 0%, #1e90ff 100%);
}

.tata-kelola-table th,
.tata-kelola-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e8ecf4;
    vertical-align: middle;
}

.tata-kelola-table th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tata-kelola-table tbody tr {
    transition: all 0.3s ease;
}

.tata-kelola-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.tata-kelola-table tbody tr:nth-child(even) {
    background-color: #f8faff;
}

.tata-kelola-table td:first-child {
    font-weight: 600;
    color: #667eea;
    width: 60px;
}

/* Statistik Card */
.statistik-card {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(17, 153, 142, 0.3);
    position: relative;
    overflow: hidden;
}

.statistik-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5), #fff);
}

.statistik-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.statistik-card h3 i {
    font-size: 1.8rem;
}

/* Statistik Table */
.statistik-table-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.statistik-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.statistik-table th,
.statistik-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 1.1rem;
}

.statistik-table th {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    color: #1a3c34;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.statistik-table td {
    font-weight: 600;
    color: #fff;
}

.statistik-table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .kepsek-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .kepsek-photo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .kepsek-info h2 {
        font-size: 1.8rem;
    }

    .tata-kelola-table-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    .tata-kelola-table th,
    .tata-kelola-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
    }

    .statistik-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .tata-kelola-table {
        font-size: 0.8rem;
        min-width: 700px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tata-kelola-table-container,
.kepsek-card,
.statistik-card {
    animation: fadeInUp 0.8s ease-out;
}