
/* ==========================================
   PAGE PROFIL - MI HUBBUL QUR'AN
========================================== */

.profil-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   PAGE HEADER
========================================== */

.profil-page-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 20px;

    background: linear-gradient(
        125deg,
        #007F8E,
        #009FAE
    );

    text-align: center;
}

.profil-page-hero::after {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    top: -250px;
    right: -80px;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
}

.profil-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: #D7E8E5;
    font-size: 12px;
}

.profil-breadcrumb a {
    color: #E5C56B;
    text-decoration: none;
}

.profil-page-hero h1 {
    margin: 0 0 15px;

    color: #FFFFFF;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
}

.profil-page-hero p {
    max-width: 600px;
    margin: 0 auto;

    color: #D7E8E5;
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   SHARED STYLES
========================================== */

.profil-eyebrow {
    display: inline-block;
    margin-bottom: 17px;

    color: #F5AD24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.profil-section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.profil-section-heading h2 {
    margin: 0 0 15px;

    color: #009FAE;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
}

.profil-section-heading p {
    margin: 0;
    color: #718181;
    font-size: 14px;
    line-height: 1.85;
}

.profil-placeholder {
    color: #718181;
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   ABOUT SCHOOL
========================================== */

.profil-page-about {
    padding: 105px 0;
    background: #FFFFFF;
}

.profil-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.profil-about-image {
    position: relative;
    min-width: 0;
}

.profil-about-image img {
    display: block;
    width: 100%;
    height: 420px;

    object-fit: cover;
    border-radius: 18px;
}

.profil-image-accent {
    position: absolute;
    z-index: -1;

    inset: 22px -18px -18px 22px;

    border: 2px solid #D4AF37;
    border-radius: 18px;
}

.profil-about-content h2 {
    margin: 0 0 24px;

    color: #009FAE;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 700;
    line-height: 1.4;
}

.profil-about-content h2 span {
    display: block;
    color: #F5AD24;
}

.profil-about-content p {
    margin: 0;
    color: #637777;
    font-size: 14px;
    line-height: 2;
}

.profil-about-divider {
    width: 55px;
    height: 3px;

    margin: 28px 0;

    background: #F5AD24;
    border-radius: 4px;
}

.profil-about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profil-about-values span {
    padding: 10px 16px;

    background: #EAF3EF;
    border-radius: 30px;

    color: #009FAE;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   HISTORY
========================================== */

.profil-page-history {
    padding: 95px 0;
    background: #F7FAF8;
}

.profil-history-content {
    max-width: 850px;
    margin: 0 auto;

    padding: 35px 45px;

    background: #FFFFFF;
    border-left: 4px solid #F5AD24;
    border-radius: 0 14px 14px 0;
}

.profil-history-content p {
    margin: 0;

    color: #637777;
    font-size: 14px;
    line-height: 2;
}

/* ==========================================
   VISION & MISSION
========================================== */

.profil-page-vision {
    padding: 100px 0;
    background: #FFFFFF;
}

.profil-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.profil-vision-card {
    min-height: 260px;
    padding: 38px;

    border: 1px solid #E3ECE7;
    border-radius: 18px;

    background: #F9FBFA;
}

.profil-card-number {
    margin-bottom: 25px;

    color: #F5AD24;
    font-size: 28px;
    font-weight: 700;
}

.profil-vision-card h3 {
    margin: 0 0 18px;

    color: #009FAE;
    font-size: 23px;
    font-weight: 700;
}

.profil-vision-card p {
    margin: 0;

    color: #637777;
    font-size: 14px;
    line-height: 1.9;
}

.profil-mission-list {
    margin: 0;
    padding-left: 22px;

    color: #637777;
    font-size: 14px;
    line-height: 1.9;
}

.profil-mission-list li {
    margin-bottom: 12px;
}

/* ==========================================
   FACILITIES
========================================== */

.profil-page-facilities {
    padding: 95px 0;
    background: #F7FAF8;
}

.profil-facility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.profil-facility-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 22px;

    background: #FFFFFF;
    border: 1px solid #E3ECE7;
    border-radius: 12px;
}

.profil-facility-item span {
    color: #F5AD24;
    font-size: 20px;
    font-weight: 700;
}

.profil-facility-item p {
    margin: 0;
    color: #009FAE;
    font-size: 13px;
    font-weight: 600;
}

.profil-facility-empty {
    text-align: center;
}

/* ==========================================
   CONTACT CTA
========================================== */

.profil-page-cta {
    padding: 75px 0;
    background: #FFFFFF;
}

.profil-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 45px 55px;

    background: #009FAE;
    border-radius: 22px;
}

.profil-cta-label {
    display: inline-block;
    margin-bottom: 12px;

    color: #E5C56B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.profil-cta-inner h2 {
    max-width: 650px;
    margin: 0 0 12px;

    color: #FFFFFF;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 700;
    line-height: 1.4;
}

.profil-cta-inner p {
    margin: 0;

    color: #D7E8E5;
    font-size: 13px;
}

.profil-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;

    min-height: 48px;
    padding: 13px 24px;

    background: #F5AD24;
    color: #173F40;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.profil-cta-button:hover {
    background: #E5C56B;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .profil-about-grid {
        gap: 40px;
    }

    .profil-about-image img {
        height: 350px;
    }

    .profil-facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profil-cta-inner {
        padding: 40px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .profil-page-hero {
        padding: 75px 20px;
    }

    .profil-page-about,
    .profil-page-history,
    .profil-page-vision,
    .profil-page-facilities {
        padding: 70px 0;
    }

    .profil-about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .profil-about-image img {
        height: 300px;
    }

    .profil-image-accent {
        inset: 15px -8px -12px 15px;
    }

    .profil-vision-grid {
        grid-template-columns: 1fr;
    }

    .profil-facility-grid {
        grid-template-columns: 1fr;
    }

    .profil-history-content {
        padding: 28px;
    }

    .profil-vision-card {
        padding: 28px;
    }

    .profil-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 32px 25px;
    }

    .profil-cta-button {
        width: 100%;
    }
}

