/* Complete redesign with modern, professional styling inspired by corporate websites */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

/* Reset dan Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles - Modern minimal design with white background */
header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Menambahkan styling untuk logo dan tagline */
.header-logo-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* 1. Aturan DEFAULT untuk SEMUA logo (Ini akan diterapkan pada logo KANAN: ISO/KAN) */
.header-logo-image {
  height: 45px; /* Ukuran kecil untuk logo di kanan */
  width: auto;
  object-fit: contain;
}

/* 2. Aturan KHUSUS untuk menimpa ukuran logo utama (kiri) */
/* Karena logo kiri berada di dalam .header-logo-container, kita targetkan dengan spesifik */
.header-logo-container .header-logo-image {
  /* Gunakan !important untuk memastikan aturan ini TIDAK tertimpa oleh CSS lain */
  height: 70px !important; 
}

.header-right-logos {
    display: flex; /* Mengatur tata letak menjadi baris */
    align-items: center;
    gap: 10px; /* Jarak antar logo (ISO dan KAN) */
}

/* Text PT. SINERGI MANDIRI TEKNIKATAMA warna biru */
.header-logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1e40af !important;
}

.header-logo-text span {
  color: #1e40af !important;
}

/* Tagline "Bersinergi Kita Bisa" warna biru */
.header-tagline {
  font-size: 22px;
  font-weight: 600;
  color: #1e40af !important;
  letter-spacing: 0.5px;
  font-style: italic;
}

/* Menambahkan CSS animations untuk text sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Class untuk animasi yang akan ditambahkan via JavaScript */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
}

.animate-fadeInUp.animated {
  animation-name: fadeInUp;
}

.animate-fadeIn.animated {
  animation-name: fadeIn;
}

.animate-slideInLeft.animated {
  animation-name: slideInLeft;
}

.animate-slideInRight.animated {
  animation-name: slideInRight;
}

/* Navigation Styles - Clean horizontal nav */
nav {
  background-color: #1e40af; /* MODIFIKASI: Mengganti warna background navbar dari #1a2332 menjadi Biru Navy (#1e40af) */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 18px 24px;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  position: relative;
}

nav a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #ff6b35;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 60%;
}

/* Dropdown Styles - Modern and smooth */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-family: "Inter", sans-serif;
}

.dropdown-toggle:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-toggle span {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle span {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 8px;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu a {
  color: #1a1a1a;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #ff6b35;
  padding-left: 24px;
}

.dropdown-menu a::after {
  display: none;
}

/* === Dropdown Hover Behavior === */
.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown:hover .dropdown-toggle span {
  transform: rotate(180deg);
}

/* === FIX POSISI NAVBAR MOBILE TERLALU KE ATAS === */
@media (max-width: 900px) {
  nav {
    margin-top: 75px; /* tambahkan jarak agar menu turun ke bawah logo */
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    gap: 5px;
    padding-left: 20px; /* posisi menu umum */
  }

  .nav-links a,
  .dropdown-toggle {
    display: inline-block;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
  }

  /* 👉 geser tombol dropdown "Perusahaan" sedikit lebih ke kiri */
  .dropdown-toggle {
    margin-left: -11px; /* ubah nilai ini untuk atur seberapa geser ke kiri */
  }

  .dropdown-toggle span {
    margin-left: 4px;
    vertical-align: middle;
  }

  .social-icons-nav {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }
}




/* NEW: Social Media Icons in Navigation */
.social-icons-nav {
  display: flex;
  align-items: center;
  gap: 12px; /* Jarak antar ikon */
  margin-right: 20px; /* Jarak dari tombol Sign In */
  margin-left: auto; /* Memastikan social-icons-nav dan admin-link berada di paling kanan */
}

.social-icons-nav a {
  padding: 0; /* Hapus padding default nav a */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Ukuran ikon */
  height: 28px; /* Ukuran ikon */
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  background-color: transparent;
}

.social-icons-nav a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icons-nav a i {
  font-size: 16px; /* Ukuran font ikon */
}

.social-icons-nav a::after {
  content: none; /* Hapus underline hover */
}
/* END NEW */


.admin-link {
  /* margin-left: auto; <-- DIHAPUS karena sudah dipindahkan ke social-icons-nav */
  background-color: #ff6b35;
  color: white !important;
  border-radius: 6px;
  padding: 10px 20px !important;
  margin: 8px;
  font-weight: 600;
}

.admin-link:hover {
  background-color: #e55a28;
  transform: translateY(-1px);
}

.admin-link::after {
  display: none;
}

/* Container - Wider and more spacious */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: white;
}

/* Container - Alternate background style for non-homepage pages */
.container-alt {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
  /* Latar belakang abu-abu muda di bagian atas, memudar ke putih */
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}



/* Hero Section - Large and impactful (DIGUNAKAN OLEH index.php) */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px;
  /* Background dari index.php */
  background: url("assets/images/simatek.jpg") no-repeat center center / cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  color: white;
  margin: 0 0 40px 0;
  overflow: hidden;
  

}

