/*  */
:root {
  --biru-utama: #1d3b62;
  --merah-utama: #f81e18;
  --kuning-utama: #eed40f;
  --putih-utama: #ffffff;
  --bg-utama: #d6dbe2;
  --biru-form: #bbc4cf;
  --grey-tombol: #d9d9d9;
  --bg-dropdown: #142944;

  --fwbold: 700;
  --fwextrabold: 800;
  --fwsemibold: 600;
  --fwmedium: 500;
  --fwregular: 400;
  --fwlight: 300;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-utama);
}

/* ==========warna-warna========== */
.biru-utama {
  background: var(--biru-utama);
}

.merah-utama {
  background: var(--merah-utama);
}

.kuning-utama {
  background: var(--kuning-utama);
}

.warna-toggler {
  background: var(--putih-utama);
}

.warna-form {
  background: var(--biru-form);
}

.warna-grey {
  background: var(--grey-tombol);
}

.warna-dropdown {
  background: var(--bg-dropdown);
}

/* ==========warna-warna========== */

/* ==========ukuran dan warna font========== */

.judul-utama {
  font-weight: var(--fwextrabold);
  font-size: 50px;
  color: var(--putih-utama);
}

.judul-utama2 {
  font-weight: var(--fwextrabold);
  font-size: 50px;
  color: var(--merah-utama);
}

.sub-judul {
  font-weight: var(--fwbold);
  font-size: 28px;
  color: var(--biru-utama);
}

.sub-judul2 {
  font-weight: var(--fwbold);
  font-size: 20px;
  color: var(--biru-utama);
}

.sub-judul3 {
  font-weight: var(--fwbold);
  font-size: 20px;
  color: var(--putih-utama);
}

.sub-judul4 {
  font-weight: var(--fwbold);
  font-size: 28px;
  color: var(--kuning-utama);
}

.sub-judul2-huruf {
  font-weight: var(--fwbold);
  font-size: 20px;
  color: var(--merah-utama);
}

.sub-judul3-huruf {
  font-weight: var(--fwbold);
  font-size: 28px;
  color: var(--merah-utama);
}

.judul-kecil-satu {
  font-weight: var(--fwbold);
  font-size: 20px;
  color: var(--putih-utama);
}

.judul-kecil-dua {
  font-weight: var(--fwbold);
  font-size: 16px;
  color: var(--putih-utama);
}

.paragraf-utama {
  font-weight: var(--fwregular);
  font-size: 16px;
  color: var(--biru-utama);
}

.paragraf-judul-biru {
  font-weight: var(--fwbold);
  font-size: 16px;
  color: var(--biru-utama);
}

.paragraf-dua {
  font-weight: var(--fwregular);
  font-size: 16px;
  color: var(--putih-utama);
}

.paragraf-tiga {
  font-weight: var(--fwmedium);
  font-size: 16px;
  color: var(--putih-utama);
}

.paragraf-empat {
  font-weight: var(--fwlight);
  font-size: 16px;
  color: var(--putih-utama);
}

.paragraf-lima {
  font-weight: var(--fwlight);
  font-size: 16px;
  color: var(--kuning-utama);
}

.isi-tombol-satu {
  font-weight: var(--fwbold);
  font-size: 16px;
  color: var(--putih-utama);
}
/* ==========ukuran dan warna font========== */

/* ==========bikin Tombol sendiri========== */
.tombol-satu {
  width: 300px;
  height: 60px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--putih-utama);
  font-weight: var(--fwsemibold);
  background: var(--biru-utama);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tombol-satu:hover {
  background: var(--kuning-utama);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========bikin Tombol sendiri========== */

/* ==========navbar hover========== */
.navbar-nav .nav-item a:hover {
  color: var(--kuning-utama);
  transition: all 0.3s ease;
  font-weight: var(--fwextrabold);
}

.navbar-nav .nav-item a {
  color: var(--putih-utama);
  transition: all 0.3s ease;
}

.navbar-nav .nav-item {
  padding-right: 25px;
  padding-left: 25px;
  font-weight: var(--fwlight);
}
/* ==========navbar hover========== */

/* ==========section utama========== */
.section-utama { 
	position: relative; 
	min-height: 100vh; 
	overflow: hidden; 
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}

/* overlay untuk filter gambar utama */
.section-utama::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* simulasi brightness 90% */
  z-index: 1;
}

