:root {
  --bg-dark: #060a12;
  --accent-gold: #f5bc42;
  --accent-gold-hover: #e0a832;
}

body {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

/* Menyembunyikan total batang scrollbar di semua browser modern */
html {
  scrollbar-width: none; /* Untuk Firefox */
  -ms-overflow-style: none; /* Untuk Internet Explorer & Edge lama */
}

html::-webkit-scrollbar {
  display: none; /* Untuk Chrome, Safari, Opera, dan Edge berbasis Chromium */
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #04060b;
}

::-webkit-scrollbar-thumb {
  background: #182131;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #263449;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

.shield {
  width: 60px;
  font-size: 2.8rem;
  line-height: 1;
}

.ikon {
  width: 60px;
  font-size: 2.6rem;
  line-height: 1;
}

.title-utama {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.sub-title-utama {
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #cbd5e1;
}

.bg-layanan {
  background: linear-gradient(to bottom, rgba(11, 15, 25, 0.6), rgba(11, 15, 25, 0.75));
  z-index: 1;
}

.bg-layanan2 {
  opacity: 0.85;
  z-index: 0;
}

.ikon-layanan-emergency {
  width: 50px;
  height: 50px;
  background: rgba(220, 53, 69, 0.1) !important;
  border-width: 3px !important;
}

.ikon-layanan-warning {
  width: 50px;
  height: 50px;
  background: rgba(255, 193, 7, 0.1) !important;
  border-width: 3px !important;
}

.title-layanan {
  font-size: 1.05rem;
}

.subtitle-layanan {
  font-size: 0.8rem;
  line-height: 1.4;
}
/* =========================================
   SCROLL TO TOP BUTTON (Bulat, Kuning Transparan)
   ========================================= */
.scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(245, 188, 66, 0.15); /* Kuning transparan */
  border: 1px solid rgba(245, 188, 66, 0.4);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none !important;
}

.scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scrollToTopBtn:hover {
  background: var(--accent-gold);
  color: #0b0f19; /* Teks/ikon berubah gelap saat di-hover */
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(245, 188, 66, 0.3);
}

.text-muted {
  color: #cbd5e1 !important;
}

/* Lebar Konten Netflix-Style (Lebih lebar dan proporsional) */
.container-netflix {
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

/* Navbar Transparan Menyatu dengan Hero */
.navbar-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/*.navbar-custom {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    z-index: 1000;*/
/*    background: rgba(6, 10, 18, 0.25);*/
/*    backdrop-filter: blur(12px);        */
/*    -webkit-backdrop-filter: blur(12px);*/
/*    border-bottom: 1px solid rgba(255, 255, 255, 0.08);*/
/*    padding: 0.75rem 0;*/
/*    transition: all 0.3s ease;*/
/*}*/

/* Navbar Grid Layout agar menu benar-benar presisi di tengah dan sejajar */
.navbar-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: 100%;
}

/* Style Menu Navigasi Aktif Berbentuk Kapsul Kuning */
.nav-link-custom {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 50px;
  display: inline-block;
  position: relative;
}

/* Garis bawah pas selebar teks dan berjarak dari tulisan */
.nav-link-custom:not(.active):hover::after {
  content: "";
  position: absolute;
  height: 3.5px;
  bottom: 2px; /* Jarak dari bawah agar tidak terlalu mepet teks */
  left: 0.75rem; /* Menyesuaikan padding kiri link */
  right: 0.75rem; /* Menyesuaikan padding kanan link agar pas selebar teks */
  background-color: var(--accent-gold);
  /*border-radius: 2px;*/
}

/* Saat menu dalam keadaan active (berbentuk kapsul kuning dengan teks gelap) */
.nav-link-custom.active {
  /*background-color: var(--accent-gold) !important;*/
  /*color: #0b0f19 !important;*/
  background-color: transparent !important;
  /*color: var(--accent-gold) !important;*/
  font-weight: 700 !important;
}

.nav-link-custom.active::after {
  content: "";
  position: absolute;
  height: 3.5px;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  background-color: var(--accent-gold);
}

.btn-search {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-search:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-gold);
}

.btn-kontak {
  background-color: var(--accent-gold);
  color: #0b0f19;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.5rem 1.75rem;
  font-size: 0.9rem;
  border: none;
  transition: background-color 0.2s;
}

.btn-kontak:hover {
  background-color: var(--accent-gold-hover);
  color: #0b0f19;
}

/* Hero Section dengan Background Lokal header.jpg */
.hero-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.75) 0%, rgba(6, 10, 18, 0.6) 70%, var(--bg-dark) 100%),
    url("../images/web/header.jpg") no-repeat center center;
  background-size: cover;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: 2px;
}

