 :root {
            --teal: #339966;
            --accent: #FFC700;
            --dark-text: #2C3E50;
            --light-bg: #ECF0F1;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light-bg);
            color: var(--dark-text);
        }

        .navbar-brand {
            font-weight: 700;
            color: var(--teal) !important;
        }

        .bg-teal {
            background-color: var(--teal) !important;
        }

        .text-teal {
            color: var(--teal) !important;
        }

        .btn-accent {
            background-color: var(--accent);
            border-color: var(--accent);
            color: var(--dark-text);
            font-weight: 600;
            padding: 10px 25px;
            transition: all 0.3s ease;
        }

        .btn-accent:hover {
            background-color: #ffda47;
            border-color: #ffda47;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        



.hero-section {
  position: relative;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.6s ease-in-out;
  overflow: hidden;
}

/* 🌅 Overlay lembut di atas gambar */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 90%
  );
  z-index: 1;
}

/* 💎 Caption full width dengan teal super transparan */
.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: rgba(0, 128, 128, 0.35); /* 🌊 Warna teal transparan lembut */
  backdrop-filter: blur(2px) 
  saturate(140%);
  -webkit-backdrop-filter: blur(2px) saturate(140%);
  text-align: center;
  padding: 10px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 1.2s ease both;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ✍️ Isi caption */
.caption-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}
.caption-inner h1 {
    font-size: 18px;
  }

  .caption-inner p {
    font-size: 12px;
  }

/* ✨ Animasi muncul halus */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Responsif */
@media (max-width: 768px) {
  .hero-section {
    justify-content: center;
  }

  .carousel-caption-custom {
    position: static;
    background: rgba(0, 128, 128, 0.45); /* sedikit lebih pekat di mobile */
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    padding: 20px;
  }

  .caption-inner h1 {
    font-size: 1rem;
  }

  .caption-inner p {
    font-size: 0.5rem;
  }
}

/* 🎨 Tombol */
.btn-accent {
  background-color: #ffffff;
  color: #006f6f;
  border: none;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: #00a0a0;
  color: #fff;
  transform: scale(1.05);
}











/* Navbar default */
.navbar {
    background-color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Navbar link */
.navbar-nav .nav-link {
    color: #333;
    transition: color 0.3s ease, background 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #008080;
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(5px);
    opacity: 0;
    display: block;
    visibility: hidden;
}

.nav-item.dropdown:hover > .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Dropdown items */
.dropdown-item {
    padding: 10px 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #008080;
    color: #fff;
}

/* Tombol Translate */
.btn-outline-teal {
    border-color: #008080;
    color: #008080;
}

.btn-outline-teal:hover {
    background-color: #008080;
    color: #fff;
}

/* Tombol Register */
.btn-warning {
    font-weight: 600;
}





/* Responsif */
@media (max-width: 991.98px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}



      

        .feature-icon {
            font-size: 3rem;
            color: var(--teal);
        }
        
        .card {
            border: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .card-title a {
            text-decoration: none;
            color: inherit;
        }
        
        .card-title a:hover {
            color: var(--teal);
        }
        
        .news-tag {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--teal);
            text-transform: uppercase;
        }
/* Dropdown multi-level: submenu ke bawah */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu > .dropdown-menu {
    display: none;
    position: relative;   /* biar ikut mengalir ke bawah */
    margin-left: 6rem;    /* kasih indent agar terlihat child */
  }
  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

  /* ===== Footer Menu Bottom ===== */
  #menubottom {
    background: #f8f9fa; /* abu muda */
    color: #333;
    font-size: 14px;
  }

  #menubottom h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--teal) !important; /* biru gelap */
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  #menubottom ul li {
    margin-bottom: 6px;
  }

  #menubottom a {
    color: #555;
    transition: all 0.2s ease-in-out;
  }

  #menubottom a:hover {
    color:  var(--teal) !important; /* biru bootstrap */
    text-decoration: underline;
  }

  /* Social media icon */
  #menubottom .bi {
    color: #002855;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  #menubottom .bi:hover {
    color:  var(--teal) !important;
    transform: scale(1.1);
  }

  /* Accordion (mobile) */
  #menubottom .accordion-button {
    font-weight: 600;
    color: #002855;
    background: #f8f9fa;
  }

  #menubottom .accordion-button:focus {
    box-shadow: none;
  }

  #menubottom .accordion-body a {
    color: #555;
    font-size: 14px;
  }

  #menubottom .accordion-body a:hover {
    color: #0d6efd;
  }

  /* Footer kecil */
  #menubottom small a {
    color: #666;
    margin: 0 4px;
  }

  #menubottom small a:hover {
    color: #0d6efd;
  }

  /* Responsive spacing */
  @media (max-width: 768px) {
    #menubottom {
      text-align: left;
    }
    #menubottom h3 {
      margin-top: 10px;
    }
  }
  
  .card-img-fixed {
    width: 100%;        /* penuh sesuai card */
    height: 200px;      /* tinggi tetap, bisa disesuaikan */
    object-fit: cover;  /* crop gambar agar proporsional */
}
.card-img-wrapper {
    width: 100%;
    height: 200px;        /* tinggi tetap untuk semua card */
    overflow: hidden;     /* sembunyikan bagian gambar yang berlebih */
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* crop gambar agar proporsional */
    object-position: center; /* fokus gambar di tengah */
}

