/* ================== GENERAL & VARIABLES ================== */
:root {
    --primary-blue: #36A9E1;
    --primary-red: #E85D5F;
    --accent-yellow: #FFC940;
    --dark-text: #212529;
    --light-bg: #F8F9FA;
    --road-color: #FDEFEF;
    --white: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

html, body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--white);
    scroll-behavior: smooth;
    position: relative; 
    overflow-x: hidden;
}

main {
    overflow: hidden;
}

.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 60px; }
section { 
    padding: 100px 0; 
    position: relative; 
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.with-dots {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.08) 1px, transparent 0);
    background-size: 20px 20px;
}

.shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    z-index: -1;
}
.shape-1 { width: 300px; height: 300px; background-color: var(--primary-red); top: 150px; left: -150px; }
.shape-2 { width: 400px; height: 400px; background-color: var(--primary-blue); top: 900px; right: -200px; }
.shape-3 { width: 250px; height: 250px; background-color: var(--accent-yellow); top: 1800px; left: -100px; }
.shape-4 { width: 200px; height: 200px; background-color: var(--primary-blue); top: 2500px; right: -80px; }
.shape-5 { width: 150px; height: 150px; background-color: var(--accent-yellow); top: 3200px; left: -75px; }
.shape-6 { width: 280px; height: 280px; background-color: var(--primary-red); top: 3800px; right: -100px; }


/* ================== STICKY CTA ================== */
.sticky-cta {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #25D366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}
.sticky-cta:hover { transform: scale(1.05); }

/* ================== HEADER ================== */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}
header nav.container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--dark-text); font-weight: 700; font-size: 1.2rem; }
.logo img { height: 50px; margin-right: 12px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 40px; margin: 0; padding: 0; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--dark-text); transition: color 0.2s; font-size: 1rem; }
.nav-links a:hover { color: var(--primary-red); }

@media (min-width: 993px) {
    .nav-links {
        margin-right: 180px;
    }
}

li.nav-cta {
    display: none;
}

