/* Animasi AOS*/
[data-aos] {
  will-change: transform, opacity;
}

/* Navbar Transparan Awal */
.navbar-transparent {
    background-color: transparent;
    transition: all 0.6s ease-in-out;
}

/* Saat Discroll */
.navbar-scrolled {
    background-color: #310202 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.5s ease-in-out;
}

/* Sembunyikan saat scroll ke bawah */
.navbar-hide {
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

/* Teks Putih dan Shadow untuk Kontras */
.navbar .nav-link,
.navbar .navbar-brand {
    color: white !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    transition: color 0.3s;
}

/* Tombol Register Khusus */
.custom-register-btn {
    background-color: #cc0708;
    color: white;
    border: none;
    transition: background-color 0.3s;
}
.custom-register-btn:hover {
    background-color: #a30506;
    color: white;
}


/* */
/* Hover dan transisi */
.transition-hover {
  transition: all 0.3s ease-in-out;
}
.transition-hover:hover {
  font-weight: bold;
  transform: scale(1.05);
}

.logo-hover img:hover {
  transform: scale(1.08);
  transition: all 0.3s ease-in-out;
}

.transition-scale {
  transition: transform 0.3s ease-in-out;
}

.navbar .btn.transition-hover:hover {
  transform: scale(1.05);
  font-weight: bold;
}



/* Statistik */
#lsp-stats {
  background-color: #310202;
  overflow: hidden;
}

#lsp-stats .bg-overlay {
  background: url('../assets/images/peta_indonesia.png') center center / contain no-repeat;
  opacity: 0.08;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#lsp-stats .container {
  position: relative;
  z-index: 2;
}

#lsp-stats h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

#lsp-stats p {
  font-size: 1.1rem;
  opacity: 0.9;
}


/* Register */
.register-section {
    min-height: 110vh;
    background-image: url('../assets/images/bg_welding.jpg'); /* ganti sesuai nama file kamu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* lapisan gelap */
    z-index: 1;
}

.register-section .container {
    position: relative;
    z-index: 2;
}

.card.bg-opacity-75 {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px);
    border-radius: 12px;
}





.client-logo {
    transition: 0.3s;
    filter: grayscale(100%);
}
.client-logo:hover {
    filter: grayscale(0%);
}
.client-slider img {
    max-height: 80px;
    object-fit: contain;
    padding: 0 10px;
}

.carousel-caption-custom {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 10;
    text-align: left;
    color: white;
}
.carousel-caption-custom h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px #000;
}
.carousel-caption-custom h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px #000;
}
.carousel-caption-custom p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px #000;
}
.carousel-caption-custom .btn {
    margin-top: 20px;
}

/* Skema Sertifikasi */
#skema-sertifikasi .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#skema-sertifikasi .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Posisi Pengelasan */
/* Atur tampilan slide Swiper */
#posisi-pengelasan .swiper {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#posisi-pengelasan .swiper-slide {
  width: auto;
}

#posisi-pengelasan .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#posisi-pengelasan .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}




/* Logo Client */
.client-logo {
    max-height: 150px; /* Ubah sesuai keinginan: 40px, 50px, dll */
    width: auto;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.5); /* efek zoom sedikit saat hover (opsional) */
}

/* Footer Styles */
footer {
  background-color: #310202;
  color: #ffff;
  font-size: 14px;
}

footer .text-footer {
  color: #fff;
  text-decoration: none;
}

footer .text-footer:hover {
  text-decoration: underline;
}

footer .border-footer {
  border-color: rgba(163, 5, 6, 0.2);
}


/* Button Back to Top */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 999;
  width: 45px;
  height: 45px;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  background-color: #a30506;
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#backToTop:hover {
  background-color: #870404;
}


/* ReCaptha */
.btn-close {
  z-index: 10;
}



/* NAVBAR ASESI */
/* Custom navbar dengan latar #310202 */
.custom-navbar {
    background-color: #310202 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Warna teks putih */
.custom-navbar .nav-link,
.custom-navbar .navbar-brand {
    color: #fff !important;
}

.custom-navbar .dropdown-menu-dark {
    background-color: #4a0d0e; /* sedikit lebih terang untuk dropdown */
}

.custom-navbar .dropdown-item {
    color: #fff;
}

.custom-navbar .dropdown-item:hover {
    background-color: #a30506;
    color: #fff;
}

/* Sidebar */
.sidebar {
  min-height: 100vh;
}



/* HALAMAN SELAYANG PANDANG */
/* Jarallax.Js */
.jarallax {
  position: relative;
  overflow: hidden;
}

.jarallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Card */
.card-book {
  background: #fff;
  border: 3px double #a30506;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 576px) {
  .card-book {
    padding: 2rem 1rem;
  }
}


.text-justify {
  text-align: justify !important;
}

.text-shadow {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}


.card-book:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.3);
}

/* fix untuk lapisan di atas jarallax */
.z-2 {
  z-index: 2;
  position: relative;
}


.btn-preview {
  background-color: #dc3545;
  color: #fff;
  border: 1px solid #dc3545;
  transition: all 0.3s ease;
}

.btn-preview:hover {
  background-color: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
}

.btn-download {
  background-color: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background-color: #dc3545;
  color: #fff;
}


/* HALAMAN NAVBAR ASESI */
/* Navbar hover effect */
.navbar-nav .nav-link,
.navbar-nav .dropdown-item {
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  font-weight: bold;
  transform: scale(1.05);
  color: #ffc107 !important; /* atau sesuaikan warna */
}

/* Highlight active link (opsional) */
.navbar-nav .nav-link.active {
  font-weight: bold;
}

/* Dropdown menu smooth transition */
.dropdown-menu {
  transition: all 0.3s ease-in-out;
}

/* Foto profil responsive */
.navbar .rounded-circle {
  object-fit: cover;
  transition: all 0.3s ease;
}

.navbar .rounded-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* HALAMAN SIDEBAR ASESI */
/* === Sidebar Box Styling === */
.sidebar-box {
  background-color: #f8f9fa;
  min-height: 100vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* shadow efek */
  padding: 1.5rem 1rem;
  transition: box-shadow 0.3s ease;
  z-index: 1;
}

/* === Sidebar Nav Items === */
.sidebar-box .nav-link {
  color: #333;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
}

/* === Hover effect === */
.sidebar-box .nav-link:hover {
  background-color: #eaeaea;
  font-weight: bold;
  transform: scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  color: #a30506;
}

/* === Border / Driver === */
.sidebar-box h5 {
  border-bottom: 2px solid #a30506;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* HALAMAN SKEMA SERTIFIKASI */
.text-shadow {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
.card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.btn-outline-danger {
  transition: all 0.3s ease;
}
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

/* SCROLL BAR PADA TABEL */
.scroll-container {
    max-height: 500px; /* Atur tinggi sesuai kebutuhan */
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 5px;
}


/* SCROLL BAR PADA TABEL */
.card {
    border: 1px solid #ddd;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