/* konten di atas overlay */
.section-utama > .container {
  position: relative;
  z-index: 2;
}


.white-glow {
  color: var(--putih-utama);
}

.box-utama { 
    margin-top: 200px; 
}

.box-utama .text-shadow {
  text-shadow: 0 0 2px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 5px #fff;
}

.judul-section-utama {
  font-weight: var(--fwextrabold);
  font-size: clamp(28px, 5vw, 56px);
  color: var(--putih-utama);
}

.paragraf-utama-dua {
  font-size: clamp(14px, 2vw, 18px);
  max-width: 800px;
  margin: 0 auto;
  color: var(--putih-utama);
}

.judul-section-utama2 {
  font-weight: var(--fwextrabold);
  font-size: clamp(28px, 5vw, 56px);
  color: var(--merah-utama);
}


/* ==========section utama========== */

/* ==========section abouthome========== */
.box-abouthome {
  margin-top: 80px;
}
/* ==========section abouthome========== */

/* ========== section video home ========== */

.video-card {
  max-width: 800px;
  margin: auto;
  margin-top: 80px;
  margin-bottom: 80px;
}

.surveySwiper video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* panah slider */
.surveySwiper .swiper-button-next,
.surveySwiper .swiper-button-prev{
  color:#fff;
  background:rgba(0,0,0,0.5);
  width:40px;
  height:40px;
  border-radius:50%;
}

.surveySwiper .swiper-button-next:after,
.surveySwiper .swiper-button-prev:after{
  font-size:18px;
}

/* pagination bawah */
.survey-pagination{
  text-align:center;
}

.survey-pagination .swiper-pagination-bullet{
  background:#000;
  opacity:0.4;
}

.survey-pagination .swiper-pagination-bullet-active{
  background:#0d6efd;
  opacity:1;
}
/* pagination benar-benar di bawah video */
.survey-pagination{
  position: relative;
  margin-top: 15px;
  text-align: center;
}

/* override style swiper */
.survey-pagination.swiper-pagination{
  position: relative;
  bottom: auto;
}

/* bullet */
.survey-pagination .swiper-pagination-bullet{
  background:#000;
  opacity:0.4;
}

.survey-pagination .swiper-pagination-bullet-active{
  background:#0d6efd;
  opacity:1;
}
.video-title{
  font-weight:600;
  font-size:18px;
  border-bottom:2px solid #eee;
  padding-bottom:6px;
}

/* ========== section video home ========== */

/*============= section progressbar============= */
.progressbar {
  padding: 80px 0;
}

.progressbar .container {
  position: relative;
}

/* gambar */
.box-progressbar1 img {
  width: 100%;
  border-radius: 20px;
}

/* card floating */
.box-progressbar2 {
  position: absolute;
  top: 65%;
  right: clamp(12px, 4vw, 48px); /* JARAK CARD KE TEPI GAMBAR */
  transform: translateY(-50%);
  max-width: 520px;
}

.box-progressbar2 .card {
  border-radius: 16px;
}

.progress-item {
  margin-bottom: 22px;
}

.progress-label {
  font-weight: 600;
  margin-bottom: 6px;
}

.progress {
  height: 6px;
  background-color: #e5e5e5;
  position: relative;
  overflow: visible;
}

.progress-bar {
  width: 0;
  background-color: #0d3b8e;
  transition: none;
}

.progress-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #0d3b8e;
  border-radius: 50%;
  transition: left 1.4s ease;
}

.progress-percent {
  font-weight: 600;
  color: #555;
  margin-left: 10px;
  min-width: 40px;
}

/*============= section progressbar============= */

/*============= section service-home============= */
.box-servicehome {
  margin-top: 100px;
}

.box-servicehome2 i {
  font-size: 25px;
}

.ksp-service {
  width: 100%; /* ikut kolom bootstrap */
  max-width: 350px; /* batas maksimal desktop */
  min-height: 300px;
  margin: 0 auto; /* CENTER horizontal */
}

/*============= section service-home============= */

