/* --- VARIABLES & RESET (TRUE PREMIUM BLUE) --- */
:root {
    --primary: #2563EB; /* True Royal Blue */
    --primary-dark: #1D4ED8; /* Hover Royal Blue */
    --secondary: #1E3A8A; /* Deep Blue / Navy (100% BEBAS HITAM) */
    --accent: #0EA5E9; /* Bright Sky Blue */
    --text: #1E293B; /* Slate Blue-Grey (Text Utama) */
    --text-light: #64748B; /* Soft Blue-Grey (Paragraf) */
    --bg-light: #F0F9FF; /* Sangat terang, hint warna biru (Sky 50) */
    --white: #ffffff;
    --font: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font); }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { color: var(--text); line-height: 1.7; background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Responsive Spacing */
.section-padding { padding: clamp(60px, 8vw, 100px) 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.bg-light { background-color: var(--bg-light); }

/* --- GRID SYSTEM --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 4vw, 40px); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 60px); }
.align-center { align-items: center; }

/* --- HEADER & NAVBAR --- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    /* UBAH BACKGROUND AWAL DI SINI (Contoh: Biru Gelap Solid) */
    background: var(--secondary); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(10px, 2vw, 20px) 0; transition: var(--transition);
}

.site-header.scrolled {
    /* UBAH BACKGROUND SAAT SCROLL DI SINI (Contoh: Biru dengan efek transparan) */
    background: rgba(30, 58, 138, 0.95); 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 15px 0; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid transparent;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }

/* LOGO RESPONSIVE */
.logo a { 
    font-size: clamp(14px, 3.5vw, 22px); 
    font-weight: 800; 
    color: var(--white) !important; /* <--- TEKS LOGO UTAMA SELALU PUTIH */
    letter-spacing: -0.5px; 
    white-space: nowrap; 
}
.logo span { 
    color: var(--white) !important; /* <--- TEKS SPAN LOGO SELALU PUTIH (Ubah ke var(--accent) jika ingin warna biru muda) */
}

/* Menus & Active Menu Logics */
.menu { display: flex; align-items: center; gap: clamp(15px, 3vw, 35px); }
.menu a { font-weight: 600; font-size: 15px; color: var(--white); position: relative; }
.menu a:hover { color: var(--accent); }

/* MENU JUGA TETAP PUTIH SAAT DI-SCROLL (Karena background diubah jadi gelap) */
.site-header.scrolled .menu a { color: var(--white); }
.site-header.scrolled .menu a:hover { color: var(--accent); }

.menu a.active { color: var(--accent); }
.site-header.scrolled .menu a.active { color: var(--accent); }
.menu a.active::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 100%;
    height: 2px; background: var(--accent); border-radius: 2px;
}
.site-header.scrolled .menu a.active::after { background: var(--accent); }

.mobile-toggle { display: none; font-size: 24px; color: var(--white); cursor: pointer; }
.site-header.scrolled .mobile-toggle { color: var(--white); }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary); color: var(--white) !important;
    padding: 12px 28px; border-radius: 50px; font-weight: 600;
    display: inline-block; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4); }
.btn-primary.active::after { display: none; }
.btn-large { padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px); font-size: clamp(14px, 2vw, 16px); }
.btn-outline {
    display: inline-block; font-weight: 700; color: var(--primary);
    border-bottom: 2px solid var(--primary); padding-bottom: 5px;
}
.btn-outline:hover { color: var(--primary-dark); gap: 10px; }

/* --- HERO SLIDER --- */
.hero-slider { height: 100vh; width: 100%; position: relative; background: var(--secondary); }
.slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 6s ease-in-out; transform: scale(1);
}
.swiper-slide-active .slide-bg { transform: scale(1.1); }
.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.4) 100%);
}
.swiper-slide { display: flex; align-items: center; position: relative; overflow: hidden; }
.slide-content { position: relative; z-index: 10; color: var(--white); max-width: 800px; padding-top: 80px; }

.subtitle-badge {
    display: inline-block; background: rgba(14, 165, 233, 0.2); backdrop-filter: blur(5px);
    padding: 6px 16px; border-radius: 30px; font-size: clamp(12px, 2vw, 14px); font-weight: 600;
    margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
    border: 1px solid rgba(14, 165, 233, 0.4);
}
/* UKURAN H1 DINAMIS: Menyesuaikan layar agar tidak patah/overflow */
.slide-content h1 { 
    font-size: clamp(32px, 6vw, 64px); 
    font-weight: 800; line-height: 1.2; 
    margin-bottom: 30px; letter-spacing: -1px; 
}

.swiper-button-next, .swiper-button-prev { color: var(--white); background: rgba(255,255,255,0.1); width: clamp(40px, 5vw, 50px); height: clamp(40px, 5vw, 50px); border-radius: 50%; backdrop-filter: blur(5px); transition: var(--transition); }
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: clamp(16px, 2vw, 20px); }
.swiper-pagination-bullet { background: var(--white); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; width: 24px; border-radius: 10px; }

