/* ========================================
   DESIGN SYSTEM & CSS VARIABLES
   ======================================== */

:root {
  /* Colors - HSL Format */
  --color-primary: 217 91% 60%;
  --color-primary-dark: 217 91% 50%;
  --color-primary-light: 217 91% 70%;
  
  --color-secondary: 222 47% 11%;
  
  --color-accent: 30 100% 50%;
  
  --color-background: 210 40% 98%;
  --color-surface: 0 0% 100%;
  
  --color-text: 222 47% 11%;
  --color-text-muted: 215 16% 47%;
  --color-text-light: 210 16% 60%;
  
  --color-border: 214 32% 91%;
  --color-border-light: 220 13% 95%;
  
  --color-success: 142 76% 36%;
  --color-warning: 45 93% 47%;
  --color-error: 0 84% 60%;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(217 91% 50%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(210 40% 98%) 0%, hsl(0 0% 100%) 100%);
  --gradient-cta: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(225 73% 57%) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsla(222 47% 11% / 0.05);
  --shadow-md: 0 4px 6px -1px hsla(222 47% 11% / 0.1), 0 2px 4px -1px hsla(222 47% 11% / 0.06);
  --shadow-lg: 0 10px 15px -3px hsla(222 47% 11% / 0.1), 0 4px 6px -2px hsla(222 47% 11% / 0.05);
  --shadow-xl: 0 20px 25px -5px hsla(222 47% 11% / 0.1), 0 10px 10px -5px hsla(222 47% 11% / 0.04);
  --shadow-card: 0 2px 8px hsla(222 47% 11% / 0.08);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container */
  --container-max-width: 1280px;
  --container-padding: 1rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: hsl(var(--color-text));
  background-color: hsl(var(--color-background));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: hsl(var(--color-surface));
  border-bottom: 1px solid hsl(var(--color-border-light));
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  gap: 2rem;
}

.nav-brand {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  background-color: #2563eb;
  color: white;
  font-weight: 700;
  border-radius: 0px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  user-select: none;
}

.logo h1 {
  font-weight: 700;
  color: #1d2b64;
  font-size: 1.2rem;
}

.logo small {
  font-weight: 500;
  color: #3b82f6;
  font-size: 0.85rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Judul Perusahaan */
.logo h1 {
  font-size: 0.95rem;     /* lebih kecil dari sebelumnya */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;       /* rapatkan jarak vertikal */
}

/* Tagline */
.logo small {
  font-size: 0.75rem;
  margin-top: 2px;       /* tarik sedikit ke atas */
  display: block;
  color: #3b82f6;
  line-height: 1;
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 0.85rem;
  }
  .logo small {
    font-size: 0.7rem;
  }
}


.brand-name {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  color: hsl(var(--color-text));
}

.brand-tagline {
  font-size: var(--font-size-sm);
  color: hsl(var(--color-text-muted));
}

.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: hsl(var(--color-text));
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: hsl(var(--color-primary));
}

.nav-link.active {
  color: hsl(var(--color-primary));
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-primary));
  font-weight: var(--font-weight-medium);
  transition: opacity var(--transition-fast);
}

@media (min-width: 1024px) {
  .nav-phone {
    display: flex;
  }
}

.nav-phone:hover {
  opacity: 0.8;
}

.phone-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Judul Perusahaan */
.logo h1 {
  font-size: 0.95rem;     /* lebih kecil dari sebelumnya */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;       /* rapatkan jarak vertikal */
}

/* Tagline */
.logo small {
  font-size: 0.75rem;
  margin-top: 2px;       /* tarik sedikit ke atas */
  display: block;
  color: #3b82f6;
  line-height: 1;
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 0.85rem;
  }
  .logo small {
    font-size: 0.7rem;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-light {
  background-color: rgb(236, 230, 230);
  border: 2px solid #304fb4;
  color: #1e40af;
}

.btn-light:hover {
  transform: translateY(-2px);
  
}

/* inti halamn artikel */
.Artikel-section {
    padding: 30px 0; /* Padding lebih rapat sesuai keinginan sebelumnya */
    background-color: #ffffff;
}

.Artikel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.Artikel-main-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center; /* Tulisan berada di tengah */
    color: #1a1a1a;
    margin-bottom: 40px;
}

/* Featured Article Box */
.Artikel-feature-box {
    display: flex;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.Artikel-feature-img { flex: 1.5; height: 450px; }
.Artikel-feature-img img { width: 100%; height: 100%; object-fit: cover; }

.Artikel-feature-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.Artikel-btn {
  color: #2563eb;
}

/* Grid System */
.Artikel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolom di desktop sesuai trtrtrr.jpg */
    gap: 30px;
}