/* Overlay di Hero Section (Dibuat transparan penuh untuk index.php) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

/* style.css (Tambahkan kode ini di bagian Hero Section atau di bawahnya) */

/* NEW: Styles untuk Slide Gambar di Hero Section */
.hero-slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Penting untuk menampung slide */
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0; /* Semua slide tersembunyi secara default */
    transition: opacity 0.8s ease, transform 0s linear; /* Hanya transisi opacity */
}

/* Keyframes untuk Slide dari Kanan ke Kiri */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Kelas yang akan ditambahkan oleh JavaScript */
.hero-slide-image.active {
    opacity: 1;
    z-index: 1;
    transform: translateX(0); /* Posisi akhir */
    animation: slideInFromRight 0.8s ease-out; /* Terapkan animasi slide masuk */
}

/* Pastikan konten hero berada di atas slide */
.hero-content {
  position: relative;
  z-index: 2; /* Tingkatkan z-index agar di atas slide */
  /* ... properti lainnya tetap ... */
}

/* NEW: Slider Indicators Styling (Dot) */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #ff6b35; /* Warna branding saat aktif */
    border-color: #ff6b35;
    transform: scale(1.2);
}
/* --- NEW: Styles untuk Tombol Panah Navigasi Slider --- */

.hero-arrow {
    position: absolute;
    top: 50%;
    /* Posisikan vertikal di tengah */
    transform: translateY(-50%);
    z-index: 3; /* Pastikan panah di atas konten dan overlay */
    
    /* Styling Visual */
    background: rgba(0, 0, 0, 0.4); /* Latar belakang semi-transparan */
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px 10px;
    font-size: 24px;
    line-height: 1; /* Agar simbol panah terlihat rapi */
    transition: background-color 0.3s ease, opacity 0.3s ease;
    
    /* Bentuk dan Border */
    width: 50px; /* Lebar tombol */
    height: 50px; /* Tinggi tombol */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Membuat tombol berbentuk bulat */
}

/* Hover Effect */
.hero-arrow:hover {
    background: rgba(255, 107, 53, 0.8); /* Warna saat hover, sesuai dengan .hero-dot.active */
}

/* Posisi Panah Kiri */
.hero-prev-arrow {
    left: 80px; /* Jarak dari tepi kiri */
}

/* Posisi Panah Kanan */
.hero-next-arrow {
    right: 80px; /* Jarak dari tepi kanan */
}

/* Penyesuaian Responsif (Opsional, tapi disarankan) */
@media (max-width: 768px) {
    .hero-arrow {
        /* Kecilkan tombol pada layar kecil */
        width: 40px; 
        height: 40px;
        font-size: 20px;
        padding: 10px 5px;
        /* Jarak lebih kecil */
        top: 55%; 
    }
    .hero-prev-arrow {
        left: 10px;
    }
    .hero-next-arrow {
        right: 10px;
    }
}