/* --- SECTION HEADERS (Teks Proposional) --- */
.section-subtitle { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; margin-bottom: 10px; }
.section-title { font-size: clamp(28px, 4vw, 40px); color: var(--secondary); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; line-height: 1.3; }
.section-title-left { font-size: clamp(28px, 4vw, 40px); color: var(--secondary); font-weight: 800; margin-bottom: 20px; line-height: 1.3;}
.section-desc { color: var(--text-light); max-width: 600px; margin: 0 auto 50px; font-size: clamp(15px, 2vw, 18px); line-height: 1.6; }

/* --- ABOUT SECTION --- */
.about-image-wrapper { position: relative; padding-right: clamp(15px, 3vw, 30px); padding-bottom: clamp(15px, 3vw, 30px); }
.about-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); position: relative; z-index: 2; }
.about-image-wrapper::before {
    content: ''; position: absolute; right: 0; bottom: 0;
    width: 80%; height: 80%; background: var(--primary); border-radius: 20px; z-index: 1;
}
.img-badge {
    position: absolute; top: 30px; left: -20px; z-index: 3; background: var(--white);
    padding: 15px 25px; border-radius: 12px; font-weight: 800; color: var(--secondary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15); font-size: clamp(14px, 2vw, 18px);
    border-left: 4px solid var(--primary);
}
.content-desc p { font-size: clamp(15px, 2vw, 18px); color: var(--text-light); margin-bottom: 15px; }

/* --- SERVICES (Premium Cards) --- */
.service-card {
    background: var(--white); padding: clamp(30px, 4vw, 50px) clamp(20px, 3vw, 40px); border-radius: 20px;
    transition: var(--transition); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.05); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box {
    width: 60px; height: 60px; background: rgba(37, 99, 235, 0.1); border-radius: 15px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 25px;
    font-size: 28px; color: var(--primary); transition: var(--transition);
}
.service-card:hover .icon-box { background: var(--primary); color: var(--white); }
.service-card h3 { font-size: clamp(18px, 2.5vw, 22px); margin-bottom: 15px; color: var(--secondary); font-weight: 700; line-height: 1.4; }
.service-card p { color: var(--text-light); margin-bottom: 20px; font-size: clamp(14px, 2vw, 15px); }
.service-link { font-weight: 700; color: var(--primary); font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.service-card:hover .service-link { gap: 12px; color: var(--primary-dark); }

/* --- FOOTER --- */
.site-footer { background: var(--secondary); color: #e0f2fe; padding: clamp(60px, 8vw, 80px) 0 0; }
.footer-logo { font-size: clamp(20px, 3vw, 24px); font-weight: 800; margin-bottom: 20px; color: var(--white); }
.footer-logo span { color: var(--accent); }
.footer-widget p { color: #bae6fd; margin-bottom: 20px; font-size: clamp(14px, 2vw, 15px); line-height: 1.8; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; color: var(--white); margin-right: 10px; transition: var(--transition); }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-widget h3 { margin-bottom: 25px; color: var(--white); font-size: 18px; font-weight: 700; }
.footer-links li, .contact-info li { margin-bottom: 15px; color: #bae6fd; display: flex; align-items: flex-start; gap: 15px; font-size: clamp(14px, 2vw, 15px); }
.footer-links a { color: #bae6fd; }
.footer-links a:hover { color: var(--accent); padding-left: 8px; }
.contact-info i { color: var(--accent); font-size: 18px; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; margin-top: 60px; font-size: 14px; color: #7dd3fc; }

/* --- RESPONSIVE MOBILE TWEAKS --- */
@media(max-width: 992px) {
    .about-image-wrapper { padding: 0; margin-bottom: 40px; }
    .about-image-wrapper::before, .img-badge { display: none; }
}

@media(max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 60px; left: -100%; width: 100%; height: calc(100vh - 60px);
        background: var(--white); flex-direction: column; align-items: flex-start;
        padding: 40px 5%; transition: 0.4s ease-in-out;
        box-shadow: inset 0 10px 20px rgba(37, 99, 235, 0.05);
        overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .menu { flex-direction: column; width: 100%; gap: 0; }
    .menu li { width: 100%; border-bottom: 1px solid var(--bg-light); }
    .menu a { color: var(--secondary) !important; display: block; padding: 20px 0; font-size: 18px; width: 100%; }
    
    .menu a.active::after { display: none; }
    .menu a.active { color: var(--primary) !important; font-weight: 800; }
    
    /* MODIFIKASI HEADER MOBILE DI BAWAH INI */
    .site-header { background: var(--secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 0; }
    .logo a, .mobile-toggle { color: var(--white) !important; }
    .logo span { color: var(--white) !important; }
    
    /* Tombol Contact di Mobile Menu */
    .menu a.btn-primary {
        background: var(--primary) !important;
        color: var(--white) !important;
        text-align: center;
        margin-top: 20px;
        border-radius: 50px;
        padding: 15px 0;
    }
}