/*============= section choose us============= */
.choose {
  background: var(--biru-form);
}

.choose h1 {
  padding-top: 50px;
}

.box-choose {
  margin-top: 100px;
}

.box-choose2 {
  padding-bottom: 100px;
}

/*.why-choose {
  width: 540px;
  height: 200px;
  padding: 40px 50px 60px 50px;
}*/

.why-choose {
  max-width: 540px; /* ganti width jadi max-width */
  width: 100%;
  height: auto;
  padding: 40px 30px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-choose .icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

/*.why-choose .icon {
  float: left;
  width: 60px;
  height: 200px;
  margin-right: 20px;
}*/

/*============= section choose us============= */

/*============= MEDIA QUERY============= */

@media (max-width: 1280px) {
  .footer-contact {
    margin-right: -150px;
  }
}

@media (max-width: 768px) {
  .box-progressbar2 {
    margin-right: 60px;
    margin-top: 150px;
    width: 800px;
  }

  .box-progressbar1 {
    display: none;
  }

  .box-servicehome {
    margin-top: 400px;
  }
}

@media (max-width: 428px) {
  /* .box-progressbar2 {
    margin-top: 150px;
    width: 500px;
    margin-right: 6px;
  }*/

  .box-progressbar2 {
    position: relative; /* lepas absolute */
    right: auto;
    left: 50%;
    transform: translateX(-50%); /* CENTER horizontal */
    max-width: 100%;
    margin-top: 0 !important;
  }

  .progressbar {
    padding-top: 0px;
    padding-bottom: 24px;
  }

  .box-servicehome {
    margin-top: 100px;
  }
  
  
  .box-utama {
    margin-top: 100px;
  }

  .box-utama .btn {
    margin-bottom: 50px;
  }

  .box-servicehome2 {
    text-align: center;
  }

  
  

  /*.box-servicehome2 {
    margin-left: 100px;
  }*/

  /*.box-choose2 {
    justify-items: center;
  }*/
}

@media (max-width: 390px) {
  .section-utama .box-utama {
    margin-top: 80px;
  }

  /* .box-progressbar2 {
    margin-top: 150px;
    width: 500px;
    margin-right: 10px;
  }*/

  .box-progressbar2 {
    position: relative; /* lepas absolute */
    right: auto;
    left: 50%;
    transform: translateX(-50%); /* CENTER horizontal */
    max-width: 100%;
    margin-top: 0 !important;
  }

  .progressbar {
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .box-servicehome {
    margin-top: 100px;
  }

  /* .box-servicehome2 {
    margin-left: 90px;
  } */

  /*.box-choose2 {
    justify-items: center;
  }*/
  
  .box-utama .btn {
    margin-bottom: 50px;
  }
  
  
}
/*============= MEDIA QUERY============= */

/*============= section-trusted============= */
.trusted .row h1 {
  padding-top: 30px;
  margin-bottom: 80px;
}

.trusted {
  margin-top: 100px;
  padding-bottom: 50px;
  margin-bottom: 100px;
}

.card-brand {
  width: 600px;
  height: 110px;
  border-radius: 10px;
  margin-right: 30px;
  /*background: var(--bg-utama);*/
  text-align: center;
}

.card-brand .logo {
  height: 65px;
  margin-top: 30px;
}

.carousel-wrapper {
  display: flex;
  height: 110px;
  animation: moveSlidesToLeft 20s linear infinite;
}

.carousel {
  justify-content: flex-end;
  display: flex;
  flex-direction: row;
  height: 110px;
  margin-bottom: 50px;
  overflow: hidden;
}

@keyframes moveSlidesToLeft {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0%);
  }
}

@keyframes moveSlidesToRight {
  0% {
    transform: translateX(0%);
  }
  to {
    transform: translateX(100%);
  }
}

.carousel-wrapper-left {
  display: flex;
  height: 110px;
  animation: moveSlidesToRight 20s linear infinite;
}

.carousel-left {
  justify-content: flex-end;
  display: flex;
  flex-direction: row;
  height: 110px;
  overflow: hidden;
}

/*============= section-trusted============= */

/*============= section our-gallery============= */
.our-gallery {
  background: var(--biru-utama);
}

