/* viewers */
.reviews {
    position: relative;
    overflow: hidden;
}
.reviews::before {
    content: "";
    position: absolute;
    top: 30%;
    left: -100px;
    width: 250px;
    height: 250px;
    background: #003fff;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    z-index: -1;
}
.reviews::after {
    content: "";
    position: absolute;
    bottom: 200px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #1100ff;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.5;
    z-index: -1;
}
@media (max-width: 992px) {
    .reviews::before {
        width: 180px;
        height: 180px;
        left: -60px;
        top: 40%;
        filter: blur(100px);
    }
    .reviews::after {
        width: 220px;
        height: 220px;
        right: -60px;
        bottom: 150px;
        filter: blur(120px);
    }
}
@media (max-width: 576px) {
    .reviews::before {
        width: 120px;
        height: 120px;
        left: -40px;
        top: 50%;
        filter: blur(80px);
    }
    .reviews::after {
        width: 160px;
        height: 160px;
        right: -40px;
        bottom: 100px;
        filter: blur(90px);
    }
}
.reviews-col {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: all 0.4s ease;
}
.reviews-col:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 25px #0040ff6f;
    border-color: rgba(0, 150, 255, 0.7);
}
.reviews-col .testi-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* why choose us */
.why {
    position: relative;
    background: url("../img/backgrounds/94.png") no-repeat center top;
    background-size: cover;
    width: 100%;
    height: auto;
    z-index: 1;
    padding: 100px 0 120px 0;
    margin-bottom: -90px;
}
.why ul {
    font-size: 18px;
}
.why .why-chara::before {
    position: absolute;
    content: "";
    background: radial-gradient(circle, #003fff, #003fff00 70%);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.why .why-chara {
    z-index: 10;
    width: 500px;
    height: 500px;
    position: relative;
}
.why .why-chara img {
    z-index: 10;
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
/* Laptop (993px - 1200px, termasuk 1024px): perlebar container, kurangi space kosong */
@media screen and (min-width: 993px) and (max-width: 1200px) {
    .why .container {
        max-width: 100%;
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }
    .why .row {
        max-width: 100%;
    }
    .why .col-sm-12.col-md-6.col-xl-6 {
        max-width: 50%;
    }
    .why h1,
    .why .lol,
    .why ul,
    .why p {
        max-width: 100%;
    }
    .why .why-chara {
        width: 420px;
        height: 420px;
    }
    .why .why-chara::before {
        width: 400px;
        height: 400px;
    }
}

/* Tablet (768px - 992px): teks full width, tidak ada space kosong kiri-kanan */
@media screen and (min-width: 768px) and (max-width: 992px) {
    .why .container {
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .why .row {
        flex-direction: column;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    /* Kolom teks: full width agar text memakai seluruh lebar */
    .why .col-sm-12.col-md-6.col-xl-6:first-child {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    /* Kolom gambar: full width, di bawah teks */
    .why .col-sm-12.col-md-6.col-xl-6.why-chara {
        flex: 0 0 100%;
        max-width: 100%;
        width: 50%;
        margin-top: 2rem;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        justify-content: center;
    }
    .why h1,
    .why .lol,
    .why ul,
    .why p {
        max-width: 100%;
    }
}

@media screen and (min-width: 1399px){
    .why .lol{
       
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
}
/* Tablet (<=992px) */
@media screen and (max-width: 992px) {
    .why .why-chara {
        width: 400px;
        height: 400px;
    }
    .why .why-chara::before {
        width: 380px;
        height: 380px;
    }
}
/* Mobile sedang (<=576px) */
@media screen and (max-width: 576px) {
    .why .why-chara {
        width: 320px;
        height: 320px;
    }
    .why .why-chara::before {
        width: 300px;
        height: 300px;
    }
}
/* Mobile kecil (<=400px) */
@media screen and (max-width: 400px) {
    .why .why-chara {
        width: 260px;
        height: 260px;
    }
    .why .why-chara::before {
        width: 240px;
        height: 240px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -40%);
    }
}
