body {
    font-family: 'Noto Sans', sans-serif;
    background-image: url('/images/bg23.svg');
    background-repeat: no-repeat;
    background-size: cover; /* Adjust as needed */
}

/* Base Navbar styling: transparent background, white text */
.navbar {
    position: absolute;
    background-color: transparent;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  
  /* Styles when navbar has the 'scrolled' class */
  .navbar.scrolled .navbar-toggler {
    color: black;
    /* Optionally, change background color if desired */
    /* background-color: #ffffff; */
  }
  
  .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }
  
  .navbar-brand{
    font-size: 24px;
    font-weight: bolder;
  }
  .navbar-brand,
  .nav-link {
    color: white !important;
  }
  
  /* Remove the default dropdown arrow */
  .dropdown-toggle::after {
    display: none;
  }
  
  /* Show dropdown menu on hover */
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .nav-item {
    margin: 10px;
    margin-right: 15px;
  }
  
  .logo {
    width: 50px;
    height: 50px;
  }
  
  /* Scrolled state: white background, black text, fixed position with animation */
  #mainNavbar.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    animation: slideDown 0.5s ease forwards;
  }
  #mainNavbar, 
#mainNavbar * {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

  #mainNavbar.scrolled .navbar-brand,
  #mainNavbar.scrolled .nav-link {
    color: black !important;
  }
  
  /* Slide-down animation keyframes */
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  
  .gradient-text {
    background: linear-gradient(to right, #ffffff, #cccccc); /* White to Light Gray gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional for better readability */
}

.text-more{
    text-decoration: underline;
    color: white;
}  
.berita{
    color: white;
    margin-top: 20px;
    margin-bottom: 60px;
    margin-left: 20px;
    font-weight: bold;
    font-size: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional for better readability */
}
/* Carousel Sizing */
.carousel {
    width: 100%;
    height: 660px;
    margin: 0 auto;
  }
@media screen and (max-width: 375px) {
  .navbar-brand{
    font-size: 15px !important;
  }
}
@media screen and (max-width: 1023px) {
    .carousel {
        width: 100%;
        height: 100%;
        margin: 0 auto;
      }
      .berita{
        margin-top: 20px;
        margin-bottom: 30px;
        margin-left: 20px;
        font-size: 28px;
    }
    .navbar-brand{
        font-size: 20px;
    }
    .navbar-collapse {
      background-color: #ffffff !important; /* White background for the expanded menu */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
    }
    .navbar-nav .nav-link {
      color: #000000 !important; /* Black text for links */
  }
  
  .navbar-nav .nav-link:hover {
      color: #007bff !important; /* Optional hover effect for links */
  }
  /* Style for the Navbar Toggler Icon */
.navbar-toggler {
  background-color: transparent; /* Keep the button transparent */
  border: none; /* Remove default border */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* White icon */
}

.navbar-toggler:focus {
  box-shadow: none; /* Remove focus outline */
}

/* Bold dropdown toggle text */
.navbar-toggler {
  font-weight: bold; /* Add bold style to the toggle button text */
  color: white; /* Make the text white */
}

}
.carousel-inner {
  width: 100%;
  height: 100%;
}
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


/* Carousel Counter */
.carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
}

/* News Section */
.news-section {
  padding: 60px 0;
}
.news-item {
  margin-bottom: 30px;
}
/* Add shadow, rounded corners, and margin for news items */
.news-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Inner padding for better spacing */
    background-color: #ffffff; /* Background color for clarity */
    margin-bottom: 20px; /* Space between news items */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effect transition */
  }
  
  /* Hover effect for news items */
  .news-item:hover {
    transform: translateY(-5px); /* Lift the card slightly */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Slightly darker shadow */
  }
  
  /* Add margin for smaller screens */
  @media (max-width: 768px) {
    .news-item {
      margin: 20px; /* Add margin on smaller screens */
    }
  }
  
/* Organization Structure */
.org-structure {
    padding: 60px 0;
    background-color: #f8f9fa;
  }
  
  /* Box styling */
  .org-box {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 14px; /* Ensure text fits in smaller boxes */
  }
  
  /* Hover effect */
  .org-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Ensure consistent sizing and alignment on small screens */
  @media (max-width: 576px) {
    .org-box {
      padding: 10px; /* Reduce padding for smaller screens */
      font-size: 12px; /* Adjust font size */
    }
  }
  
/* Footer */
footer {
  background-color: #343a40;
  color: #ffffff;
  padding: 40px 0;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    overflow: hidden;
    --progress-height: 0%;
  }

  
  /* Progress bar effect */
  #scrollToTop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--progress-height);
    background: rgba(255, 255, 255, 0.3);
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    transition: height 0.1s;
    z-index: -1;
  }
/*Dedicated news */
  .news-page h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.news-page .card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-page .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.spacer {
  margin-top: 70px; /* Adjust based on your navbar height */
}
/* Dedicated Navbar for Berita Page */
/* Dedicated Navbar for Berita Page */
.berita-navbar {
  background-color: #ffffff; /* White background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Black text for nav-links */
.berita-navbar .nav-link {
  color: #000000 !important; /* Force black text */
  transition: color 0.3s ease;
}


/* Dropdown links */
.berita-navbar .dropdown-item {
  color: #000000 !important; /* Black dropdown links */
}

.berita-navbar .dropdown-item:hover {
  background-color: #f8f9fa; /* Light hover effect */
  color: #000000; /* Keep text black */
}
.berita-navbar .navbar-brand {
  color: #000000 !important; /* Force black text */
  font-weight: bold; /* Optional for emphasis */
  transition: color 0.3s ease; /* Smooth transition */
}
.headline-text {
  font-size: 50px; /* Make "Berita Terkini" large */
  font-weight: 600;
  text-align: center;
  color: #000; /* Black text */
  margin-bottom: 50px; /* Add spacing below */
}
/* Notices Section */
.notices-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 40px 20px; /* Vertical padding 40px, horizontal padding 20px */
    margin: 0 auto;
    max-width: 1200px; /* Optional: Limit maximum width for large screens */
}


.notices-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.notice-item {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.notice-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.notice-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.notice-description {
    color: #666;
}

.btn-link {
    font-weight: bold;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}
/* Layanan Section */
.layanan-section {

    border-radius: 10px;
    padding: 40px 20px;
}

.layanan-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Optional for better readability */
}
.layanan-section a{
    text-decoration: none;
    color: black;
}
.layanan-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.layanan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.layanan-item i {
    color: #3498db; /* Icon color, adjust as needed */
}
/* Assuming the form card is inside a container with class .complaint-section */
.complaint-section .card {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}


.card .form-label {
    color: #fff; /* White labels */
}
.blog_details p {
    color: #353535;            /* Softer gray color for readability */
    font-size: 1rem;        /* Base font size */
    line-height: 1.6;       /* Improved line height for readability */
    margin-bottom: 1rem;    /* Spacing between paragraphs */
}

.blog_details ul {
    color: black;            /* Same soft gray for list items */
    padding-left: 20px;     /* Indentation for list items */
    margin-bottom: 1rem;
    font-weight: bold;
}

.blog_details ul li {
    margin-bottom: 0.5rem;  /* Space between list items */
}

.blog_details h2 {
    margin-bottom: 1.5rem;  /* Space below the heading */
}
.text-white{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Optional for better readability */
}

