/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #ffffff;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
  font-family: "Poppins", sans-serif;
}

.tab-pane.active {
  animation: slide-down 1s ease-out;
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #acabb9;;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  /*background: #1800a3;*/
  background: #e6a417;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: transparent;
}

/* Header transparan hanya jika class 'home' ada di body */
body.home #header.header-transparent {
  background: transparent;
}

/* Selain halaman home — header langsung berwarna gelap */
body:not(.home) #header {
  background: rgba(236, 157, 11, 0.9) !important;
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px 7px 15px;
  margin-left: 5px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  border-radius: 50px;
}

.navbar a i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  background: #e6a417;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 5px;
  top: calc(100% + 30px);
  margin: 5px 0 0 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 15px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #2a2c39;
  margin: 0 5px;
  font-size: 14px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #fff;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(20, 21, 28, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  margin: 5px;
  font-size: 15px;
  color: #2a2c39;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #fff;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
  color: #fff;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}


.hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
}

.wave1 use {
  -webkit-animation: move-forever1 10s linear infinite;
  animation: move-forever1 10s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.wave2 use {
  -webkit-animation: move-forever2 8s linear infinite;
  animation: move-forever2 8s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

.wave3 use {
  -webkit-animation: move-forever3 6s linear infinite;
  animation: move-forever3 6s linear infinite;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}

@-webkit-keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@-webkit-keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@-webkit-keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 60px;
  height: 1px;
  display: inline-block;
  background: #e6a417;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #e6a417;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding-top: 80px;
}

.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #1800a3;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: #e6a417;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #1800a3;
}

.about .content .btn-learn-more:hover {
  background: #e6a417;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.fasilitas {
  padding-top: 80px;
}

.fasilitas .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.fasilitas .content ul {
  list-style: none;
  padding: 0;
}

.fasilitas .content ul li {
  padding-left: 28px;
  position: relative;
}

.fasilitas .content ul li + li {
  margin-top: 10px;
}

.fasilitas .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #e6a417;
  line-height: 1;
}

.fasilitas .content p:last-child {
  margin-bottom: 0;
}

.fasilitas .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: #e6a417;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #1800a3;
}

.fasilitas .content .btn-learn-more:hover {
  background: #e6a417;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  border: 1px solid #d4d6df;
  padding: 15px;
  transition: 0.3s;
  color: #ffffff;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: #e6a417;
}

.features .nav-link.active {
  background: #e6a417;
  color: #fff;
  border-color: #e6a417;
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }
  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  font-weight: 600;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #e6a417;
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  margin-top: 70px;
  background: #f7f8f9;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 992px) {
  .breadcrumbs ol {
    margin-top: 10px;
  }
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #404356;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/* ==========================================================
   CUSTOM FOOTER WARNA OREN - MB
   ========================================================== */
.footer {
  background: #fffaf0 !important; /* oranye lembut */
  padding: 0 0 30px 0 !important;
  font-size: 14px !important;
}

.footer .footer-top {
  background: #fff no-repeat right top !important;
  background-size: contain !important;
  border-top: 1px solid #f5deb3 !important;
  border-bottom: 1px solid #f5deb3 !important;
  padding: 60px 0 30px 0 !important;
}

.footer .footer-top .footer-info .logo span {
  color: #e6a417 !important;
  font-weight: 700 !important;
}

.footer .footer-top h4 {
  color: #e6a417 !important;
  text-transform: uppercase;
  font-weight: 700 !important;
}

.footer .footer-top .footer-links ul a {
  color: #5a4600 !important;
  transition: 0.3s;
}

.footer .footer-top .footer-links ul a:hover {
  color: #e6a417 !important;
}

.footer .footer-top .social-links a {
  color: rgba(230, 164, 23, 0.5) !important;
}

.footer .footer-top .social-links a:hover {
  color: #e6a417 !important;
}

.footer .copyright {
  text-align: center;
  color: #5a4600 !important;
}

.footer .copyright span {
  color: #e6a417 !important;
  font-weight: 600 !important;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: auto;
  border-radius: 15px;
  background: #fff;
  transition: 0.5s;
}