.Artikel-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.Artikel-card-img {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.Artikel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Artikel-tag {
    color: #2563eb; /* Warna biru perusahaan */
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.Artikel-link {
    font-weight: 800;
    font-size: 13px;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #2563eb;
    width: fit-content;
    margin-top: 10px;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .Artikel-feature-box { flex-direction: column; }
    .Artikel-feature-img { order: 1; height: 300px; } /* Gambar di atas teks di mobile */
    .Artikel-feature-content { order: 2; }
    .Artikel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .Artikel-grid { grid-template-columns: 1fr; }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;

}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #1e3a8a;
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background-color: white;
  padding: 5px;
  filter: brightness(0) invert(1);
}

.footer-logo h3 {
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-logo small {
  font-size: 0.75rem;
  color: #a5b4fc;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #bfdbfe;
}

footer ul {
  list-style: none;
  margin-top: 0.75rem;
}

footer ul li a {
  color: #bfdbfe;
  text-decoration: none;
  display: block;
  margin: 0.4rem 0;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.contact-list li i {
  stroke: white;
  min-width: 20px;
  min-height: 20px;
}

.contact-list li a {
  color: #bfdbfe;
  text-decoration: none;
}

.contact-list li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.footer-links a {
  margin-left: 1rem;
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}


.footer-item:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links a {
    margin-left: 0;
    margin-right: 15px;
  }
}

@media (max-width: 550px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========== HEADER STICKY ========== */
.header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 3000;
  border-bottom: 1px solid #eee;
}

/* ========== NAVBASE ========== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  position: relative; /* PENTING */
}

/* ========== NAV MENU DESKTOP ========== */
.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    position: static;
  }
}

/* ========== HAMBURGER BUTTON ========== */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 3100; /* di atas header + menu */
}

.menu-toggle i,
.fas.fa-bars {
  font-size: 24px;
  color: #000 !important;
}

.menu-toggle i,
.fas.fa-bars {
  color: #000 !important; /* hitam */
}


@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* ========== HIDE HUBUNGI KAMI DI MOBILE ========== */
/* 🛠️ SOLUSI: Hanya sembunyikan tombol 'Hubungi Kami' di Navigasi untuk Mobile */
@media (max-width: 1023px) {
 /* Target: Tombol Hubungi Kami di Navigasi (HTML: div.nav-actions > a.btn.btn-primary) */
.nav-actions .btn.btn-primary { 
 display: none;
 }
}

@media (max-width: 1023px) {
    
    /* ... (Kode untuk .btn.btn-primary display: none) ... */

    /* >>> TAMBAHKAN/EDIT BLOK INI <<< */
    .nav-menu {
        display: flex; 
        flex-direction: column;
        
        position: fixed; /* PENTING: Menu tidak ikut scroll */
        top: 0;
        right: 0; /* Mulai dari sisi kanan */
        width: 300px; /* Lebar Sidebar (sesuaikan jika perlu) */
        height: 100%; /* Mengisi seluruh tinggi layar */
        
        background-color: #1d2b64; /* Warna Biru Tua/Navy */
        padding: 80px 30px 20px 30px; /* Jarak dari atas untuk header */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 999; /* Pastikan di atas overlay */
        overflow-y: auto; 
        
        /* SEMBUNYIKAN MENU SECARA DEFAULT */
        transform: translateX(100%); 
        transition: transform 0.3s ease-in-out;
    }

}


/* ========== MOBILE SIDEBAR MENU (PENGGANTI DROPDOWN) ========== */
.nav-menu.open {
    /* Hanya perlu menggeser menu masuk (transform: translateX(0)) */
    transform: translateX(0); 
    
    /* Hapus semua properti lain yang ada di blok lama seperti top, left, width, background, dll. karena sudah didefinisikan di .nav-menu di Langkah 1. */
    
    /* Z-Index harus lebih tinggi dari backdrop */
    z-index: 2200; 
}

.nav-menu.open li {
    margin: .7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Tambahkan garis pemisah putih */
}

.nav-menu.open .nav-link {
    display: block;
    width: 100%;
    color: white; /* PENTING: Agar tautan terlihat di latar belakang biru tua */
    padding: 10px 0;
}

/* HAPUS TOTAL: Animasi Drop */
/* @keyframes drop { ... } */

.nav-menu.open li {
  margin: .7rem 0;
}

.nav-menu.open .nav-link {
  display: block;
  width: 100%;
}



/* ========== BACKDROP MOBILE ========== */
.mobile-backdrop {
  display: none;
}

.mobile-backdrop.show {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 2000; /* di bawah menu */
}

/* ============================
  FORCE HAMBURGER ICON BLACK
  Tempelkan ini di paling bawah file CSS
   ============================ */

/* Semua kemungkinan class FontAwesome & i */
.menu-toggle,
.menu-toggle * {
  color: #000 !important;      /* teks / icon color */
  fill: #000 !important;       /* untuk svg fill */
  stroke: #000 !important;     /* untuk svg stroke */
}

/* Target spesifik untuk FA v4/v5 pseudo-element */
.menu-toggle .fa,
.menu-toggle .fas,
.menu-toggle .fa-bars,
.menu-toggle i.fas,
.menu-toggle i.fa,
.menu-toggle .fa-bars:before,
.menu-toggle i.fas:before {
  color: #000 !important;
  fill: #000 !important;
}

/* Jika icon dimasukkan sebagai SVG */
.menu-toggle svg,
.menu-toggle svg * {
  color: #000 !important;
  fill: #000 !important;
  stroke: #000 !important;
}

/* Pastikan tidak ada background-clip atau mix-blend yang membuatnya transparan */
.menu-toggle,
.menu-toggle i,
.menu-toggle .fa,
.menu-toggle svg {
  -webkit-text-fill-color: #000 !important;
  mix-blend-mode: normal !important;
}

/* Jika masih ada style inline di elemen, tambahkan ini untuk prioritas tertinggi (jadi gunakan sementara) */
[style] > .menu-toggle,
.menu-toggle[style] {
  color: #000 !important;
  fill: #000 !important;
}
/* Warna icon hamburger jadi hitam */
.menu-toggle i {
  color: #000000 !important;
  font-size: 24px; /* opsional */
}

/* Hilangkan border jika ada */
.menu-toggle {
  border: none;
  background: transparent;
}

