/* ROOT COLOR */
:root {
  --primary: #062c5a;
  --primary-dark: #052752;
  --blue-soft: #1d436e;
  --accent: #ffaa00;
  --accent-soft: #ffcc66; 
  --text-dark: #212529;
  --bg-soft: #f8fbff;
}

/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

p {
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--primary-dark);
}

a:active {
  text-decoration: none !important;
}

/* LINK  */
a {
  color: var(--primary);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--primary-dark);
}

/* visited hanya untuk link teks biasa */
p a:visited,
li a:visited,
.footer-contact a:visited {
  color: var(--primary);
}


.text-primary {
  color: var(--primary) !important;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.00);
}

.btn-outline-secondary {
  color: var(--accent);
  border-color: var(--accent);
  transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
  background-color: var(--accent);
  color: #ffffff;
  filter: brightness(1.00);
}

/* btn-primary */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff !important;
}

.btn-primary:active {
  color: #ffffff !important;
}

.btn-outline-light {
  color: #ffffff !important;
}

/* hover */
.btn-outline-light:hover {
  color: var(--primary) !important;
  background-color: #ffffff;
  border-color: #ffffff;
}

/* active (saat ditekan) */
.btn-outline-light:active {
  color: var(--primary) !important;
  background-color: #ffffff;
  border-color: #ffffff;
}

/* saat focus tp tdk hover -> balik putih */
.btn-outline-light:focus:not(:hover):not(:active),
.btn-outline-light:focus-visible:not(:hover):not(:active) {
  color: #ffffff !important;
  background-color: transparent;
  border-color: #ffffff;
  box-shadow: none !important;
  outline: none !important;
}


/* btn-warning */
.btn-warning {
  background-color: #f4a300 !important;
  border-color: #f4a300 !important;
  color: var(--primary) !important;
}

.btn-warning:hover {
  background-color: #ffb020 !important;
  border-color: #ffb020 !important;
  color: #ffffff !important;
}

.btn-warning:active {
  background-color: #e09500 !important;
  border-color: #e09500 !important;
  color: #ffffff !important;
}

.btn-warning:focus:not(:hover):not(:active),
.btn-warning:focus-visible:not(:hover):not(:active) {
  background-color: #f4a300 !important;
  border-color: #f4a300 !important;
  color: var(--primary) !important;
  box-shadow: none !important;
  outline: none !important;
}


/* TOP BAR */
.top-bar {
  background-color: var(--primary-dark);
  color: #ffffff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  padding: 2px 1rem;
  position: sticky;
  top: 0;
  z-index: 1060;
}

/* Social icons */
.social-icons,
.top-bar .social-icons {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar .social-icons li a {
  color: #ffffff;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar .social-icons li a:hover {
  color: var(--accent);
}

/* Akses cepat */
.top-bar .quick-links a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  padding: 6px 14px;
  transition: all 0.2s ease;
  height: 100%;
}

.top-bar .quick-links a.akses-cepat {
  background-color: #e6e6e6;
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 0;
}

.top-bar .quick-links a.akses-cepat:hover {
  background-color: #d9d9d9;
  color: var(--primary-dark);
}

/* Kontak */
.top-bar .quick-links a.kontak:hover {
  color: var(--accent);
}

/* Icon */
.top-bar .quick-links i {
  font-size: 0.95rem;
}

/* Language */
.top-bar .language-select {
  margin-left: auto;
}

.top-bar .language-select a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 5px;
}

.top-bar .language-select a:hover {
  color: var(--accent);
}

/* Flag icon */
.flag-icon {
  width: 18px;
  height: 14px;
  object-fit: cover;
  margin-right: 6px;
  border-radius: 2px;
  display: inline-block;
}

/* NAVBAR */
.navbar {
  background: var(--blue-soft);
  position: sticky;
  top: 44px;
  z-index: 1070;
  transition: all 0.3s ease;
}


.navbar-brand {
  font-weight: 700;
  font-size: 1.00rem;
  color: #ffffff !important;
}