.hero-subtitle-top {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.hero-title-secondary {
  color: var(--accent-gold) !important; /* Warna kuning emas senada */
  font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important; /* Ukuran huruf diperkecil dari judul utama */
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  display: block;
  margin-top: 0.25rem;
}

.hero-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.6;
}

.btn-selengkapnya {
  background-color: var(--accent-gold);
  color: #0b0f19;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  margin-bottom: 15px;
}

.btn-selengkapnya:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}

/* 3 Pilar Cards (Sangat Rapat / Mepet) */
.pilar-card {
  background: transparent !important;
  border: none !important;
  padding: 0;
}

.pilar-title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
  margin-bottom: 1px;
  line-height: 1.3;
}

.pilar-desc {
  color: #e2e8f0 !important;
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 195px; /* Batasi lebar agar pas 2 baris dengan rapat */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* Section Styling Umum */
.section-title {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Profile Cards Style */
.profile-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(10, 14, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(245, 188, 66, 0.1);
  transform: translateY(-5px);
}

.profile-card .card-img-wrap {
  width: 100%;
  height: 175px;
  overflow: hidden;
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-card:hover img {
  transform: scale(1.05);
}

.profile-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.profile-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.profile-desc {
  color: #cbd5e1 !important;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Layanan Cards */
.layanan-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 23, 0.95));
  border: 1px solid rgba(245, 188, 66, 0.25);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0b0f19;
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
}

.desc-layanan {
  height: 200px;
  max-height: 200px;
}

#modalLayananActiveTabTitle {
  font-size: 1.05rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.bg-modal-layanan {
  background: rgba(0, 0, 0, 0.5);
}

#modalLayananTabDesc {
  height: 300px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  background: #04060b !important;
}

#modalTabDesc {
  height: 300px;
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  background: #04060b !important;
}

.bg-tab {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

#modalActiveTabTitle {
  font-size: 0.95rem;
}

.detail-profile {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.tab-profile {
  max-height: 220px;
}

#modalProfileImage {
  max-height: 220px;
}

.detail-yanmas {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.img-popup {
  aspect-ratio: 16/9;
}

.profile-trigger {
  cursor: pointer !important;
}

.profile-modal-tab-item,
.layanan-modal-tab-item {
  cursor: pointer;
  font-size: 0.8rem;
  transition: 0.2s;
}

.layanan-card p,
.layanan-card .text-muted {
  color: #cbd5e1 !important;
}

.ikon-tab {
  font-size: 0.7rem;
}

.layanan-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(245, 188, 66, 0.1);
  transform: translateY(-5px);
}

.layanan-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.btn-layanan-detail {
  background: transparent;
  border: 1px solid rgba(245, 188, 66, 0.4);
  color: #ffffff;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.2s;
}

.btn-layanan-detail:hover {
  background-color: var(--accent-gold);
  color: #0b0f19;
  border-color: var(--accent-gold);
}

.modal-content {
  border-radius: 12px;
  overflow: hidden;
}

/* =========================================
   QUOTE BANNER (Seamless & Menyatu)
   ========================================= */
.quote-banner {
  border: 1px solid rgba(245, 188, 66, 0.4);
  border-radius: 16px;
  background-color: #04060b;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* Mengunci konteks penumpukan agar background dan gradasi tidak keluar menembus border */
}

/* Lapisan Background & Gradasi di dalam kontainer terisolasi */
.quote-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/web/bg-bawah.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Lapisan Gradasi Gelap */
.quote-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 6, 11, 0.6) 0%, rgba(4, 6, 11, 0.9) 45%, rgba(4, 6, 11, 0.95) 100%);
  z-index: -1;
}

/* Memastikan konten berada di atas background */
.quote-banner .row {
  position: relative;
  z-index: 1;
}

/* Sisi Kiri (Area Gambar) */
.quote-img-side {
  min-height: 220px;
}

