/* HERO */
.hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Gradient kiri seperti referensi */
.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 60px 60px;
    color: white;
}

.hero-content h1 {
    font-size: 30px;
    margin-bottom: 14px;
}

.hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
}

.btn-wa {
    display: inline-block;
    padding: 10px 22px;
    background: #1f7a5a;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
}

.btn-wa:hover {
    background: #41886f;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 20px;
    left: 60px;
    z-index: 3;
}

.dot {
    height: 10px;
    width: 10px;
    margin-right: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    opacity: 0.5;
}

.dot.active {
    opacity: 1;
}

/* ================= ABOUT ================= */
.tentang {
    padding: 70px 40px;
    background: transparent;
}

.tentang-container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    background: #f1f7ff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 35px 55px rgba(10, 26, 53, 0.08);
}

.tentang-text {
    flex: 1;
}

.tentang-text h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.tentang-text p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
    font-size: 14px;
}

.tentang-img {
    flex: 1;
}

.tentang-img img {
    width: 100%;
    border-radius: 16px;
}

/* ================= LOCATION SECTION ================= */

.location-section {
    padding: 80px 60px;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #eef3ff 100%
    );
}

.location-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1f2f3f;
}

.location-header p {
    color: #666;
    font-size: 16px;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.location-gallery {
    display: grid;
    gap: 20px;
}

.location-gallery img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.location-map iframe {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ================= LAYANAN BUTTON ================= */

.layanan {
    padding: 50px 40px;
    text-align: center;
}

.layanan-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 25px auto 0;
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 52px;
    padding: 0 16px;

    background: var(--navy-main);
    color: white;
    font-size: 14px;
    font-weight: 600;

    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.service-btn:hover {
    background: var(--navy-dark);
}
@media (max-width: 992px) {
    .layanan-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ================= PROJECT ================= */

.project {
    padding: 60px 40px;
    text-align: center;
}

.project h2 {
    margin-bottom: 30px;
    font-size: 24px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.project-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.project-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    text-align: left;
}
.center-btn {
    margin-top: 40px;
}

/* ================= STATS ================= */

.stats {
    padding: 80px 60px;
    background: #1f2f3f;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 32px;
    color: #ffffff;
}

.stat-box p {
    margin-top: 10px;
    color: #b7a5e3;
}

/* =========================
   3D HERO CAROUSEL
========================= */

.hero-carousel {
    padding: 70px 0;
    background: linear-gradient(
        to bottom,
        #0a0f1a 0%,
        #111827 40%,
        #1f2937 100%
    );
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-carousel h2 {
    margin-bottom: 35px;
    font-size: 24px;
}

/* Container */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Viewport (The clipper) */
.carousel-viewport {
    width: 860px; /* (260 * 3) + (40 * 2) */
    margin: auto;
    overflow: hidden;
}

/* Track */
.carousel-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: max-content;
    padding: 20px 0;
}

/* Card */
.carousel-card {
    width: 260px;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff10;
    backdrop-filter: blur(8px);
    transition: 0.5s ease;
    transform: scale(0.8);
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Center Card */
.carousel-card.active {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
    z-index: 2;
}

/* Image */
.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff20;
    border: none;
    color: white;
    font-size: 28px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 10px;
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

.carousel-btn:hover {
    background: #ffffff40;
}
/* =========================
   OUR CLIENTS SECTION
========================= */

.partner {
    padding: 50px 40px;
    text-align: center;
}

.partner h2 {
    font-size: 24px;
    margin-bottom: 35px;
    color: #0f2850;
}

/* Slider Container */
.partner-slider {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

/* Slide */
.partner-slide {
    display: none;
}

.partner-slide.active {
    display: block;
}

/* Card */
.partner-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 40, 80, 0.08);

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Logo Wrapper */
.partner-logo {
    flex: 1;
    min-width: 150px;
    display: flex;
    justify-content: center;
}

/* Logo */
.partner-logo img {
    max-height: 70px;
    object-fit: contain;
}

/* Dots */
.partner-dots {
    margin-top: 25px;
}

.partner-dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}
.partner-dot.active {
    background-color: #0f2850;
}

/* =========================
   OUR SUPPORT SECTION
========================= */

.support {
    padding: 50px 40px;
    text-align: center;
    padding-bottom: 70px;

}

.support h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #0f2850;
}

.support-slider {
    max-width: 1100px;
    margin: auto;
}

.support-slide {
    display: none;
}

.support-slide.active {
    display: block;
}

.support-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15,40,80,0.08);

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
}