.brand-text {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

@media (max-width: 768px) {
  .brand-text {
    flex-direction: column;
    line-height: 1.1;
  }
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 400;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {

  border-radius: 6px;
  color: var(--accent);
}

.navbar-toggler {
  transform: scale(0.8);
  border: none;
  box-shadow: none;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
  background-color: transparent;
}

/* shadow saat scroll */
.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/* DROPDOWN */
.dropdown-menu {
  background: var(--blue-soft);
  border-radius: 0px;
  border: none;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  
}

.dropdown-menu .dropdown-item {
  font-size: 0.95rem;
  padding: 8px 25px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: transparent;
  color: var(--accent);
}


.navbar-nav .dropdown-toggle::after {
  display: none;
}


/* dropdown hover desktop */
@media (min-width: 992px) {

  .navbar-nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: color 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
  }

  .navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

}

/* supaya dropdown tdk melebihi layar */ 
.dropdown-last { 
  position: relative; 
} 

.dropdown-last > .dropdown-menu { 
  right: 0; 
  left: auto; 
  min-width: 260px; 
  max-width: calc(100vw - 20px); 
  white-space: normal; 
  overflow-wrap: break-word; 
} 

.dropdown-last:hover > .dropdown-menu { 
  transform: translateY(0); 
  opacity: 1; 
  visibility: visible; 
} 

@media (min-width: 992px) { 
  .navbar-nav 
  .dropdown-menu { 
    display: block; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: all 0.3s ease; 
    margin-top: 0; 
  } 
  
  .navbar-nav 
  .nav-item.dropdown:hover > .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
  } 

  .dropdown-submenu:hover > .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
  } 
  
}

/* SUBMENU SAMPING */
.dropdown-submenu {
  position: relative;
  top: 0;
}

.dropdown-submenu > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 250px;
  margin-left: 0px;
  z-index: 1080;
  background: var(--blue-soft) !important;
  color: #ffffff !important;
}

@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
  }

  .dropdown-submenu:hover > .dropdown-menu,
  .dropdown-submenu.show > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    background: var(--blue-soft) !important;
    color: #ffffff !important;
  }
}

.dropdown-submenu .dropdown-item {
  color: #ffffff;
  background-color: transparent;
  transition: all 0.2s ease;
}

.dropdown-submenu .dropdown-item:hover,

.dropdown-submenu .dropdown-item:active {
  color: var(--accent);
  background-color: transparent !important;
}

@media (max-width: 991px) {

  .dropdown-submenu > .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    padding-left: 20px;
  }

  .dropdown-submenu > .dropdown-menu.show {
    display: block;
  }

}

.dropdown-submenu > a {
  cursor: pointer;
}

/* Judul setiap Halaman/Hero */
.page-hero {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.164);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
}

/* SIDEBAR */
.sidebar-menu {
  background: var(--primary-dark);
  border-radius: 0;
  padding: 22px;
}

.sidebar-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  position: relative;
}

.sidebar-list a {
  position: relative;
  display: block;
  padding: 10px 0 10px 28px;
  color: #ffffff !important;
  text-decoration: none;
  transition: 0.25s ease;
  font-weight: 400;
}

.sidebar-list a::before {
  content: "›";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  transition: 0.25s ease;
}

.sidebar-list li::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}

.sidebar-list a:hover {
  color: var(--accent) !important;
}

.sidebar-list a:hover::before {
  opacity: 0;
}

.sidebar-list a.active {
  color: var(--accent) !important;
  font-weight: 900;
}

.sidebar-list a.active::before {
  opacity: 1;
  color: var(--accent);
  font-weight: 400;
}

/* Mobile Toogle */
.sidebar-mobile-toggle {
  display: none;
  cursor: pointer;
  align-items: center;
  gap: 10px;
}

.sidebar-toggle-btn {
  font-size: 20px;
  line-height: 1;
}

.sidebar-toggle-title {
  font-weight: 400;
  white-space: nowrap;
}