/* Hero Section - Lebih ringkas dan Fokus (Basis untuk products.php) */
.hero-section-small {
  position: relative;
  min-height: 200px; /* Diperkecil menjadi 200px */
  padding: 40px 15px; /* Padding disesuaikan */
  background: none;
  background-color: transparent;
  background-blend-mode: unset;
  color: #0f1419;
  margin: 0 0 60px 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: white;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  background-image: none;
}

.hero-section h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -1px;
}

/* Pastikan warna teks default untuk Hero besar tetap putih */
.hero-section p {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  font-weight: 400;
}


.highlight-capacity {
  color: #ff6b35;
  font-weight: 700;
  font-size: 28px;
  display: inline-block;
  margin: 0 4px;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background-color: #ff6b35;
  color: white;
}

.btn-primary:hover {
  background-color: #e55a28;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #0f1419;
}

/* Section Title - Modern and clean */
.section-title {
  color: #0f1419;
  text-align: center;
  margin: 0 0 60px;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: -40px auto 60px;
  line-height: 1.7;
}

/* Content Grid - Modern card layout */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Card Styles - Clean and modern */
.card {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #ff6b35;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  color: #0f1419;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.card p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
  flex: 1;
}

.card-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #ff6b35;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #ff6b35, #e55a28);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 28px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #ff6b35;
}

.timeline-year {
  font-size: 24px;
  font-weight: 800;
  color: #ff6b35;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f1419;
  margin-bottom: 12px;
}

.timeline-content p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: #ff6b35;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
  z-index: 1;
}

/* Profile Section */
.profile-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin: 60px 0;
  align-items: start;
}

.profile-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-content h3 {
  font-size: 32px;
  font-weight: 800;
  color: #0f1419;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.profile-title {
  font-size: 18px;
  color: #ff6b35;
  font-weight: 600;
  margin-bottom: 24px;
}

