body {
  font-family: 'Poppins', sans-serif;
  color: rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.8);
  overflow-x: hidden;
}

.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.heading_container h2 {
  position: relative;
  font-weight: bold;
}

.heading_container h2 span {
  color: #2c7873;
}

.heading_container.heading_center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

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

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.hero_area {
    position: relative;
    min-height: 100vh; /* Pastikan tetap ada pada perangkat mobile */
    display: flex; /* Ganti ke flex jika belum */
    flex-direction: column; /* Atur arah flex */
    justify-content: center; /* Pusatkan konten */
    align-items: center; /* Pusatkan konten */
    overflow: visible; /* Pastikan overflow diatur dengan benar */
}

.hero_area .hero_bg_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero_area .hero_bg_box img {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
}

.hero_area .hero_bg_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.sub_page .hero_area {
    min-height: auto; /* Pastikan ini tidak mempengaruhi yang lain */
}

@media (max-width: 992px) {
    .hero_area {
        min-height: 30vh; /* Memastikan tinggi minimum tetap 100vh */
        padding: 20px; /* Tambahkan padding jika perlu */
        display: flex; /* Pastikan menggunakan flexbox */
        flex-direction: column; /* Arahkan konten secara vertikal */
        justify-content: center; /* Pusatkan konten secara vertikal */
        align-items: center; /* Pusatkan konten secara horizontal */
    }

    .hero_area .hero_bg_box img {
        width: 100%; /* Mengatur lebar gambar agar responsif */
        height: auto; /* Mempertahankan rasio aspek */
    }

    /* Sesuaikan gaya untuk elemen lain di dalam hero_area jika diperlukan */
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0); /* Transparan awal */
  padding: 40px 40px;
  transition: all 0.3s ease;
  z-index: 1000;
  color: #fff; /* Warna font putih untuk header transparan */
}

header.scrolled {
  padding: 15px 40px;
  background-color: rgba(98, 96, 93, 0.8); /* Warna saat di-scroll dengan transparansi */
  color: #fff; /* Sesuaikan warna font jika perlu */
}

.logo {
  float: left;
}

.logo img {
  width: 100px;
}

.navigation {
  float: right;
}

.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navigation ul li {
  margin-left: 20px;
}

.navigation ul li a {
  text-decoration: none;
  color: inherit; /* Menyesuaikan dengan warna header */
  font-weight: bold;
  transition: color 0.3s ease;
}

.navigation ul li a:hover {
  color: #ff6347; /* Warna saat hover */
}

.navbar-brand {
  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
}

.navbar-brand span {
  color: #2c7873;
}

.navbar-brand:hover {
  color: inherit;
}