.team .member .pic {
  overflow: hidden;
  width: 40%;
  border-radius: 50%;
  background-size: contain; /* try other properties here like cover, contain, etc */
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.team .member .picc {
  overflow: hidden;
  width: 50%;
  border-radius: 50%;
  background-size: contain; /* try other properties here like cover, contain, etc */
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.team .member .pic img {
  transition: ease-in-out 0.3s;
}

.team .member:hover {
  transform: translateY(-10px);
}

.team .member .member-info {
  padding-left: 30px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #37517e;
}

.team .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 0;
}

.team .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.team .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.ic {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ic a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.ic a i {
  color: #37517e;
  font-size: 16px;
  margin: 0 2px;
}

.ic a:hover {
  background: #ffffff;
}

.ic a:hover i {
  color: #fff;
}

.ic a + a {
  margin-left: 8px;
}

.team .member .social a i {
  color: #37517e;
  font-size: 16px;
  margin: 0 2px;
}

.team .member .social a:hover {
  background: #ffffff;
}

.team .member .social a:hover i {
  color: #fff;
}

.team .member .social a + a {
  margin-left: 8px;
}

#hero {
  overflow: visible !important;
}

.hero-waves {
  position: relative;
  z-index: 3;
  display: block;
}

/* === FIX HEADER & HERO TANPA CELAH === */

/* Pastikan header benar-benar menempel di atas */
#header {
  margin: 0 !important;
  padding: 0 !important;
  top: 0;
  position: fixed !important;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(42, 44, 57, 0.3);
  border: none !important;
  box-shadow: none !important;
}

/* Hero dimulai tepat di bawah header */
#hero {
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  z-index: 1 !important;
}

/* Pastikan background gambar mulai dari tepi atas layar */
#hero::before {
  content: "";
  position: absolute;
  top: 0;      /* dari 0, bukan dari bawah header */
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bghome/foto-kolase10.webp") center top / cover no-repeat;
  z-index: 1;
}

/* Scroll progress bar menempel di atas foto, tanpa jarak */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

#header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: rgba(42, 44, 57, 0.3); /* transparan awal */
  box-shadow: none !important;
}

/* Hero dimulai tepat di bawah header */
#hero {
  margin: 0 !important;
  padding: 0 !important;
  top: 0 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

/* Pastikan foto hero mulai dari atas halaman */
#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("../img/bghome/foto-kolase10.webp") center top / cover no-repeat;
  z-index: 1;
}

/* Scroll progress bar elegan */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #ffffff !important;
  z-index: 10000;
  opacity: 0;
  transition: width 0.25s ease-out, opacity 0.3s ease;
  pointer-events: none;
}

/* =========================================== */
/* PROGRAM STUDI NAVIGATION - RESPONSIVE WRAP */
/* =========================================== */
#program-studi .carousel-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px 40px;
  border-bottom: 2px solid #e6a417;
  background: transparent;
  padding: 20px 0 10px;
  margin: 0 auto 40px;
  width: 100%;
  box-sizing: border-box;
}

#program-studi .carousel-nav a {
  display: inline-block;
  max-width: 210px;
  text-align: center;
  color: #555 !important;
  font-weight: 600;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 6px 4px;
  line-height: 1.4;
  white-space: normal !important;
  word-wrap: break-word;
  word-break: break-word;
  transition: color 0.25s ease;
}

#program-studi .carousel-nav a:hover {
  color: #e6a417 !important;
}

#program-studi .carousel-nav a.active {
  color: #e6a417 !important;
}

#program-studi .carousel-nav a:focus,
#program-studi .carousel-nav a:active {
  outline: none !important;
  transform: none !important;
  box-shadow: none !important;
}

#program-studi .carousel-nav a.col {
  border: none !important;
  background: none !important;
  padding: 6px 0 !important;
}

@media (max-width: 768px) {
  #program-studi .carousel-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 28px;
    border-bottom: 2px solid #e6a417;
    padding-bottom: 12px;
  }

  #program-studi .carousel-nav::-webkit-scrollbar {
    display: none;
  }

  #program-studi .carousel-nav a {
    flex-shrink: 0;
    min-width: 160px;
  }
}
/* Hapus semua pseudo-element (::after / ::before) dari nav link */
#program-studi .carousel-nav a::after,
#program-studi .carousel-nav a::before {
  content: none !important;
  display: none !important;
}