.sidebar-toggle-title .active-page {
  color: #212529;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .sidebar-mobile-toggle {
    display: flex;
    background: none;
    padding: 0;
    margin-bottom: 18px;
    color: #212529;
  }

  .sidebar-toggle-btn {
    color: #212529;
  }

  .sidebar-toggle-title {
    color: #212529;
  }

  .sidebar-menu {
    display: none;
    margin-bottom: 24px;
    animation: slideDown 0.25s ease;
  }

  .sidebar-menu.active {
    display: block;
  }
}

@media (min-width: 992px) {
  .sidebar-mobile-toggle {
    display: none;
  }

  .sidebar-menu {
    display: block !important;
  }
  .sidebar-mobile-toggle.force-mobile {
    display: flex !important;
    margin-bottom: 18px;
  }

  .sidebar-menu.force-mobile {
    display: none !important;
  }

  .sidebar-menu.force-mobile.active {
    display: block !important;
  }
}

/* khusus menu Dosen*/

.dosen-sidebar-wrapper {
  margin-bottom: 24px;
}

.dosen-sidebar-wrapper .sidebar-mobile-toggle {
  margin-bottom: 12px;
}

.dosen-sidebar-wrapper .sidebar-menu {
  margin-bottom: 0;
}

/* HERO/SLIDER */
#heroCarousel {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-item {
  height: 88vh;
  min-height: 520px;
  max-height: 900px;
}

/* img hero */
#heroCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.349);
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* caption */
.carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;

  max-width: 1200px;
  margin: 0 auto;
}

.carousel-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.836);
}

.carousel-subtitle {
  font-family: 'Courgette';
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: rgb(255, 211, 66);
  margin-top: 12px;
  text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.603);
}

@media (max-width: 768px) {
  #heroCarousel,
  #heroCarousel .carousel-item {
    height: 62vh;
    min-height: 360px;
  }

  .carousel-title {
    font-size: 1.9rem;
  }

  .carousel-subtitle {
    font-size: 1.25rem;
  }

  .carousel-caption {
    max-width: 92%;
  }
}

/* PMB POP - UP */

.pmb-modal-dialog {
  width: min(90vw, 450px);
  margin: auto;
}

.pmb-modal-content {
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #fff;
  color: #212529;
}

.pmb-modal-header {
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 2;
  background: #fff;
}


.pmb-modal-title {
  width: 100%;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pmb-modal-image {
  width: 100%;
  max-height: 50dvh;
  object-fit: contain;
  display: block;
  background: #f5f5f5;
}

.pmb-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.75rem 1rem 1rem;
  text-align: center;
}

.pmb-modal-text {
  margin-bottom: 0.5rem;
  white-space: normal;
  overflow-wrap: break-word;
}

.pmb-modal-btn {
  display: inline-block;
  white-space: nowrap;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 0.375rem;
  background-color: var(--accent) !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.pmb-modal-btn:hover,
.pmb-modal-btn:focus,
.pmb-modal-btn:active {
  background-color: var(--accent) !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 576px) {
  .pmb-modal-title {
    font-size: 1rem;
  }

  .pmb-modal-text {
    font-size: 0.875rem;
  }

  .pmb-modal-btn {
    font-size: 0.8rem;
    padding: 0.3rem 0.9rem;
  }
}

.modal-backdrop.show {
  opacity: 0.5;
  background-color: #000;
  z-index: 1100;
}

#pmbModal {
  z-index: 1110;
}

/* PMB FLOATING */

.pmb-floating-wrapper {
  position: relative;
  margin-top: -90px;
  z-index: 20;
}

/* pmb kuning */

.pmb-floating-title {
  text-align: center;
  margin-bottom: -22px;
  position: relative;
  z-index: 30;
}

.pmb-floating-title span {
  display: inline-block;
  background: var(--accent);
  color: #1f3a6d;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 50px;
  font-size: 1.05rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.pmb-floating-panel {
  width: calc(100% - 80px);
  max-width: 1320px;
  margin: 0 auto;

  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  overflow: hidden;
  background: none;
}

/* Blok putih */

.pmb-campus-grid {
  background: #ffffff;

  padding: 26px 30px;
  margin: 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;

  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
  position: relative;
  z-index: 5;
}

.pmb-campus-item {
  text-align: center;
}

.pmb-campus-item .campus-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f3a6d;
  margin-top: 8px;
}

