:root {
  --primary-color: #0c1e3b;
  --secondary-color: #0c1e3b;
  --accent-color: #fbbf24; /* Kuning cerah */
  --bg-light: #f8fafc;
  --text-dark: #0c1e3b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.navbar.fixed-top {
  margin-bottom: 0;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Kalau masih ada spasi tipis dari default Bootstrap */
header,
section:first-of-type {
  margin-top: -1px;
}

/* Atur jarak slider agar pas di bawah navbar */
.carousel {
  margin-top: 90px; /* sesuaikan tinggi navbar kamu */
}

header,
.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
  padding: 0 !important;
}


body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

/* NAVBAR */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand i {
  color: var(--accent-color);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 8px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--primary-color);
  color: var(--white) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
}

/* HERO SLIDER */
.hero-slider {
  height: 520px;
  overflow: hidden;
}

.carousel-item img {
  height: 520px;
  object-fit: cover;
  filter: brightness(70%);
}

.carousel-caption {
  bottom: 20%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 25px 30px;
  color: var(--white);
  animation: fadeUp 1s ease;
}

.carousel-caption h3 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent-color);
}

.carousel-caption p {
  font-size: 1rem;
  color: #f1f5f9;
}

@keyframes fadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* MENU ICON SECTION - versi proporsional dan responsif */
.menu-icon-section {
  border-radius: 25px 25px 0 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 50px 0;
}

.menu-icon-section .row {
  justify-content: center;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 10px;
  height: 150px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.menu-item img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.menu-item p {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

/* Hover efek */
.menu-item:hover {
  transform: translateY(-6px);
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(12, 30, 59, 0.25);
}

.menu-item:hover img {
  transform: scale(1.15);
  filter: brightness(0) invert(1);
}

.menu-item:hover p {
  color: var(--accent-color);
}

/* Responsif */
@media (max-width: 992px) {
  .menu-item {
    height: 130px;
    padding: 15px;
  }
  .menu-item img {
    width: 50px;
    height: 50px;
  }
  .menu-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .menu-item {
    height: 110px;
  }
  .menu-item img {
    width: 45px;
    height: 45px;
  }
  .menu-item p {
    font-size: 0.85rem;
  }
}

/* SECTION TITLE */
.section-title {
  position: relative;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  padding-bottom: 10px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent-color);
}

/* CARD (Berita & Event) */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.2);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.badge {
  font-size: 0.8rem;
  border-radius: 8px;
  padding: 6px 10px;
}

/* EVENT CARD */
.event-card {
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.event-card:hover {
  border-left-color: var(--accent-color);
  background-color: #f9fafb;
}

.event-time {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  color: #e2e8f0;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.social-icons a {
  display: inline-block;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin-right: 10px;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-4px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 10%;
    padding: 15px;
  }

  .carousel-caption h3 {
    font-size: 1.4rem;
  }

  .menu-item img {
    width: 50px;
    height: 50px;
  }

  .menu-item p {
    font-size: 0.8rem;
  }
}


/* Saat navbar di-scroll */
.navbar.navbar-scrolled .nav-link {
  color: #ffffff !important;
}

.navbar.navbar-scrolled .nav-link:hover,
.navbar.navbar-scrolled .nav-link.active {
  background-color: var(--accent-color);
  color: var(--text-dark) !important;
}

.navbar.navbar-scrolled .navbar-brand {
  color: #ffffff !important;
}

.navbar.navbar-scrolled .navbar-brand i {
  color: var(--accent-color);
}



/* PROFILE */
/* .page-header {
  background: linear-gradient(rgba(12,30,59,0.85), rgba(12,30,59,0.85)),
              url('img/header-bg.jpg') center/cover no-repeat;
  padding: 120px 0 100px;
  color: #fff;
}

.page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-color);
} */

/* ===== HEADER STYLE ===== */
.page-header {
    background: #152658;
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    /* margin-bottom: 60px; */
}

.page-header h1 {
    font-weight: 700;
    font-size: 2.8rem;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
}

.page-header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    border-radius: 2px;
}

/* ===== CONTENT STYLE ===== */
.visi-misi-section {
    max-width: 900px;
    margin: 0 auto;
}

.visi-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.visi-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.visi-box h3 {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 15px;
}

.visi-box p {
    line-height: 1.7;
    color: #555;
}

.misi-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.misi-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: #444;
    line-height: 1.7;
}

.misi-list li::before {
    content: "\f26a"; /* icon bi-check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: #198754;
    font-size: 1.2rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .page-header h1 {
    font-size: 2rem;
    }
}

/* PROFIL SECTION */
.profile-image-wrapper img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.profile-image-wrapper img:hover {
  transform: scale(1.05);
}

.profile-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

/* Breadcrumb */
.breadcrumb {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: #f1f5f9;
    backdrop-filter: blur(6px);
    text-align: center;
    transition: all 0.3s ease;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