/* =========================================== */
/* PORTFOLIO CARD STYLE (MS POLIBATAM LOOK + BORDER) */
/* =========================================== */
.portfolio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* --- Kotak setiap item --- */
.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-wrap {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e6a417; /* ✅ Border tipis abu muda */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
}

.portfolio-wrap:hover {
  transform: translateY(-6px);
  border-color: #e6a417; /* ✅ Saat hover border jadi oranye */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* --- Gambar di dalam kotak --- */
.portfolio-wrap img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  transition: all 0.4s ease;
}

.portfolio-wrap:hover img {
  transform: scale(1.05);
}

/* --- Bagian teks bawah gambar --- */
.portfolio-info {
  padding: 18px 15px 20px;
  background: #fff;
  text-align: center;
}

.portfolio-info h4 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.portfolio-info h4 a {
  color: inherit;
  text-decoration: none;
  pointer-events: none; /* biar ga bisa diklik */
}

.portfolio-wrap:hover h4 {
  color: #e6a417; /* Warna oranye Polibatam */
}

/* --- Filter tombol --- */
.portfolio-flters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  list-style: none;
  padding: 0;
}

.portfolio-flters li {
  padding: 8px 22px;
  border: 2px solid #e6a417;
  border-radius: 30px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
}

.portfolio-flters li:hover {
  background: #e6a417;
  color: #fff;
}

.portfolio-flters li.filter-active {
  background: #e6a417;
  color: #fff;
  border-color: #e6a417;
}

#program-detail .section-title h1 {
  color: #e6a417;
  font-weight: 700;
  text-transform: uppercase;
}

#program-detail .content img {
  max-width: 550px;
  border: 3px solid #e6a417;
  border-radius: 10px;
}

#program-detail .content ul {
  list-style: none;
  padding-left: 0;
}

/* === PROGRAM DETAIL PAGE === */
#program-detail {
  background-color: #fff;
  color: #333;
}

#program-detail .section-title h2 {
  color: #555;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

#program-detail .section-title h1 {
  color: #e6a417;
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
}

#program-detail p.lead {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}

#program-detail ul li {
  font-size: 15px;
  margin-bottom: 8px;
}

#program-detail .image-box img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#program-detail .image-box img:hover {
  transform: scale(1.03);
}

.text-orange {
  color: #e6a417;
}

/* ===================================== */
/* === FIX HEADER TERTIMPA ISI PAGE ==== */
/* ===================================== */

/* Pastikan header di atas semua elemen */
#header, header.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Tambah jarak buat halaman non-index */
body.inner-page {
  padding-top: 60px !important; /* 💥 mulai dari 160px dulu */
}

/* Kalau sudah tidak tertimpa, turunkan perlahan jadi 130 / 120 px */
body.home-page {
  padding-top: 0 !important;
}

/* INSTAGRAM EMBED AGAR KE TENGAH */
.instagram-embed {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
  max-width: 540px;
}

.instagram-media {
  width: 100% !important;
}

/* =========================================== */
/* BERITA SECTION - OTOMATIS */
/* =========================================== */
.berita {
  padding: 60px 0;
}

.berita .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.berita-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.berita-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.berita-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.berita-content {
  padding: 18px;
}

.berita-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.berita-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

.btn-berita {
  display: inline-block;
  background: #e6a417;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}

.berita-card:hover .btn-berita {
  background: #d18c00;
}

.modal-body a {
  text-decoration: none;
  transition: 0.3s;
}

.modal-body a:hover {
  color: #e6a417;
  text-decoration: underline;
}

.modal-backdrop {
  z-index: 1040 !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.modal {
  z-index: 1055 !important;
}

#header, header.header, #scroll-progress {
  z-index: 1030 !important;
}

/* =============================== */
/* HEADER TRANSPARAN DI INDEX SAJA */
/* =============================== */

/* Default semua header (halaman lain) */
#header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  z-index: 9999;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: rgba(230, 164, 23, 0.95); /* oranye default untuk page lain */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Awal: transparan hanya di index */
body.home-page #header {
  background: transparent !important;
  box-shadow: none !important;
}

/* Saat di-scroll: jadi oranye */
body.home-page #header.header-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Supaya konten tidak ketimpa header */
body {
  padding-top: 80px;
}

