.box button{
  display: none;
  /* Hide button */
}

.box:hover button {
  display: block;
  /* On :hover of div show button */
}

.box a{
  color: white;
}

.btn-pop {
  margin-top: 20px;
  border-radius: 10px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid white;
}

.brand-item img{
  padding: 20px;
  width: 100%;
}

.footer-img img{
  width: 100%;
  max-width: 150px;
  display: block;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

/* .soc-footer{
text-align: center;
} */

.hr-footer{ 
  border-top:1px solid #986a4d;
  margin-top: 25px;
}

.bc-contact{
  background-image: url(../../assets/img/breadcrumb/contact.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}


.bc-service-cvt{
  background-image: url(../../assets/img/breadcrumb/service-cvt.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}

.bc-service-eds{
  background-image: url(../../assets/img/breadcrumb/service-eds.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}

.bc-service-efa{
  background-image: url(../../assets/img/breadcrumb/service-efa.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  position: sticky;
  
}

.bc-service-os{
  background-image: url(../../assets/img/breadcrumb/service-os.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}

.bc-gallery{
  background-image: url(../../assets/img/breadcrumb/gallery.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}

.bc-about{
  background-image: url(../../assets/img/breadcrumb/abouts.jpg);
  background-size: cover;
  background-color: rgba(29, 29, 29, 0.26);
  
}


/* k-card */
.k-card {
  padding: 20px;
  margin: 20px;
  width: 100%;
  min-height: 350px;
  border-radius: 20px;
  background: #e8e8e8;
  text-align: center;
  transition: 0.4s;
}

.k-card:hover {
  translate: 0 -10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;  }
  
  .k-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #986a4d;
    margin: 15px 0 0 10px;
  }
  
  .k-card-image {
    min-height: 170px;
    border-radius: 15px;
  }
  
  .k-card-image img {
    width: 100%;
    border-radius: 15px;
  }
  
  .k-card-body {
    margin: 13px 0 0 10px;
    color: rgb(31, 31, 31);
    font-size: 15px;
  }
  
  .by-name {
    font-weight: 700;
  }
  
  /* .service-item{} */
  
  .service-item img{
    width: 100%;
    border-radius: 20px;
  }
  
  .service-item h3,
  .service-item b{
    color: #986a4d;
  }
  
  .service-item p,
  .service-item ul {
    color: #000;
  }
  
  
  /* slider */
  
  .krttx-carousel {
    overflow: hidden;
    position: relative;
    margin: auto;
    width: 85%;
    margin-top: 130px;
    border-radius: 30px;
    margin-bottom: 65px;
  }
  
  .krttx-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    background: transparent;
  }
  
  .krttx-carousel-item {
    min-width: 100%;
    box-sizing: border-box;
  }
  
  .krttx-carousel-inner img {
    /* width: 100%; */
    height: auto; /* Ensure images scale with the carousel */
    display: block;
  }
  
  .krttx-carousel-indicators {
    display: flex;
    justify-content: center;
  }
  
  .krttx-carousel-indicator {
    width: 120px;
    filter: blur(5px);
    margin: 40px;
    cursor: pointer;
  }
  
  .krttx-carousel-indicator.active {
    filter: blur(0px);
  }
  
  .krttx-carousel-indicator img {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .krttx-carousel-inner {
    position: relative;
  }
  
  .krttx-carousel-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .krttx-carousel-item {
    position: relative;
    z-index: 2;
  }
  
  .krttx-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .left-button, .right-button {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 10px 20px;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: #fff;
    transition: ease 0.3s;
  }
  
  .left-button {
    left: 30px;
    
  }
  
  .right-button {
    right: 30px;
  }
  
  .left-button:hover, .right-button:hover {
    background-color: white;
    color: #986a4d;
  }
  
  .left-button:active, .right-button:active {
    background-color: white;
    color: #986a4d;
  }
  
  @media (max-width: 1200px) {
    .krttx-carousel img {
      height: auto; /* Adjust height for smaller screens */
    }
  }
  
  @media screen and (max-width:992px) {
    .krttx-carousel button{
      display: none;
    }
    
  }
  
  .why-us img{
    width: 100%;
    border-radius: 10px;
  }
  
  .why-us .box img{
    margin-top: 10px;
    border-radius: 10px;
  }
  
  .vl {
    border-left: 1px solid #986a4d;
    height: 250px;
    padding: 0 40px;
  }
  
  /*WA floating*/
  .floating {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 70px;
    right: 10px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
    z-index: 100;
  }
  
  .fab-icon {
    margin-top: 10px;
  }
  
  .story {
    margin-top: 50px;
  }
  
  
  @media screen and (max-width:991px) {
    .story-rev {
      display: flex;
      flex-direction: column-reverse;
    }
  }
  
  .story img{
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
  }
  
  .story p {
    color: #000;
  }
  
  .story h2 {
    color: #986a4d;
    font-weight: 700;
    font-size: 36px;
  }
  
  .footer-top .social-links .rednote {
    background: transparent !important;
  }
  
  .footer-top .social-links .rednote img{
    width: 100%;
  }
  
  @media screen and (max-width:600px) {
    .kslider-desktop {
      display: none;
    }  
  }
  @media screen and (min-width:601px) {
    .kslider-mobile {
      display: none;
    }  
  }
  
  /* slider */
  .kslider-mobile {
    width: 100%;
    border-radius: 30px;
  }
  
  @media screen and (max-width: 479px) {
    .brand-item {
      width: 60%;
      margin: 0 auto; /* Center the item */
      display: flex; /* Use flexbox to center content */
      justify-content: center; /* Center horizontally */
      max-width: 100%; /* Ensure the image doesn't overflow */
      height: auto; /* Maintain aspect ratio */
    }
  }
  
  @media (max-width: 768px) {
    .section-title p {
      font-size: 28px;
    }
  }
  
  
  @media (max-width: 480px) {
    .section-title p {
      font-size: 24px; 
    }
  }
  
  
  @media (max-width: 320px) {
    .section-title p {
      font-size: 20px;
    }
  }
  
  @media (max-width: 767px) {
    .footer-img img {
      margin-bottom: 70px;
    }
  }
  
  /* === Desktop === */
  .events-slider {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
  }
  
  .events-slider:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
  }
  
  .kswiper-btn-events {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .kswiper-btn-events .swiper-button-prev,
  .kswiper-btn-events .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #9b6a50;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 15px;
    border-radius: 8px;
    border: 1px solid #986a4d;
  }
  
  .kswiper-btn-events .swiper-button-prev::after,
  .kswiper-btn-events .swiper-button-next::after {
    font-size: 18px;
  }
  
  .kswiper-btn-events .swiper-button-prev {
    left: -50px; /* Ubah ikut keperluan */
  }
  
  .kswiper-btn-events .swiper-button-next {
    right: -50px; /* Ubah ikut keperluan */
  }

  @media screen and (min-width: 991px) and (max-width: 1200px) {
    .kswiper-btn-events {
      margin-left: 10px;
    }
    .kswiper-btn-events .swiper-button-prev,
    .kswiper-btn-events .swiper-button-next {
      padding: 15px 10px;
      font-size: 16px;
    }
    
  }
  
  /* === Mobile === */
  @media screen and (max-width: 991px) {
    .kswiper-btn-events {
      display: flex;
      justify-content: center;
      position: static; /* remove absolute parent effect */
      margin-top: 50px;
    }
    
    .kswiper-btn-events .swiper-button-prev,
    .kswiper-btn-events .swiper-button-next {
      position: static;
      transform: none;
      padding: 12px 16px;
      margin: 0 5px;
      font-size: 18px;
      border-radius: 8px;
      background-color: rgba(0, 0, 0, 0.6);
    }
    
    .kswiper-btn-events .swiper-button-prev::after,
    .kswiper-btn-events .swiper-button-next::after {
      font-size: 18px;
    }
  }