.custom_nav-container {
  padding: 0;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 30px;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 5px;
  font-size: 15px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.custom_nav-container .navbar-nav .nav-item .nav-link i {
  margin-right: 5px;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link {
  color: #2c7873;
}

.custom_nav-container .nav_search-btn {
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  color: #ffffff;
}

.custom_nav-container .nav_search-btn:hover {
  color: #2c7873;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #ffffff;
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  top: 0;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-1 {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin: 0;
  margin-bottom: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-2 {
  display: none;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] .s-3 {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin: 0;
  margin-top: -4px;
}

.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-1,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-2,
.custom_nav-container .navbar-toggler[aria-expanded="false"] .s-3 {
  -webkit-transform: none;
          transform: none;
}

/*end header section*/
/* slider section */
.slider_section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #ffffff;
  text-align: center;
}

.slider_section .detail-box h1 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.slider_section .detail-box .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.slider_section .detail-box .btn-box a {
  text-align: center;
  width: 165px;
}

.slider_section .detail-box .btn-box .btn1 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #2c7873;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: 1px solid #2c7873;
}

.slider_section .detail-box .btn-box .btn1:hover {
  background-color: transparent;
  color: #2c7873;
}

.slider_section .img-box img {
  width: 100%;
}

.slider_section .carousel_btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 45px auto 0 auto;
  width: 110px;
  height: 50px;
}

.slider_section .carousel_btn-box a {
  top: 50%;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  opacity: 1;
  color: #004445;
  font-size: 14px;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
  -webkit-transition: all .2s;
  transition: all .2s;
}

.slider_section .carousel_btn-box a:hover {
  background-color: #2c7873;
  color: #ffffff;
}

.slider_section .carousel_btn-box .carousel-control-prev {
  left: 25px;
}

.slider_section .carousel_btn-box .carousel-control-next {
  right: 25px;
}

.service_section {
  padding: 90px 0;
  background: rgb(65, 65, 65);
  color: #fff;
}

.service_section .heading_container {
  margin-bottom: 35px;
}

.service_section .box {
  margin: 10px;
  text-align: center;
  -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.15);
  padding: 25px 15px;
  -webkit-transition: all .3s;
  transition: all .3s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.service_section .box .img-box {
  width: 65px;
  height: 65px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.service_section .box .img-box img {
  max-height: 100%;
  max-width: 100%;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.service_section .box .detail-box {
  margin-top: 15px;
}

.service_section .box .detail-box h5 {
  font-weight: bold;
}

.service_section .box .detail-box p {
  margin: 0;
}

.service_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.service_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #606062;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: 1px solid #606062;
}

.service_section .btn-box a:hover {
  background-color: transparent;
  color: #2c7873;
}

.service_section .owl-stage .owl-item.active {
  -webkit-transform: scale(0.85);
          transform: scale(0.85);
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
}

.service_section .owl-stage .owl-item.active.center {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.service_section .owl-stage .owl-item.active.center .box {
  background-color: #004445;
  color: #ffffff;
}

.service_section .owl-stage .owl-item.active.center .box .img-box img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.service_section .owl-nav {
  display: none;
}

.service_section .owl-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 25px;
}

.service_section .owl-dots .owl-dot {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 100%;
  margin: 0 2px;
  background-color: #ccc;
  border: none;
  outline: none;
}

.service_section .owl-dots .owl-dot.active {
  background: #606062;
}

.team_section {
  padding: 90px 0;
  color: #fff;
}

.project_team_section {
  padding: 10px 0;
  color: #fff;
}

.team_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #606062;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 45px;
}

.team_section .box .img-box {
  width: 100%;
}

.team_section .box .img-box img {
  width: 100%;
}

.team_section .box .detail-box {
  width: 100%;
  color: #ffffff;
  padding: 25px 15px;
  text-align: center;
}

.team_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.team_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #606062;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: 1px solid #606062;
}

.team_section .btn-box a:hover {
  background-color: transparent;
  color: #2c7873;
}

.project_team_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #606062;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.project_team_section .box .img-box {
  width: 100%;
}

.project_team_section .box .img-box img {
  width: 100%;
}

.project_team_section .box .detail-box {
  width: 100%;
  color: #ffffff;
  padding: 25px 15px;
  text-align: center;
}

.project_team_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.project_team_section .btn-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #606062;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: 1px solid #606062;
}

.project_team_section .btn-box a:hover {
  background-color: transparent;
  color: #2c7873;
}

.contact_section {
  position: relative;
  padding: 120px 0;
  color: #fff;
  
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center; /* Vertical center */
  min-height: 100vh; /* Membuat section setinggi viewport */
}

.contact_section .heading_container h2 {
  color: #b22d30;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.contact_section .form_container {
  padding: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #b22d30;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  animation: fadeInn 1s ease-out forwards 0.3s;
}

.contact_section .form_container .form-control {
  width: 100%;
  border: none;
  height: 50px;
  margin-bottom: 15px;
  padding-left: 15px;
  outline: none;
  color: #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact_section .form_container .form-control::placeholder {
  color: #b0b0b0;
}

.contact_section .form_container .form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact_section .form_container .form-control.message-box {
  height: 95px;
}

.contact_section .form_container .btn_box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contact_section .form_container .btn_box button {
  border: none;
  padding: 12px 55px;
  background-color: #ff6347;
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease, transform 0.2s ease;
  border: 2px solid #ff6347;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact_section .form_container .btn_box button:hover {
  background-color: transparent;
  color: #ff6347;
  transform: scale(1.05);
  cursor: pointer;
}