.profile-content p {
  color: #666;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

.value-card {
  padding: 36px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  border-color: #ff6b35;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f1419;
  margin-bottom: 12px;
}

.value-card p {
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

/* Vision Mission Boxes */
.vision-box,
.mission-box {
  padding: 48px;
  border-radius: 12px;
  margin: 40px 0;
}

.vision-box {
  background: #00008B;
  color: white;
  text-align: center;
}

.mission-box {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
}

.vision-box h3,
.mission-box h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.vision-box p {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  display: flex;
  align-items: start;
  gap: 16px;
}

.mission-list li:last-child {
  border-bottom: none;
}

.mission-list li::before {
  content: "→";
  color: #ff6b35;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

/* Footer - Modern and clean */
footer {
  background-color: #0f1419;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 40px 30px;
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #ff6b35;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Map Container */
.map-container {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Image Container */
.image-container {
  text-align: center;
  margin: 40px 0;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-container,
  .nav-container {
    padding: 20px 24px;
  }

  .container {
    padding: 40px 24px;
  }

  .hero-section h1,
  .hero-section h2 {
    font-size: 48px;
  }

  .hero-section {
    min-height: 300px;
  }

  .section-title {
    font-size: 40px;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 30px;
  }

  /* Responsive styling untuk header */
  .header-tagline {
    font-size: 14px;
  }

  .header-logo-image {
    height: 32px;
  }

  .header-logo-text {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-container {
    flex-direction: column;
    padding: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: stretch; /* MEMASTIKAN LINK MENGISI LEBAR PENUH */
  }

  nav a,
  .dropdown-toggle {
    text-align: left;
    width: 100%;
    padding: 16px 24px;
  }
  
  .dropdown { 
    width: 100%; /* MEMASTIKAN DROPDOWN MENGISI LEBAR PENUH */
  }

  nav a::after {
    display: none;
  }

  /* Responsive untuk Social Icons */
  .social-icons-nav {
    justify-content: flex-start;
    padding: 16px 24px; /* Padding agar sejajar dengan link */
    margin-right: 0;
    margin-left: 0; /* Hapus auto margin */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .admin-link {
    /* PERBAIKAN: Tombol Sign In mengisi lebar penuh dan padding yang sesuai */
    width: 100%;
    padding: 16px 24px !important; 
    margin: 0;
    border-radius: 0;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-left: 3px solid #ff6b35;
    transform: none;
    border-radius: 0;
    margin-top: 0;
    width: 100%; /* MEMASTIKAN MENU DROPDOWN MENGISI LEBAR PENUH */
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 400px;
    padding: 60px 24px;
  }

  .hero-section h1,
  .hero-section h2 {
    font-size: 36px;
  }

  .hero-section.machines-hero,
  .hero-section.sejarah-hero,
  .hero-section.visi-misi-hero,
  .hero-section.profil-direktur-hero,
  .hero-section.layout-hero {
    background-size: cover;
  }

  .hero-section p {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  /* PERBAIKAN UTAMA: Responsive styling untuk header mobile */
  .header-container {
    /* Mengurangi padding vertikal (atas/bawah) menjadi 15px agar lebih ringkas */
    padding: 15px 24px; 
    flex-direction: column;
    gap: 8px; /* Mengurangi jarak antar logo/nama dan tagline */
    text-align: center;
    align-items: center;
  }
  
  .header-logo-container { /* Memastikan logo dan nama berada di tengah */
    justify-content: center;
  }

  .header-logo-image { /* Mengatur ulang ukuran logo */
    height: 30px; 
  }

  .header-logo-text { /* Mengatur ulang ukuran teks nama perusahaan */
    font-size: 22px;
  }

  .header-tagline {
    font-size: 12px; /* Mengurangi ukuran tagline */
    margin-top: 0;
  }
}

/* --- Penyesuaian Khusus untuk Katalog Produk (products.php) --- */

/* OVERRIDE Hero Section Produk (Agar index.php tidak terpengaruh) */
.hero-section.products-hero {
  /* WARNA BARU: Biru Muda Solid. !important untuk memastikan override pada Hero Section yang besar */
  background-color: #E8F1FC !important;
  background-image: none !important; /* Hapus gambar latar belakang yang diwarisi dari .hero-section */
  min-height: 200px !important; /* Ukuran Diperkecil */
  padding: 40px 15px !important; /* Padding Diperkecil */
  
  /* MODIFIKASI: Mengurangi jarak bawah dari 60px menjadi 30px */
  margin: 0 0 30px 0 !important; 
}

/* Pastikan produk Hero TIDAK memiliki overlay ::before */
.hero-section.products-hero::before {
    display: none !important;
    content: none !important;
}

/* Kontras untuk konten di dalam Hero Section Products */
.hero-section.products-hero h2 {
    color: #1e40af !important; /* Judul Biru Tua agar kontras dengan latar belakang biru muda */
    font-size: 40px !important;
}
.hero-section.products-hero p {
    color: #4a4a4a !important; /* Paragraf Abu-abu Gelap agar kontras */
    font-size: 18px !important;
    font-weight: 500 !important;
}
.hero-section.products-hero .hero-cta a.btn-primary {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}


/* =========================================
   ICON MEDIA SOSIAL (NAVIGASI)
   ========================================= */

/* Pastikan elemen ini ditampilkan dan diberi jarak */
.social-icons-nav {
    display: flex;
    gap: 15px; /* Jarak antar ikon */
    align-items: center;
    margin-right: 20px;
}

/* Tentukan warna dan ukuran ikon di Navigasi */
.social-icons-nav a {
    color: white; /* Warna ikon: Biru Tua */
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons-nav a:hover {
    color:white; /* Warna ikon saat hover: Oranye */
    transform: scale(1.1);
}

/* =========================================
   ICON MEDIA SOSIAL (FOOTER)
   ========================================= */

/* Tentukan warna ikon di Footer (harus kontras dengan latar belakang footer) */
.social-icons-footer {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.social-icons-footer a i {
    color: rgba(255, 255, 255, 0.7); /* Warna ikon: Putih semi-transparan */
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover i {
    color: #ffffff; /* Putih solid saat hover */
}



/* =========================================
   FLOATING SIDEBAR/MENU - Chat & Location
   (OPSI 1: PUTIH BERSIH DENGAN BAYANGAN TAJAM)
   ========================================= */

.floating-sidebar {
  position: fixed;
  top: 50%; 
  transform: translateY(-50%); 
  right: 0px; 
  z-index: 1000;
  display: flex;
  flex-direction: column; 
  gap: 12px; 
  
  /* Styling untuk Wadah Baru */
  background-color: #ffffff; /* Warna Putih Bersih */
  padding: 12px;
  border-radius: 15px; /* Radius sedikit lebih besar */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 4px #e0e0e0; /* Bayangan lebih tegas dan border palsu */
  border: none; /* Hapus border lama */
}

.floating-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.floating-button i {
  font-size: 22px;
  z-index: 2;
  /* Tambahkan transisi pada ikon untuk animasi pulse yang lebih halus saat hover */
  transition: transform 0.3s ease; 
}

/* Tombol WhatsApp (Hijau) */
.floating-whatsapp {
  background-color: #25d366;
}

.floating-whatsapp:hover {
  background-color: #128c7e;
}

/* Tombol Lokasi (Biru/Primary) */
.floating-location {
  background-color: #1e40af; 
}

.floating-location:hover {
  background-color: #1d338c;
}

/* ... (Bagian CSS floating-sidebar dan floating-button lainnya tetap sama) ... */

/* -----------------------------------------
   APLIKASI ANIMASI PADA IKON (LEBIH INTENSE)
   ----------------------------------------- */

/* Animasi Jiggle/Goyang untuk Ikon Lokasi */
.floating-location i {
  /* Durasi dipercepat, Jiggle lebih sering */
  animation: jiggle 1.5s infinite ease-in-out 0.3s; 
}

/* Animasi Pulse/Pulsa untuk Ikon WhatsApp */
.floating-whatsapp i {
  /* Durasi dipercepat, Pulse lebih menonjol */
  animation: pulse 1.0s infinite ease-in-out;
}

/* CONTAINER untuk Tombol Utama dan Sub-menu */
.floating-whatsapp-container {
    position: relative; /* Penting agar sub-menu diposisikan relatif terhadapnya */
    width: 50px; /* Lebar tombol utama */
    height: 50px; /* Tinggi tombol utama */
}

/* Sub-menu (Dua Nomor WhatsApp) */
.whatsapp-options {
    position: absolute;
    right: 60px; /* Jarak dari tombol utama (agar muncul di kiri) */
    bottom: 0;
    
    /* Styling tampilan pop-up */
    background-color: #075E54; /* Warna hijau tua */
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
    /* Menyusun tautan ke bawah */
    display: flex;
    flex-direction: column;
    gap: 8px;
    
    /* Membuat TERSEMBUNYI secara default */
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px); /* Efek pergerakan saat muncul */
    transition: all 0.3s ease;
}

/* Styling Tautan di dalam Sub-menu */
.whatsapp-options a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap; /* Teks tidak terpotong */
    padding: 3px 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.whatsapp-options a:hover {
    background-color: #25D366; /* Hijau muda saat di-hover */
}

/* Efek Muncul saat Container Disentuh */
.floating-whatsapp-container:hover .whatsapp-options {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Kembali ke posisi normal */
}

/* Pastikan Tombol Utama WhatsApp masih memiliki styling yang sama */
.floating-whatsapp {
    background-color: #25d366;
    /* ... (CSS lainnya dari floating-button dan floating-whatsapp sebelumnya) ... */
}

/* Tombol Email (Merah/Danger) */
.floating-email {
    /* Warna populer untuk email (misalnya, merah/orange gelap) */
    background-color: #e74c3c; 
}

.floating-email:hover {
    /* Warna saat hover */
    background-color: #c0392b; 
}

/* Terapkan Animasi untuk Ikon Email */
.floating-email i {
    /* Animasi Bouncing yang menarik untuk Email */
    animation: bounce 2s infinite ease-out 0.6s; 
}

/* Pastikan Tombol Email juga memiliki Label (Tooltip) */
.floating-email::before {
    /* Mengambil konten dari data-label */
    content: attr(data-label);
    position: absolute;
    right: 110%;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.floating-email:hover::before {
    opacity: 1;
}

/* ... (Bagian Tooltip dan Media Query tetap sama) ... */

/* =========================================
   DEFINISI KEYFRAMES ANIMASI (LEBIH INTENSE)
   ========================================= */

/* Animasi Goyang (Jiggle) untuk Lokasi */
@keyframes jiggle {
  0%, 100% {
    /* Kembali ke posisi normal */
    transform: translate(0, 0) rotate(0deg); 
  }
  15%, 45% {
    /* Goyang ke kiri atas */
    transform: translate(-3px, -3px) rotate(-12deg); 
  }
  30%, 60% {
    /* Goyang ke kanan bawah */
    transform: translate(3px, 3px) rotate(12deg); 
  }
  75% {
    /* Goyang cepat di akhir */
    transform: translate(-2px, 0) rotate(-6deg); 
  }
  85% {
    transform: translate(2px, 0) rotate(6deg); 
  }
}

/* Animasi Pulsa (Pulse) untuk WhatsApp */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    /* Membesar lebih signifikan */
    transform: scale(1.2); 
    /* Tambahkan box-shadow yang memancar untuk efek pulsa yang kuat */
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); 
  }
  75% {
     box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animasi Memantul (Bounce) untuk Email */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        /* Naik signifikan */
        transform: translateY(-10px); 
    }
    60% {
        /* Turun sedikit */
        transform: translateY(-5px);
    }
}

/* Stats Section - Interaktif dan Tampilan Baru */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 60px 0;
}

/* Base style for stat card */
.stat-card,
.stat-link { /* Terapkan gaya ke div dan a (link) */
  text-align: center;
  padding: 40px 20px;
  /* Gradien yang lebih tegas dengan warna branding */
  background: linear-gradient(145deg, #ffffff 0%, #e8f1fc 100%); 
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d9e6; /* Border tipis untuk kesan bersih */
  text-decoration: none; /* Hapus underline untuk link */
  color: inherit; /* Warisi warna teks */
  position: relative; /* Diperlukan untuk action hint */
}

/* Hover effect for all stat cards/links */
.stat-card:hover,
.stat-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(30, 64, 175, 0.1);
  border-color: #1e40af; /* Border biru saat hover */
}

.stat-number {
  font-size: 56px; /* Ukuran lebih besar */
  font-weight: 800;
  color: #ff6b35; /* Warna utama (oranye) */
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 16px;
  color: #444; /* Warna label lebih gelap */
  font-weight: 600; /* Lebih tebal */
  margin-bottom: 0;
  display: block;
}

/* Action hint untuk kartu yang dapat diklik */
.card-action-hint {
    margin-top: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #1e40af; /* Warna Biru */
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Perubahan warna hint saat hover */
.stat-card:hover .card-action-hint,
.stat-link:hover .card-action-hint {
    color: #ff6b35; /* Warna Oranye saat hover */
}

/* Kursor pointer untuk kartu yang dapat diklik */
.clickable-card,
.stat-link {
    cursor: pointer;
}

/* Hapus elemen timeline yang tidak digunakan lagi (jika ada) */

/* --- Tambahan untuk Modal Sertifikat ISO --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.7); 
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 30px;
    border-radius: 10px;
    width: 90%; 
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 25px;
    padding: 0 5px;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}

/* --- Styling untuk Mitra Slider (Carousel) --- */
.partner-slider-container {
    position: relative;
    max-width: 1200px; 
    margin: 40px auto;
    overflow: hidden; 
    padding: 0 50px; /* Tambahkan padding agar tombol navigasi terlihat */
}

.partner-slider {
    display: flex;
    overflow-x: hidden; /* Sembunyikan scrollbar bawaan */
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px; 
    /* Sembunyikan scrollbar bawaan */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.partner-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.partner-card {
    flex: 0 0 240px; /* Lebar kartu diatur spesifik 240px */
    padding: 30px 15px; 
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px solid #e0e0e0;
    scroll-snap-align: start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.1);
}

.partner-card img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
}

/* Navigasi Slider */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ccc;
    color: #1e40af;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.3s ease, color 0.3s ease;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
}

.slider-nav.prev {
    left: 0; 
}

.slider-nav.next {
    right: 0; 
}

@media (max-width: 768px) {
    .partner-slider-container {
        padding: 0 30px; 
    }
    .partner-card {
        flex: 0 0 180px; 
    }
    /* Pastikan tombol tetap terlihat di mobile */
    .slider-nav.prev { left: 0; }
    .slider-nav.next { right: 0; }
}

/* Efek Hover untuk Kartu Misi */
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Pastikan transition sudah ada, jika belum, tambahkan */
}

.value-card:hover {
    transform: translateY(-10px); /* Bergerak sedikit ke atas */
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.2); /* Bayangan lebih dalam dan berwarna */
}

/* Efek Gerak pada Ikon Misi saat Hover */
.value-card .value-icon {
    display: inline-block; /* Penting untuk menerapkan transform */
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    /* Untuk ikon gear/cogs: sedikit berputar */
    transform: rotate(10deg) scale(1.1);
    /* Atau jika Anda ingin efek bounce/grow */
    /* transform: scale(1.2); */
}

/* Tambahan: Styling Vision Box agar lebih tegas */
.vision-box {
    background-color: #1e40af; /* Warna Biru Utama */
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
}

.vision-box h3 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.vision-box p {
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.5;
}

/* =================================================== */
/* --- CSS TAMPILAN MOBILE FINAL (max-width: 768px) --- */
/* (Header Rapi, Hamburger Menu, Dropdown Aktif, Fixed Footer Bar) */
/* =================================================== */
@media (max-width: 768px) {
    /* ----------------------------------- */
    /* 1. Reset dan Penyesuaian Umum       */
    /* ----------------------------------- */
    body {
        font-size: 15px;
        /* Tambahkan padding agar konten tidak tertutup fixed footer bar */
        padding-bottom: 60px; 
    }
    .container {
        padding: 25px 15px; 
    }
    .section-title {
        font-size: 24px; /* Dikecilkan sedikit untuk kerapian */
        margin-bottom: 40px;
        text-align: center;
    }

    /* ----------------------------------- */
    /* 2. Header & Logo (Dua Baris Rapi)   */
    /* ----------------------------------- */
    header {
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        padding: 0; 
        z-index: 1000;
        background-color: #ffffff;
    }
    
    /* BARIS HEADER PERTAMA: Logo Utama, Hamburger, & Logo KAN/Sertifikasi */
    .header-container {
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        padding: 8px 15px; /* Padding lebih kecil */
        gap: 8px; /* Jarak antar elemen */
    }

    /* Penyesuaian Grup Logo (Kiri) */
    .header-logo-container {
        flex-direction: row; 
        align-items: center;
        gap: 8px;
        min-width: 150px; /* Alokasi ruang minimum untuk logo */
    }
    .header-logo-container .header-logo-image {
        height: 30px !important;
    }
    
    /* PENTING: Menyamakan dan Merapikan Teks PT. MANDIRI TEKNIKATAMA */
    .header-logo-text-group span:first-child {
    font-size: 0.9em !important;  /* kecilkan di HP */
    line-height: 0.9;
    white-space: normal !important; /* biar bisa turun baris */
    text-align: center;
  }

  /* Bagian dalam (DIRI TEKNIKATAMA) ikut ukuran yang sama */
  .header-logo-text-group span:first-child span {
    font-size: inherit !important;
  }

  /* Tagline di bawahnya */
  .header-logo-text-group span:last-child {
    font-size: 0.5em !important;  /* tagline lebih kecil dari nama */
    line-height: 1.3;
    white-space: normal !important;
  }


    /* Logo KAN/Sertifikasi (Kanan) - Pastikan terlihat */
    .header-right-logos {
        order: 2; 
        display: flex;
        gap: 5px;
    }
    .header-right-logos img { 
        height: 20px !important; /* Ditingkatkan sedikit agar jelas */
        width: auto;
    }

    /* =================================================== */
/* --- TEKS HERO (Reliable Partner...) DI TAMPILAN MOBILE --- */
/* =================================================== */
@media (max-width: 768px) {

    /* Hero Section Umum */
    .hero-section {
        padding-top: 80px;        /* beri jarak dari header fixed */
        padding-bottom: 40px;
        text-align: center;       /* rata tengah di layar kecil */
        background-position: center;
        background-size: cover;
    }

    /* Judul Utama */
    .hero-section h1,
    .hero-text h1 {
        font-size: 18px;          /* ukuran disesuaikan agar tidak kepanjangan */
        line-height: 1.4;         
        font-weight: 700;         /* tetap tegas tapi tidak terlalu besar */
        color: #1e40af;           /* warna biru elegan (bisa disesuaikan) */
        margin-bottom: 15px;
        padding: 0 10px;          /* beri ruang kiri-kanan */
    }

    /* Subteks (jika ada) */
    .hero-section p,
    .hero-text p {
        font-size: 14px;
        line-height: 1.5;
        color: #444;              /* abu gelap agar tetap terbaca */
        margin: 0 auto 20px;
        max-width: 90%;
    }

    /* Tombol di Hero (jika ada) */
    .hero-section .btn,
    .hero-text .btn {
        font-size: 13px;
        padding: 10px 18px;
        border-radius: 8px;
    }
}

    
/* ============================== */
/* NAVIGASI MOBILE TANPA HAMBURGER */
/* ============================== */

@media (max-width: 768px) {

    /* Tampilkan navigasi utama secara langsung di mobile */
    .nav-bar {
        display: flex !important;
        flex-direction: column;   /* Susun ke bawah */
        align-items: stretch;
        background-color: #1e40af;
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        text-align: left;
        z-index: 1000;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    /* Styling daftar menu */
    .nav-bar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-bar li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-bar a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 500;
    }

    .nav-bar a:hover {
        background-color: #003380;
    }

    /* Dropdown aktif otomatis di mobile (tidak perlu klik) */
    .dropdown-content {
        display: block; 
        background-color: #003380;
    }

    .dropdown-content a {
        font-size: 14px;
        padding-left: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Sembunyikan bar hamburger dan ikon sosial di mobile karena tidak dipakai */
    .mobile-nav-bar {
        display: none !important;
    }
}


    /* ----------------------------------- */
    /* 4. Fixed Footer Bar (Lokasi, WA, Email) */
    /* ----------------------------------- */
    .floating-sidebar {
        display: none !important;
    }

    .fixed-footer-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px; 
        background-color: #1e40af; 
        display: flex;
        justify-content: space-around; 
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1500;
    }

    .footer-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: white;
        font-size: 10px;
        line-height: 1.2;
        flex: 1; 
    }
    .footer-button i {
        font-size: 20px; 
        margin-bottom: 3px;
    }
    /* ----------------------------------- */
    /* 5. Grid Layouts - Satu Kolom        */
    /* ----------------------------------- */
    .content-grid, .stats-grid, .footer-content {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .hero-section { 
        padding-top: 70px; 
    }
}
/* --- AKHIR CSS TAMPILAN MOBILE TERPADU --- */

/* CSS Tambahan di LUAR Media Query */
body.menu-open {
    overflow: hidden;
}