.pmb-campus-item i {
  font-size: 2.1rem;
  color: #000;
  opacity: 0.85;
}

/* panel prodi + PMB */

.pmb-hero-inner {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.pmb-col-left,
.pmb-hero .col-lg-7 {
  flex: 0 0 50%;
  max-width: 50%;

  background:
    linear-gradient( #2e4e74, #45648d),
    url('../img/pattern-medical.png');

  background-size: cover;
  background-position: center;

  padding: 2.5rem 2.5rem 2.8rem;
  color: #ffffff;

  display: flex;
  flex-direction: column;
}

/* Daftarkan diri Anda */

.pmb-col-right,
.pmb-hero .col-lg-5 {
  flex: 0 0 50%;
  max-width: 50%;

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
    url('../img/profil.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 2.5rem 2.5rem 2.8rem;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.pmb-col-right,
.pmb-col-right *,
.pmb-hero .col-lg-5,
.pmb-hero .col-lg-5 * {
  color: #ffffff;
}

/* prodi */

.pmb-hero .prodi-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.pmb-hero .prodi-list {
  margin: 0;
  padding: 0;
}

.pmb-hero .prodi-list li {
  margin-bottom: 8px;
}

.pmb-hero .prodi-list a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding: 11px 8px 11px 32px;
  border-bottom: 1px dashed rgba(255,255,255,0.18);

  font-weight: 500;
  transition: all .25s ease;
}

.pmb-hero .prodi-list a,
.pmb-hero .prodi-list a * {
  color: #ffffff;
}

.pmb-hero .prodi-list a::before {
  content: "›";
  position: absolute;
  left: 10px;
  top: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: opacity .2s ease, transform .2s ease;
}

.pmb-hero .prodi-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.8rem, 2.5vw, 0.92rem);
}

.pmb-hero .prodi-note {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

.pmb-hero .prodi-level {
  white-space: nowrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

.pmb-hero .prodi-list a:hover::before {
  opacity: 0;
  transform: translateX(4px);
}

.pmb-hero .prodi-list a:hover,
.pmb-hero .prodi-list a:hover * {
  color: var(--accent);
}

.pmb-floating-wrapper + section {
  margin-top: 64px;
}

/* Mobile */

@media (max-width: 768px) {

  .pmb-floating-wrapper {
    margin-top: -60px;
    padding: 0 16px;
  }

  .pmb-floating-panel {
    width: 100%;

  }

  .pmb-campus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px 14px;
  }

  .pmb-campus-item .campus-title {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .pmb-campus-item i {
    font-size: 1.6rem;
  }

  .pmb-hero-inner {
    flex-direction: column;
  }

  .pmb-col-left,
  .pmb-col-right,
  .pmb-hero .col-lg-7,
  .pmb-hero .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 2rem 1.6rem;
  }

  .pmb-col-right,
  .pmb-hero .col-lg-5 {
    min-height: 320px;
    background-size: cover;
    background-position: center;
  }

  .pmb-hero .prodi-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 6px;
  }

  .pmb-hero .prodi-list,
  .pmb-hero .prodi-list li,
  .pmb-hero .prodi-list a {
    min-width: 0;
  }

  .pmb-hero .prodi-list li {
    margin: 0;
  }

  .pmb-hero .prodi-list a {
    padding: 7px 6px 7px 24px;
    border-bottom: none;
  }

  .pmb-hero .prodi-list a::before {
    top: 9px;
    left: 8px;
    font-size: 0.9rem;
  }

  .pmb-hero .prodi-name {
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pmb-hero .prodi-note {
    margin-top: 1px;
    font-size: 0.68rem;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0.75;
  }

  .pmb-hero .prodi-level {
    display: none !important;
  }
  .pmb-floating-panel,
  body {
    overflow-x: hidden;
  }
}

/* SECTION TITLE */
.section-title-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: #002147; 
}

.section-title-inline span {
  white-space: nowrap;
}

.section-title-inline::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background: linear-gradient(
    90deg,
    #f4a300, 
    #ffcc66  
  );
  border-radius: 10px;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
  .section-title-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title-inline::after {
    width: 80px;
  }
}

