@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


.table {
    width: 100% !important;
}

tfoot {
    display: table-header-group;
}

tfoot>tr>th {
    padding: 5px 5px !important;
}

.dataTables_processing {
    display: none !important;
}

.page-header-static {
    z-index: 1020;
}

body {
   
    background-color: #F5F1E6;
    text-decoration: none !important;
    font-family: 'Poppins', Arial, Helvetica, sans-serif !important;
}

.judul1 {
    font-size: 2rem;
    font-weight: bold;
    color: #A47551;
    text-align: center;
    margin: 20px 0;
}
:root {
  --brand-gold: #FACC15;
  --brand-brown: #3B2F2F;
  --brand-choco: #A47551;
  --brand-white: #f8f4f0;
  --brand-black: black;
  --brand-maroon: #6E2C2C;
}

.navbar-custom {
  background-color: var(--brand-brown) !important;
}

.navbar-custom .nav-link.active,
.navbar-custom .dropdown-item.active {
  color: var(--brand-white) !important;
  border-radius: 6px;
  text-decoration: underline;
  text-decoration-color: var(--brand-white);
  text-underline-offset: 10px;
  text-decoration-thickness: 2px;
}


.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .navbar-toggler-icon {
  color: var(--brand-white) !important;
}

.navbar-toggler {
  border-color: var(--brand-white) !important;
}

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

.navbar-custom .nav-link:hover {
  color: var(--brand-choco) !important;
}

/* Dropdown menu custom warna */
.navbar-custom .dropdown-menu {
  background-color: var(--brand-brown);
}

.navbar-custom .dropdown-item {
  color: var(--brand-white) !important;
  padding: 0.6rem 1.2rem;
  margin-bottom: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.navbar-custom .dropdown-item:last-child {
  margin-bottom: 0;
}

.navbar-custom .dropdown-item:hover {
  background-color: var(--brand-choco);
  color: var(--brand-white) !important;
}



.responsive-paragraph {
  font-size: 0.9rem;
}

.responsive-title{
  font-size: 2rem;
  margin-bottom: 1rem;
}

#carouselExampleControls, .page-title {
  margin-top: 0px; /* Ubah 64px sesuai tinggi navbar kamu */
  position: relative;
  z-index: 1;
}


/* SECTION STYLE  */
.bg-brand-brown {
  background-color: var(--brand-brown) !important;
  color:white;
}

.text-brown{
  color: var(--brand-brown) !important;
}


/* SECTION STYLE  */
.bg-brand-white {
  background-color: var(--brand-white) !important;
  color:black;
}
/* SECTION STYLE  */
.bg-brand-maroon {
  background-color: var(--brand-maroon) !important;
  color:var(--brand-white);
}

.section{
  min-height: 600px !important;
}

.py-6 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}


/* button style */
.btn-black-custom {
  background-color: #A47149 !important;
  border-color: #A47149;
  color: #A47149;
  transition: all 0.2s;
}
.btn-black-custom:hover,
.btn-black-custom:focus {
  background-color: transparent !important;
  color: black !important;
  border: 2px solid #A47149 !important;
}

.btn-white-custom {
  background-color: var(--brand-white) !important;
  border-color: var(--brand-white);
  color: black !important;
  transition: all 0.2s;
}
.btn-white-custom:hover,
.btn-white-custom:focus {
  background-color: transparent !important;
  color: var(--brand-white)black !important;
  border: 2px solid var(--brand-white) !important;
}

/* MAKSUD DAN TUJUAN */
custom-card {
  border-radius: 16px;
  background: #fff8f0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.custom-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.custom-card .icon {
  background-color: #5c4033;
  color: #fff;
  width: 50px;
  height: 50px;
  transition: transform 0.5s ease;
}

.custom-card:hover .icon {
  transform: rotate(360deg);
}

.card ul li {
  margin-bottom: 8px;
  color: #4a3628;
}


/* ABOUT CSS */

/* Efek gambar */
.about-image {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.about-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Animasi teks */
.animate-title {
  animation: slideDown 1s ease forwards;
}
.animate-paragraph {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}
.animate-btn {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 1s;
}

/* Keyframes */
@keyframes slideDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


/* PROGRAM KEERJA CSS */

.program-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.program-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.program-card img {
  transition: transform 0.5s ease;
}
.program-card:hover img {
  transform: scale(1.1);
}

/* Animasi teks */
.animate-title {
  animation: slideDown 1s ease forwards;
}
.animate-paragraph {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}
.animate-btn {
  opacity: 0;
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 1s;
}

/* Keyframes */
@keyframes slideDown {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}


/* counter style */

.card-counter {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card-counter:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }
  .text-brand-maroon {
    color: #800000;
    font-weight: bold;
  }
  /* Animasi masuk */
  .animate-card {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeZoomIn 1s ease forwards;
  }
  .animate-card:nth-child(1) { animation-delay: 0.3s; }
  .animate-card:nth-child(2) { animation-delay: 0.6s; }
  .animate-card:nth-child(3) { animation-delay: 0.9s; }

  @keyframes fadeZoomIn {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }


  /* LOADER  */
  .ukir-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ukir-icon {
    width: 80px;
    height: 80px;
    animation: draw 3s infinite ease-in-out;
}

@keyframes draw {
    0% {
        stroke-dasharray: 0, 300;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 150, 150;
        stroke-dashoffset: -75;
    }
    100% {
        stroke-dasharray: 0, 300;
        stroke-dashoffset: 0;
    }
}


/* media query */

@media (max-width: 575.98px) {
    .company-logo {
        display: none !important;
    }
}

@media (max-width: 992px) {
  .navbar-custom .dropdown-item:hover,
  .navbar-custom .dropdown-item:focus {
    background-color: var(--brand-choco) !important;
    color: var(--brand-black) !important;
  }
  
  .caption-title {
    font-size: 2rem;
  }
  .caption-desc {
    font-size: 1.1rem;
  }

}

@media (max-width: 575.98px) {
  .caption-title {
    font-size: 1.3rem;
  }
  .caption-desc {
    font-size: 0.9rem;
  }

}

@media (min-width: 992px) {
  #carouselExampleControls, .page-title  {
    margin-top: -64px; /* Ubah 64px sesuai tinggi navbar desktop */
  }
}

@media (min-width: 768px) {
  .responsive-paragraph {
    font-size: 1.1rem;
  }
}