/* Animasi Fade In */
@keyframes fadeInn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (min-width: 2560px) {
  .contact_section .form_container {
    width: 70%;
    margin-left: 200px;
  }
}

.client_section {
  padding: 90px 0;
  color: #fff;
}

.client_section .client_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  margin: auto;
  margin-top: 15px;
}

.client_section .client_container .img-box {
  width: 400px;
}

.client_section .client_container .img-box img {
  width: 100%;
  border-radius: 5px;
}

.client_section .client_container .detail-box {
  margin-top: 25px;
}

.client_section .client_container .detail-box h5 {
  color: #b0b0b0;
  margin-bottom: 15px;
}

.client_section .client_container .detail-box p {
  color: #ffffff;
  margin: 20px;
}

.client_section .client_container .detail-box span {
  margin-top: 25px;
  color: #1eb36a;
  font-size: 28px;
}

.client_section .carousel-control-prev,
.client_section .carousel-control-next {
  width: 50px;
  height: 50px;
  border-radius: 0px;
  background-color: #000000;
  opacity: 1;
  top: 28%;
  color: #ffffff;
  font-size: 12px;
  margin: 0 2.5px;
}

.client_section .carousel-control-prev {
  left: 15%;
}

.client_section .carousel-control-next {
  right: 15%;
}

.client_section .carousel_btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.info_section {
  background-color: #b22d30;
  color: #b0b0b0;
  padding: 45px 0 10px 0;
}

.info_section h5 {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.info_section .info_top {
  margin-bottom: 25px;
}

.info_section .info_top .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.info_section .info_contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-width: 245px;
}

.info_section .info_contact a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #b0b0b0;
}

.info_section .info_contact a i {
  margin-right: 5px;
  font-size: 24px;
}

.info_section .social_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.info_section .social_box a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 5px;
  color: #b0b0b0;
  margin-right: 5px;
  font-size: 24px;
}

.info_section .info_bottom .row > div {
  margin-bottom: 30px;
}

.info_section .info_menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: 0;
}

.info_section .info_menu li {
  list-style-type: none;
  margin-bottom: 10px;
}

.info_section .info_menu li a {
  color: #b0b0b0;
}

.info_section .info_form input {
  width: 100%;
  border: none;
  height: 45px;
  margin-bottom: 25px;
  padding-left: 25px;
  background-color: #b0b0b0;
  outline: none;
  color: #101010;
}

.info_section .info_form button {
  display: inline-block;
  padding: 10px 45px;
  background-color: #606062;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: 1px solid #606062;
}

.info_section .info_form button:hover {
  background-color :#b0b0b0;
  color: #b22d30;
}

/* footer section*/
.footer_section {
  position: relative;
  text-align: center;
}

.footer_section p {
  color: #b0b0b0;
  padding: 25px 0;
  margin: 0;
}

.footer_section p a {
  color: inherit;
}

.menu-button {
  display: flex;
  float: right;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-button:hover {
  background-color: rgba(178, 45, 48, 0.1); /* Change this color to match your page's design */
  transition: background-color 0.3s ease; /* Smooth transition */
}

.menu-button .bar1 {
  width: 100%;
  height: 4px;
  background-color: #b22d30;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-button .bar2 {
  width: 100%;
  height: 4px;
  background-color: #848688;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-button .bar3 {
  width: 100%;
  height: 4px;
  background-color: #606062;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-button.active .bar1 {
  transform: translateY(10px) rotate(45deg);
}

.menu-button.active .bar2 {
  opacity: 0;
}

.menu-button.active .bar3 {
  transform: translateY(-10px) rotate(-45deg);
}

.overlay {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; 
  visibility: hidden; 
  z-index: 999; 
  transition: opacity 0.5s ease, visibility 0.3s ease; 
}

.overlay.active {
  opacity: 1;  
  visibility: visible; 
}

.overlay-box {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1); 
  padding: 20px; 
  border: 2px solid #ff6347;  
  border-radius: 12px;  
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);  
  text-align: center;
  gap: 20px; 
}

