/* === VARIABEL GLOBAL === */
:root {
    --primary-blue: #005A9C; 
    --dark-blue-brand: #002D4E; 
    --accent-color: #FFA500;
    --accent-color-dark: #F57C00;
    --bg-primary: #FFFFFF; 
    --bg-secondary: #f7fafc; 
    --text-primary: #2d3748;
    --text-headings: #002D4E; 
    --text-light: #FFFFFF; 
    --border-color: #e2e8f0;
    --card-bg: #FFFFFF; 
    --header-bg: #FFFFFF; 
    --shadow-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode {
    --bg-primary: #1a202c; 
    --bg-secondary: #2d3748; 
    --text-primary: #e2e8f0;
    --text-headings: #FFFFFF; 
    --border-color: #4a5568; 
    --card-bg: #2d3748; 
    --header-bg: #2d3748;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --dark-blue-brand: #1A202C;
}

/* === GAYA DASAR & GLOBAL === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', 'Arial', sans-serif; 
    line-height: 1.7; 
    background-color: var(--bg-primary); 
    color: var(--text-primary); 
    transition: background-color 0.3s, color 0.3s; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: var(--text-headings); font-weight: 700; transition: color 0.3s ease; }
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { text-align: center; margin-bottom: 48px; font-size: 2.25rem; }
section { padding: 80px 0; position: relative; }

/* === HEADER & NAVIGASI === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 24px 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    background-color: transparent;
}
.header.scrolled {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; text-decoration: none; transition: color 0.4s ease; }
.logo-img { height: 48px; width: auto; }

.nav-menu .nav-list { list-style: none; display: flex; align-items: center; margin: 0; } 
.nav-menu li { margin-left: 32px; }
.nav-menu a { position: relative; text-decoration: none; font-weight: 600; transition: color 0.3s ease; padding-bottom: 5px; font-size: 1rem; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary-blue); transform: scaleX(0); transition: transform 0.3s ease; }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }

.header .logo, .header .nav-menu a, .header #theme-toggle { color: var(--text-light); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.header .hamburger-menu .bar { background-color: var(--text-light); }
.header.scrolled .logo { color: var(--primary-blue); text-shadow: none; }
.header.scrolled .nav-menu a { color: var(--text-primary); text-shadow: none; }
.header.scrolled .nav-menu a.active { color: var(--primary-blue); }
.header.scrolled #theme-toggle { color: var(--text-headings); text-shadow: none; }
body.dark-mode .header.scrolled #theme-toggle { color: var(--text-light); }
.header.scrolled .hamburger-menu .bar { background-color: var(--text-headings); }

#theme-toggle {
    background: none; border: none; cursor: pointer;
    padding: 5px; width: 40px; height: 40px; font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}
#theme-toggle:hover { transform: rotate(15deg); }

.hamburger-menu, .nav-overlay, .nav-list-mobile { display: none; }

/* === KOMPONEN UI === */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform 0.3s ease, box-shadow 0.3s ease; font-size: 1rem; border: none; }
.btn-primary { background-image: linear-gradient(45deg, var(--accent-color), var(--accent-color-dark)); color: var(--text-light); box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3); background-size: 150% auto; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 7px 20px rgba(255, 165, 0, 0.4); background-position: right center; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === BAGIAN-BAGIAN HALAMAN (SECTIONS) === */
.hero { position: relative; overflow: hidden; color: var(--text-light); text-align: center; padding: 180px 0; margin-top: -97px; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 25, 45, 0.7), rgba(0, 25, 45, 0.7)), url('/asset/meeting2.png'); background-size: cover; background-position: center; animation: kenburns 30s infinite alternate; z-index: -1; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero p { font-size: 1.25rem; margin-bottom: 40px; max-width: 750px; margin-left: auto; margin-right: auto; opacity: 0.9; }
.hero h1 { color: var(--text-light); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }

.trust-section .container { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.trust-image, .trust-content { flex: 1; min-width: 300px; }
.trust-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 40px var(--shadow-color); }
.trust-content h2 { text-align: left; margin-bottom: 24px; }
.trust-points { list-style: none; margin-top: 32px; padding: 0; }
.trust-points li { display: flex; align-items: flex-start; margin-bottom: 24px; }
.trust-points .icon { flex-shrink: 0; background-color: var(--bg-secondary); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-right: 20px; transition: background-color 0.3s; }
.trust-points .icon svg { width: 24px; height: 24px; fill: var(--primary-blue); }

.stats-section { background-color: var(--dark-blue-brand); color: var(--text-light); padding: 60px 0; transition: background-color 0.3s; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-item .number { font-size: 3rem; font-weight: 700; color: var(--accent-color); }
.stat-item .label { font-size: 1rem; color: #a0aec0; } 

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.feature-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; text-align: center; transition: all 0.3s ease; box-shadow: 0 4px 20px var(--shadow-color); overflow: hidden; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px var(--shadow-color); }
.feature-card .card-image { width: 100%; height: 200px; overflow: hidden; }
.feature-card .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card h3 { font-size: 1.5rem; margin: 24px 24px 12px 24px; }
.feature-card p { padding: 0 24px 32px 24px; margin: 0; }

.clients-section { background-color: var(--bg-secondary); transition: background-color 0.3s; } 
.clients-section .subtitle { text-align: center; margin-bottom: 48px; opacity: 0.8; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 3)); } } 
.logo-slider { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 0; box-shadow: 0 4px 20px var(--shadow-color); overflow: hidden; position: relative; width: 100%; max-width: 700px; margin: 0 auto; transition: all 0.3s; } 
.logo-slider::before, .logo-slider::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; } 
.logo-slider::before { left: 0; background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--card-bg)); } 
body.dark-mode .logo-slider::before { background: linear-gradient(to left, rgba(45, 55, 72, 0), var(--card-bg)); } 
.logo-slider::after { right: 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--card-bg)); } 
body.dark-mode .logo-slider::after { background: linear-gradient(to right, rgba(45, 55, 72, 0), var(--card-bg)); } 
.logo-track { display: flex; width: calc(200px * 6); animation: scroll 20s linear infinite; } 
.logo-track:hover { animation-play-state: paused; } 
.slide { width: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; } 
.slide-title { font-size: 0.8rem; font-weight: 600; opacity: 0.7; text-align: center; }
.slide img { max-height: 40px; width: 100%; object-fit: contain; opacity: 0.6; filter: grayscale(100%); transition: opacity 0.3s, filter 0.3s; } 
.slide img:hover { opacity: 1; filter: grayscale(0%); }