@media (max-width: 768px) {
    .card-img-fixed {
        height: 150px;
    }
}




.testimonial-img {
  width: 120px;            /* ukuran tetap */
  height: 120px;
  margin: 0 auto;          /* posisikan di tengah */
  border-radius: 50%;      /* lingkaran */
  overflow: hidden;        /* sembunyikan bagian luar lingkaran */
  border: 3px solid #ddd;  /* opsional: garis pinggir */
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crop agar proporsional */
  object-position: center; /* fokus di tengah */
}

@media (max-width: 576px) {
  .testimonial-img {
    width: 90px;
    height: 90px;
  }
}



  
  /* Berita */
  

      
       .page-header {
    background-color: var(--dark-text); /* fallback warna jika gambar gagal */
    background-image: url('gambar/header-bg.jpg'); /* ganti path sesuai gambar kamu */
    background-size: cover;       /* membuat gambar menutupi seluruh header */
    background-position: center;  /* posisikan gambar di tengah */
    background-repeat: no-repeat; /* jangan ulangi gambar */
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

/* Opsional: overlay gelap agar teks lebih terbaca */
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 1;
}

.page-header * {
    position: relative;
    z-index: 2; /* pastikan teks tetap di atas overlay */
}



        
        
        
        .card { border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
        .card-title a { text-decoration: none; color: inherit; }
        .card-title a:hover { color: var(--teal); }
        .news-tag { font-size: 0.8rem; font-weight: 600; color: var(--teal); text-transform: uppercase; }
        
        /* Berita Detail*/
      
        .article-meta { color: #6c757d; font-size: 0.9rem; }
        .article-body { line-height: 1.8; }
        .sidebar .widget { background-color: var(--light-bg); padding: 20px; border-radius: 5px; margin-bottom: 20px; }
        .sidebar .widget-title { font-weight: 700; color: var(--teal); border-bottom: 2px solid #ddd; padding-bottom: 10px; margin-bottom: 15px; }
        .sidebar ul { list-style: none; padding: 0; }
        .sidebar ul li a { text-decoration: none; color: var(--dark-text); transition: color 0.2s ease; }
        .sidebar ul li a:hover { color: var(--teal); }   
        
   /* kontak */
        .contact-info i { font-size: 1.5rem; color: var(--teal); }
        .form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 0.25rem rgba(0, 153, 153, 0.25); }
        .btn-accent { background-color: var(--accent); border-color: var(--accent); color: var(--dark-text); font-weight: 600; padding: 10px 25px; transition: all 0.3s ease; }
        .btn-accent:hover { background-color: #ffda47; border-color: #ffda47; }     
        
        
         /*tentang */
        
         .section-title { font-weight: 700; margin-bottom: 40px; text-align: center; }
        .visi-misi ul { list-style: none; padding-left: 0; }
        .visi-misi ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
        .visi-misi ul li::before { content: '\F26A'; font-family: 'Bootstrap-icons'; color: var(--teal); position: absolute; left: 0; }