/* ABOUT SECTION (BASE) */
.about-explore-section {
  position: relative;
  background-image: url('../img/profil1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 90px 0;
  color: #f1f1f1;
}

.about-explore-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-explore-section .container {
  position: relative;
  z-index: 2;
}

/* Judul Tentang Kami */
.about-explore-section .section-title span {
  color: #ffffff !important;
}

/* About row */
.about-row {
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
}

/* Video */
.about-image-col {
  position: relative;
  padding: 3.5rem 3.8rem;
  display: flex;
  flex-direction: column;
}

.about-image-absolute {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
}

.about-video-wrapper {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: none;

  position: relative;
  background: #000;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 25px 55px rgba(0,0,0,.45);
}

/* Letterbox hitam */
.about-video-wrapper::before,
.about-video-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14%;
  background: #000;
  z-index: 2;
}

.about-video-wrapper::before { top: 0; }
.about-video-wrapper::after  { bottom: 0; }

/* Thumbnail */
.about-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter .35s ease;
  background: #000;
}

.about-video-wrapper:hover img {
  filter: brightness(0.55);
}

/* play btn */
.about-video-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.about-video-btn a {
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,.95);
  color: #1f3a6d;
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: transform .25s ease;
}

.about-video-btn a:hover {
  transform: scale(1.12);
}

.about-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}


/* Konten STIKES */
.about-content-box {
  height: 100%;
  padding: 3.5rem 3.8rem;

  display: flex;
  flex-direction: column;

  background: transparent;
  color: #ffffff;
}

.about-content-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content-box h3 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.about-content-box h3 .highlight-orange {
  color: #f4a300;
}

.about-content-box p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgb(255, 255, 255);
  margin-bottom: 1rem;
}

.about-content-box .about-readmore {
  margin-top: 0.6rem;
  font-weight: 600;
  color: #f4a300;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color .25s ease;
}

.about-content-box .about-readmore:hover {
  color: #ffffff;
}

.about-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.4rem;
}

.about-stat-item h4 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: .25rem;
  line-height: 1;
}

.about-stat-item span {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgb(255, 255, 255);
}


@media (max-width: 768px) {

  .about-explore-section {
    padding: 36px 0;
  }

  .about-image-col,
  .about-content-box {
    padding: 1.6rem 1.4rem;
  }

  .about-video-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .about-content-box p {
    margin-bottom: 0.7rem;
    line-height: 1.6;
  }

  .about-content-box h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .about-stats {
    gap: 0.9rem;
    margin-top: 1.2rem;
  }

  .about-stat-item h4 {
    font-size: 2rem;
    margin-bottom: 0;
  }

  .about-stat-item span {
    font-size: 0.7rem;
  }
}

/* EXPLORE CARD */
.about-explore-section .explore-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-explore-section .about-accent-title {
  color: var(--accent);
}

.about-explore-section .explore-card h5 {
  color: var(--primary);
  font-weight: 600;
}

.about-explore-section .explore-card p {
  color: #555555;
}

.about-explore-section .explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}

.about-explore-section .about-readmore {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.about-explore-section .about-readmore:hover {
  color: var(--accent-soft);
  transform: translateX(4px);
}

/* MOBILE */
@media (max-width: 768px) {
  .about-explore-section {
    background-attachment: scroll;
    padding: 60px 0;
  }
}

/* MITRA KERJASAMA */

.mitra-section {
  background: #f6f7f8;
  overflow: hidden;
}

.mitra-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
}

.mitra-slider {
  width: 100%;
  overflow: hidden;
}

.mitra-track {
  display: flex;
  align-items: center;
  will-change: transform;
  transition: transform 0.6s ease;
}