.box-gallery h1 {
  padding-top: 50px;
  margin-bottom: 70px;
}

.box-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.box-gallery {
  margin-bottom: 80px; /* atur sesuai selera */
}

.video-gallery {
  max-width: 320px; /* lebar reels */
  margin: auto;
}

.box-gallery2 {
  padding-bottom: 80px;
}

.video-9x16 {
  width: 100%;
  aspect-ratio: 9 / 16; /* PORTRAIT */
  background: #000;
  overflow: hidden;
  border-radius: 12px;
}

.video-9x16 video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* isi penuh */
}

/* swiper */
.swiper-button-next,
.swiper-button-prev {
  width: 45px;
  height: 45px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #1f3b64;
  z-index: 999;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* swiper */

/*============= section our-gallery============= */

/* section form-home */
.box-formhome {
  margin-top: 100px;
  margin-bottom: 100px;
}

.box-formhome p {
  margin-bottom: 40px;
}

/* section form-home */

/* ==========section article-home========== */

.box-articlehome {
  padding-bottom: 100px;
}

.box-articlehome i {
  font-size: 25px;
}

.hover-article-home {
  display: inline-block;
  transform: scale(1); /* ukuran normal */
  transition: all 0.25s ease; /* supaya perubahan halus */
}

.hover-article-home:hover {
  color: var(--merah-utama); /* berubah warna */
  transform: scale(1.05); /* zoom sedikit */
}

.box-articlehome .swiper {
  padding-bottom: 50px;
}

.articleSwiper .swiper-slide {
  display: flex;
  justify-content: center;
}
.articleSwiper .swiper-button-next,
.swiper-button-prev {
  color: var(--merah-utama);
}

.swiper-pagination-bullet-active {
  background: var(--merah-utama);
}

.tombol-artikel {
  margin-top: 60px;
}

/* ==========section article-home========== */

/* Footer */
.footer-box {
  padding-top: 150px;
}

.footer-box .row .col:nth-child(2) a {
  opacity: 65%;
}

.footer-box .row .col:nth-child(2) a:hover {
  opacity: 100%;
}

.copyright {
  margin-top: 80px;
  filter: brightness(40%);
}

.copyright p {
  margin-bottom: 0px;
}

/* Footer */

/* =================page about================= */
.video-about {
  max-width: 800px;
  margin: auto;
  margin-top: 80px;
}

.box-serviceabout {
  margin-top: 80px;
}

/* =================page about================= */

/* =================page slf================= */

.box-gedungbaik {
  margin-bottom: 100px;
}

.col h1 {
  margin-top: 80px;
  margin-bottom: 40px;
}

.col p {
  margin-top: 80px;
  margin-bottom: 100px;
}

.page-why-slf i {
  font-size: 30px;
}

.box-gedungbaik .card-box i {
  font-size: 30px;
  margin-right: 20px;
}

.flex-baikslf {
  display: flex;
  justify-content: center;
}

.box-portofoliolslf1 h1 {
  margin-top: 80px;
  margin-bottom: 40px;
}

.box-portofolioslf1 {
  padding-bottom: 100px;
}

/* =================page slf================= */

/* dasar hukum SLO-IO */
.box-dasarhukum-slo-io .col {
  margin-bottom: 100px;
}

/* dasar hukum SLO-IO */

/* section persyaratan pekerja */
.box-syarat-pekerja h1 {
  margin-top: 100px;
}
/* section persyaratan pekerja */
/* Gaya untuk tombol WhatsApp floating */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Memperbesar ukuran ikon WhatsApp */
.wa-float i {
  font-size: 40px; /* Ukuran ikon WhatsApp */
  color: white; /* Warna ikon putih */
}

.wa-float:hover {
  transform: scale(1.1); /* Efek saat hover pada tombol WhatsApp */
}

/* WhatsApp chat box */
.wa-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #ffffff;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  display: none; /* Secara default disembunyikan */
  z-index: 999;
}