.image-view {
  flex: 1;
  max-width: 300px; 
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.5s ease;
  margin-top: 20%;
  margin-right: 20px;
  margin-left: 20px;
  height: 300px;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-view img {
  max-width: 100%; /* Ensure the image doesn’t exceed the container */
  max-height: 100%; /* Ensure the image doesn’t exceed the height of the container */
  border-radius: 12px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.image-view img.show {
  opacity: 1;
}

@media (max-width: 768px) {
    .overlay {
      padding: 10px; /* Kurangi padding */
      min-height: 80vh; /* Lebih pendek untuk layar kecil */
    }
  
    .menu-title {
      font-size: 14px; /* Ukuran font lebih kecil */
      top: 10%; /* Tetap proporsional di atas */
      padding: 3px 8px; /* Kurangi padding */
    }
  
    .overlay-menu-list {
      gap: 5px; /* Kurangi jarak antar menu */
    }
  
    .overlay-menu-list li a {
      width: 120px; /* Lebar tombol lebih kecil */
      font-size: 14px; /* Ukuran font tombol lebih kecil */
      height: 35px; /* Tinggi tombol lebih kecil */
      line-height: 35px; /* Teks tetap di tengah */
      padding: 5px; /* Kurangi padding di dalam tombol */
    }
  
    .image-view {
      display: none !important; /* Tetap sembunyikan gambar */
    }
  }
  

.overlay-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overlay-menu-list li {
  opacity: 0;
  margin: 7px 0;
  transform: translateY(20px); 
  animation: stackUp 0.6s ease-out forwards; 
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.overlay-menu-list li a {
  display: inline-block; 
  width: 180px;
  height: 57px;
  color: #fff;
  font-size: 24px;
  padding: 10px 15px;
  text-align: center;
  border: 2px solid #ff6347; 
  background: rgba(255, 255, 255, 0.1); 
  border-radius: 8px; 
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}



.overlay-menu-list li a:hover {
  color: #000;
  background: #ff6347; 
  transform: translateY(-5px); 
}

.fade-effect {
  animation: fadeInOut 3s ease-in-out infinite;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95%;
  overflow: hidden;
  z-index: -1;
}

@keyframes fadeInOut {
  0%, 100% {
      opacity: 0.5; 
  }
  50% {
      opacity: 1; 
  }
}

@keyframes stackUp {
  from {
      opacity: 0; 
      transform: translateY(20px); 
  }
  to {
      opacity: 1; 
      transform: translateY(0); 
  }
}

/* ARTIKEL */
.latestarticles_section {
  padding: 90px 30px;
  background: rgb(65, 65, 65);
  color: #fff;
  padding-top: 80px;
}

.articles_section {
  padding: 90px 30px;
  color: #fff;
  padding-top: 120px;
}

.header_section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.heading_container h2 {
  color: #ff6347;
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.view-options {
  display: flex;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ff6347;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.search_container {
  position: relative;
}

.search_input {
  padding: 10px 20px;
  border: 2px solid #ff6347;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.search_input::placeholder {
  color: #ccc;
}

.search_input:focus {
  border-color: #ff6347;
  background: rgba(255, 255, 255, 0.2);
}

.articles_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 20px;
    justify-content: center;
    align-items: center; 
    padding: 20px;
    min-height: 300px; 
  }

.articles_slider {
  display: flex;
  position: relative; 
  justify-content: center; 
}

.slider_wrapper {
  display: flex;
  overflow: hidden; 
  position: relative;
}

.slider_content {
  display: flex; 
  transition: transform 0.5s ease; 
}

.article_card {
    min-width: 250px; 
    max-height: 400px;
    margin: 0 auto; 
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ff6347;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.container_slider {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.article_card_slider {
  width: 100%;
  min-width: 250px; 
  margin: 0 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #ff6347;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;.container_slider {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
  }
  
  .article_card_slider {
    width: 100%;
    min-width: 250px; 
    margin: 0 10px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ff6347;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Atur ukuran untuk laptop (layar lebih lebar dari 1024px) */
  @media (min-width: 1024px) {
    .article_card_slider {
      width: 50%; /* Buat ukurannya lebih kecil */
    }
  }
  
  /* Untuk layar sangat lebar, misalnya desktop besar */
  @media (min-width: 1440px) {
    .article_card_slider {
      width: 40%; /* Atur lebih kecil lagi jika perlu */
    }
  }
}

@media (min-width: 1024px) {
  .article_card_slider {
    width: 45%; 
  }
}

@media (min-width: 1440px) {
  .article_card_slider {
    width: 40%; /
  }
}

.article_card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.article_image {
    flex-shrink: 0; 
    overflow: hidden; 
  }
  
  .article_image img {
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    object-position: center; 
    border-radius: 8px; 
  }
  
  .article_image img:hover {
    transform: scale(1.05); 
  }

.article_card:hover .article_image img {
  transform: scale(1.1);
}

.article_content {
  padding: 20px;
}

.article_content h3 {
  font-size: 24px;
  color: #ff6347;
  margin-bottom: 10px;
}

.article_content p {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 20px;
}

.read_more {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ff6347;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read_more:hover {
  background-color: #ffffff;
  color: #ff6347;
  transform: translateY(-2px);
}

.prev,
.next {
  position: absolute; /* Memposisikan tombol */
  top: 50%; /* Posisikan di tengah vertikal */
  transform: translateY(-50%); /* Menyelaraskan tombol secara vertikal */
  background-color: rgba(255, 255, 255, 0.7); /* Latar belakang tombol */
  border: none; /* Tanpa border */
  border-radius: 50%; /* Bentuk tombol bulat */
  cursor: pointer; /* Kursor pointer untuk interaksi */
  padding: 10px; /* Padding tombol */
  z-index: 10; /* Agar tombol berada di atas slider */
}

.prev {
  left: -40px; /* Jarak dari kiri */
}

.next {
  right: -40px; /* Jarak dari kanan */
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.9); 
}

@media (max-width: 768px) {
  .article_card {
      min-width: 200px; 
  }
  
  .article_card_slider {
    width: 10%; 
  }

  .header_section {
      flex-direction: column;
      align-items: flex-start;
  }

  .search_container {
      margin-top: 10px;
  }

  .view-options {
      margin-top: 10px;
  }
}

.custom-article-details {
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-top: 8%;
}

.custom-article {
  width: 75%;
  background-color: #a1a1a1;
  border: 2px solid #ff6347;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden; 
}

.custom-article-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-project-content {
  display: flex;
  flex-direction: column;
}

.custom-post-img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.custom-project-img {
  width: 100%;
  display: block;
}

.custom-project-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.custom-post-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Judul artikel */
.custom-title {
  font-size: 1.8em;
  margin-top: 20px;
  color: #333;
  text-align: center;
}

.custom-project-title {
  font-size: 1.8em;
  color: #333;
  text-align: center;
  background: #ff6347;
}

.custom-meta-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;  
  gap: 20px; 
  color: #555;
}

.custom-meta-top ul li {
  display: flex;
  align-items: center;
}

.custom-meta-top ul li a {
  color: #9e4a3b;
  text-decoration: none;
}

.custom-meta-top ul li::before {
  content: '|'; 
  margin-right: 10px;
  color: #aaa; 
}

.custom-meta-top ul li:first-child::before {
  content: ''; 
}

.custom-content p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.project-content p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.custom-blockquote {
  background-color: rgba(255, 99, 71, 0.1);
  border-left: 4px solid #ff6347;
  margin: 20px 0;
  padding: 10px 20px;
  font-style: italic;
}

.custom-content img {
  margin: 20px 0;
  width: 100%;
  border-radius: 8px;
}

.custom-meta-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  font-size: 0.9em;
  gap: 20px; 
}

.custom-meta-bottom .custom-cats, .custom-meta-bottom .custom-tags {
  list-style: none;
  padding: 0;
  margin: 0; 
}

.custom-meta-bottom .custom-cats li, .custom-meta-bottom .custom-tags li {
  display: inline-block;
  margin-right: 10px;
}

.custom-meta-bottom .custom-cats li a, .custom-meta-bottom .custom-tags li a {
  color: #ff6347;
  text-decoration: none;
}


.container-comment {
  width: 100%;
  margin-top: 10px;
  padding: 20px;
  background-color: #919191;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comments-count {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 24px;
}

.comment {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.comment:last-child {
  border-bottom: none;
}

.d-flex {
  display: flex;
}

.comment-img img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.comment h5 {
  font-size: 16px;
  font-weight: bold;
}

.comment h5 a {
  color: #007bff;
  text-decoration: none;
}

.comment h5 a:hover {
  text-decoration: underline;
}

.comment p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
}

.comment .reply {
  font-size: 14px;
  margin-left: 10px;
  color: #6c757d;
}

.comment .reply:hover {
  color: #007bff;
  text-decoration: underline;
}

.comment time {
  display: block;
  font-size: 12px;
  color: #adb5bd;
  margin-top: 5px;
}

.comment-reply {
  margin-left: 50px;
  border-left: 2px solid #ddd;
  padding-left: 15px;
}

.add-comment-section {
  margin-top: 40px;
}

.add-comment-section h5 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.avatar-grid {
  display: flex;
  gap: 10px;
}

.avatar-grid label {
  cursor: pointer;
}

.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

input[type="radio"]:checked + .avatar-img {
  border-color: #007bff;
}

@media (max-width: 768px) {
  .custom-article-details {
    padding: 10px;
    margin-top: 100px;
  }

  .custom-article {
    width: 100%;
  }

  .custom-title {
    font-size: 1.5em;
  }

  .custom-meta-top ul {
    gap: 10px;
    font-size: 0.8em;
  }

  .custom-content p {
    font-size: 14px;
  }

  .custom-meta-bottom {
    font-size: 0.8em;
  }

  .custom-meta-bottom .custom-cats, .custom-meta-bottom .custom-tags {
    font-size: 0.8em;
  }

  .comment-img img {
    width: 60px;
    height: 60px;
  }

  .comment h5 {
    font-size: 14px;
  }

  .comment p {
    font-size: 12px;
  }

  .comment .reply {
    font-size: 12px;
  }

  .comment time {
    font-size: 10px;
  }

  .comment-reply {
    margin-left: 40px;
  }

  .add-comment-section h5 {
    font-size: 16px;
  }

  .form-control {
    font-size: 12px;
  }

  .btn-primary {
    padding: 8px 16px;
  }

  .avatar-grid label {
    cursor: pointer;
  }

  .avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s;
  }

  input[type="radio"]:checked + .avatar-img {
    border-color: #007bff;
  }
}

.search-results-dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.dropdown-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.dropdown-item-title {
  font-size: 14px;
  color: #333;
}

.no-results {
  padding: 10px;
  color: #999;
  text-align: center;
}

#articleSearchInput {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Project Section */
.project-container {
  max-width: 800px;
  margin: auto;
}
.project-card {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #ff6347;
  border-radius: 8px;
  margin: 20px 0;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-card-image {
  width: 300px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 10px;
}

.project-card-content {
  flex: 1;
}

.project-card-title {
  font-size: 1.5em;
  color: #ff6347;
  margin: 0;
}

.project-card-description {
  font-size: 1em;
  color: #f0f0f0;

}

.project-card-info,
.project-card-date {
    font-size: 0.9em;
    color: #e66b55;
}

/* Hover effect */
.project-card:hover {
  background: #b0b0b0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media (max-width: 600px) {
  .project-card {
      flex-direction: column;
      align-items: center; /* Center align items */
      text-align: center; /* Center text */
  }
  .project-card-image {
      margin-bottom: 10px;
  }

  .header_section {
      flex-direction: column;
      align-items: center;
  }

  .search_container {
      margin-top: 10px;
      width: 100%;
  }

  .search_input {
      width: 100%;
  }
}

