/*
 * Les Privat page – full stylesheet
 * Reference canvas: 1920 px wide  →  1 px = 0.0521 vw
 *
 * Key conversions
 *   1680 →  87.5  vw   slider / inner content width
 *    960 →  50    vw   hero height
 *    237 →  12.34 vw   slider image height
 *     60 →  3.125 vw   segment title & CTA border-radius
 *     52 →  2.71  vw   filter card border-radius
 *     50 →  2.6   vw   segment title padding-y
 *     35 →  1.82  vw   filter-btn font-size
 *     30 →  1.56  vw   filter-btn border-radius
 *      6 →  0.31  vw   dropdown item padding-y
 */

/* ═══════════════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════════════ */
.lp-hero {
    background: #ececf6;
    height: 50vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-slider-wrap { width: 87.5vw; }

.lp-slide-img {
    width: 100%;
    height: 42vw;
    object-fit: cover;
    border-radius:32px;
    display: block;
}

.lp-indicators { bottom: 5.78vw; margin-bottom: 0; }

.lp-indicators [data-bs-target] {
    width: 0.63vw;
    height: 0.63vw;
    border-radius: 50%;
    border: 0.13vw solid #fff;
    background-color: transparent;
    opacity: 1;
    transition: background-color .3s;
}
.lp-indicators .active { background-color: #fff; }

/* ═══════════════════════════════════════════════════
   2. FILTER  – independent white card
═══════════════════════════════════════════════════ */
.lp-filter-section {
    background: #ececf6;
    display: flex;
    justify-content: center;
    padding: 2.08vw 0;
    position: absolute;
    bottom: 0;
    background: none;
    left: 12%;
    right: 50%;
    width: 76vw;
    bottom: -8%;
    z-index: 4;
}
.lp-section:first-of-type { padding-top: 6%; }
.lp-filter-box {
    background: #fff;
    border-radius: 2.71vw;
    box-shadow: 0 0.10vw 0.56vw 0.47vw #1d0a804d;
    padding: 1.3vw 2.6vw;
    width: 87.5vw;
    position: relative;
    overflow: visible;
}

.lp-filter-title {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1.25vw;
    color: #14065b;
    margin-bottom: 0.83vw;
}

.lp-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.83vw;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.lp-filter-dds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.83vw;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    overflow: visible;
}

.lp-filter-reset-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid #1d0a80;
    border-radius: 1.56vw;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1d0a80;
    padding: 0.52vw 1.46vw;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s;
    line-height: 1.3;
}
.lp-filter-reset-btn:hover,
.lp-filter-reset-btn:focus {
    background: #eeedf8;
    color: #1d0a80;
    text-decoration: none;
}

.lp-filter-btn {
    background: #bcb6ff;
    border: none;
    border-radius: 1.56vw;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #14065b;
    padding: 0.52vw 1.46vw;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
    line-height: 1.3;
    outline: none;
    box-shadow: none;
}
.lp-filter-btn:hover,
.lp-filter-btn:focus,
.lp-filter-btn.show { background: #a49eff; color: #14065b; box-shadow: none; }
.lp-filter-btn::after { border-top-color: #14065b; vertical-align: .15em; }

.lp-dd-menu {
    min-width: 100%;
    width: max-content;
    max-width: min(90vw, 320px);
    padding: 0;
    border: 1.5px solid #1d0a80;
    border-radius: 0.52vw;
    background: #fff;
    z-index: 1050;
}

.lp-dd-wrap {
    position: relative;
}

/* Override global dropdown hiding rules from style.css */
.lp-dd-wrap .dropdown-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    margin-top: 0;
    top: 100%;
}

.lp-dd-wrap .dropdown-menu.show {
    display: block !important;
}

.lp-dd-item.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.31vw 1.25vw;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 1.25vw;
    color: #14065b;
    text-align: left;
    border-bottom: 1px solid #1d0a80;
    background: transparent;
    transition: background .15s;
    white-space: normal;
    word-break: break-word;
}
.lp-dd-menu li:last-child .lp-dd-item { border-bottom: none; }
.lp-dd-item.dropdown-item:hover,
.lp-dd-item.dropdown-item:focus,
.lp-dd-item.dropdown-item:active { background: #eeedf8; color: #14065b; }

/* ═══════════════════════════════════════════════════
   3. SECTION WRAPPERS
═══════════════════════════════════════════════════ */
.lp-section {
    background: #ececf6;
    padding: 2.6vw 0;
    position: relative;
}
.lp-section-white { background: #fff !important; padding-top: 48px; }

.lp-inner {
    width: 100%;
    padding: 0 clamp(16px, 2.5vw, 48px);
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   4. REUSABLE SEGMENT TITLE
   bg #1D0A80  |  radius 60px / 3.125vw  |  py 50px / 2.6vw
═══════════════════════════════════════════════════ */
.lp-segment-title {
    background: #1d0a80;
    border-radius: 3.125vw;
    padding: clamp(10px, 0.83vw, 16px) clamp(16px, 1.56vw, 32px);
    text-align: center;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.2vw, 17px);
    letter-spacing: .03em;
    white-space: nowrap;
    width: min(52vw, 880px);
    margin-bottom: 2.6vw;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}
.lp-segment-title-float {
    position: absolute;
    top: -5%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
.lp-section-kenapa{
    padding-left: 12vw;
    padding-right: 12vw
}

/* ═══════════════════════════════════════════════════
   5. COURSES GRID
═══════════════════════════════════════════════════ */
.lp-courses-grid .course-item { background: #fff; }

.lp-courses-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(200px, 24vw, 320px);
    width: 100%;
    text-align: center;
    padding: 2.6vw 1.04vw;
}
.lp-courses-empty p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.04vw, 18px);
    color: #14065b;
    line-height: 1.6;
    max-width: 36rem;
}

/* ═══════════════════════════════════════════════════
   6. CTA BUTTON  –  bg #1D0A80, radius 60px / 3.125vw
═══════════════════════════════════════════════════ */
.lp-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.6vw;
    padding-bottom: 1.04vw;
}