/* ================== GAYA NAVIGASI MOBILE (HAMBURGER) ================== */
.mobile-nav-toggle {
    display: none;
    position: relative;
    background: transparent;
    border: 0;
    padding: 0;
    width: 2rem;
    height: 2rem;
    z-index: 9999;
}
.mobile-nav-toggle::before,
.mobile-nav-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--dark-text);
    border-radius: 5px;
    left: 0;
    transition: transform 350ms ease-in-out;
}
.mobile-nav-toggle::before {
    top: 25%;
}
.mobile-nav-toggle::after {
    bottom: 25%;
}
.mobile-nav-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================== HERO SECTION ================== */
.hero-section { 
    background-color: var(--light-bg); 
    padding-top: 60px; 
    padding-bottom: 140px; 
    overflow: hidden;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text h1 { font-size: 3.5rem; color: var(--dark-text); }
.hero-text .highlight-red { color: var(--primary-red); }
.hero-text .subtitle { font-size: 1.1rem; color: #555; margin-top: 20px; margin-bottom: 30px; max-width: 500px; }
.btn { padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: all 0.2s ease; display: inline-block; }
.btn-primary { background-color: var(--primary-red); color: var(--white); box-shadow: 0 4px 15px rgba(232, 93, 95, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(232, 93, 95, 0.5); }
.hero-images { position: relative; height: 450px; }
.hero-red-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    background-color: var(--primary-red);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
}
.hero-images img { position: absolute; border-radius: 50%; object-fit: cover; border: 8px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.hero-images .img1 { width: 60%; height: 60%; top: 0; left: 0; z-index: 2; }
.hero-images .img2 { width: 50%; height: 50%; bottom: 0; right: 0; z-index: 3; }
.hero-images .img3 { width: 35%; height: 35%; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; }
.hero-images .img4 { width: 45%; height: 45%; top: 5%; right: 10%; z-index: 1; }
.hero-images .img5 { width: 30%; height: 30%; bottom: 5%; left: 5%; z-index: 1; }

/* Social Proof */
.social-proof-section { 
    padding: 0; 
    background-color: transparent; 
    margin-top: -100px; 
    position: relative;
    z-index: 2;
}
.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    border: 1px solid #eee;
}
.proof-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
}
.proof-icon { font-size: 1.5rem; }

/* ================== WHY US SECTION ================== */
.why-us-section { background-color: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 1; }
.feature-card { background-color: var(--white); padding: 40px; border-radius: 12px; text-align: center; border: 1px solid #eee; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.feature-icon { height: 60px; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 15px; }

/* ================== PROCESS SECTION ================== */
.steps-section { background-color: var(--light-bg); }
.steps-road-container { position: relative; max-width: 900px; margin: 0 auto; min-height: 1300px; }
.road-path-segment { position: absolute; background-color: var(--road-color); z-index: 0; }
.road-path-segment::before { content: ''; position: absolute; background-image: repeating-linear-gradient(var(--white) 0, var(--white) 15px, transparent 15px, transparent 30px); }
.road-v1, .road-v2, .road-v3, .road-v4 { width: 120px; }
.road-v1::before, .road-v2::before, .road-v3::before, .road-v4::before { top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background-size: 100% 30px; background-repeat: repeat-y; }
.road-h1, .road-h2, .road-h3 { height: 120px; }
.road-h1::before, .road-h2::before, .road-h3::before { top: 50%; left: 0; transform: translateY(-50%); width: 100%; height: 4px; background-size: 30px 100%; background-repeat: repeat-x; }
.road-v1 { top: 0; left: 90px; height: 350px; border-radius: 20px 20px 0 0; }
.road-h1 { top: 290px; left: 90px; width: calc(100% - 180px); border-radius: 20px; }
.road-v2 { top: 290px; right: 90px; height: 350px; }
.road-h2 { top: 580px; left: 90px; width: calc(100% - 180px); border-radius: 20px; }
.road-v3 { top: 580px; left: 90px; height: 350px; }
.road-h3 { top: 870px; left: 90px; width: calc(100% - 180px); border-radius: 20px; }
.road-v4 { top: 870px; right: 90px; height: 350px; border-radius: 0 0 20px 20px; }

.step-item { position: absolute; width: 480px; display: flex; align-items: center; gap: 25px; z-index: 1; }
.step-image { position: relative; flex-shrink: 0; }
.step-image img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 8px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.step-number { position: absolute; top: -10px; left: -10px; width: 60px; height: 60px; background-color: var(--primary-red); color: var(--white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; font-weight: 800; border: 5px solid var(--white); }
.step-content h3 { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 10px; }
.step-content p { color: #555; }
.cta-button { display: inline-block; margin-top: 15px; background-color: var(--white); color: var(--primary-red); border: 2px solid var(--primary-red); padding: 8px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.2s ease; }
.cta-button:hover { background-color: var(--primary-red); color: var(--white); }
.step-1 { top: 50px; left: 0; }
.step-2 { top: 350px; right: 0; flex-direction: row-reverse; text-align: right; }
.step-3 { top: 650px; left: 0; }
.step-4 { top: 950px; right: 0; flex-direction: row-reverse; text-align: right; }

/* ================== TESTIMONIALS SECTION ================== */
.testimonials-section {
    background-color: var(--light-bg);
    overflow: hidden;
}
.testimonials-section::before,
.testimonials-section::after {
    content: '';
    position: absolute;
    background-color: var(--primary-red);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}
.testimonials-section::before {
    left: -300px;
}
.testimonials-section::after {
    right: -300px;
}
.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.testimonial-header .stars {
    font-size: 2rem;
    color: var(--accent-yellow);
}
.testimonial-header h2 {
    margin-bottom: 0;
}
.testimonial-slider-viewport {
    position: relative;
    z-index: 2;
    overflow: hidden;
    max-width: 900px; 
    margin: 0 auto;
    cursor: grab;
}
.testimonial-slider-viewport:active {
    cursor: grabbing;
}
.testimonial-track {
    display: flex;
}
.testimonial-card {
    flex: 0 0 100%;
    padding: 0;
    box-sizing: border-box;
}
.testimonial-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    user-select: none;
    pointer-events: none;
}
.testimonial-navigation {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.nav-dot.active {
    background-color: var(--primary-red);
}

/* ================== FAQ SECTION ================== */
.faq-section { background-color: var(--light-bg); }
.faq-accordion { max-width: 800px; margin: 0 auto 40px auto; }
.faq-item { background-color: var(--white); border: 1px solid #eee; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question h4 { margin: 0; font-size: 1.2rem; color: var(--dark-text); }
.faq-icon { font-size: 2rem; font-weight: 300; color: var(--primary-blue); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.5s ease; }
.faq-answer p { margin: 0; padding: 0 20px 20px 20px; color: #555; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 150px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-footer { text-align: center; }
.faq-footer span { margin-left: 10px; color: #777; }

/* ================== ABOUT SECTION (MAIN PAGE) ================== */
.about-section { background-color: var(--white); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { text-align: left; margin-bottom: 20px; }
.about-text p { color: #555; margin-bottom: 15px; line-height: 1.7; }
.map-container { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.location-details { margin-top: 15px; font-size: 0.9rem; color: #555; }
.location-details p { margin: 5px 0; }

/* ================== FINAL CTA SECTION ================== */
.final-cta-section { background-color: var(--primary-blue); color: var(--white); text-align: center; }
.final-cta-section h2 { color: var(--white); font-size: 2.8rem; }
.rotating-text-container {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    height: 50px;
    margin-top: 10px;
}
.final-cta-section p { max-width: 600px; margin: 15px auto 30px auto; opacity: 0.9; }

/* ================== CTA BANNER SECTION ================== */
.cta-banner-section {
    background-color: var(--light-bg);
}

/* ================== FOOTER ================== */
footer { background-color: var(--dark-text); color: #aaa; padding: 60px 0; }
.footer-content { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; align-items: center; }
.footer-logo { height: 60px; margin-bottom: 15px; }
.footer-info p { margin: 0; line-height: 1.6; font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; justify-content: flex-end; }
.footer-button { background-color: #333; color: #eee; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.2s ease; }
.footer-button:hover { background-color: var(--primary-red); color: var(--white); transform: translateY(-2px); }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid #444; font-size: 0.9rem; }

/* ================== ANIMASI SAAT SCROLL ================== */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ================== PAGE-SPECIFIC & BLOG STYLES ================== */
.page-section { padding: 60px 0; }
.text-center { text-align: center; }

/* Grid untuk halaman landing blog */
.blog-grid.all-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Kartu individual untuk setiap artikel */
.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.blog-content p {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Tombol "Baca Selengkapnya" */
.cta-link {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 700;
    margin-top: auto;
    padding: 10px 20px;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Halaman Detail Artikel Blog */
.blog-post .container { max-width: 800px; }
.blog-hero-image { width: 100%; height: auto; border-radius: 12px; margin-bottom: 30px; }
.blog-meta { color: #777; margin-bottom: 30px; }
.blog-post h1 { font-size: 2.8rem; margin-bottom: 15px; text-align: left; }
.blog-post h3 { font-size: 1.8rem; margin-top: 40px; margin-bottom: 15px; text-align: left;}
.blog-post p, .blog-post li { line-height: 1.8; margin-bottom: 20px; text-align: left;}
.blog-post ul, .blog-post ol { padding-left: 25px; }

/* Banner CTA di dalam halaman */
.cta-banner { background-color: var(--white); padding: 40px; border-radius: 12px; text-align: center; margin-top: 50px; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05);}
.cta-banner h2 { margin-top: 0; }

/* PERBAIKAN: Menambahkan gaya untuk CTA di halaman FAQ */
.whatsapp-cta {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.whatsapp-cta h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 992px) {
    .hero-content, .about-content, .footer-content, .blog-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text .subtitle, .hero-text { max-width: 100%; }
    .social-proof-grid { grid-template-columns: 1fr; } 
    .proof-item { justify-content: flex-start; text-align: left; }
    .features-grid { grid-template-columns: 1fr; }
    .about-text h2 { text-align: center; }
    .steps-road-container { min-height: unset; }
    .road-path-segment { display: none; }
    .step-item { position: static; width: 100%; flex-direction: column; text-align: center; margin-bottom: 50px; }
    .step-item.step-2, .step-item.step-3, .step-item.step-4 { flex-direction: column; text-align: center; }
    .footer-content { flex-direction: column; align-items: center; }
    .footer-info { text-align: center; }
    .footer-links { justify-content: center; }
    .shape { display: none; } 
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start; 
        padding: 6rem 2.5rem 2rem;
        background: var(--white);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 9000;
        overflow-y: auto;
    }
    .nav-links[data-visible="true"] {
        transform: translateX(0%);
    }
    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-cta {
        display: block;
        margin-top: 2rem;
    }
    .nav-cta .btn {
        font-size: 1.2rem;
        padding: 12px 28px;
    }

    .mobile-nav-toggle {
        display: block;
    }
    .sticky-cta, li.nav-cta { 
        display: none; 
    }
    .nav-links[data-visible="true"] > li.nav-cta {
        display: block;
    }
    
    .hero-text h1 { 
        font-size: 2.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    h2 { font-size: 2rem; }

    .hero-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .hero-text {
        order: 1;
    }
    .hero-text .subtitle {
        margin-top: 0;
        margin-bottom: 25px;
        font-size: 1rem;
    }
    .hero-images {
        display: none;
    }
    
    .social-proof-section {
        margin-top: 40px;
    }

    .final-cta-section h2 { font-size: 2.2rem; }
    .rotating-text-container { font-size: 1.8rem; height: auto; min-height: 70px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
    .final-cta-section p { margin-top: 0; }
    .final-cta-section .btn { padding: 14px 20px; font-size: 0.9rem; }
    
    .cta-banner { padding: 30px 20px; }
    .cta-banner .btn { padding: 16px 20px; height: auto; white-space: normal; line-height: 1.4; }
    
    .blog-post h1 { font-size: 2rem; }
    .blog-post h3 { font-size: 1.5rem; }

    .whatsapp-cta h3 { font-size: 1.5rem; }
}