.footer { background-color: var(--dark-blue-brand); color: #a0aec0; padding: 60px 0 20px 0; transition: background-color 0.3s; } 
.footer-grid { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; } 
.footer-col { flex: 1; min-width: 250px; } 
.footer-col h4 { margin-bottom: 20px; color: var(--text-light); border-bottom: 2px solid var(--accent-color); padding-bottom: 8px; display: inline-block; font-size: 1.1rem; } 
.footer-bottom { text-align: center; border-top: 1px solid #4a5568; padding-top: 24px; color: #718096; } 

/* === HAMBURGER MENU & TAMPILAN MOBILE === */
@media (max-width: 992px) { 
    .nav-menu .nav-list { display: none; }
    .hamburger-menu { display: block; background: none; border: none; cursor: pointer; padding: 0; z-index: 1010; }
    .hamburger-menu .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* === [DITAMBAHKAN] GAYA TEKS MENU MOBILE === */
    .nav-list-mobile li a,
    #theme-toggle-mobile {
        color: var(--text-light);
        opacity: 0.9;
        transition: color 0.3s ease, opacity 0.3s ease; /* Transisi halus */
    }
    .nav-list-mobile li a.active,
    .nav-list-mobile li a:hover {
        color: var(--accent-color);
        opacity: 1;
    }
    /* === AKHIR BAGIAN TAMBAHAN === */

    .nav-list-mobile {
        display: flex; list-style: none; position: fixed; 
        top: 0; right: -300px; width: 300px; height: 100vh; 
        background-color: var(--header-bg); flex-direction: column; 
        align-items: flex-start; padding: 60px 20px 20px 20px; 
        margin: 0; box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.3s; 
        z-index: 999;
    }
    .nav-list-mobile.active { right: 0; } 
    .nav-list-mobile li { width: 100%; margin: 0; padding: 0; border-bottom: 1px solid var(--border-color); } 
    .nav-list-mobile li:first-child { border-top: 1px solid var(--border-color); }
    .nav-list-mobile li a { display: block; padding: 15px 10px; font-weight: 600; font-size: 1rem; }
    .nav-list-mobile .mobile-theme-toggle { border-bottom: none; } 
    
    #theme-toggle-mobile { 
        background-color: transparent; border: none; padding: 15px 10px;
        width: 100%; text-align: left;
        cursor: pointer; font-size: 1rem; font-weight: 600;
        font-family: 'Montserrat', 'Arial', sans-serif;
        /* Hapus atau komentari baris 'color' yang lama di bawah ini jika ada, karena sudah diatur di atas */
        /* color: var(--text-primary); */
    }
    .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); z-index: 998; }
    .nav-overlay.active { display: block; }
}

.clients-section {
    position: relative;
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
    background: linear-gradient(rgba(0, 25, 45, 0.7), rgba(0, 25, 45, 0.7)), 
                url('/asset/ChatGPT Image 6 Okt 2025, 17.11.10.png'); /* Ganti dengan path gambar kamu */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* efek parallax ringan */
    transition: background-color 0.3s;
}

/* === CLIENTS / PARTNER SECTION === */
.clients-section {
  position: relative;
  padding: 80px 0;
  color: var(--text-light);
  text-align: center;
  background: 
    linear-gradient(rgba(0, 25, 45, 0.85), rgba(0, 25, 45, 0.85)),
    url('/asset/ChatGPT Image 6 Okt 2025, 17.11.10.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.clients-section h2 {
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.clients-section .subtitle {
  color: #f0f0f0;
  font-size: 1rem;
  margin-bottom: 40px;
}

.logo-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 20px 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1); /* transparan lembut */
  backdrop-filter: blur(10px); /* efek kaca */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Hilangkan efek gradasi putih di sisi kanan kiri */
.logo-slider::before,
.logo-slider::after {
  content: none !important; /* hapus elemen gradasi */
}

/* Logo di dalam slider */
.logo-slider img {
  width: 100px;
  height: auto;
  filter: brightness(0.9) contrast(1.1);
  transition: transform 0.3s ease;
}

.logo-slider img:hover {
  transform: scale(1.05);
}

/* === ANIMASI SCROLL TAK TERPUTUS === */
.logo-track {
  display: flex;
  width: calc(200px * 6);
  animation: scrollInfinite 25s linear infinite;
}

@keyframes scrollInfinite {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } /* loop setengah track agar seamless */
}

/* === ITEM === */
.slide {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 10px 0;
}

.slide img {
  height: 45px; /* lebih pendek agar proporsional */
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.slide-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.9;
}