.support-card img {
    max-height: 55px;
    object-fit: contain;
}

.support-dots {
    margin-top: 25px;
}

.support-dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.support-dot.active {
    background-color: #0f2850;
}
.client-support-area {
    padding: 70px 0;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #f4f8ff 35%,
        #e6f0ff 70%,
        #d6e6ff 100%
    );
}

/* ===========================================
   RESPONSIVE DESIGN (SCALED STYLE)
   =========================================== */

@media (max-width: 992px) {
    .container { padding: 0 15px; }
    .hero { height: 320px; }
    .tentang-container { gap: 20px; padding: 25px; }
}

@media (max-width: 768px) {
    .container { padding: 0 10px; }
    .hero { height: 220px; }
    .hero-content { padding: 15px; max-width: 100%; top: 50%; transform: translateY(-50%); }
    .hero-content h1 { font-size: 16px; margin-bottom: 8px; line-height: 1.2; }
    .hero-content p { font-size: 10px; margin-bottom: 12px; }
    .btn-wa { padding: 6px 14px; font-size: 10px; }

    .tentang { padding: 20px 5px; }
    .tentang-container { 
        padding: 8px; 
        gap: 8px; 
        border-radius: 10px;
        flex-direction: row !important;
        align-items: flex-start;
        width: 100%;
        overflow: hidden;
    }
    .tentang-img { 
        flex: 0 0 35%; /* Gambar 35% lebar */
    }
    .tentang-text { 
        flex: 0 0 calc(65% - 8px); /* Teks sisanya */
    }
    .tentang-text h2 { font-size: 11px; margin-bottom: 4px; }
    .tentang-text p { font-size: 8px; line-height: 1.3; margin-bottom: 8px; }
    .tentang-text .btn-primary { padding: 5px 12px; font-size: 9px; }

    .layanan { padding: 20px 5px; }
    .layanan-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .service-btn { height: 38px; font-size: 9px; border-radius: 6px; }

    .project { padding: 25px 8px; }
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
        margin: auto;
    }
    .project-card img { height: 90px; } /* Tinggi gambar diperkecil agar pas rasionya */
    .project-info { padding: 6px; }
    .project-info h4 { font-size: 9px; line-height: 1.2; }
    .project-info p { font-size: 7.5px; }

    .layanan-buttons {
        max-width: 100%;
        margin: 15px auto;
        padding: 0 5px;
    }

    .stats { padding: 40px 15px; }
    .stats-container { gap: 10px; }
    .stat-box h3 { font-size: 20px; }
    .stat-box p { font-size: 10px; }

    .stats-container { gap: 10px; }
    .stat-box h3 { font-size: 20px; }
    .stat-box p { font-size: 10px; }

    .hero-carousel { padding: 30px 0; }
    .carousel-container { padding: 0 10px; }
    .carousel-viewport { 
        width: 100%; 
        overflow-x: auto; /* Izinkan geser khusus di bagian ini */
        -webkit-overflow-scrolling: touch; 
    }
    .carousel-track { 
        gap: 15px; 
        padding: 10px 0; 
        width: max-content; /* Biarkan memanjang ke samping */
    }
    .carousel-card { 
        width: 130px; 
        height: 180px; 
        transform: scale(1) !important; /* Jangan ada efek kecil/besar di HP biar rapi */
        opacity: 1 !important;
        filter: none !important;
    }
    .carousel-btn { display: none; }

    .location-section { padding: 30px 15px; }
    .location-header h2 { font-size: 20px; }
    .location-header p { font-size: 13px; }
    .location-container { grid-template-columns: 1fr; gap: 20px; }
    .location-gallery img { height: 160px; }
    .location-map iframe { height: 300px; }

    .partner, .support { padding: 30px 10px; }
    .partner h2, .support h2 { font-size: 18px; margin-bottom: 20px; }
    .partner-card, .support-card { padding: 15px; gap: 15px; display: flex; justify-content: center; }
    .partner-logo img, .support-card img { max-height: 40px; width: auto; max-width: 80px; }
}

@media (max-width: 480px) {
    .hero { height: 180px; }
    .hero-content h1 { font-size: 14px; }
    .project-card img { height: 100px; }
    .service-btn { font-size: 9px; }
}