.lp-cta-btn {
    display: inline-block;
    background: #1d0a80;
    border-radius: 3.125vw;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 0.94vw, 18px);
    letter-spacing: .05em;
    padding: clamp(10px, 0.73vw, 14px) clamp(32px, 2.6vw, 52px);
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.lp-cta-btn:hover { background: #2a12b0; color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ═══════════════════════════════════════════════════
   7. PENGALAMAN SISWA KAMI – testimonial carousel
═══════════════════════════════════════════════════ */

.lp-testi-wrap {
    border-radius: 2.71vw;
    padding: 2.08vw 1.56vw 1.04vw;
    overflow: hidden;
    margin-bottom: 0.52vw;
}

.lp-testi-wrap .owl-stage-outer {
    max-height: none;
}

.lp-testi-item { padding: 0.52vw; }

.lp-testi-bubble-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Speech bubble card – flat #BCB6FF, fixed height */
.lp-testi-card {
    background: #bcb6ff !important;
    border-radius: 1.04vw;
    padding: 1.56vw;
    display: flex !important;
    flex-direction: column;
    height: 220px !important;
    min-height: 220px;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
    box-shadow: none;
    margin-bottom: 1.04vw;
}

/* Speech bubble tail – same flat color, seamless with bubble */
.lp-testi-card::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 1.56vw;
    width: 0;
    height: 0;
    border-left: 0.52vw solid transparent;
    border-right: 0.78vw solid transparent;
    border-top: 0.78vw solid #bcb6ff;
}

.lp-testi-quote {
    font-family: Georgia, serif;
    font-size: 2.5vw;
    line-height: 1;
    color: rgba(29, 10, 128, 0.35);
    margin-bottom: 0.42vw;
    flex-shrink: 0;
}

.lp-testi-review {
    font-family: "Open Sans", sans-serif;
    font-size: 0.94vw;
    color: #14065b;
    line-height: 1.6;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Author to the right of the tail */
.lp-testi-author {
    display: flex;
    flex-direction: column;
    gap: 0.16vw;
    margin-left: 3.5vw;
    margin-top: 0.26vw;
}
.lp-testi-author strong {
    font-family: "Open Sans", sans-serif;
    font-size: 1.15vw;
    font-weight: 700;
    color: #1d0a80;
}
.lp-testi-author span {
    font-family: "Open Sans", sans-serif;
    font-size: 0.83vw;
    color: #14065b;
}

/* Override global center-card highlight from style.css */
.lp-testi-wrap .lp-testi-carousel .owl-item.center .testimonial-text,
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-card {
    background: #bcb6ff !important;
}
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-quote,
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-review,
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-author strong,
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-author span {
    color: inherit !important;
}
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-quote {
    color: rgba(29, 10, 128, 0.35) !important;
}
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-review {
    color: #14065b !important;
}
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-author strong {
    color: #1d0a80 !important;
}
.lp-testi-wrap .lp-testi-carousel .owl-item.center .lp-testi-author span {
    color: #14065b !important;
}

/* Side fade gradients */
.lp-testi-wrap .testimonial-carousel::before {
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 55%);
}
.lp-testi-wrap .testimonial-carousel::after {
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 75%);
}

