/* ===================== */
/* GLOBAL UNTUK HOME     */
/* ===================== */
.container-lebar {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-sedang {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center;
}
.section-tagline {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}
.section-tagline-light {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-montserrat);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.section-subtitle {
    font-family: var(--font-inter);
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.section-subtitle-light {
    font-family: var(--font-inter);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.btn-standar, .btn-standar-putih {
    display: inline-block;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-standar .arrow, .btn-standar-putih .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}
.btn-standar:hover .arrow, .btn-standar-putih:hover .arrow {
    transform: translateX(5px);
}
.btn-standar {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}
.btn-standar:hover {
    background-color: #0072c6;
    border-color: #0072c6;
}
.btn-standar-putih {
    background-color: var(--text-light);
    color: var(--primary-blue);
    border: 2px solid var(--text-light);
}
.btn-standar-putih:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

/* ======================= */
/* 1. HERO SLIDER          */
/* ======================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: var(--text-light);
    overflow: hidden;
}
.hero-slider .slick-slide {
    height: 100vh;
    min-height: 600px;
}
.hero-slide {
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: max(20px, (100vw - 1440px) / 2 + 20px);
    padding: 30px; 
    
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(3px); 
    border-radius: 16px; 
    
    border: 4px solid rgba(118, 171, 245, 0.3); 
    
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
}
.hero-title {
    font-family: var(--font-montserrat);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-family: var(--font-inter);
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-cta-button {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 18px;
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-cta-button:hover {
    background-color: #e6db02;
    transform: translateY(-3px);
}


.hero-slider .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    list-style: none;
    display: flex;
    gap: 10px;
}
.hero-slider .slick-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.hero-slider .slick-dots li.slick-active button {
    background-color: var(--primary-yellow);
}

/* =========================== */
/* 2. WELCOME SECTION          */
/* =========================== */
.home-welcome-section {
    padding: 80px 0;
}
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.welcome-content p {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.welcome-content .btn-standar {
    margin-top: 15px;
}

.welcome-logo-wrapper img {
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
}
.welcome-logo-wrapper .logo-tagline {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}


/* ====================== */
/* 3. VIDEO SHOWCASE      */
/* ====================== */
.home-video-showcase {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
    background-color: #0d284a;
}
.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-background-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to left, 
        rgba(13, 40, 74, 0.9) 30%, 
        rgba(13, 40, 74, 0.4) 60%, 
        transparent 100%
    );
}
.video-showcase-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.text-content-right {
    max-width: 600px;
}
.text-content-right h2 {
    font-family: var(--font-montserrat);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}
.text-content-right p {
    font-family: var(--font-inter);
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}
@media (max-width: 992px) {
    .home-video-showcase {
        height: 70vh;
    }
    .video-overlay-gradient {
        background: linear-gradient(to left, 
            rgba(13, 40, 74, 0.9) 50%, 
            rgba(13, 40, 74, 0.6) 80%, 
            transparent 100%
        );
    }
    .text-content-right {
        max-width: 500px;
    }
    .text-content-right h2 {
        font-size: 30px;
    }
    .text-content-right p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .home-video-showcase {
        height: auto;
        padding: 60px 20px;
        text-align: left;
    }
    .video-showcase-content {
        justify-content: flex-start;
    }
    .video-overlay-gradient {
        background: rgba(13, 40, 74, 0.85); 
    }
    .text-content-right {
        max-width: 100%;
    }
    .text-content-right h2 {
        font-size: 28px;
    }
}

/* ====================== */
/* 4. MITRA KAMI          */
/* ====================== */
.home-partners-section {
    padding: 80px 0;
}
.partners-slider { margin-top: 30px; }
.partner-logo { padding: 0 15px; text-align: center; }
.partner-logo img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.7; 
}
.partner-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* ===== STYLE LOGO SCROLLER ===== */
.client-logos-viewport {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.client-logos-scroller {
    display: flex;
    width: fit-content;
    gap: 80px;
    align-items: center;
    animation: scroll-left 25s linear infinite;
}
.client-logos-scroller img {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

@keyframes scroll-left {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* ========================= */
/* 5. PROSES KAMI            */
/* ========================= */
.home-process-section {
    padding: 80px 0;
}
.process-flipper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.process-flipper-card {
    width: 100%;
    height: 400px;
    perspective: 1000px; 
    background-color: transparent;
}
.flipper-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: transform 0.6s, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.process-flipper-card:hover .flipper-card-inner {
    transform: rotateY(180deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(45, 106, 210, 0.4); 
}
.flipper-card-front,
.flipper-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}
.flipper-card-front {
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.flipper-card-front::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient overlay untuk gambar depan */
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 40%);
    z-index: 1;
}
.flipper-card-front h4 {
    position: relative;
    z-index: 2;
    font-family: var(--font-montserrat);
    font-size: 22px;
    font-weight: 600;
    padding: 25px;
    margin: 0;
}
.flipper-card-back {
    background-color: var(--bg-light);
    color: var(--text-dark);
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flipper-card-back h4 {
    font-family: var(--font-montserrat);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}
.flipper-card-back p {
    font-family: var(--font-inter);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* ============================== */
/* 6. RESPONSIF (HOME)            */
/* ============================== */
@media (max-width: 992px) {
    .section-title { font-size: 34px; }

    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 18px; }

    .welcome-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .welcome-logo-wrapper { 
        order: -1; 
        margin-bottom: 40px; 
        text-align: center; 
    }

    .process-flipper-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    .home-welcome-section,
    .home-partners-section,
    .home-process-section {
        padding: 60px 0;
    }

    .section-title { font-size: 30px; }
    .section-subtitle { font-size: 16px; }

    .hero-content { padding: 20px 6%; } 
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-slider .slick-arrow { display: none !important; }

    .process-flipper-grid { 
        grid-template-columns: 1fr; 
    }
    .process-flipper-card {
        height: 350px;
    }
    .flipper-card-front h4 { font-size: 20px; }
    .flipper-card-back h4 { font-size: 18px; }
    .flipper-card-back p { font-size: 14px; }
}