@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
@font-face {
  font-family: 'Helvetica';
  font-style: normal;
  font-weight: normal;
  src: local('Helvetica'), url('fonts/Helvetica.woff') format('woff');
}
.text-custdanger{
  color: #ae3238 !important;
}
.no-border{
  border-radius: 0px !important;
}
.btn-custdanger {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ae3238;
  --bs-btn-border-color: #ae3238;
  --bs-btn-hover-color: #ae3238;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #b02a37;
  --bs-btn-focus-shadow-rgb: 225,83,97;
  --bs-btn-active-color: #ae3238;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ae3238;
  --bs-btn-disabled-border-color: #ae3238;
}
.btn-custwarning {
  --bs-btn-color: #000;
  --bs-btn-bg: #f3be4e;
  --bs-btn-border-color: #f3be4e;
  --bs-btn-hover-color: #f3be4e;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #f3be4e;
  --bs-btn-focus-shadow-rgb: 225,83,97;
  --bs-btn-active-color: #f3be4e;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #f3be4e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #f3be4e;
  --bs-btn-disabled-bg: #f3be4e;
  --bs-btn-disabled-border-color: #f3be4e;
}
.btn-custprimary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #07427b;
  --bs-btn-border-color: #07427b;
  --bs-btn-hover-color: #07427b;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #07427b;
  --bs-btn-focus-shadow-rgb: 225,83,97;
  --bs-btn-active-color: #07427b;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #07427b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #07427b;
  --bs-btn-disabled-bg: #07427b;
  --bs-btn-disabled-border-color: #07427b;
}
.informasi-item:hover{
  background-color: #87a7b7;
}
.regulasi-img-container img{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
body{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.form-floating input, .form-floating span{
  border-radius: 0px;
}
.form-floating > .form-control:focus {
  border-left: 4px solid #07427b;
}
p, .article-body li, .article-body span, .article-body td, .article-body label, .article-body input, .article-body textarea, .article-body select, .article-body option, .article-body button, .article-body a{
  font-family: "Helvetica", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}
.fs-7 {
  font-size: 0.8rem !important;
}
.fs-8 {
  font-size: 0.7rem !important;
}
.fs-9 {
  font-size: 0.6rem !important;
}
.fs-10 {
  font-size: 9px !important;
}
.card{
  border-radius: 15px !important;
}
.nav-link {
  padding: 10px;
  font-weight: 550 !important;
  font-size: 0.8rem;
  transition: color 0.3s ease, background-color 0.3s ease, text-shadow 0.3s ease; /* Smooth transitions */
}

.navbar {
  background-color: #07427b !important;
  border-bottom: 1px solid #FFFFFF;
  transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth transitions */
}

.navbar .logo-text,
.navbar .nav-link,
.navbar-toggler i {
  color: white;
  transition: color 0.3s ease; /* Smooth transition for text color */
}

.navbar .nav-link.active, .dropdown-item.active {
  background-color: #ae3238;
  color: white;
}

.navbar .nav-link:hover,
.navbar .nav-link.show {
  color: white !important;
  text-shadow: 0px 3px 8px #000;
}

.navbar .nav-link.active:hover {
  text-shadow: none;
}

.navbar-toggler {
  border: none;
}

.btn-search {
  margin-top: 5px;
  font-size: 1.2rem;
}

.btn-login {
  padding-left: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 8px;
  margin-top: 4px;
  background-color: #ae3238;
  border-radius: 5px;
  color: white;
  text-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Smooth transitions */
}

.btn-login:hover {
  color: #ae3238;
  border-color: #ae3238;
  border-width: 2px;
  background-color: white;
}

.dropdown-menu {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  border-radius: 0px !important;
  transition: background-color 0.3s ease; /* Smooth transition */
}

.dropdown-item {
  font-size: 0.8rem !important;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.dropdown-item:hover {
  background-color: #ae3238;
  color: white;
}

.nav-link:has(.btn-login),
.nav-link.btn-search {
  padding: 0px;
}

/* New styles for scrolled state */
.navbar.scrolled {
  background-color: white !important;
  border-bottom-color: #ddd; /* Lighter border for white background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-link:not(.active),
.navbar.scrolled .navbar-toggler i {
  color: black !important; /* Change text color to black */
}

.navbar.scrolled .nav-link.active, .navbar.scrolled .dropdown-item.active {
  background-color: #ae3238;
  color: white;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.show {
  color: #ae3238 !important; /* Hover color for scrolled state */
  text-shadow: none; /* Remove text shadow on hover for cleaner look */
}
.navbar.scrolled .navbar-toggler svg{
  color: black !important;
}

.navbar.scrolled .nav-link.active:hover {
  color: white !important;
  text-shadow: none;
}

.navbar.scrolled .btn-login {
  background-color: #ae3238; /* Keep login button style */
  color: white;
}

.navbar.scrolled .btn-login:hover {
  background-color: #f0f0f0; /* Lighter hover for scrolled state */
  color: #ae3238;
  border-color: #ae3238;
}

.navbar.scrolled .dropdown-menu {
  background-color: white; /* Dropdown background in scrolled state */
  border: 1px solid #ddd;
}

.navbar.scrolled .dropdown-item {
  color: black; /* Dropdown item text color in scrolled state */
}

.navbar.scrolled .dropdown-item:hover {
  background-color: #ae3238;
  color: white;
}
.hero-section {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url('https://placehold.co/1920x600/3498db/ffffff?text=Hero+Image'); /* Placeholder hero image */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center; /* Keep content vertically centered */
  min-height: 70vh; /* Minimum height for the hero section */
  text-align: right; /* Align text within the content to the right */
}

.hero-section h1 {
  margin-bottom: 1rem;
}
.title-front{
  width: auto;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  font-weight: bold;
  font-size: 1.6rem;
  background-color: white;
  white-space: nowrap;
}
.title-front-sm{
  display: block;
  width: fit-content;
  margin: auto;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid lightgrey;
  font-weight: bold;
  font-size: 1.6rem;
  background-color: white;
}
.title-front-2nd{
  color: #ae3238;
}
.item-front-img img{
  width: 60px;
  height: 60px;
}
.item-front{
  background-color: white;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
  border: 1px solid lightgrey;
}
@media (max-width: 768px) {
  .item-front-sm{
    width: 230px !important;
  }
}

.item-front-text a{
  color: #1C4278;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-section {
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 4rem; /* Adjust padding as needed */
  padding-bottom: 2rem;
  color: #fff; /* Default text color for the footer */
  border-radius: 0.5rem; /* Rounded corners for the footer */
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 35, 79, 0.85);
}

.footer-content {
  position: relative; /* Ensure content is above the overlay */
  z-index: 10;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: #a0aec0; /* Lighter color on hover */
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #a0aec0;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 200px;
  border: 0;
  border-radius: 0.5rem;
}

.footer-text {
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 0.7rem;
  }
}

@media (min-width: 992px) {
  .footer-text {
    font-size: 0.7rem;
  }
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-heading {
    font-size: 0.8rem;
  }
}
@media (min-width: 992px) {
  .footer-heading {
    font-size: 0.9rem;
  }
}
.card-item{
  background-color: white;
  border-radius: 20px;
  padding: 20px;
}
.pb-6{
  padding-bottom: 4rem !important;
}
.pb-7{
  padding-bottom: 5rem !important;
}
.pb-8{
  padding-bottom: 6rem !important;
}
.pb-9{
  padding-bottom: 7rem !important;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  background-color: #25D366; /* WhatsApp green */
  color: white;
  border-radius: 50%; /* Makes it circular */
  width: 55px; /* Width of the button */
  height: 55px; /* Height of the button */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; /* Icon size */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  z-index: 1000; /* Ensure it stays on top of other content */
  text-decoration: none; /* Remove underline */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smooth hover effect */
}

.whatsapp-button:hover {
  transform: scale(1.1); /* Slightly enlarge on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
  color: white; /* Keep icon white on hover */
}

/* Optional: Hide button on very small screens if desired */
@media (max-width: 480px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}

/* Disabilitas Button and Panel Styles */
.disabilitas-toggle-button {
  position: fixed;
  left: 0; /* Default: Aligned to the left edge */
  top: 50%; /* Vertically centered */
  transform: translateY(-50%); /* Adjust for perfect vertical centering */
  background-color: #07427b; /* Blue background, similar to image */
  color: white;
  padding: 10px 15px;
  border-top-right-radius: 8px; /* Rounded right corners */
  border-bottom-right-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1999; /* Below WhatsApp, but above content */
  font-weight: bold;
  text-decoration: none; /* Remove underline */
  transition: left 0.3s ease-in-out, background-color 0.3s ease, transform 0.3s ease; /* Add left to transition */
}
.disabilitas-toggle-button-log {
  left: auto !important;
  padding: 15px 10px !important;
  border-top-right-radius: 0px !important; /* Rounded right corners */
  border-bottom-right-radius: 0px !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  transition: right 0.3s ease-in-out, background-color 0.3s ease, transform 0.3s ease;
  right: 0;
}

.disabilitas-toggle-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-50%) scale(1.05);
  color: white; /* Keep text white on hover */
}

/* New class for the toggle button when panel is visible */
.disabilitas-toggle-button.flexed {
  left: 230px; /* Moves button to the right of the 230px wide panel */
}
.disabilitas-toggle-button-log.flexed {
  left: auto !important;
  right: 230px;
}
.disabilitas-panel {
  position: fixed;
  left: -250px; /* Initially hidden off-screen to the left */
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1998; /* Below toggle button */
  width: 230px; /* Fixed width for the panel */
  transition: left 0.3s ease-in-out; /* Smooth slide effect */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between buttons */
  border: 1px solid #ddd;
}
.disabilitas-panel-log {
  left: auto !important;
  right: -250px;
  transition: right 0.3s ease-in-out;
}

.disabilitas-panel.panel-visible {
  left: 0; /* Slide into view */
}
.disabilitas-panel-log.panel-visible {
  left: auto !important;
  right: 0px;
}

.disabilitas-panel h5 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.disabilitas-panel .btn-disabilitas {
  width: 100%;
  padding: 10px 15px;
  background-color: #07427b; /* A teal-like blue, similar to image */
  color: white;
  border: none;
  border-radius: 5px;
  text-align: left; /* Align text to left */
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px; /* Space between icon and text */
}

.disabilitas-panel .btn-disabilitas:hover {
  background-color: #138496; /* Darker teal on hover */
  transform: translateY(-2px); /* Slight lift effect */
}

.disabilitas-panel .btn-disabilitas i {
  font-size: 1.1rem;
}

.disabilitas-panel .btn-disabilitas.reset-button {
  background-color: #dc3545; /* Red for reset */
}

.disabilitas-panel .btn-disabilitas.reset-button:hover {
  background-color: #ae3238;
}

/* Optional: Hide button on very small screens if desired */
@media (max-width: 480px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
  .disabilitas-toggle-button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .disabilitas-panel {
    width: 200px;
    padding: 15px;
  }
  .disabilitas-panel .btn-disabilitas {
    font-size: 0.85rem;
  }
  /* Adjust button position for smaller panel on small screens */
  .disabilitas-toggle-button.flexed {
    left: 200px; /* Panel width for small screens */
  }
}
.btn-disabilitas.active-mode-suara {
  background-color: #25d366 !important; /* Green to indicate active */
}
html.grayscale-mode {
  filter: grayscale(100%);
}














.btn-outline-custprimary {
  border-style: dashed;
  --bs-btn-color: #07427b;
  --bs-btn-border-color: #07427b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #07427b;
  --bs-btn-hover-border-color: #07427b;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #07427b;
  --bs-btn-active-border-color: #07427b;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #07427b;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #07427b;
  --bs-gradient: none;
}
.informasi-container{
  border-radius: 5px;
  border-color: #07427b;
  border-style: solid;
  border-width: 1px;

  height: 400px;
  overflow-y: auto;
}
.modal-content-custom {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.modal-body-iframe {
  height: calc(100vh - 150px); /* Adjust height based on header/footer if present */
  width: 100%;
  border: none;
}
.pdf-item{
  cursor: pointer;
}
.youtube-item{
  cursor: pointer;
}
/* Loader CSS (add this to your custom.css or directly here) */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything */
}

.loader-wrapper {
  position: relative;
  width: 80px; /* Adjust size as needed */
  height: 80px; /* Adjust size as needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #07427b; /* Blue - The visible part of the spinner */
  border-radius: 50%;
  width: 100%; /* Take full width of parent */
  height: 100%; /* Take full height of parent */
  animation: spin 2s linear infinite;
  position: absolute; /* Position over the image */
}

.loader-image {
  width: 60px; /* Adjust size to be slightly smaller than spinner */
  height: 60px; /* Adjust size to be slightly smaller than spinner */
  border-radius: 50%; /* Make the image round */
  object-fit: cover; /* Ensures the image covers the area without distortion */
  z-index: 10000; /* Ensure image is above the spinner border */
  position: relative; /* Keep image in place */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}
.search-title{
  color: #07427b;
  cursor: pointer;
}