.mitra-item {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mitra-item img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.mitra-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.mitra-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mitra-more:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Mobile */
@media (max-width: 768px) {
  .mitra-item {
    flex: 0 0 33.333%;
  }

  .mitra-item img {
    max-height: 70px;
  }
}

@media (max-width: 576px) {
  .mitra-item {
    flex: 0 0 50%;
  }

  .mitra-item img {
    max-height: 60px;
  }
}

/* Mobile (kegiatan kosong) */
@media (max-width: 991px) { 
  .kegiatan-kosong { 
    text-align: left; 
  } 
  .kegiatan-kosong h4, .kegiatan-kosong p { 
    margin-left: 0; 
    margin-right: 0; 
  } 
} 
/* Desktop (kegiatan kosong) */ 
@media (min-width: 992px) { 
  .kegiatan-kosong { 
    text-align: right; 
  } 
  .kegiatan-kosong h4, 
  .kegiatan-kosong p { 
    margin-left: auto; 
    max-width: 420px;
  } 
}

/* KILAS BERITA & KEGIATAN */

.section-divider .berita-card,
.section-divider .event-card {
  border: none;
  box-shadow: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fff;
}

.section-divider .berita-card img,
.section-divider .event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

.section-divider .berita-card .card-body,
.section-divider .event-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Baca Selengkapnya */
.section-divider .card-body a {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-divider .card-body a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Lihat Semua */
.section-divider .lihat-semua-text {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-divider .lihat-semua-text:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Daftar btn */
.section-divider .daftar-btn {
  display: inline-block;
  background-color: #28a745;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.section-divider .daftar-btn:hover {
  background-color: #218838;
  transform: translateX(2px);
}

/* Kegiatan */

.section-divider .event-card {
  border-left: 4px solid var(--primary);
}

.section-divider .event-date {
  background: #f8fbff;
  border-right: 1px solid #e6e6e6;
  text-align: center;
  padding: 10px 4px;
}

.section-divider .event-day {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.section-divider .event-month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6c757d;
  margin-top: 2px;
}

.section-divider .event-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-divider .event-link:hover {
  color: var(--accent-soft);
  transform: translateX(4px);
}

.event-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.event-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}


/* days kegiatan */
.badge-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(241, 37, 68, 0.9);
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 20px;
}

.berita-thumb {
  position: relative;
  overflow: hidden;
}

/* Lightbox flyer */
.flyer-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.flyer-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  cursor: pointer;
}

/* News grid (Berita Terbaru) */

.section-news-grid .news-grid-item {
  background: transparent;
  overflow: hidden;
}

.section-news-grid .news-grid-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.section-news-grid .news-grid-item:hover img {
  transform: scale(1.08);
}

.section-news-grid .news-grid-body {
  padding-top: 12px;
}

.section-news-grid .news-grid-date {
  font-size: 0.75rem;
  color: #6c757d;
}

.section-news-grid .news-grid-body h5 {
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 6px;
}

.section-news-grid .news-grid-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.section-news-grid .news-grid-body a:hover {
  color: var(--accent);
}

/* Mobile */
@media (max-width: 576px) {
  .section-news-grid .news-grid-item img {
    height: 180px;
  }

  .section-divider .event-day {
    font-size: 1.25rem;
  }

  .section-divider .berita-card img,
  .section-divider .event-card img {
    border-radius: 8px 8px 0 0;
  }
}

/* TESTIMONI */

.section-testimoni-simple {
  background: transparent;
}

.testimoni-card {
  background: #ffffff;
  padding: 24px 24px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  height: 100%;
}

.testimoni-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  margin-top: 20px;
}

.testimoni-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimoni-footer img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimoni-meta strong {
  display: block;
  font-size: 0.9rem;
  color: #222;
  line-height: 1.2;
}

.testimoni-meta span {
  font-size: 0.8rem;
  color: #888;
}

/* Mobile */
@media (max-width: 576px) {
  .testimoni-card {
    padding: 20px;
  }
}

/* Footer Social icons */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 1rem;
}

.social-icons a {
  font-size: 1.25rem;
  color: #ffffff;
  transition: color .2s ease, transform .2s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 20px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
}

.footer-contact {
  order: 1;
}

.footer-logo-area {
  order: 2;
}

.footer-quick {
  order: 3;
}

