/*

1. Add your custom Css styles below
2. Place the this code in your template:

 <link href="css/custom.css" rel="stylesheet">

*/
html {
  scroll-behavior: smooth !important;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Toraja";
  src: url("./assets/fonts/Toraja.ttf") format("truetype");
  font-style: normal;
}

/* Apply Poppins to the entire website */
body {
  font-family: "Poppins", sans-serif;
}

/* Apply Poppins to specific elements */
h1,
h2,
h3,
h4,
h5,
h6,
#open_offcanvas {
  font-family: "Toraja", sans-serif;
  font-weight: 600; /* Semi-Bold */
  letter-spacing: 1.15px;
}

p {
  font-family: "Poppins", sans-serif;
  font-weight: 400; /* Regular */
}

.flickity-button:hover {
  background-color: transparent !important;
}

.header__area-3,
.header__area-3.sticky-3 {
  background-color: transparent;
  border-bottom: none;
  top: 10px;
}

.main-menu-3 > li {
  margin-right: 20px;
  border: solid 3px var(--gray-16);
  border-bottom: solid 6px var(--gray-16);
  border-radius: 25px;
}

.main-menu-3 > li > a {
  padding: 15px 0;
}
.main-menu-3 > li > a .menu-text span {
  color: #fff;
  font-family: "Toraja", sans-serif;
  font-weight: 600; /* Semi-Bold */
  letter-spacing: 1.15px;
}

.hero__content-6 {
  padding-top: 200px;
}

.footer__social-6 li a {
  color: #fff;
}

@media (min-width: 769px) {
  .hero__right-6 {
    padding-top: 0px;
  }

  .title-wrapper-6 {
    padding-right: 100px;
    padding-left: 100px;
  }

  .footer__area-6 {
    padding-top: 80px;
    padding-bottom: 90px;
  }
}

@media (max-width: 769px) {
  .hero__content-6 {
    padding-top: 50px;
  }

  .modal-content {
    background: transparent !important;
  }
}

.floating-btn-group {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px; /* spacing between buttons */
  z-index: 9999;
}

.floating-btn {
  padding: 12px 20px;
  background-color: #e35411;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: solid 3px var(--gray-16);
  border-bottom: solid 6px var(--gray-16);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.floating-btn-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  background-color: #25d366;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
  border: solid 3px var(--gray-16);
  border-bottom: solid 6px var(--gray-16);
}

@media (max-width: 768px) {
  .hero__arrow-icon {
    display: none;
  }
  h5 {
    font-size: 8px !important; /* for phones */
  }
  .floating-btn,
  .floating-btn-right {
    padding: 7px 10px;
  }
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: inline;
  }
}

/* Hover effect */

.floating-btn:hover {
  background-color: #e35411;
  transform: scale(1.1);
  color: white;
}

.floating-btn-beside:hover {
  background-color: #e35411;
  transform: scale(1.1);
  color: white;
}

.floating-btn-right:hover {
  background-color: #25d366;
  transform: scale(1.1);
  color: white;
}

#img-cursor {
  cursor: pointer;
}

#modal_face_painting {
  z-index: 10000;
}

#modal_mewarnai {
  z-index: 10000;
}

#modal_menggambar {
  z-index: 10000;
}

#modal_menggambar_2 {
  z-index: 10000;
}

#modal_berita_1 {
  z-index: 10000;
}

#modal_berita_2 {
  z-index: 10000;
}

#modal_berita_3 {
  z-index: 10000;
}
#modal_track_aml_img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.btn,
.sec-subtile-6 {
  border-radius: 45px;
  border: solid 3px var(--gray-16);
  border-bottom: solid 6px var(--gray-16);
  margin-bottom: 0px;
}

@media screen and (min-width: 1198px) {
  #open_offcanvas,
  .offcanvas__area {
    display: none !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a {
    font-size: 25px;
  }
}

@media screen and (max-width: 1198px) {
  /* Offcanvas Styling */
  .offcanvas__area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .offcanvas__body {
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
  }

  .offcanvas__logo {
    display: none;
  }

  .offcanvas__menu ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .offcanvas__menu-wrapper.mean-container,
  .offcanvas__menu-wrapper.mean-container .mean-nav ul li a,
  .offcanvas__menu-wrapper.mean-container .mean-nav > ul > li:last-child > a {
    font-family: "Toraja", sans-serif;
    border: none;
    padding-left: 0px;
  }

  .offcanvas__menu li {
    margin-bottom: 10px;
  }

  .offcanvas__menu a {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }

  /* Show Offcanvas */
  .offcanvas__area.show {
    visibility: visible;
    opacity: 1;
  }

  .header__nav-2 {
    display: none !important;
  }

  .header__nav-icon {
    display: none !important;
  }
}

@media screen and (max-width: 1280px) {
  .main-menu-3 > li > a {
    font-size: 12px !important;
  }

  .swiper-wrapper > a {
    font-size: 12px !important;
  }

  .offcanvas__body {
    grid-template-columns: 1fr;
  }
}

.brand__item {
  border: none;
}

.brand__list {
  background: transparent;
  border: none;
}

.modal-content {
  background: transparent !important;
  border: none !important;
}

/* Restrict Swiper width */
.nav-swiper {
  width: auto;
  max-width: 1100px; /* Adjust based on layout */
  overflow: hidden;
  padding: 5px 0; /* Prevent top-cutting effect */
  position: relative;
}

/* Ensure nav items align properly */
.nav-swiper .swiper-wrapper {
  display: flex;
  align-items: center; /* Keep items vertically centered */
  padding: 5px 0; /* Adds spacing to prevent cutting */
}

/* Style nav items */
.nav-swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #f8f8f8;
  padding: 10px 20px;
  border-radius: 25px;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid #ddd;
}

/* Prevent cutting effect */
.header__nav-2 {
  overflow: auto; /* Ensures nav visibility */
}

/* Properly position navigation buttons */
.nav-swiper-prev,
.nav-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff;
  font-weight: bold;
  z-index: 10;
}

.nav-swiper-prev {
  left: -40px;
}

.nav-swiper-next {
  right: -40px;
}

.swiper-wrapper > a {
  color: #fff;
  font-family: "Toraja", sans-serif;
  font-weight: 600;
  letter-spacing: 1.15px;
  font-size: 16px;
  text-transform: uppercase;
}

.nav-swiper .swiper-slide {
  margin-right: 20px;
  border: solid 3px var(--gray-16);
  border-bottom: solid 6px var(--gray-16);
  border-radius: 25px;
  padding: 15px 20px 5px 20px;
}

.swiper-slide {
  margin-bottom: 0px;
}

.service__item {
  border-bottom: solid 3px var(--white);
}

.service__area a:first-child .service__item {
  border-top: solid 3px var(--white);
}

@media only screen and (min-width: 767px) {
  .feature__list {
    grid-template-columns: 1fr 1fr;
  }

  .feature__item:nth-child(odd),
  .feature__item {
    border-right: solid 2px var(--white);
    padding: 0px;
  }
}
