  :root {
      --primary-color: #198754;
      --primary-dark: #146c43;
      --secondary-color: #f6ff00;
      --accent-color: #20c997;
      --dark-bg: #0d1117;
      --dark-surface: #161b22;
      --dark-border: #30363d;
      --dark-text: #e6edf3;
      --light-bg: #ffffff;
      --light-surface: #f8f9fa;
      --light-boarder: #dee2e6;
      --light-text: #212529;
      --shadow-light: rgba(0, 0, 0, 0.1);
      --shadow-dark: rgba(0, 0, 0, 0.3);    
      --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
      --gradient-hero: linear-gradient(135deg, rgba(25, 135, 84, 0.9), rgba(32, 201, 151, 0.8));
  }
  * {
      transition: all 0.5s ease;
      font-family: Arial;
  }
  body {
      font-family: 'Inter', sans-serif;
      background-color: var(--light-bg);
      color: var(--light-text);
      overflow-x: hidden;
  }
  body.dark-mode {
      background-color: var(--dark-bg);
      color: var(--dark-text);
  }
  /* Navbar Styles */
  .navbar {
      backdrop-filter: blur(20px);
      background: rgba(25, 135, 84, 0.95) !important;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
  }
  .dark-mode .navbar {
      background: rgba(13, 17, 23, 0.95) !important;
      border-bottom: 1px solid var(--dark-border);
  }
  .navbar.scrolled {
      background: rgba(25, 135, 84, 0.98) !important;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  .dark-mode .navbar.scrolled {
      background: rgba(13, 17, 23, 0.98) !important;
  }
  .navbar-brand {
      animation: slideInLeft 0.8s ease-out;
  }
  .logo {
      background: linear-gradient(135deg, #ffffff, #f8f9fa);
      border: 3px solid rgba(255, 255, 255, 0.3);
      position: relative;
      overflow: hidden;
      display:none;
      
  }
  .logo::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transform: rotate(45deg);
      animation: shimmer 3s infinite;
  }

  .fw-semibold{
   display:none;
  }
  @keyframes shimmer {
      0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  }
  .navbar-nav .nav-link {
      position: relative;
      font-weight: 500;
      padding: 0.5rem 1rem !important;
      border-radius: 8px;
      color: rgba(255, 255, 255, 0.9) !important;
  }
  .navbar-nav .nav-link::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--secondary-color);
      transition: all 0.3s ease;
      transform: translateX(-50%);
  }
  .navbar-nav .nav-link:hover::before {
      width: 80%;
  }
  .navbar-nav .nav-link:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-2px);
  }
  /* Dark Mode Toggle */
  .dark-mode-toggle {
      background: none;
      border: 2px solid rgba(255, 255, 255, 0.3);
      color: white;
      border-radius: 50px;
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  .dark-mode-toggle:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.1);
  }
  /* Alert Styles */
  .alerta {
      position: fixed;
      z-index: 1050;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 500px;
      backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      animation: slideDown 0.5s ease-out;
  }
  .dark-mode .alerta {
      background: rgba(22, 27, 34, 0.95);
      border: 1px solid var(--dark-border);
  }
  @keyframes slideDown {
      0% {
          transform: translateX(-50%) translateY(-100px);
          opacity: 0;
      }
      100% {
          transform: translateX(-50%) translateY(0);
          opacity: 1;
      }
  }
  .dark-mode .berita {
      background: var(--dark-surface);
  }
  .dark-mode .card-berita {
      background: var(--dark-bg);
      border: 1px solid var(--dark-border);
      box-shadow: 0 10px 30px var(--shadow-light);
  }
  .card-body {
      padding: 2rem;
  }
  .dark-mode .card-title {
      color: var(--dark-text);
  }
  .card-text {
      color: #6c757d;
      line-height: 1.6;
      margin-bottom: 1.5rem;
  }
  .dark-mode .card-text {
      color: #8b949e;
  }
  .btn-success.detail {
      background: var(--gradient-primary);
      border: none;
      padding: 0.75rem 2rem;
      border-radius: 50px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-size: 0.9rem;
      position: relative;
      overflow: hidden;
  }
  .btn-success.detail::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 1s ease;
  }
  .btn-success.detail:hover::before {
      left: 100%;
  }
  .btn-success.detail:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(25, 135, 84, 0.4);
  }

  @media screen and (max-width:991px){
      .logo{
        display:inline-block;
      }
  }
  /* Responsive Design */
  @media (max-width: 768px) {
      .navbar-brand {
          flex-direction: column;
          align-items: flex-start;
          width: auto;
      }
      .navbar-brand span {
          font-size: 0.8rem !important;
          width: auto !important;
      }
      .logo {
          width: 40px;
          height: 40px;
      }
      .bgHeader {
          background-attachment: scroll;
          min-height: 90vh;
      }
      .alerta {
          width: 95%;
          top: 70px;
      }
  }
  @media screen and (max-width: 480px) {
    .da
    .fixedNav{
        display:block;
    }
      .container {
          padding: 0 1rem;
      }
      .card-body {
          padding: 1.5rem;
      }
      .header {
          padding: 0 1rem;
      }
      .bgHeader{
        height: 100vh;
    }
  }
  /* Loading Animation */
  .loading-animation {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--gradient-primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
      z-index: 9999;
  }
  .loading-animation.active {
      transform: scaleX(1);
  }
  /* Scroll to top button */
  .scroll-to-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 50px;
      height: 50px;
      background: var(--gradient-primary);
      border: none;
      border-radius: 50%;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1000;
  }
  .scroll-to-top.visible {
      opacity: 1;
      visibility: visible;
  }
  .scroll-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(25, 135, 84, 0.4);
  }

  footer{
    width: 100vw;
    height: auto;
    background-color: #004956;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  footer section{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0;
    padding: 4rem 0;
    flex: 1;
  }
  .logoFooter{
    background-color: var(--primary-color);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px white;
  
  }
  .kontakAndMedia ul{
    list-style: none;
    width:auto;
   
  }
  .kontakAndMedia ul li{
    width: 100%;
  }
  .kontakAndMedia ul li h5{
     padding: 0;
    margin: 0;
    font-size: 1.2rem;
  }
  .kontakAndMedia ul li table{
    color: rgb(236, 236, 236);
    width:100%;
  }
  .kontakAndMedia .media{
    color: white;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
  }
  .kontakAndMedia .media li{
    margin: 0;
    padding: 0;
    width: auto;
  }
  .kontakAndMedia .media li a{
    color: white;
    font-size: 1.7rem;
    transition: all 0.3s ease;
  }
  .kontakAndMedia .media li a:hover{
    color: var(--secondary-color);
    font-size: 1.8rem;
  }
  .kontakAndMedia h5{
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    
  }

 .link{
    width: auto;
    height: auto;
  }

  .link h5{
    font-weight: bold;
    color: white;
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
  }
  .link ul {
    list-style: none;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
  }
  .link ul li a{
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
  }
  .link ul li a:hover{
    text-shadow: 0 0 5px white;
    border-bottom: 1px solid white;
  }