/* title */
.footer-title,
.footer-title-no-line {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-title::after {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

/* logo */
.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.footer-logo-img {
  width: 180px;
  height: auto;
}

.footer-logo-area .social-icons {
  justify-content: center;
  margin-top: 22px;
}


/* contact */
.footer-contact {
  padding-left: 10px;
  padding-right: 10px;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #e6f0ff;
  margin-bottom: 0.5rem;
}

.footer-contact i {
  color: var(--accent);
}

/* Akses Cepat */
.footer-quick {
  text-align: right;
}

footer a {
  color: #f1f9ff;
  text-decoration: none;
  transition: color .2s ease;
}

footer a:hover {
  color: #f4a300;
}

.footer-quick a,
.footer-quick a:link,
.footer-quick a:visited,
.footer-quick a:active,
.footer-quick a:focus {
  color: #ffffff !important;
}

.footer-quick a:hover {
  color: var(--accent) !important;
}

/* footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #e6f0ff;
}

/* MOBILE */
@media (max-width: 768px) {

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-area {
    order: 1;
  }

  .footer-contact {
    order: 2;
  }

  .footer-quick {
    order: 3;
  }

  .footer-logo-area,
  .footer-contact,
  .footer-quick {
    align-items: center;
    text-align: center;
  }

  .footer-logo-img {
    margin-bottom: 12px;
  }

  .social-icons {
    justify-content: center;
  }

}

/* PORTAL CARD */

.portal-card {
  position: relative;
  width: 100%;
  min-height: 200px;
  padding: 2.5rem 1.8rem;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(53, 75, 104, 0.82);
  z-index: 1;
}

.portal-card > * {
  position: relative;
  z-index: 2;
}

.portal-card .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}

.portal-card:hover::before {
  background: var(--blue-soft);
}

.col-lg-4.col-md-6.d-flex.justify-content-center {
  padding-left: 0.55rem;
  padding-right: 0.55rem;
}

/* MOBILE */
@media (max-width: 768px) {

  .portal-card {
    min-height: 160px;
    padding: 1.6rem 1.2rem;
    border-radius: 14px;
  }

  .portal-card .card-title {
    font-size: 1.15rem;
  }
}

/* LAMBANG & MAKNA */
  .lambang-title {
    font-weight: 700;
    color: #002147;
    text-align: center;
    margin-bottom: 40px;
  }

  .lambang-logo {
    text-align: center;
  }

  .lambang-logo img {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .makna-title {
    font-weight: 600;
    color: #002147;
    margin-bottom: 15px;
  }

  .makna-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    text-align: justify;
  }

  @media (max-width: 768px) {
    .makna-text {
      text-align: left;
    }
  }

/* MARS & HYMNE */
  .mh-title {
    font-weight: 700;
    color: #002147;
    text-align: center;
    margin-bottom: 40px;
  }

  .mh-card h4 {
    font-weight: 600;
    color: #002147;
    text-align: center;
    margin-bottom: 20px;
  }

  .mh-image {
    text-align: center;
  }

  .mh-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  }

  @media (max-width: 768px) {
    .mh-card {
      padding: 20px;
    }
  }

/* MENU MITRA */

.mitra-card {
  padding: 10px 6px;
}

.mitra-logo-wrapper {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mitra-logo-wrapper img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.mitra-name {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #555;
}

/* MENU BERITA */

.berita-thumb {
  height: 200px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.berita-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.berita-card:hover .berita-thumb img {
  transform: scale(1.06);
}

.berita-card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.berita-date {
  font-size: 0.75rem;
  color: #8a8f94;
  font-weight: 400;
}

.berita-title-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
}

.berita-title-link:hover {
  color: var(--accent);
}

.berita-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.berita-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* BERITA DETAIL */

.berita-judul {
  text-align: justify;
  font-weight: 700;
  line-height: 1.4;
}

.berita-meta {
  font-size: 0.9rem;
  color: #6c757d;
}

.berita-content {
  text-align: justify;
  line-height: 1.9;
  font-size: 1rem;
  color: #333;
}

.berita-content,
.berita-content * {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  line-height: inherit !important;
}

.berita-content p {
  display: block;
  margin-bottom: 1.1rem;
}

.berita-content br {
  display: block;
  content: "";
  margin-bottom: 0.7rem;
}

.berita-content ul,
.berita-content ol {
  padding-left: 1.3rem;
  margin-bottom: 1.2rem;
}

.berita-content h1,
.berita-content h2,
.berita-content h3,
.berita-content h4,
.berita-content h5,
.berita-content h6 {
  font-family: inherit;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}

.berita-detail-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.berita-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .berita-detail-image {
    height: 260px;
  }
}

