/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette */
    --primary: #0056b3;       /* Gaenta Blue */
    --secondary: #00a8e8;     /* Bright Cyan/Blue */
    --dark: #0f172a;          /* Slate 900 - Modern Black */
    --text-body: #64748b;     /* Slate 500 - Soft Grey */
    --light-bg: #f8fafc;      /* Slate 50 - Very Light Grey */
    --white: #ffffff;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #0056b3 0%, #00a8e8 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(0, 86, 179, 0.8));

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-body);
    background-color: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Efek kaca buram */
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo .dot { color: var(--secondary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
    position: relative;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary);
}

/* Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.btn-nav {
    background: var(--primary);
    color: var(--white) !important; /* Force white text */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-nav:hover { background: var(--secondary); }
.btn-nav::after { display: none; } /* No underline for button */

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    padding-top: 80px;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.highlight {
    background: linear-gradient(120deg, var(--secondary) 0%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.scroll-indicator p { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }

/* =========================================
   4. GENERAL SECTIONS
   ========================================= */
.section { padding: 100px 0; }

.section-header { margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); }
.section-desc { font-size: 1.05rem; color: var(--text-body); max-width: 600px; }
.section-desc.centered { margin: 0 auto; }

/* =========================================
   5. ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-mission-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.vm-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-item p { font-size: 0.9rem; line-height: 1.6; }

.core-values h3 { font-size: 1.1rem; margin-bottom: 15px; }
.core-values ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.core-values li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.core-values li i { color: var(--secondary); }

.about-image { position: relative; }

.image-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-left: 5px solid var(--primary);
}

.experience-badge .year { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.experience-badge .text { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; color: var(--dark); }

/* =========================================
   6. SERVICES SECTION (Cards)
   ========================================= */
.services-section { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 168, 232, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--gradient-main);
    color: var(--white);
}

.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; line-height: 1.6; }

/* =========================================
   7. PRODUCTS SECTION
   ========================================= */
.products-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img { transform: scale(1.1); }

.card-image .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 86, 179, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.card-image .overlay i { font-size: 3rem; color: var(--white); }
.product-card:hover .card-image .overlay { opacity: 1; }

.card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }

.category {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.product-card p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 20px; flex-grow: 1; }

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover { gap: 10px; color: var(--secondary); }

/* =========================================
   8. CTA SECTION
   ========================================= */
.cta-section {
    background: var(--gradient-main);
    padding: 80px 0;
    margin: 50px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cta-text h2 { color: var(--white); margin-bottom: 10px; }
.cta-text p { font-size: 1.1rem; opacity: 0.9; }

/* =========================================
   9. CONTACT & FOOTER
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-info-box h3 { margin-bottom: 15px; }
.contact-info-box p { margin-bottom: 30px; }

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    width: 40px; height: 40px;
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 { font-size: 1rem; margin-bottom: 5px; }
.info-item p { font-size: 0.9rem; margin: 0; }

/* Contact Form */
.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.btn-block { width: 100%; justify-content: center; }

/* Footer */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding-top: 60px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h2 { color: var(--white); margin-bottom: 5px; }
.footer-links { margin: 25px 0; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--secondary); }

.footer-social { display: flex; gap: 20px; font-size: 1.2rem; }
.footer-social a { color: var(--white); }
.footer-social a:hover { color: var(--secondary); transform: translateY(-3px); display: inline-block; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* =========================================
   10. ANIMATIONS & RESPONSIVE
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger-menu { display: block; }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .btn-nav { width: 100%; text-align: center; margin-top: 20px; justify-content: center; }

    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .about-grid, .contact-grid, .vision-mission-box { grid-template-columns: 1fr; }
    
    .cta-container { flex-direction: column; text-align: center; gap: 30px; }
    .experience-badge { right: 0; }
}

/* =========================================
   FIX: HERO TEXT CONTRAST
   ========================================= */

/* 1. Paksa Judul Hero menjadi Putih */
.hero-title {
    color: #ffffff !important; /* Warna Putih Bersih */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Bayangan hitam halus agar teks "pop" */
}

/* 2. Sesuaikan Sub-judul agar tetap terbaca tapi tidak setajam judul */
.hero-subtitle {
    color: #e2e8f0 !important; /* Putih agak abu (Slate-200) */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    font-weight: 400; /* Sedikit lebih tebal agar jelas */
}

/* 3. Perbaiki warna Highlight 'IT Work' */
.highlight {
    /* Kita ubah highlightnya jadi garis bawah biru terang, teksnya tetap putih */
    background: linear-gradient(120deg, var(--secondary) 0%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 100% 30%; /* Ketebalan garis */
    background-position: 0 90%; /* Posisi garis di bawah */
    color: #ffffff !important;
}

/* 4. (Opsional) Gelapkan sedikit lagi overlay background supaya aman */
.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(0, 86, 179, 0.85));
}