.footerCopyRight{
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    background-color: aliceblue;
    
}
.dark-mode .footerCopyRight{
    background-color: var(--dark-bg);
}


.fixedNav{
    width: 100vw;
    height: auto;
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 10000000;
}
.navFixed {
    width: 100vw;
    height: auto;
    background-color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navFixed section{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.navFixed section .card-nav{
    width: auto;
    height: auto;
}
.navFixed section .card-nav a{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    line-height: 1rem;
    color: #04b482;
}
.navFixed section .card-nav a span{
    width: auto;
    height: auto;
    font-size: 1rem;
     padding: 0.5rem 0.5rem;
        border-radius: 10px;
        transition: all 0.3s ease;
}
.navFixed section .card-nav a span.active{
    transform: scale(1);
    box-shadow: 0 0 8px -1px rgb(15, 220, 114);
    border: 1px solid rgb(2, 197, 125);
}
.navFixed section .card-nav a span:hover{
    transform: scale(1.2);
    box-shadow: 0 0 5px -1px rgb(124, 124, 124);
}
.navFixed section .card-nav a small{
    font-size: 0.6rem;
    margin-top: 1px;
}
.dark-mode .navFixed{
    background-color: black;
}
.dark-mode .navFixed section .card-nav a small{
    color:white;
}

@media screen and (max-width:768px) {
    footer section{
        flex-direction: column;
        align-items: flex-start;
    }
    .kontakAndMedia{
        flex-direction: column;
    }
    .logoFooter{
        align-self: center;
    }
    .footerCopyRight{
        font-size: 1rem;
    }
    .link ul li a{
        font-size: 1rem;
        font-family: sans-serif;
    }
}
@media screen and (max-width:483px) {
footer section{
    flex-direction: column;
    align-items: flex-start;
}
.kontakAndMedia{
    flex-direction: column;
}
.logoFooter{
    align-self: center;
    margin: 2rem 0;
}
.kontakAndMedia ul li table tr td{
    font-size:0.9rem;
    backdrop-color:white;
}
.kontakAndMedia ul li{
    margin-bottom:1.3rem;
}
.kontakAndMedia ul li .media li a{
    font-size:1.2rem;
}
.link ul li a{
    font-size:0.9rem;
    font-weight:norma;
    letter-spacing:2px;
}

.header article a{
    font-size:1.5rem;
}
.fixedNav{
    display:block;
}
}

