/* ================================================
   GLOBAL RESET & FONT
   ================================================ */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #f9f9f9;
}

/* ================================================
   WARNA UTAMA
   ================================================ */
:root {
    --primary-color: #008cca;
    --secondary-color: #f4f6f7;
    --btn-hover: #cce9f8;
}

/* ================================================
   HEADER
   ================================================ */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 140, 202, 0.2);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover {
    text-decoration: underline;
    color: #b3e4fa;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        justify-content: space-between; /* biar ada space untuk hamburger */
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--primary-color);
        position: absolute;
        top: 70px; /* tinggi header */
        left: 0;
    }

    nav.show {
        display: flex;
    }

    nav a {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
        margin-left: auto;
    }
}

.hamburger {
    display: none; /* default desktop, hamburger hidden */
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* tampilkan hamburger di layar kecil */
        font-size: 24px;
        cursor: pointer;
        color: white;
    }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    background: linear-gradient(135deg, #008cca, #006fa1);
    color: white;
    text-align: center;
    padding: 100px 10px;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    height: 350px;
    width: auto;
    margin-bottom: 0;
    animation: logoBounce 1s ease forwards;
}

@keyframes logoBounce {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero h1, .hero p, .hero .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.hero h1 { 
    animation-delay: 0.3s; 
    font-size: 48px; 
    margin-bottom: 20px; 
    letter-spacing: 1px;
}

.hero p { 
    animation-delay: 0.6s; 
    font-size: 20px; 
    max-width: 600px; 
    margin: auto; 
    line-height: 1.6; 
}

.hero .btn { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Tombol modern */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #ffffff, #e6f7ff);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,140,202,0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #e0f3ff, #b3e4fa);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,140,202,0.4);
}

/* ================================================
   LAYANAN SECTION
   ================================================ */
.services {
    background-color: var(--secondary-color);
    padding: 100px 20px;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.services h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.service-img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.service-item {
    display: inline-block;
    width: 250px;
    margin: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
    border: 1px solid rgba(0, 140, 202, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,140,202,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,140,202,0.25);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-item.small {
    width: 200px; /* lebih kecil dari default */
}

/* Ukuran besar untuk layanan utama */
.service-item.large {
    width: 320px; /* lebih besar untuk menonjolkan layanan */
    padding: 40px 25px; /* padding lebih proporsional */
}

/* Pastikan gambar menyesuaikan layanan besar */
.service-item.large .service-img {
    height: auto;
}

@media (max-width: 768px) {
    .service-item {
        width: 90%;
        margin: 20px auto;
    }
}

/* ================================================
   TENTANG KAMI
   ================================================ */
.about {
    padding: 100px 20px;
    text-align: center;
}

.about h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================================================
   KLIEN KAMI (AUTO SCROLL MODERN)
   ================================================ */
.clients {
    background: linear-gradient(135deg, #f4f6f7, #eaf4fb);
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
    position: relative;
}

.clients-content {
    margin-bottom: 60px;
}

.clients h2 {
    font-size: 42px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.clients h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.clients-subtitle {
    color: #666;
    font-size: 18px;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Slider */
.client-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    animation: scroll 40s linear infinite;
}

.slide {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.slide img {
    height: 80px;
    width: auto;
    filter: grayscale(0.4);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.slide img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.15) translateY(-6px);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-slider:hover .slide-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .slide img {
        height: 60px;
    }
    .slide {
        width: 150px;
    }
}

/* ================================================
   DOWNLOAD SECTION
   ================================================ */
.download {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 60px 20px;
}

.download h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.download p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    background: linear-gradient(135deg, #006fa1, #008cca);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #b3e4fa;
    transform: scale(1.05);
}

footer hr {
    border-color: rgba(255,255,255,0.3);
    margin: 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #f0f8ff;
    margin-bottom: 15px;
}

.footer-column p {
    margin: 5px 0;
}

footer h3, footer a, footer p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 5px;
    font-size: 18px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
    header { flex-direction: column; }
    nav { margin-top: 10px; }

    .service-item { width: 80%; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }

    .clients {
        padding: 70px 10px;
    }
    .clients h2 {
        font-size: 32px;
    }
    .clients-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    .slide img {
        height: 60px;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-button img {
    width: 40px;
    height: 40px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}