/* ========================================
   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;
}


.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: var(--color-primary) !important;
  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 !important;     /* lebih kecil dari sebelumnya */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;       /* rapatkan jarak vertikal */
}

/* Tagline */
.logo small {
  font-size: 0.75rem !important; 
  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-cta {
  background: white;
  color: hsl(var(--color-primary));
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-lg);
}

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

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-primary));
  font-weight: var(--font-weight-semibold);
  transition: gap var(--transition-fast);
}

.btn-link:hover {
  gap: 0.75rem;
}


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

.btn-outline {
 color: white
}
.btn-outline:active {
  transform: translateY(0);
}

.btn-light {
 color:#2563eb
 hsl(var(--color-background))
}
.btn-light:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow-xl);
 
}

.btn-light:active {
 transform: translateY(0);
 background-color: white;
}

/* --- Hero Section --- */
.contact-hero {
    text-align: center;
    padding: 80px 5%;
    background-color: #1e40af;
    color: white
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 18px;
}

/* --- Contact Details & Form Section --- */
/* SECTION FORM — background biru & full center */
.contact-section {
    background-color: #0d6efd; /* biru */
    min-height: 100vh; /* supaya center vertikal */
    padding: 60px 5%;
    
    display: flex;
    justify-content: center;  /* center horizontal */
    align-items: center;      /* center vertical */
}

/* FORM — diperkecil max 500px */
.form-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Judul */
.form-container h2 {
    font-size: 26px;
    margin-bottom: 5px;
    text-align: center;
}

.form-description {
    margin-bottom: 25px;
    color: #505050;
    text-align: center;
}

/* Input */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 16px;
}

/* Tombol */
.btn-submit {
    background-color: #0d6efd;
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-submit i {
    margin-right: 10px;
}

/* Background biru + center semua */
.contact-section {
    background: 1px solid var(--color-border); /* biru */
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form container di tengah + lebar 500px */
.form-container {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 600px; /* ukuran form */
    border-radius: 12px;

    /* agar berada di tengah */
    margin: 0 auto;
}

/* Judul & deskripsi */
.form-container h2,
.form-description {
    text-align: center;
}


.info-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Info Blocks Styling */
.office-info-block {
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
    padding: 25px;
    background-color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.office-info-block h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.icon-circle {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.info-item strong {
    display: block;
    color: var(--color-text-dark);
    font-size: 16px;
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    font-size: 14px;
}

.emergency-contact a {
    font-size: 16px;
    font-weight: bold;
    color: var(--color-primary);
}

/* Map Block Styling */
.location-map-block {
    border-radius: 12px;
    background-color: var(--color-secondary);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-secondary);
}

.map-icon-large {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.map-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-text-dark);
    margin: 5px 0;
}

.location-map-block small {
    display: block;
    margin-bottom: 20px;
}

.btn-map {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}

/* Additional Contact Cards */
.additional-contacts {
    display: flex;
    justify-content: space-between;
    padding: 50px 5%;
    gap: 20px;
    text-align: center;
}

.contact-card {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-card .icon-circle {
    margin: 0 auto 15px auto;
    background-color: var(--color-secondary);
    box-shadow: none;
}

.contact-card strong {
    display: block;
    color: var(--color-text-dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 14px;
}

/* --- 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: 10px;
}

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


.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;
}

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

}

.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;
}

/* Media Query untuk Responsiveness dasar */
@media (max-width: 1024px) {
    .contact-section, .additional-contacts {
        flex-direction: column;
    }

    .form-container, .info-column, .contact-card {
        flex: none;
        width: 100%;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-brand, .footer-links, .footer-contact {
        flex: 1 1 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .nav-links {
        display: none; /* Menyederhanakan tampilan mobile */
    }
    .contact-header {
        width: 100%;
        justify-content: space-between;
    }
    .footer-brand, .footer-links, .footer-contact {
        flex: 1 1 100%;
    }
}

/* Variabel Warna */
:root {
    --color-primary: #004dff; /* Biru UK-Grup */
    --color-secondary: #e6f0ff; /* Biru Muda untuk background info */
    --color-text-dark: #1c3569; /* Biru Tua/Hitam untuk Judul */
    --color-text-light: #555;
    --color-white: #ffffff;
    --color-footer-bg: #1c3569; /* Biru Tua untuk Footer */
    --color-border: #ddd;
    --color-input-bg: #fafafa;
  }

  /* ========== 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 ========== */
@media (max-width: 1023px) {
  .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;
}