/* Pagination dots – navy active, white inactive */
.lp-testi-wrap .lp-testi-carousel .owl-dots {
    margin-top: 1.04vw;
}
.lp-testi-wrap .lp-testi-carousel .owl-dot {
    width: 0.78vw;
    height: 0.78vw;
    border-radius: 50%;
    border: 0.1vw solid #1d0a80;
    background: #fff;
    margin: 0 0.31vw;
}
.lp-testi-wrap .lp-testi-carousel .owl-dot.active {
    background: #1d0a80;
    border-color: #1d0a80;
}

/* ═══════════════════════════════════════════════════
   8. BELAJAR DENGAN TUTOR TERBAIK – teams carousel
═══════════════════════════════════════════════════ */
.lp-section-white .lp-inner .testimonial-carousel::before {
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 55%);
}
.lp-section-white .lp-inner .testimonial-carousel::after {
    background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 75%);
}

/* ═══════════════════════════════════════════════════
   9. KENAPA LES DI HARO EDUCATION?
═══════════════════════════════════════════════════ */
.lp-kenapa-header {
    font-family: "Open Sans", sans-serif;
    font-size: 1.04vw;
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.56vw;
    max-width: 72vw;
}

.lp-kenapa-subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1.82vw;
    color: #1d0a80;
    text-align: center;
    margin-bottom: 1.56vw;
}

/* Dark navy bullet card */
.lp-kenapa-card {
    background: #1d0a80;
    border-radius: 1.56vw;
    padding: 2.08vw 2.6vw;
    margin-bottom: 1.04vw;
}

.lp-kenapa-list {
    list-style: disc;
    padding-left: 1.56vw;
    margin: 0;
}
.lp-kenapa-list li {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 1.04vw;
    color: #fff;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════
   10. ASAL SEKOLAH SISWA KAMI – school logos grid
═══════════════════════════════════════════════════ */
.lp-sekolah-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.56vw;
    margin-bottom: 0.52vw;
}

.lp-sekolah-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-sekolah-item img {
    height: 4.17vw;   /* ~80 px */
    width: auto;
    max-width: 8.33vw;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
    transition: transform .2s;
}
.lp-sekolah-item img:hover { transform: scale(1.08); }

.lp-hero-master{
    background: #ececf6;
    position: relative;
}