/* Sisi Kanan (Area Teks) */
.quote-text-side {
  padding: 2.5rem 3rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Garis aksen kuning di bawah teks */
.quote-line-accent {
  width: 90px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  margin-top: 1.2rem;
}

/* Footer */
footer {
  background-color: #030508;
  /*border-top: 1px solid rgba(255, 255, 255, 0.05);*/
  padding-top: 4rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

footer h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* Efek Hover Tautan Footer menjadi Kuning */
.footer-links a {
  color: #cbd5e1 !important; /* Warna teks default */
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-links a:hover {
  color: var(--accent-gold) !important; /* Warna kuning saat kursor diarahkan */
}

/* Perbaikan Kontras Teks Footer */
footer p,
footer li a,
footer span,
footer small,
footer .text-muted {
  color: #cbd5e1 !important;
}

/* Indikator Scroll Mouse Style */
.scroll-mouse-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  margin-bottom: 4px;
}

.mouse-wheel {
  width: 3px;
  height: 7px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  animation: scrollWheelAnim 1.5s infinite;
}

@keyframes scrollWheelAnim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: #ffffff;
  font-weight: 600;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.2s;
}

.social-icon-btn:hover {
  background-color: var(--accent-gold);
  color: #0b0f19;
  border-color: var(--accent-gold);
}

.modal-content {
  position: relative !important;
  /*z-index: 100002 !important;*/
  background-color: #070a12 !important;
  border: 1px solid rgba(245, 188, 66, 0.3) !important;
  pointer-events: auto !important;
}

/* Styling Global untuk Background Sisi Kiri Modal Body */
.profile-modal-body-left {
  background-image: url("../images/web/bg_modal.jpg");
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden; /* Mencegah elemen meluber keluar batasan */
}

/* Lapisan gelap transparan */
.profile-modal-body-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.85); /* Sedikit ditebalkan agar gambar pura tidak terlalu mencolok dan teks/garis kontras */
  z-index: 1;
}

/* MEMBUAT GARIS PEMBATAS TEGAS DI SISI KANAN MENGGUNAKAN PSEUDO-ELEMENT ::after */
.profile-modal-body-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px; /* Ketebalan garis */
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* Warna garis putih transparan tipis yang padat */
  z-index: 3; /* Pastikan berada di atas background dan overlay gelap */
}

/* Pastikan konten tab berada di atas overlay dan garis */
.profile-modal-body-left > div {
  position: relative;
  z-index: 2;
}

/* Memastikan konten tombol tab berada di atas lapisan gelap */
.profile-modal-sidebar-content {
  position: relative;
  z-index: 2;
}

/* Membuat border icon bulat sedikit lebih tebal */
.layanan-card .rounded-circle {
  border-width: 2px !important; /* Mempertebal border icon bulat */
}

/* Efek hover pada tombol detail berubah menjadi background warning (kuning) dengan teks gelap */
.btn-layanan-detail:hover {
  background-color: #ffc107 !important; /* Warna warning Bootstrap */
  color: #000 !important;
  border-color: #ffc107 !important;
}

/* Efek Glow / Shadow untuk Ikon Layanan */
.icon-glow-warning {
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.45);
}
.icon-glow-danger {
  box-shadow: 0 0 12px rgba(220, 53, 69, 0.45);
}

/* Styling Footer dengan Background Gambar Penuh & Gradasi */
#kontak {
  position: relative;
  background-image: url("../images/web/bg-bawah.jpg");
  background-size: cover;
  background-position: center center; /* Fokus ornamen di bagian bawah */
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Lapisan transparan gelap dengan gradasi agar menyatu mulus di sisi atas footer */
#kontak::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #060a12 3%,
    /* Menyatu dengan warna background section sebelumnya di atas */ rgba(11, 15, 25, 0.85) 45%,
    /* Transisi area konten footer */ rgba(11, 15, 25, 0.95) 100%
  );
  z-index: 1;
}

/* Memastikan seluruh isi teks/elemen di dalam footer berada di atas lapisan background */
#kontak .container-netflix {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .container-netflix {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-section {
    padding-top: 100px;
    padding-bottom: 0px;
  }
  .hero-subtitle-top {
    font-size: 0.75rem;
  }
  .sub-title-utama {
    font-size: 0.55rem;
  }
  .hero-title-secondary {
    font-size: clamp(1.3rem, 3.2vw, 2.6rem) !important;
  }
  .hero-desc {
    font-size: 0.8rem;
  }
  .btn-selengkapnya {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
  .pilar-card {
    margin-bottom: 10px;
  }
  .quote-img-side {
    min-height: 100px;
  }
  .quote-banner {
    padding: 0;
  }
  .quote-text-side {
    padding: 1.25rem 1.25rem; /* Padding atas, bawah, kiri, kanan diperkecil agar rapat ke atas */
  }
  .quote-text-side p {
    font-size: 0.95rem !important; /* Ukuran huruf diperkecil pada versi mobile */
    margin-bottom: 5px !important;
  }

  .quote-line-accent {
    margin-top: 10px !important;
  }
}