/* ============================================== */
/* FIX: Warna hover teks navbar tetap putih (timpa bootstrap) */
/* ============================================== */

.navbar .nav-link:hover {
  background: #fff ;
  color: #e6a417 !important;
}

.navbar .dropdown > a:hover {
  background: #fff ;
  color: #e6a417 !important;
}

.home-page.scrolled .navbar .dropdown > a:hover {
  background: #fff ;
  color: #e6a417 !important;
}

.home-page .navbar .nav-link:hover {
  color: #ffffff; /* tetap putih di semua keadaan */
}

.home-page.scrolled .navbar .nav-link:hover{
  background: #fff ;
  color: #e6a417 !important;
}

.home-page #registrasi-btn .nav-link:hover{
  color: #ffffff !important;
}

body.home-page #header.header-scrolled #registrasi-btn .nav-link:hover {
  color: #e6a417 !important;
}


/* ============================================== */
/* ===== Pengumuman Page Styles ===== */
/* ============================================== */

/* Overlay styling */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.overlay-content {
  background: #fff;
  color: #333;
  padding: 30px;
  width: 70%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  position: relative;
}
#closeOverlay {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}
#closeOverlay:hover {
  color: #e6a417;
}
.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #e6a417;
  text-decoration: none;
  font-weight: 600;
}
.read-more:hover {
  text-decoration: underline;
}
/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.page-number {
  padding: 8px 14px;
  background: #eee;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}
.page-number.active {
  background: #e6a417;
  color: #fff;
}
.page-number:hover {
  background: #e6a417;
  color: #fff;
}

.berita-card img {
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.overlay-content img {
  max-height: 400px;
  object-fit: cover;
}

body.pengumuman-page .overlay-content {
  background: #fff;
  color: #333;
  padding: 30px;
  width: 35%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.pengumuman-page .overlay-content img {
  width: 100%;        /* isi lebar overlay */
  height: auto;       /* jaga rasio gambar */
  max-width: 600px;   /* batasi ukuran maksimum */
  max-height: 70vh;   /* agar tidak lebih tinggi dari viewport */
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.overlay-content a {
  color: #e6a417;
  font-weight: 600;
  text-decoration: none;
}
.overlay-content a:hover {
  text-decoration: underline;
}

#registrasi-btn .nav-link {
  color: #fff !important;
}

#registrasi-btn .nav-link:hover {
  color: #e6a417 !important;
}

/* ======= Berita Page - Modern Modal Overlay ======= */
.card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(230, 164, 23, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gallery-badge i {
  font-size: 14px;
}

/* Modal Overlay */
.berita-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.berita-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.berita-modal {
  background: #fff;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.berita-modal-overlay.active .berita-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #fff;
  color: #e6a417;
  transform: rotate(90deg);
}

.modal-content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}

/* Gallery di modal - sekarang di bawah */
.modal-gallery {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  order: 2;
}

.modal-gallery-single img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.modal-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
  background: #f8f9fa;
  justify-content: center;
}

.modal-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.modal-thumbnails::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 2px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
  background: #e6a417;
  border-radius: 2px;
}

