/* --- GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* --- LP3I COLOR SCHEME --- */
:root {
    --primary-blue: #1e4d8b;
    --light-blue: #3498db;
    --primary-orange: #ff6b35;
    --light-orange: #ff8c5a;
    --dark-blue: #0f2c4c;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --white: #ffffff;
}
/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Toggle link */
.dropdown-toggle {
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
    color: var(--white);
}

/* Dropdown menu hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 5px;
    z-index: 1000;
    list-style: none;
    padding: 0;
}

/* Dropdown item */
.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.show {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* --- HEADER --- */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Pastikan container tetap full width tapi ada padding */
.header .container {
    display: flex;
    justify-content: space-between; /* Jaga jarak logo & menu */
    align-items: center; /* Sejajarkan secara vertikal */
    padding: 0 30px; /* Tambahkan padding kiri-kanan agar rapi */
}

/* Logo section di kiri */
.logo-section {
    display: flex;
    align-items: center; /* Pastikan logo & text sejajar vertikal */
    gap: 10px;
}

/* Logo image */
.logo-section img.logo {
    height: 60px;
    width: auto;
    display: block;
}


.logo-text {
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}


.nav {
    display: flex;
    gap: 30px; /* Jarak antar menu */
    align-items: center; /* Supaya sejajar vertikal dengan logo */
    margin-right: 0; /* Buang margin berlebih */
}

.nav a {
    color: var(--white); /* Warna putih */
    text-decoration: none; /* Hilangkan underline */
    font-weight: 600;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.nav a:hover {
    color: var(--primary-orange); /* Warna saat hover */
    text-decoration: none; /* Pastikan tetap tanpa garis */
}

/* Style menu utama */
.nav {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    cursor: pointer;
  }
  
  /* Panah dropdown */
  .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white; /* Warna panah */
    transition: transform 0.3s ease;
  }
  
  /* Rotasi panah saat hover */
  .dropdown:hover .arrow {
    transform: rotate(180deg);
  }
  
  /* Dropdown menu */
  .dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: black;
    text-decoration: none;
  }
  
  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
  }
  
/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--white), #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--light-orange));
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.244);
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- PROMO BANNER --- */
.promo-banner {
    background: linear-gradient(45deg, var(--primary-orange), var(--light-orange));
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.promo-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.countdown {
    display: flex;
    gap: 15px;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 80px 0;
    background: var(--gray-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.feature-card p {
    color: var(--gray-medium);
    line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-orange), var(--light-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* --- CTA SECTION (Call to Action - Replaces Form Section) --- */
.cta-section {
    padding: 80px 0;
    background: var(--gray-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--light-orange));
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255,107,53,0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 18px 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    text-align: center;
}

.info-card p {
    color: var(--gray-medium);
    text-align: center;
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-orange), var(--light-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.contact-item p {
    color: var(--gray-medium);
}

/* --- FOOTER --- */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-blue);
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* --- LOADING ANIMATION --- */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary-orange);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- ADDITIONAL ANIMATIONS --- */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.feature-card:hover {
    animation: cardFloat 2s ease-in-out infinite;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .hero-buttons,
    .cta-buttons {
        justify-content: center;
    }

    .promo-content {
        flex-direction: column;
        gap: 15px;
    }

    .countdown {
        justify-content: center;
    }

    .features h2,
    .testimonials h2,
    .cta-section h2,
    .contact h2 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    }

        /* ===================================
        WHATSAPP FLOAT BUTTON
        =================================== */
        .whatsapp-float {
            position: fixed;
            bottom: 30px !important;
            left: 30px !important;
            right: auto !important; /* pastikan right tidak aktif */
            z-index: 1000;
        }

        .scroll-top {
            bottom: calc(30px + 60px + 15px);
            right: 30px; /* pastikan tetap di kanan */
            /* tombol scroll-top tetap di kanan bawah */
        }

        .whatsapp-btn {
            width: 60px;
            height: 60px;
            background: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            transition: var(--transition);
            animation: pulse-wa 2s infinite;
        }

        .whatsapp-btn:hover,
        .whatsapp-btn:focus {
            background: #128C7E;
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
            color: white;
        }

        @keyframes pulse-wa {
            0% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }
            50% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6),
                            0 0 0 10px rgba(37, 211, 102, 0.1);
            }
            100% {
                box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
            }
        }
