/* WRAPPER */
.about-hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* BACKGROUND PHOTO (LEFT) */
.about-hero-bg {
    position: absolute;
    inset: 0;
    width: 110%;
    height: 110%;
    background-image: url("../img/class/duet-class.webp");
    background-size: cover;
    background-position: left center;
    will-change: transform;
    transition: transform 0.1s linear;
    z-index: 1;
}

/* OVERLAYS */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.65) 0%,
            rgba(255, 255, 255, 0.25) 35%,
            rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 2;
}

.about-hero-focus-layer {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 55%,
            rgba(0, 0, 0, 0.4) 90%);
    pointer-events: none;
    z-index: 3;
}

/* LAYOUT FLEX: LEFT (image) + RIGHT (text) */
.about-hero-inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 7%;
}

/* Left kosong sebagai placeholder foto */
.about-hero-left {
    flex: 1;
}

/* Teks kanan */
.about-hero-right {
    flex: 1;
    max-width: 550px;
    text-align: right;
}

.about-hero-right h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--cream) !important;
}

.about-hero-right h1 strong {
    font-weight: 700;
}

.about-hero-right h1 em {
    font-style: italic;
}

.about-hero-right h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-hero-right p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .about-hero-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* ⬅ tengah secara vertical */
        align-items: center;
        /* ⬅ center horizontal */
        min-height: 100vh;
        /* ⬅ biar benar-benar full layar */
        padding: 20px;
        text-align: center !important;
    }

    .about-hero-left {
        display: none;
    }

    .about-hero-right {
        max-width: 90%;
        text-align: center !important;
        /* ⬅ teks center */
        color: #fff;
        /* pastikan terbaca di atas image */
        margin-top: 200px;
    }

    .about-hero-right h1,
    .about-hero-right h3,
    .about-hero-right p {
        text-align: center !important;
    }
}



.about-detail-wrapper {
    position: relative;
    min-height: 400px;
    /* cukup panjang untuk sticky bekerja */
    background: #ffffff;
    overflow: visible;
    z-index: 0;
}

/* DOT LEFT TOP */
.about-detail-wrapper::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 40px;
    width: 220px;
    height: 220px;

    background-image: radial-gradient(#00adcc 18%, transparent 20%);
    background-size: 22px 22px;

    opacity: 0.28;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);

    z-index: -1;
}

/* DOT RIGHT BOTTOM (DITINGGIKAN AGAR TERLIHAT) */
.about-detail-wrapper::after {
    content: "";
    position: absolute;
    /* NAIKKAN dari bawah agar pasti terlihat */
    right: 40px;
    width: 260px;
    height: 260px;

    background-image: radial-gradient(#00adcc 18%, transparent 20%);
    background-size: 22px 22px;

    opacity: 0.25;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);

    z-index: -1;
}

.about-detail-sticky {
    /*   position: relative;*/
    position: relative;
    top: 15vh;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 32px;
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: center;
    z-index: 2;
}



/* TEKS ABOUT */
.about-detail-sticky h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-detail-sticky p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 750px;
}

@media (max-width: 768px) {
    .about-detail-sticky p {
        text-align: center;
    }

    .about-detail-wrapper::before,
    .about-detail-wrapper::after {
        display: none;
    }
}

/* SECTION VISSION (MENUTUP SECTION SEBELUMNYA)  margin-top: -100vh;*/
.about-vission {
    position: relative;
    background: #f6f1ee;
    padding: 12vh 8% 10vh;
    margin-top: -50px;
    z-index: 3;

}

.vission-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Semua card default normal (tidak sticky)margin-bottom: 20vh; */
.sticky-item {
    background: #fff;
    padding: 35px 40px;
    margin-bottom: 30px;
    border-radius: 20px;

    position: relative;
    z-index: 11;

    opacity: 1;
    transition: none;
    min-height: 290px;
}

/* Yang aktif menjadi sticky */
.sticky-item.active {
    position: sticky;
    top: 30vh;
    z-index: 10;
    /* muncul di atas yang lain */
}

.closing-space {
    height: 0;
    /* atur besar ruang scroll sebelum ganti section   height: 10vh;*/
    background: transparent;
}

/* ========== MOBILE VERSION ========== */
@media(max-width: 768px) {

    .about-vission {
        padding: 8vh 5% 12vh;
        /* lebih rapat, tidak terlalu panjang   margin-top: -100vh; */

    }

    .sticky-item {
        padding: 25px 25px;
        margin-bottom: 12vh;
        /* lebih kecil supaya tidak terlalu jauh */
        min-height: 380px;
        /* card lebih compact di mobile */
    }

    .sticky-item.active {
        top: 20vh;
        /* posisi sticky lebih atas untuk HP */
    }


}

/* MOBILE */
@media(max-width: 768px) {
    .sticky-item.active {
        top: 20vh;
    }
}

/* IPAD / TABLET */
@media(min-width: 769px) and (max-width: 1366px) {
    .sticky-item.active {
        top: 25vh;
    }
}

/* ========== OUR PHILOSOPHY SECTION ========== */
.philosophy-section {
    padding: 12vh 8%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    z-index: 4;
    position: relative;
}

.philosophy-card {
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Image Left */
.philosophy-image img {
    width: 420px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Text Right */
.philosophy-content {
    flex: 1;
    text-align: left;
}

.philosophy-content h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

/* RESPONSIVE MOBILE */
@media(max-width: 768px) {
    .philosophy-card {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .philosophy-image img {
        width: 100%;
        border-radius: 20px;
    }

    .philosophy-content h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .philosophy-content {
        text-align: center;
    }
}