/* ==========================================
   PROFILE CONTENT - FINAL REFINEMENT
========================================== */

/* DESKRIPSI SEKOLAH */

.profil-description {
    color: #637777;
    font-size: 14px;
    line-height: 2;
}

.profil-description p {
    margin: 0 0 18px;
    color: #637777;
    font-size: 14px;
    line-height: 2;
}

.profil-description p:last-child {
    margin-bottom: 0;
}

/* SEJARAH SEKOLAH */

.profil-history-content p {
    margin: 0 0 20px;
    line-height: 2.1;
    text-align: left;
}

.profil-history-content p:last-child {
    margin-bottom: 0;
}

/* VISI DAN MISI */

.profil-vision-card p {
    line-height: 2;
}

.profil-mission-list {
    padding-left: 22px;
}

.profil-mission-list li {
    margin-bottom: 15px;
    padding-left: 5px;
    line-height: 1.9;
}

.profil-mission-list li:last-child {
    margin-bottom: 0;
}

.profil-mission-list li::marker {
    color: #B7952D;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 768px) {

    .profil-description,
    .profil-description p,
    .profil-history-content p {
        font-size: 13px;
        line-height: 1.9;
    }

    .profil-vision-card h3 {
        font-size: 21px;
    }
}
/* ==========================================
   COMPACT MODERN PAGE HEADER
   MI HUBBUL QUR'AN
========================================== */

.profil-page-hero {
    padding: 35px 20px 40px;
    min-height: auto;
}

.profil-page-hero .profil-breadcrumb {
    margin-bottom: 12px;
    font-size: 12px;
}

.profil-page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 700;
}

.profil-page-hero p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.7;
}

/* MOBILE */
@media (max-width: 768px) {
    .profil-page-hero {
        padding: 30px 16px 35px;
    }

    .profil-page-hero h1 {
        font-size: 28px;
    }

    .profil-page-hero p {
        font-size: 12px;
    }
}

/* ==========================================
   FASILITAS SEKOLAH - MODERN DESIGN
========================================== */

.profil-page-facilities {
    padding: 75px 0 90px;
    background: #F3FAFA;
}

.fasilitas-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 45px;
}

.fasilitas-modern-card {
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #D9EAEC;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 127, 142, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.fasilitas-modern-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(0, 127, 142, .14);
}

/* IMAGE */

.fasilitas-modern-image {
    width: 100%;
    height: 225px;
    overflow: hidden;
    background: #E4F5F6;
}

.fasilitas-modern-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.fasilitas-modern-card:hover .fasilitas-modern-image img {
    transform: scale(1.05);
}

/* CONTENT */

.fasilitas-modern-content {
    position: relative;
    padding: 35px 24px 26px;
}

.fasilitas-modern-icon {
    position: absolute;
    top: -34px;
    left: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    border: 4px solid #FFFFFF;
    border-radius: 17px;

    background: #009FAE;
    color: #FFFFFF;

    box-shadow: 0 7px 20px rgba(0, 159, 174, .18);
}

.fasilitas-modern-icon svg {
    width: 32px;
    height: 32px;
}

.fasilitas-modern-content h3 {
    margin: 12px 0 12px;
    color: #07535D;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.fasilitas-modern-content p {
    min-height: 75px;
    margin: 0 0 20px;
    color: #47686D;
    font-size: 13px;
    line-height: 1.8;
}

.fasilitas-modern-accent {
    width: 55px;
    height: 4px;
    border-radius: 20px;
    background: #F5AD24;
}

/* TABLET */

@media (max-width: 992px) {
    .fasilitas-modern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .profil-page-facilities {
        padding: 55px 0 65px;
    }

    .fasilitas-modern-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 30px;
    }

    .fasilitas-modern-image {
        height: 210px;
    }

    .fasilitas-modern-content p {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fasilitas-modern-card,
    .fasilitas-modern-image img {
        transition: none;
    }

    .fasilitas-modern-card:hover,
    .fasilitas-modern-card:hover .fasilitas-modern-image img {
        transform: none;
    }
}
