/* ========== GENERAL ========== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #333333;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #002147;
}

a {
  text-decoration: none;
  color: #002147;
}

a:hover {
  text-decoration: underline;
  color: #001533;
}

.text-primary {
  color: #002147 !important;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: #002147;
  border-color: #002147;
}

.btn-primary:hover {
  background-color: #001533;
  border-color: #001533;
}

/* ========== NAVBAR ========== */
/* Font brand STTII */
.navbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
}

.navbar-brand:hover {
  text-decoration: none !important;
}

/* Navbar link */
.navbar-nav .nav-link {
  position: relative;
  transition: background-color 0.3s ease;
  color: #ffffff;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none !important;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #cce6ff;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 0.5rem;
}

.dropdown-menu.show {
  display: block;
  opacity: 1;
}

/* Nested dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}

/* Ensure dropdown above all */
.navbar-nav .dropdown-menu {
  z-index: 9999;
}

/* ========== SLIDER ========== */
/* Fullscreen Carousel Setup */
#heroCarousel,
#heroCarousel .carousel-item {
  height: 100vh;
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100vh;
}

/* Caption Area - Posisikan ke Tengah Layar */
.carousel-caption {
  z-index: 2;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Judul Utama */
.carousel-caption h1,
.carousel-title {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Subjudul / Ayat */
.carousel-caption p,
.carousel-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #e6f0ff;
  background: rgba(0,0,0,0.4);
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
}

/* Overlay Gelap Transparan */
.hero-overlay {
  background: rgba(0, 33, 71, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/* ========== SECTION DIVIDER ========== */
.section-divider {
  border-top: 1px solid #e0e6f1;
  background-color: #f8f9fa;
}

.section-divider:nth-child(even) {
  background-color: #ffffff;
}

/* ========== PRODI ========== */
.card-prodi {
  background: #f1f5fb;
  color: #002147;
  border-radius: 10px;
}

.card-prodi .card-title {
  color: #0056b3;
  font-size: 1.3rem;
}

.card-prodi .card-text {
  font-size: 0.95rem;
  color: #333333;
}

/* ========== ABOUT IMAGE ========== */
.about-img-frame {
  border: 5px solid #e0e6f1;
  border-radius: 10px;
}

/* ========== EXPLORE ========== */
.explore-card {
  background: #f8f9fa;
  border-radius: 10px;
}

.explore-card h5 {
  color: #002147;
}

.explore-card p {
  color: #333333;
}

/* ========== FOOTER ========== */
.footer-title {
  color: #e6f0ff;
  font-weight: bold;
}

footer a {
  color: #f8f9fa;
}

footer a:hover {
  color: #cce6ff;
  text-decoration: underline;
}

/* ========== SOCIAL ICONS ========== */
.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (max-width: 768px) {
  .social-icons {
    flex-direction: row;
  }
}
