/* =========================================
   PROFIL SEKOLAH
   CSS KHUSUS HALAMAN PROFIL
========================================= */

.profil-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    font-family: Arial, sans-serif;
    color: #333;
}


/* =========================================
   JUDUL
========================================= */

.profil-title {
    text-align: center;
    margin-bottom: 35px;
}

.profil-title p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #777;
}

.profil-title h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #17324d;
}


/* =========================================
   IDENTITAS SEKOLAH
========================================= */

.profil-identitas {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 35px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.profil-logo {
    width: 180px;
    min-width: 180px;
    text-align: center;
}

.profil-logo img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.logo-kosong {
    width: 160px;
    height: 160px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 60px;
    color: #999;
}

.profil-kontak h2 {
    margin: 0 0 18px;
    font-size: 28px;
    color: #17324d;
}

.profil-kontak p {
    margin: 9px 0;
    font-size: 15px;
    color: #555;
}

.profil-kontak i {
    width: 22px;
    margin-right: 8px;
    color: #17324d;
}


/* =========================================
   GRID
========================================= */

.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}


/* =========================================
   BOX
========================================= */

.profil-box {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.profil-box h3 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    font-size: 19px;
    color: #17324d;
}

.profil-box h3 i {
    margin-right: 8px;
}

.profil-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.visi-text {
    font-size: 16px;
    font-weight: 500;
}


/* =========================================
   INFORMASI SEKOLAH
========================================= */

.info-table {
    width: 100%;
}

.info-row {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: #777;
}

.info-row strong {
    color: #333;
    font-weight: 600;
}


/* =========================================
   SEJARAH
========================================= */

.profil-sejarah {
    margin-top: 5px;
}

.sejarah-text {
    text-align: justify;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .profil-page {
        padding: 30px 15px 50px;
    }

    .profil-title h1 {
        font-size: 25px;
    }

    .profil-identitas {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }

    .profil-logo {
        width: auto;
    }

    .profil-kontak h2 {
        font-size: 23px;
    }

    .profil-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: 45% 55%;
    }

}


/* =========================================
   HP KECIL
========================================= */

@media (max-width: 480px) {

    .profil-title h1 {
        font-size: 22px;
    }

    .profil-box {
        padding: 20px;
    }

    .info-row {
        display: block;
        padding: 10px 0;
    }

    .info-row span,
    .info-row strong {
        display: block;
    }

    .info-row strong {
        margin-top: 3px;
    }

}