.wa-header {
  padding: 10px;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.wa-body {
  padding: 10px;
}

.wa-body .d-flex {
  display: flex;
  align-items: center;
}

.text-success {
  color: #28a745;
}

/* Gaya untuk tombol close (X) */
.wa-header button {
  background-color: #ffffff; /* Latar belakang putih */
  border: 2px solid #25d366; /* Border hijau sesuai dengan tema WhatsApp */
  border-radius: 50%; /* Membuat tombol berbentuk bulat */
  color: #25d366; /* Warna teks sesuai dengan tema */
  font-size: 18px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease; /* Animasi saat hover */
}

.wa-header button:hover {
  background-color: #25d366; /* Saat dihover, background jadi hijau */
  color: white; /* Warna teks berubah menjadi putih */
  transform: scale(1.2); /* Efek pembesaran saat hover */
}

/* Responsif */
@media (max-width: 767px) {
  .wa-float {
    bottom: 15px;
    right: 15px;
    padding: 5px;
  }

  .wa-float i {
    font-size: 35px; /* Ukuran ikon sedikit lebih kecil pada layar kecil */
  }

  .wa-box {
    width: 260px; /* Lebih sempit di layar kecil */
    bottom: 70px;
  }

  .wa-header {
    font-size: 14px; /* Mengurangi ukuran font header */
  }

  .wa-body {
    padding: 8px; /* Menyempitkan ruang padding */
  }

  .wa-header button {
    font-size: 16px; /* Ukuran font tombol lebih kecil */
    padding: 4px 8px; /* Menyesuaikan ukuran tombol */
  }

  .btn-success {
    font-size: 14px; /* Mengurangi ukuran font tombol */
  }
}

/* Responsif lebih lanjut untuk perangkat sangat kecil (misal ponsel dengan layar lebih kecil dari 400px) */
@media (max-width: 400px) {
  .wa-float {
    bottom: 10px;
    right: 10px;
  }

  .wa-float i {
    font-size: 30px; /* Ukuran ikon lebih kecil */
  }

  .wa-box {
    width: 220px; /* Lebih kecil untuk perangkat dengan layar sangat kecil */
    bottom: 60px;
  }

  .wa-header {
    font-size: 12px; /* Mengurangi font header untuk layar kecil */
  }

  .btn-success {
    font-size: 12px; /* Ukuran font tombol lebih kecil */
  }
}

/*detail article */
.setp p{
    margin: 0 0 12px 0 !important;
    line-height: 1.6 !important;
	color: var(--biru-utama);
}

.setp h1{
	color: var(--biru-utama);
}

.setp h2{
	color: var(--biru-utama);
}

.setp h3{
	color: var(--biru-utama);
}

.imgarticle{
	margin-bottom: 3rem;
}


/* ===============carousel-gallery=============== */
.carousel-wrap {
  overflow: hidden;
  cursor: default;
  margin-bottom: 100px;
}

/* .carousel-wrap.dragging { 
  cursor: grabbing;
}*/

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.my-carousel-item {
  flex: 0 0 auto;
  width: 297px;
  height: 223px;
}

.my-carousel-item img {
  width: 100%;
  border: 4px solid;
  border-color: var(--bg-utama);
  border-radius: 12px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .my-carousel-item {
    width: 160px;
  }
}

/* ===============carousel-gallery=============== */



/* faq */
.faq-box {
  margin-top: 50px;
  margin-bottom: 100px;
}

.faq-box h1 {
  color: var(--biru-utama);
}

.faq-box p {
  color: var(--biru-utama);
}

.faq-box .accordion-button::after {
  background-color: white;
  border-radius: 100%;
}

.accordion-item h2 {
  font-size: 5px;
}
/* faq */

/* ===============section tabel projects=============== */
.tabel-projects {
  margin-top: 100px;
  margin-bottom: 200px;
}
@media (max-width: 576px) {
  .tabel-projects table,
  .tabel-projects thead,
  .tabel-projects tbody,
  .tabel-projects th,
  .tabel-projects tr {
    display: block;
  }

  .tabel-projects thead {
    display: none;
  }

  .tabel-projects tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
  }

  .tabel-projects td {
    display: grid;
    grid-template-columns: 130px 1fr; /* kiri tetap, kanan fleksibel */
    gap: 8px;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .tabel-projects td:last-child {
    border-bottom: none;
  }

  .tabel-projects td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #0d6efd;
  }
}

/* ===============section tabel projects=============== */

