/* css/style.css */
:root {
    --primary-color: #003366;
    --secondary-color: #D42426;
    --dark-grey: #212529;
    --light-grey: #f8f9fa;
    --text-color: #333;
    --text-light: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
}

/* --- Preloader dan Utility --- */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
    background-color: #fff; display: flex; justify-content: center; align-items: center;
}
.preloader-bounce span {
    display: inline-block; width: 20px; height: 20px; background-color: var(--primary-color);
    border-radius: 100%; margin: 0 5px; animation: preloader-bounce 1.4s infinite ease-in-out both;
}
.preloader-bounce span:nth-child(1) { animation-delay: -0.32s; }
.preloader-bounce span:nth-child(2) { animation-delay: -0.16s; }
@keyframes preloader-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } }
.bg-light { background-color: var(--light-grey) !important; }

/* --- Header Putih --- */
.header-area {
    background: #fff;
    position: sticky; top: 0; z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,0.7);
    font-weight: 600;
    transition: all 0.3s ease;
}
.navbar-light .navbar-nav .nav-link:hover, 
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}
.navbar-brand img {
    height: 50px;
    width: auto;
}
.dropdown-menu {
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 0.25rem 0.25rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.dropdown-item {
    color: var(--dark-grey);
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    color: var(--primary-color);
    background-color: var(--light-grey);
}
.navbar-toggler {
    border-color: rgba(0,0,0,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 51, 102, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* --- Hero Section --- */
#hero-section {
    position: relative; height: 90vh; display: flex; align-items: center; justify-content: center;
    overflow: hidden; color: var(--text-light);
}
#hero-video {
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
    width: auto; height: auto; z-index: -100; transform: translateX(-50%) translateY(-50%); background-size: cover;
}
#hero-section::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 25, 51, 0.7);
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-weight: 700; text-shadow: 2px 2px 8px rgba(0,0,0,0.6); }

.product-hero { padding: 60px 0; background-color: var(--primary-color); color: var(--text-light); text-align: center; }
.product-hero h1 { font-weight: 700; }

/* --- Tombol --- */
.btn-primary {
    background-color: var(--secondary-color); border-color: var(--secondary-color);
    padding: 12px 30px; font-weight: 600; transition: all 0.3s ease;
}
.btn-primary:hover { background-color: #a71b1d; border-color: #a71b1d; transform: translateY(-2px); }
.btn-outline-light { padding: 12px 30px; font-weight: 600; }

/* --- Sections & Cards --- */
.section-padding { padding: 80px 0; position: relative; }
.title-block { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.title-block span { color: var(--primary-color); font-weight: 600; display: block; margin-bottom: 5px; }
.title-block h2 { font-weight: 700; }
.product-card, .service-card {
    background: #fff; border-radius: 8px; box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 25px; text-align: center; transition: all 0.3s ease;
    width: 100%; display: flex; flex-direction: column; height: 100%;
}
.product-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 5; position: relative; }
.product-card img, .service-card img { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 15px; }
.product-card h3, .service-card h3, .product-card h4, .service-card h4 { color: var(--primary-color); font-weight: 600; }
.product-card p, .service-card p { flex-grow: 1; }
.feature-list { list-style: none; padding: 0; text-align: left; }
.feature-list li { margin-bottom: 10px; }
.feature-list i { margin-right: 10px; color: var(--primary-color); }
.product-cta { background-color: var(--dark-grey); color: white; padding: 40px; border-radius: 8px; }

/* --- Client Carousel --- */
.client-carousel { width: 90%; margin: 0 auto; }
.slick-track { display: flex !important; align-items: center; }
.slick-slide { margin: 0 10px; height: inherit !important; display: flex !important; align-items: center; justify-content: center; }
.client-logo { padding: 0 15px; display: flex !important; align-items: center; justify-content: center; height: 90px; width: 100%; }
.client-logo img { max-height: 60px; width: auto; max-width: 150px; filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.client-logo img:hover { filter: grayscale(0%); opacity: 1; }

/* --- Footer --- */
footer {
    background: var(--dark-grey); color: rgba(255,255,255,0.7);
    padding: 60px 0 20px 0;
}
footer img { height: 50px; width: auto; }
footer h4 { color: var(--text-light); font-weight: 600; margin-bottom: 20px; }
footer a { color: rgba(255,255,255,0.7); transition: all 0.3s ease; }
footer a:hover { color: var(--text-light); text-decoration: none; }
footer .fa { margin-right: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; }

/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    background-color: #25D366; /* Warna khas WhatsApp */
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.whatsapp-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    color: #fff;
    text-decoration: none;
}

.whatsapp-widget .fa-whatsapp {
    font-size: 2em;
    margin-right: 8px;
}