/* ═══════════════════════════════════════════════════
   11. RESPONSIVE – tablet  769 – 1299 px
═══════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1299px) {
    .lp-testi-card::after {
        bottom: -6px !important;
    }
    .lp-hero-master{
        padding-top: 10%;
    }
    .lp-slide-img         { height: 60vw; border-radius: 24px;object-fit: contain;}
    .lp-filter-title      { font-size: 1.6vw; }
    .lp-filter-btn        { font-size: 16px; border-radius: 2vw; }
    .lp-filter-reset-btn  { font-size: 16px; border-radius: 2vw; }
    .lp-dd-item.dropdown-item { font-size: 1.6vw; padding: .5vw 1.2vw; }
    .lp-dd-menu           { min-width: max(100%, 11rem); max-width: min(90vw, 300px); }
    .lp-segment-title     { font-size: clamp(14px, 1.6vw, 17px); width: min(68vw, 620px); }
    .lp-cta-btn           { font-size: clamp(14px, 1.4vw, 18px); padding: 12px 40px; border-radius: 28px; }
    .lp-testi-review      { font-size: 14px; }
    .lp-testi-author strong { font-size: 1.4vw; }
    .lp-testi-author span { font-size: 1.1vw; }
    .lp-kenapa-header     { font-size: 1.3vw; }
    .lp-kenapa-subtitle   { font-size: 2.2vw; }
    .lp-kenapa-list li    { font-size: 1.3vw; }
    .lp-sekolah-item img  { height: 5vw; max-width: 10vw; }
    .lp-section:first-of-type { padding-top: 10%; }
    .lp-filter-section { bottom: -12% }
    .lp-indicators{ bottom: 10.78vw}
}

/* ═══════════════════════════════════════════════════
   12. RESPONSIVE – mobile  ≤ 768 px
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .lp-hero              { height: auto; padding: 20px 0 16px; }
    .lp-slider-wrap,
    .lp-filter-box,
    .lp-inner             { width: 94vw; }
    .lp-slide-img         { height: 54vw; border-radius: 10px; }
    .lp-indicators [data-bs-target] { width: 10px; height: 10px; border-width: 2px; }

    .lp-filter-section    { padding: 16px 0 20px;bottom: -14% }
    .lp-filter-box        { border-radius: 16px; padding: 16px 14px; box-shadow: 0 8px 24px 0 #1d0a804d; }
    .lp-filter-title      { font-size: 15px; margin-bottom: 12px; }
    .lp-filter-row        { gap: 8px; }
    .lp-filter-dds        { gap: 8px; }
    .lp-filter-btn        { font-size: 11px; border-radius: 12px; padding: 4px 10px; }
    .lp-filter-reset-btn  { font-size: 11px; border-radius: 12px; padding: 4px 12px; margin-left: auto; }
    .lp-indicators{ display: none;}
    .lp-dd-item.dropdown-item { font-size: 13px; padding: 8px 14px; }
    .lp-dd-menu           { border-radius: 8px; min-width: max(100%, 10.5rem); max-width: min(92vw, 280px); }

    .lp-section           { padding: 20px 0; }
    .lp-section:first-of-type { padding-top: 10vw; }
    .lp-segment-title     { font-size: clamp(12px, 3.2vw, 15px); width: min(88vw, 480px); border-radius: 20px; padding: 12px 10px; margin-bottom: 20px; letter-spacing: .02em; }
    .lp-cta-btn           { font-size: clamp(13px, 3.4vw, 16px); border-radius: 24px; padding: 10px 32px; }

    .lp-testi-card        { border-radius: 12px; padding: 16px 14px; height: 220px !important; min-height: 220px; margin-bottom: 14px; }
    .lp-testi-card::after { bottom: -10px; left: 14px; border-left-width: 7px; border-right-width: 10px; border-top-width: 10px; }
    .lp-testi-quote       { font-size: 28px; }
    .lp-testi-review      { font-size: 13px; -webkit-line-clamp: 5; }
    .lp-testi-author      { margin-left: 40px; margin-top: 4px; }
    .lp-testi-author strong { font-size: 15px; }
    .lp-testi-author span { font-size: 12px; }
    .lp-testi-wrap .lp-testi-carousel .owl-dot { width: 10px; height: 10px; border-width: 1.5px; margin: 0 4px; }

    .lp-kenapa-header     { font-size: 14px; max-width: 100%; }
    .lp-section-kenapa    { padding-left: 4vw; padding-right: 4vw; }
    .lp-kenapa-subtitle   { font-size: clamp(16px, 4.5vw, 18px); }
    .lp-kenapa-card       { border-radius: 14px; padding: 20px 20px; }
    .lp-kenapa-list li    { font-size: 13px; }

    .lp-sekolah-grid      { gap: 12px; }
    .lp-sekolah-item img  { height: 48px; max-width: 80px; }
}

/* ═══════════════════════════════════════════════════
   13. RESPONSIVE – small mobile  ≤ 480 px
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .lp-slide-img         { height: 50vw; }
    .lp-filter-btn        { font-size: 12px; padding: 7px 12px; }
    .lp-filter-reset-btn  { font-size: 12px; padding: 7px 14px; }
    .lp-dd-item.dropdown-item { font-size: 12px; }
    .lp-segment-title     { font-size: clamp(11px, 3vw, 13px); width: min(94vw, 100%); padding: 10px 6px; }
    .lp-cta-btn           { font-size: clamp(12px, 3.2vw, 14px); padding: 9px 26px; }
    .lp-sekolah-item img  { height: 38px; max-width: 64px; }
    .lp-filter-section {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        background: none;
        padding: 10px 16px;
        margin: 0;
    }
    .lp-filter-box { width: 100% !important; }
}

@media (max-width: 580px) {
    .lp-courses-grid .course-col {
        margin-left: auto;
        margin-right: auto;
    }
    .lp-segment-title {
        width: min(94vw, 100%);
        font-size: clamp(11px, 2.9vw, 13px);
        padding: 10px 8px;
    }
    .lp-segment-title-float {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .lp-cta-btn {
        font-size: clamp(12px, 3.2vw, 14px);
        padding: 9px 28px;
    }
    .lp-kenapa-subtitle   { font-size: clamp(15px, 4vw, 17px); }
    .lp-filter-title      { font-size: clamp(13px, 3.6vw, 15px); }
}