/* Share */
.berita-share {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.berita-share a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f3f5;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.berita-share a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.berita-share a .bi-whatsapp {
  color: #25d366;
}

.berita-share a:hover .bi-whatsapp {
  color: #fff;
}

/* Kembali btn */
.berita-back-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.berita-back-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* KEGIATAN DETAIL */

.kegiatan-judul {
  text-align: justify;
  font-weight: 700;
  line-height: 1.4;
}

.kegiatan-detail-image {
  text-align: center;
}

.kegiatan-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: inline-block;
}

.kegiatan-content {
  text-align: justify;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

.kegiatan-back-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.kegiatan-back-link:hover {
  color: var(--accent);
}

.btn-daftar {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-daftar:hover {
  background-color: #157347 !important;
  border-color: #146c43 !important;
  color: #fff !important;
}

.btn-daftar:focus,
.btn-daftar:active,
.btn-daftar:focus-visible,
.btn-daftar:visited {
  background-color: #198754 !important;
  border-color: #198754 !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* FASILITAS, UKM */
.vmts-title {
  font-weight: 700;
  color: #002147;
  text-align: center;
  margin-bottom: 20px;
}

.vmts-section h5 {
  color: #002147;
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.vmts-section ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.vmts-section ul li {
  margin-bottom: 8px;
}

/* DOSEN */
.filter-bar {
  background: var(--primary-dark);
  padding: 12px 14px;
}

.filter-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 0;
}

.filter-tab {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 18px;
  white-space: nowrap;
  transition: color .2s ease;
}

.filter-tab:hover {
  color: var(--accent);
}

.filter-tab.active {
  color: var(--accent);
  font-weight: 900;
}

.filter-divider {
  color: rgba(255,255,255,.55);
  user-select: none;
  pointer-events: none;
}

.filter-spacer {
  flex: 1 1 auto;
}

.dosen-item.hide {
  display: none;
}

.dosen-img-wrapper {
  overflow: hidden;
}

.dosen-img {
  transition: transform .35s ease;
}

.dosen-card:hover .dosen-img {
  transform: scale(1.15);
}

.dosen-name:hover {
  color: var(--accent);
}

/* DETAIL DOSEN */


.detail-dosen {
    width: 100%;
}

.detail-dosen-card {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.detail-dosen-photo {
    width: 180px;
}

.detail-dosen-photo img {
    width: 100%;
    aspect-ratio: 2 / 3; 
    object-fit: cover;
}

.detail-dosen-info {
    flex: 1;
}

.detail-dosen-info h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.detail-dosen-info h6 {
    color: #494949;
    margin-bottom: 20px;
}


.detail-dosen-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    border-left: 4px solid #1e73be;
    padding-left: 10px;
}

.detail-dosen-list {
    padding-left: 20px;
}

.detail-dosen-list li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {

    .detail-dosen-card {
        flex-direction: column;
        align-items: center;
    }

    .detail-dosen-photo {
        width: 140px;
    }

    .detail-dosen-photo img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .detail-dosen-info {
        width: 100%;
        text-align: center;
    }
}

/* PENDAFTARAN */

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:first-child {
  border-top: none;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 5px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: #e09b11;
}

.arrow {
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.accordion-item.active .arrow {
  transform: rotate(90deg);
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding: 0 5px;
}

.accordion-content ul,
.accordion-content ol {
  padding-left: 20px;
  margin: 15px 0;
}

.accordion-content p {
  margin: 15px 0;
}

.tabel-pendaftaran {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}

.tabel-pendaftaran th {
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid #e09b11;
  font-weight: 600;
}

.tabel-pendaftaran td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

.tabel-pendaftaran tbody tr:hover {
  background: transparent;
}