.thumbnail-item {
  flex-shrink: 0;
  width: 60px;
  height: 45px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.thumbnail-item:hover {
  border-color: #e6a417;
  transform: scale(1.05);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Info */
.modal-info {
  padding: 24px 20px 16px 20px;
  order: 1;
}

.modal-title {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.modal-date {
  margin: 0 0 14px 0;
  font-size: 0.85rem;
  color: #888;
}

.modal-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.modal-body a {
  color: #e6a417;
  text-decoration: none;
}

.modal-body a:hover {
  text-decoration: underline;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.show {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #e6a417;
}

/* Responsive */
@media (max-width: 480px) {
  .berita-modal {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    margin: auto;
    position: absolute;
    bottom: 0;
    max-height: 85vh;
  }

  .berita-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-gallery-single img {
    height: 160px;
  }

  .modal-info {
    padding: 16px;
  }
}

/* ======= Fasilitas Description (Card Style) ======= */
.fasilitas-description {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 30px 40px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  transition: all 0.3s ease;
}

.fasilitas-description:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

/* ======= Link Style di dalam deskripsi ======= */
.fasilitas-description a.fasilitas-link {
  color: #e6a417;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.fasilitas-description a.fasilitas-link:hover {
  color: #b47c0f;
  border-bottom: 2px solid #b47c0f;
}

/* Responsif */
@media (max-width: 768px) {
  .fasilitas-description {
    font-size: 1rem;
    line-height: 1.6;
    padding: 20px;
    margin-top: 30px;
  }
}

/* ======= Prestasi Section ======= */
.prestasi-section {
  background: #fff;
  color: #000;
  padding: 40px 0;
}

.prestasi-section .section-title h2 {
  font-weight: 700;
  color: #000;
}

.prestasi-section .section-title h1 {
  color: #e6a417;
}

.prestasi-section .accordion-button {
  background: #f9f9f9;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 8px !important;
}

.prestasi-section .accordion-button:not(.collapsed) {
  background: #e6a417;
  color: #fff;
}

.prestasi-section .accordion-button:hover {
  background: #fff7e0;
  color: #e6a417;
}

.prestasi-section .accordion-item {
  border-radius: 10px;
  overflow: hidden;
}

.prestasi-section .accordion-body {
  background: #fff;
  color: #444;
  border-top: 1px solid #eee;
}

.prestasi-section .prestasi-list {
  list-style: disc;
  margin-left: 20px;
  text-align: justify;
}

.prestasi-section .prestasi-list li {
  margin-bottom: 10px;
}

.prestasi-section .accordion-body {
  padding-top: 25px !important;
  padding-bottom: 5px !important;
}

/* Responsif */
@media (max-width: 768px) {
  .prestasi-section {
    padding: 40px 0;
  }

  .prestasi-section .accordion {
    max-width: 100%;
  }
}

/* ======= Running Text Home ======= */
.running-text-container {
  background: linear-gradient(90deg, #e6a417, #f8d77e);
  color: #fff;
  padding: 10px 0;
  padding-bottom: 5px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.running-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.running-text p {
  display: inline-block;
  margin: 0;
  padding: 0 2rem;
}

/* ====================================== */
/* BUTTON SELENGKAPNYA MODAL SEKAPUR SIRIH  */
/* ====================================== */
body.home-page .btn-selengkapnya {
  display: inline-block ;
  background-color: #e6a417 ;
  color: #fff ;
  font-weight: 600 ;
  border: none ;
  padding: 10px 25px ;
  border-radius: 30px ;
  text-decoration: none ;
  transition: all 0.3s ease;
}
.btn-selengkapnya:hover {
  background-color: #cf8e0f !important;
  color: #fff !important;
  transform: scale(1.05);
}

/* ======= Prodi Section ======= */
.prodi-section {
  background: #fff;
  color: #000;
  padding: 40px 0;
}

.prodi-section .section-title h2 {
  font-weight: 700;
  color: #000;
}

.prodi-section .section-title h1 {
  color: #e6a417;
}

.prodi-section .accordion-button {
  background: #f9f9f9;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  border-radius: 8px !important;
}

.prodi-section .accordion-button:not(.collapsed) {
  background: #e6a417;
  color: #fff;
}

.prodi-section .accordion-button:hover {
  background: #fff7e0;
  color: #e6a417;
}

.prodi-section .accordion-item {
  border-radius: 10px;
  overflow: hidden;
}

.prodi-section .accordion-body {
  background: #fff;
  color: #444;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal center */
  justify-content: center; /* vertical center */
  text-align: justify;
  min-height: 150px; /* opsional, biar tinggi box nggak terlalu kecil */
}

.prodi-section .accordion-body .list-prodi li {
  margin-bottom: 2px !important;
}

.prodi-section .accordion-body {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.prodi-section .accordion-body p {
  margin-bottom: 6px;
}

.prodi-section .accordion-body a.btn {
  margin-top: 10px;
}


/* Responsif */
@media (max-width: 768px) {
  .prodi-section {
    padding: 40px 0;
  }

  .prodi-section .accordion {
    max-width: 100%;
  }
}

.py-5 {
  padding-top: 1%;
  padding-bottom: 1% !important;
}

/* === FIX HEADER TRANSPARAN & PROGRESS BAR UNTUK HOME === */
body.home-page #header {
  background: transparent !important;
  box-shadow: none !important;
  transition: all 0.4s ease;
}

body.home-page #header.header-scrolled {
  background: rgba(230, 164, 23, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* === Progress Bar Putih === */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #ffffff !important; /* putih */
  box-shadow: 0 0 10px #ffffff;
  z-index: 99999;
  opacity: 0;
  transition: width 0.25s ease-out, opacity 0.3s ease;
  pointer-events: none;
}

/* === NAVBAR RESPONSIVE FIX === */
@media (max-width: 991px) {

  .mobile-nav-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 9999;
    position: absolute;  /* 🔹 posisikan bebas */
    top: 20px;           /* atur jarak dari atas */
    right: 20px;         /* pojok kanan */
  }

    /* Hilangkan dropdown gaya desktop */
  #navbar.navbar-mobile .dropdown > ul {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid #e6a417;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.3s ease;
  }

  /* Saat dropdown aktif (dibuka) */
  #navbar.navbar-mobile .dropdown.active > ul {
    display: flex;
  }

  /* Panah dropdown */
  #navbar.navbar-mobile .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #navbar.navbar-mobile .dropdown > a i {
    font-size: 14px;
    transition: transform 0.3s ease;
  }

  /* Putar panah saat aktif */
  #navbar.navbar-mobile .dropdown.active > a i {
    transform: rotate(180deg);
  }

  /* Dropdown level 2 (di dalam dropdown lain) */
  #navbar.navbar-mobile .dropdown .dropdown > ul {
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-left: 2px solid #555;
  }

  /* === Perbaikan untuk dropdown level 2 === */

  /* Default: sembunyikan semua submenu dalam dropdown */
  #navbar.navbar-mobile .dropdown .dropdown > ul {
    display: none;
  }

  /* Saat dropdown level 2 aktif, tampilkan */
  #navbar.navbar-mobile .dropdown .dropdown.active > ul {
    display: flex;
    flex-direction: column;
  }

  /* Tambahan styling agar lebih rapih */
  #navbar.navbar-mobile .dropdown .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
  }

  #navbar.navbar-mobile .dropdown .dropdown > a i {
    font-size: 13px;
    transition: transform 0.3s ease;
  }

  #navbar.navbar-mobile .dropdown .dropdown.active > a i {
    transform: rotate(180deg);
  }

  /* ✅ Pastikan dropdown anak tampil saat aktif */
  #navbar.navbar-mobile .dropdown.active > ul {
    display: flex !important;
    flex-direction: column;
  }

  /* Hilangkan overflow agar dropdown bisa keluar dari induknya */
  #navbar.navbar-mobile .dropdown ul {
    overflow: visible !important;
  }

  #navbar.navbar-mobile .dropdown ul {
  overflow: visible !important;
  transition: all 0.25s ease;
  }

  #registrasi-btn .nav-link{
    color: #e6a417 !important;
  }

}

