:root {
  --default-color: #004AAD;
  --navbar-color: #FBFBFB;
  --navbar-font-color: #2b2b2b;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* navbar */

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.6) !important; /* Border lebih gelap */
}

#navbarWrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  display: flex;
  flex-direction: column;
}

#topBar {
  background-color: var(--default-color);
  width: 100%;
  z-index: 1030;
  transition: transform 0.3s ease-in-out;
}

#bottomBar { 
  width: 100%;
  z-index: 1031;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  top: 43px; /* Sesuaikan dengan tinggi #topBar */
  position: fixed;
}


.container-custom {
  padding-left: 12rem !important;
  padding-right: 12rem !important;
}

.information-navbar a {
  font-size: 10px;
  color: white;
}

.information-navbar ul li a:hover {
  color: #f3f1f1;
}

.navbar-text-mobile {
  font-size: 12px;
}

#bottomBar .navbar-toggler {
  border-color: white
}

#navbar-menu .navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar-menu li a,
.navbar-nav .dropdown a {
  font-weight: 400;
  font-size: 16px;
  color: var(--navbar-font-color);
}

.navbar-menu .nav-link:hover {
  color: var(--default-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navbar-nav .dropdown a:hover {
  color: var(--default-color);
  text-decoration: none;
  text-underline-offset: 4px;
}

/* end navbar */


section {
  margin-top: 6rem;
  margin-bottom: 0;
}

section .span-content {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

section .title-content {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-weight: 700;
  font-size: 1.5rem;
  background-color: #005baa;
  background-image: linear-gradient(45deg, #005baa, #000000);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

hr {
  display: block;
  background: #005baa;
  height: 0.25rem;
  width: 12rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

#home {
  margin-top: 10rem;
}

#home span {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.5rem;
  color: #717171;
}

#home h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-weight: 900;
  font-size: clamp(2.4375rem, 2.25rem + 0.75vw, 2rem);
  background-color: #005baa;
  background-image: linear-gradient(45deg, #005baa, #000000);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

#home hr {
  display: block;
  background: #005baa;
  height: 0.25rem;
  width: 12rem;
  border: none;
  margin: 1.125rem 0 1.875rem 0;
}

#home p {
  line-height: 1.6;
}

.media-social-home {
  margin-top: 10rem;
}

/* swiper */
.swiper {
  width: 100%;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-pagination {
  bottom: 1.25rem !important;
}

.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
  border-radius: 10px; /* Biar lebih smooth */
}

.swiper-slide h2 {
  color: #fff;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  padding: 0 0 0 1.563rem;
  text-transform: uppercase;
}

.swiper-slide p {
  color: #dadada;
  font-weight: 300;
  padding: 0 1.563rem;
  line-height: 1.6;
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper-slide a {
  margin: 1.25rem 1.563rem 3.438rem 1.563rem;
  padding: 0.438em 1.875rem;
  font-size: 0.9rem;
}

/* .swiper-slide a:hover {
  color: #005baa;
} */

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-slide--one {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/1.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--two {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/2.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--three {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/3.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/4.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/5.png")
      no-repeat 50% 50% / cover;
}

.swiper-slide--six {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
    url("/assets/images/home/6.png")
      no-repeat 50% 50% / cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

.wrapper-card {
  background-color: #005198;
}

.wrapper-card a{
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.wrapper-card a:hover {
  text-decoration: underline; /* Tambahkan garis bawah saat hover (opsional) */
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-buttons a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.whatsapp-btn {
  background-color: #25D366;
}

.phone-btn {
  background-color: #0d6efd;
}

.floating-buttons a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* card home service */
.service-card-home .img-card {
  width: 100%;
  height: 200px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  display: block;
  overflow: hidden;
  position: relative; /* WAJIB */
}

.service-card-home .img-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.service-card-home {
  display: block; 
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); 
  transition: box-shadow .25s; 
}
.service-card-home:hover {
  box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.service-card-home .img-card {
  width: 100%;
  height:200px;
  border-top-left-radius:2px;
  border-top-right-radius:2px;
  display:block;
    overflow: hidden;
}
.service-card-home .img-card img{
  width: 100%;
  height: 200px;
  object-fit:cover; 
  transition: all .25s ease;
} 
.service-card-home .card-content {
  padding:15px;
  text-align:left;
}
.service-card-home .card-title {
  margin-top:0px;
  font-weight: 700;
  font-size: 1.65em;
}
.service-card-home .card-title a {
  color: #000;
  text-decoration: none !important;
}
.service-card-home .card-read-more {
  border-top: 1px solid #D4D4D4;
}
.service-card-home .card-read-more a {
  text-decoration: none !important;
  padding:10px;
  font-weight:600;
  text-transform: uppercase
}

.whatsapp-btn {
  background-color: #25D366;
}

.phone-btn {
  background-color: #0d6efd;
}

.text-left-right {
  text-align: justify;
  line-height: 1.8;
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .floating-buttons a {
      width: 50px;
      height: 50px;
      font-size: 22px;
  }
}

footer {
  background-color: #005198;
}

footer ul {
  list-style: none;
  padding: 0; /* Opsional: Menghilangkan padding bawaan */
  margin: 0; /* Opsional: Menghilangkan margin bawaan */
}

footer ul li a {
  text-decoration: none;
  color: white;
}

footer ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: #ebebeb;
}

@media screen and (max-width: 1400px) { 
  #home span {
    letter-spacing: 1.5px;
    font-size: 1.2rem;
  }
  
  #home h1 {
    font-size: 2.5rem;
  }
  
  #home hr {
    width: 8rem;
  }

  .media-social-home {
    margin-top: 2.5rem;
  }
  
}

@media screen and (max-width: 1200px) { 
  #bottomBar { 
    top: 40px; /* Sesuaikan dengan tinggi #topBar */
  }
}

@media screen and (max-width: 992px ) {
  #bottomBar { 
    top: 30px; /* Sesuaikan dengan tinggi #topBar */
  }
}

@media screen and (max-width: 768px) {
  
}

@media screen and (max-width: 576px) {
  #home {
    margin-top: 8rem;
  }
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown .dropdown-menu {
    display: none;
  }
  .dropdown:hover .dropdown-toggle::after {
    border-top: 0;
    border-bottom: 0.3em solid;
  }
}

@media screen and (max-width: 991px) {
  .dropdown-toggle.show::after {
    border-top: 0;
    border-bottom: 0.3em solid;
  }
}