/* --- RESET & KONFIGURASI DASAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
    color: #1e293b;
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0f172a;
}
.logo-img {
    max-height: 45px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
}
.nav-link:hover {
    color: #0f172a;
}
.btn-nav {
    background-color: #0f172a;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
.btn-nav:hover {
    background-color: #334155;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* --- HERO SECTION --- */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: #ffffff;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.hero-content {
    max-width: 650px;
}
.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 120px 0;
    background-color: #ffffff;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}
.divider {
    width: 60px;
    height: 4px;
    background-color: #2563eb;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}
.section-header p {
    color: #64748b;
    font-size: 16px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.service-card {
    background-color: #f8fafc;
    padding: 48px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}
.card-icon {
    color: #2563eb;
    margin-bottom: 28px;
    display: inline-block;
}
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}
.service-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 0;
    background-color: #f1f5f9;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}
.about-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    max-height: 450px;
    width: 100%;
    object-fit: cover;
}
.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}
.about-content p {
    color: #475569;
    margin-bottom: 32px;
    font-size: 16px;
}
.about-list {
    list-style: none;
}
.about-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-weight: 500;
    color: #1e293b;
}
.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 18px;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

/* --- FLOATING WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* --- MEDIA QUERY RESPONSIVE --- */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-content h1 {
        font-size: 38px;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Menyembunyikan menu desktop pada HP */
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
}
/* --- FOOTER --- */
.main-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Jarak antara ikon sosmed dan teks copyright */
}
.footer-socials {
    display: flex;
    gap: 24px; /* Jarak antar ikon sosmed */
}
.social-icon {
    color: #94a3b8;
    transition: color 0.3s ease, transform 0.3s ease;
}
/* Efek interaktif elegan saat ikon disentuh kursor */
.social-icon:hover {
    color: #3b82f6; /* Berubah menjadi biru modern saat di-hover */
    transform: translateY(-3px); /* Efek sedikit terangkat ke atas */
}
/* --- FLOATING WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    /* Menambahkan efek animasi berdenyut secara otomatis */
    animation: pulseWhatsApp 2s infinite; 
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    animation: none; /* Berhenti berdenyut saat kursor menyentuh tombol */
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Keyframes untuk efek bayangan berdenyut (Pulse) */
@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