#youtube .section-title {
    padding-bottom: 20px;
}

#instagram .section-title {
    padding-top: 40px;
}

/* 🔹 Pembatas antar section (global) */
.pengumuman-page section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* 🔹 Garis pembatas di bawah tiap section */
.pengumuman-page section:not(:last-of-type)::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 1000px;
  height: 3px;
  background: linear-gradient(to right, transparent, #e6a417, transparent);
  margin: 60px auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

.pengumuman-page .fw-bold{
  font-weight: 400;
  color: #e6a417;
}


/* 🔹 Kurangi jarak antar tombol menu di navbar */
#header .navbar ul li {
  margin: 0 6px; /* sebelumnya biasanya 12–20px, ini dipersempit */
}

/* 🔹 Sesuaikan padding dalam tiap link */
#header .navbar a {
  padding: 8px 18px; /* kiri-kanan dikurangi agar tombol lebih ramping */
  font-size: 14px; /* kalau mau tulisan sedikit lebih kecil */
}

@media (max-width: 768px) {
  #header .navbar ul li {
    margin: 10px 0; /* biar vertikal di mobile */
  }
  #header .navbar a {
    padding: 10px 14px;
    font-size: 11px;
  }
}
.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;

    
}

@media (max-width: 991px) {
    #navbar.navbar-mobile .dropdown.active > ul {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }
}
