
html,
body {
	height: 100%;
	font-family: 'Rubik', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #111111;
	margin: 0;
	font-weight: 500;
	font-family: 'Rubik', sans-serif;
}

h1 {
	font-size: 60px;
}

h2 {
	font-size: 36px;
	line-height: 1.2;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 14px;
}

p {
	font-size: 14px;
	color: #636363;
	line-height: 1.6;
}

img {
	max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
	outline: none;
}

a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

ul,
ol {
	padding: 0;
	margin: 0;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/*---------------------
	Helper CSS
-----------------------*/

.spad {
	padding-top: 90px;
	padding-bottom: 90px;
}

.section-title {
	margin-bottom: 70px;
}

.section-title h3 {
	text-transform: uppercase;
	margin-bottom: 20px;
}

.section-title p {
	margin-bottom: 0;
}

.set-bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 0;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
	color: #fff;
}




/* Preloder */

#preloder {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 999999;
	background: #fff;
}

.loader {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -13px;
	margin-left: -13px;
	border-radius: 60px;
	animation: loader 0.8s linear infinite;
	-webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
	0% {
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
		border: 4px solid #800000;
		border-left-color: transparent;
	}
	50% {
		-webkit-transform: rotate(180deg);
		        transform: rotate(180deg);
		border: 4px solid #404040;
		border-left-color: transparent;
	}
	100% {
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
		border: 4px solid #800000;
		border-left-color: transparent;
	}
}

@-webkit-keyframes loader {
	0% {
		-webkit-transform: rotate(0deg);
		border: 4px solid #800000;
		border-left-color: transparent;
	}
	50% {
		-webkit-transform: rotate(180deg);
		border: 4px solid #404040;
		border-left-color: transparent;
	}
	100% {
		-webkit-transform: rotate(360deg);
		border: 4px solid #800000;
		border-left-color: transparent;
	}
}


/*---------------------
	Header
-----------------------*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

.header-section {
	padding: 0 0;
	overflow: hidden;
}

.logo-container {
	display: flex;
    justify-content: space-between; /* kiri dan kanan */
    align-items: center;            /* tengah vertikal */
    padding: 10px 20px;
}

.slogan-header {
  /* font-family: 'Bebas Neue', cursive; */
  font-size: 1.8em;
  position: relative;
  top: 0;
  right: 0;
  transform: translate(-50%,-50%);
  background-image: linear-gradient(gold, gold);
  background-size: 100% 10px;
  background-repeat: no-repeat;
  background-position: 100% 0%;
  transition: background-size .7s, background-position .5s ease-in-out;
  /* font-weight: bold; */
}

.slogan-header:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
}

.logo-heading {
	
     display: flex;
    align-items: center;
    gap: 15px;              /* Jarak antara logo dan teks */
}

.logo-img {
    height: 80px;  
	width: 80px;           /* Atur ukuran logo */
}

.logo-text {
    font-size: 24px;
    text-decoration: underline;
    margin: 0;
}

.find-us {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-box {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    transform: rotate(-45deg); /* balikin ikon ke posisi normal */
    color: darkred;
}

.info-text .label {
    font-weight: bold;
    font-size: 12px;
    color: #333;
}

.address {
    margin: 0;
    font-size: 14px;
    color: #555;
	width: 500px; /* Atur lebar alamat */
	overflow: hidden;
	text-overflow: ellipsis;
	/* white-space: nowrap; */
}

.header-info {
	float: right;
	display: flex;
    align-items: center;
    gap: 10px;
}

.header-info .hf-item {
	display: inline-block;
	margin-left: 35px;
}

.header-info .hf-item i {
	width: 45px;
	height: 45px;
	display: inline-block;
	position: relative;
	text-align: center;
	color: #800000;
	font-size: 17px;
	padding-top: 13px;
	margin-right: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.header-info .hf-item i:after {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border: 1px solid #d2d2db;
	-webkit-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	border-radius: 2px;
}

.header-info .hf-item p {
	display: inline-block;
	position: relative;
	top: 10px;
	margin-bottom: 0;
}

.header-info .hf-item p span {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: #020031;
	font-weight: 500;
}

/*---------------------
  Navigation 
-----------------------*/
.unsultra-navbar {
  background-color: #800000;
  border-bottom: 2px solid #f4c200;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
}

.unsultra-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.unsultra-navbar .nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.unsultra-navbar .logo-long {
  max-height: 70px;
  object-fit: contain;
}

.unsultra-navbar .logo {
  height: 60px;
}

.unsultra-navbar .kampus-nama h1 {
  font-size: 1.1rem;
  margin: 0;
  color: #111;
}

.unsultra-navbar .kampus-nama .slogan {
  font-size: 0.9rem;
  background-image: linear-gradient(yellow, yellow);
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: bottom;
  padding-bottom: 4px;
}

.unsultra-navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.unsultra-navbar .btn-daftar {
  background-color: #f4c200;
  color: black;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 13px;
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.unsultra-navbar .btn-daftar:hover {
  background-color: #ffd700;
  color: #800000;
}

.unsultra-navbar .main-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding-left: 0;
  gap: 20px;
  margin: 20px 0 0;
}

.unsultra-navbar .submenu .has-submenu {
  position: relative;
}

.unsultra-navbar .submenu .has-submenu > .submenu {
  top: 0;
  left: 100%;
  margin-left: 0;
  position: absolute;
  background-color: #800000;
  display: none;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.unsultra-navbar .submenu .has-submenu:hover > .submenu {
  display: block;
}

.unsultra-navbar .submenu .submenu li a {
  white-space: nowrap;
}


.unsultra-navbar .main-menu > li {
  position: relative;
}

.unsultra-navbar .main-menu > li > a {
  color: #fff;
  font-weight: 600;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.unsultra-navbar .main-menu > li.active > a,
.unsultra-navbar .main-menu > li > a:hover {
  border-bottom: 2px solid #f4c200;
  color: #fefefe;
}

.unsultra-navbar .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #800000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 220px;
  z-index: 100;
}

.unsultra-navbar .submenu li a {
  display: block;
  padding: 8px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.unsultra-navbar .submenu li a:hover {
  background-color: #f4f4f4;
  color: #800000;
}

.unsultra-navbar .has-submenu:hover > .submenu {
  display: block;
}

/* Hamburger */
.unsultra-navbar .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.unsultra-navbar .hamburger span {
  width: 25px;
  height: 3px;
  background-color: #111;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .unsultra-navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .unsultra-navbar .hamburger {
    display: flex;
    margin-top: 10px;
  }

  .unsultra-navbar .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .unsultra-navbar .main-menu.active {
    display: flex;
  }

  .unsultra-navbar .nav-right {
    align-self: flex-end;
    margin-top: 10px;
  }

  .unsultra-navbar .kampus-nama h1 {
    font-size: 1rem;
  }

  .unsultra-navbar .kampus-nama .slogan {
    font-size: 0.85rem;
  }
}




/*---------------------
  breadcrumb
-----------------------*/ 
.breadcrumb-wrapper {
  background-color: #f9f9f9;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

.breadcrumb {
  font-size: 14px;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a {
  text-decoration: none;
  color: #800000;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #555;
}



/*---------------------
	Divider
-----------------------*/
.divider-wave svg {
  display: block;
  width: 100%;
  height: 100px;
  margin-bottom: -60px; /* ini yang bikin menimpa */
  z-index: 3;
  position: relative;
  margin-top: 5px;
    /* overflow: hidden; */
}

.divider-wave-flip svg {
	display: block;
  width: 100%;
 	height: 100px;
  margin-top: -35px; /* agar mulus menyatu */
  transform: scaleX(-1); /* Membalik horizontal */
	line-height: 0;
  margin-bottom: -1px;
}

.home-intro {
    /* padding: 40px 20px; */
    text-align: center;
}

/*---------------------
  Sambutan Rektor
-----------------------*/
.sambutan-rektor {
  
  padding: 60px 20px;
  background-color: #f9f9f9;
  
}

.sambutan-rektor .container {
  max-width: 1200px;
  margin: 0 auto;
}

.rektor-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.rektor-foto img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 600px;
}

.rektor-isi {
  flex: 1;
}

.judul-section {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #800000;
}

.isi-sambutan {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.btn-readmore {
  display: inline-block;
  background-color: #f4c200;
  color: #000;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.btn-readmore:hover {
  background-color: #ffd700;
  color: #800000;
}

@media (max-width: 768px) {
  .rektor-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .rektor-foto img {
    width: 80%;
    margin: 0 auto;
  }

  .rektor-isi {
    padding-top: 20px;
  }
}




/*---------------------
	CTA
-----------------------*/

.cta-wrapper {
    background-color: #FFE600;
    margin-top: 0;
    padding-top: 0;
}

.cta-section {
    background-color: #FFE600; /* Warna emas UNSULTRA */
    padding: 60px 20px;
    color: #111;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
	height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    
}

.cta-text {
    flex: 1 1 50%;
    text-align: center;
    animation: slideLeft 3s forwards;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1E1E1E ;
}

.cta-text .highlight {
    color: #800000;
}

.cta-text p {
    font-size: 2rem;
    line-height: 1;
	color: #1E1E1E ;
}

.cta-image {
    flex: 1 1 40%;
  	display: flex;
  	align-items: flex-end; /* Dorong ke bawah */
  	justify-content: center;
  	height: 100%; /* Pastikan tinggi penuh */
}

.cta-image img {
    max-height: 100%;
  	object-fit: contain;
  	display: block;
  	margin-bottom: -4px; /* opsional: hilangkan celah bawah */
	  animation: slideRight 3s forwards;

}

.dropdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -15px;
  position: relative;
  z-index: 10;
}

#dropdownToggle {
  background-color: white;
  border: none;
  font-weight: bold;
  font-size: 26px;
  cursor: pointer;
  padding: 10px;
  border-bottom: 2px solid orange;
}

.dropdown {
  background-color: #fff;
  border: 1px solid #ccc;
  list-style: none;
  margin-top: 10px;
  padding: 0;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown.show {
  opacity: 1;
  max-height: 500px; /* cukup besar agar semua item terlihat */
  transform: translateY(0);
}

.dropdown li {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  display: block;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  /* transition: background-color 0.3s, color 0.3s; */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown li:hover{
  background-color: #800000;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.dropdown li a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown li a:hover {
  background-color: #800000;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.dropdown li:last-child {
  border-bottom: none;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
    .cta-container {
        flex-direction: column-reverse;
    }
    .cta-text h2 {
        font-size: 2rem;
    }
    .cta-text p {
        font-size: 1rem;
    }
}

/*---------------------
	Student Counter
-----------------------*/
.student-counter-wraper {
  background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  background-size: auto;
  color: #FAFAFA;
  text-align: center;
  padding: 60px 0 40px;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}
.counter-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 10px;
  
}
.counter-box h2 {
  font-size: 62px;
  margin-bottom: 10px;
  color: #000000;
}
.counter-box p {
  font-size: 24px;
  color: #4D4D4D;
}

/*---------------------
	Fasilitas Sum
-----------------------*/

.fasilitas-sum-section {
  background-color: #FFF9F2;
  padding: 60px 20px;
  text-align: center;
  background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  background-size: auto;
  color: #FAFAFA;
}

.fasilitas-sum-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.fasilitas-sum-text {
  flex: 1 1 40%;
  text-align: left;
}

.fasilitas-sum-text h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #222;
}

.fasilitas-sum-text span {
  font-weight: 700;
  color: #000;
}

.fasilitas-sum-buttons {
  flex: 1 1 50%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-outline {
  padding: 12px 20px;
  border: 1px solid #000;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
  text-decoration: none;
  color: #000;
  font-weight: bold;
  background-color: #fff;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #000;
  color: #fff;
}

.btn-solid {
  padding: 12px 30px;
  background-color: #f4c200;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-solid:hover {
  background-color: #ffd700;
  color: #800000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fasilitas-sum-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .fasilitas-sum-text {
    text-align: center;
  }

  .fasilitas-sum-buttons {
    justify-content: center;
  }

  .btn-outline, .btn-solid {
    width: 100%;
    max-width: 320px;
  }
}

/*---------------------
	about campus
-----------------------*/

.about-campus {
  /* background-color: #f9f9f9; */
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 0; /* ubah dari -80px ke 0 */
  z-index: 1;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  z-index: 1;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.4;
}

.about-text h2 span {
  font-weight: 400;
  color: #555;
}

.about-text h2 strong {
  color: #800000;
}

.about-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.btn-yellow {
  display: inline-block;
  background-color: #f4c200;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  color: #000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-yellow:hover {
  background-color: #ffd700;
  color: #800000;
}

.about-media {
  flex: 1 1 500px;
  text-align: center;
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .btn-yellow {
    margin-top: 20px;
  }

  .about-media {
    width: 100%;
  }
}

.about-campus .video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.about-campus .video-thumbnail img {
  width: 100%;
  border-radius: 10px;
}

.about-campus .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  background-color: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 50%;
  transition: 0.3s;
}

.about-campus .play-button:hover {
  background-color: rgba(0,0,0,0.9);
}

/* Overlay */
.video-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.video-overlay.active {
  display: flex;
}

.video-box {
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  position: relative;
}

.close-btn {
  position: absolute;
  top: -30px;
  right: 0;
  color: #fff; 
  background-color: maroon;
  font-size: 30px;
  width: 30px;
  cursor: pointer;
}
/*-----------
Latest Info
-----------*/


.latest-info-section {
  padding: 60px 20px;
  /* background-color: #f9f9f9; */
  max-width: 1200px;
  margin: auto;
  gap : 10px;
}

.latest-info-section .section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

.latest-info-section .swiper {
  padding-bottom: 40px;
}

.latest-info-section .swiper-slide {
  display: grid;
  grid-template-areas:
    "big small1"
    "big small2";
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

.latest-info-section .card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
}

.latest-info-section .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-info-section .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, #800000, rgba(128, 0, 0, 0)); /* maroon gradient */
  transition: background 0.3s ease;
}

.latest-info-section .card.big {
  grid-area: big;
  min-height: 400px;
  margin-bottom: 10px;
}

.latest-info-section .card.small {
  min-height: 190px;
  margin-bottom: 10px;
}

.latest-info-section .category {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.95;
}

.latest-info-section .overlay h3,
.latest-info-section .overlay h4 {
  margin: 10px 0 5px;
  color: #FFD700; /* emas */
  font-weight: bold;
}

.latest-info-section .overlay p {
  color: #f0f0f0; /* tanggal: abu terang */
  font-size: 0.85rem;
}

.latest-info-section .swiper-button-next,
.latest-info-section .swiper-button-prev {
 background-color: #333; /* abu-abu gelap */
  color: #fff; /* warna panah jadi putih supaya kontras */
  
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

.latest-info-section .swiper-button-next {
  right: 10px;
}

.latest-info-section .swiper-button-prev {
  left: 10px;
}

.latest-info-section .swiper-button-next::after,
.latest-info-section .swiper-button-prev::after {
  font-size: 30px;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}




@media (max-width: 768px) {
  .swiper-slide {
    display: block;
  }

  .card.big,
  .card.small {
    min-height: 200px;
    margin-bottom: 15px;
  }
}

.btn-read-more {
  display: inline-block;
  background-color: #f4c200;
  color: black;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-read-more:hover,
.btn-read-more:focus {
  background-color: #ffd700;
  outline: none;
  color: #800000  ;
}

.read-more-separator {
  margin-top: 20px;
  border: none;
  border-bottom: 1px solid #ccc;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/*---------------------
  Detail Post
-----------------------*/

:root {
  --color-primary: #800000;
  --color-accent: #f4c200;
  --color-text: #333;
  --color-muted: #555;
  --color-shadow: rgba(0,0,0,0.1);
}

/* === Post Typography === */
.post-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 10px;
}

.btn-readmore {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-accent);
  color: black;
  font-weight: bold;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-readmore:hover {
  background-color: #ffd700;
  color: var(--color-primary);
}

/* index post */

.posts-page .title-page{
  display: inline-block;            /* Supaya selebar teks */
  font-size: 1.8em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;


}

.text-center {
  text-align: center;
}

.posts-page .title-page:hover{
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}


.posts-page .search-form {
  text-align: center;
  margin-bottom: 30px;
}

.posts-page .search-form input[type="text"] {
  padding: 10px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.posts-page .search-form button {
  padding: 10px 16px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}

.posts-page .search-form button:hover {
  background-color: #a00000;
}

.posts-page .post-list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.posts-page .post-list-item:hover {
  background-color: #fff8f2;
}

.posts-page .post-thumbnail img {
  width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.posts-page .post-list-body {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .posts-page .post-list-item {
    flex-direction: column;
    text-align: center;
  }

  .posts-page .post-thumbnail img {
    width: 100%;
    height: auto;
  }

  .posts-page .post-list-body {
    margin-top: 15px;
  }
}

:root {
  --color-primary: #800000;
  --color-facebook: #3b5998;
  --color-twitter: #1da1f2;
  --color-whatsapp: #25d366;
  --color-text: #333;
  --color-text-body: #444;
  --color-muted: #666;
  --color-bg-sidebar: #f9f9f9;
  --color-shadow: rgba(0,0,0,0.1);
}

/* === DETAIL POST PAGE === */
.post-detail-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}

.post-main-content {
  flex: 1 1 700px;
  min-width: 300px;
}

.post-detail-container {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--color-shadow);
  color: var(--color-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.post-detail-container h1 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.post-meta {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.post-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.post-image:hover {
  transform: scale(1.03);
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-body);
  margin-bottom: 1.5em;
}

.post-content p {
  margin-bottom: 1.2em;
}

/* === PDF Preview === */
.pdf-preview iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* === SIDEBAR === */
.sidebar-posts {
  flex: 0 0 280px;
  background-color: var(--color-bg-sidebar);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: fit-content;
}

.sidebar-posts h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 6px;
}

.sidebar-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-posts li {
  margin-bottom: 12px;
}

.sidebar-posts a {
  color: var(--color-text-body);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.sidebar-posts a:hover,
.sidebar-posts a:focus {
  color: var(--color-primary);
  text-decoration: underline;
  outline: none;
}

/* === SHARE SECTION === */
.share-section {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.share-section h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-weight: 700;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-share {
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-share:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 8px var(--color-primary);
}

.btn-share.facebook {
  background-color: var(--color-facebook);
}

.btn-share.facebook:hover,
.btn-share.facebook:focus {
  background-color: #2d4373;
}

.btn-share.twitter {
  background-color: var(--color-twitter);
}

.btn-share.twitter:hover,
.btn-share.twitter:focus {
  background-color: #0d95e8;
}

.btn-share.whatsapp {
  background-color: var(--color-whatsapp);
}

.btn-share.whatsapp:hover,
.btn-share.whatsapp:focus {
  background-color: #1ebe57;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .post-detail-page {
    flex-direction: column;
  }

  .sidebar-posts {
    width: 100%;
    margin-top: 30px;
  }

  .pdf-preview iframe {
    height: 450px;
  }
}

.btn-download-pdf {
  display: inline-block;
  background-color: #800000;
  color: #fff;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-download-pdf:hover {
  background-color: #a00000;
}

/*---------------------
  Sambutan rektor full page
-----------------------*/

.sambutan-rektor-full {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.sambutan-rektor-full .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.sambutan-rektor-full .section-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.sambutan-foto {
  margin: 0 auto 25px auto;
  max-width: 800px;
}

.sambutan-foto img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sambutan-isi {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

@media (max-width: 768px) {
  .sambutan-isi {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/*---------------------
  akreditasi
-----------------------*/
.akreditasi-page {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.akreditasi-page .section-title {
   text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;

}

.akreditasi-page .section-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.akreditasi-image img {
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.akreditasi-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

@media (max-width: 768px) {
  .akreditasi-description {
    padding: 0 15px;
  }
}



/*---------------------
  Resource  
-----------------------*/
.resource-section {
  padding: 20px ;
  /* background-color: #f7f8fa; */
  background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  text-align: center;
  max-width: auto;
  margin: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.resource-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
  font-family: 'Poppins', sans-serif;
}

.resource-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px;
}

.resource-item {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-circle {
  background-color: #FFD700;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.icon-circle img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.resource-item p {
  font-weight: 600;
  font-size: 0.9rem;
  color: #222;
  line-height: 1.2;
}

.icon-link {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon-link:hover {
  transform: scale(1.1);
}


/* Responsive */
@media (max-width: 600px) {
  .resource-grid {
    gap: 25px;
  }
  .resource-item {
    width: 100px;
  }
  .icon-circle {
    width: 90px;
    height: 90px;
  }
  .icon-circle img {
    width: 45px;
    height: 45px;
  }
  .resource-section .section-title {
    font-size: 2rem;
  }
}

/*---------------------
  Kerja Sama
-----------------------*/
.kerja-sama-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.kerja-sama-container {
    max-width: 1200px;
    margin: 0 auto;
}

.kerja-sama-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.kerja-sama-left,
.kerja-sama-right {
    flex: 1 1 45%;
}

.kerja-sama-left h2 {
    font-size: 2.5rem;
    color: #1e1e1e;
    margin: 0;
}

.highlight {
    font-weight: 700;
    color: #111;
}

.kerja-sama-right p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #f4c200;
    color: black;
    padding: 14px 24px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #ffd700;
    color: #800000;
}

/* Partner Row */
.partner-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.partner-box {
    flex: 1 1 48%;
    text-align: center;
    margin-top: 20px;
}

.partner-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-logos img {
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logos img:hover {
    transform: scale(1.1);
}

/* Animasi custom fade-up */
.custom-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: customFadeUp 0.8s ease forwards;
}

@keyframes customFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsif */
@media (max-width: 768px) {
    .kerja-sama-content,
    .partner-row {
        flex-direction: column;
        text-align: center;
    }

    .kerja-sama-left,
    .kerja-sama-right,
    .partner-box {
        flex: 1 1 100%;
    }

    .kerja-sama-left h2 {
        font-size: 2rem;
    }

    .kerja-sama-right p {
        font-size: 1rem;
    }
}

/*---------------------
  Cipras
-----------------------*/

.cipras-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.cipras-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cipras-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.cipras-header h2 {
  font-size: 2.5rem;
  color: #111;
}

.cipras-header strong {
  color: #800000; /* biru gelap */
}

.btn-blue {
display: inline-block;
  background-color: #f4c200;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  color: #000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-blue:hover {
  background-color: #ffd700;
  color: #800000;
}

.cipras-video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cipras-video-wrapper .video-thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}

.cipras-video-wrapper .video-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.cipras-video-wrapper .video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 14px 18px;
  transition: background 0.3s;
}

.cipras-video-wrapper .video-thumbnail:hover .play-button {
  background: rgba(0, 0, 0, 0.8);
}

/* Overlay */
.ciprasVideoOverlay .video-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.ciprasVideoOverlay .video-box {
  width: 90%;
  max-width: 800px;
  position: relative;
  aspect-ratio: 16 / 9;
}

.ciprasVideoOverlay .video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.ciprasVideoOverlay .video-box .close-btn {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  padding: 5px 12px;
  border-radius: 50%;
  line-height: 1;
}

/*----------------------
  Footer   
-----------------------*/

.site-footer {
  background-color: #800000;
  color: #fff;
  padding: 60px 20px 30px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-column p{
  margin-bottom: 20px;
  font-size: 14px;
  color: #ffffff;
}

.footer-bottom p{
  margin-bottom: 20px;
  font-size: 14px;
  color: #ffffff;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #fff;
}

.map-column {
  flex: 1 1 300px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.footer-bottom p{
  margin-bottom: 20px;
  font-size: 14px;
  color: #ffffff;
}


.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

/* Wrapper untuk memusatkan konten */
.error-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85vh;
  text-align: center;
  padding: 20px;
}

/* Konten 404 */
.error-content h1 {
  font-size: 100px;
  color: maroon;
  margin-bottom: 10px;
}

.error-content h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #111;
}

.error-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* Tombol kembali */
.error-content .btn-daftar {
  background-color: #ff8c00;
  color: maroon;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.error-content .btn-daftar:hover {
  background-color: #eca753;
  color: #800000;
}

/* Hanya aktif di halaman post */
/* === LIST POST STYLE === */

/*----------------------
  Profile
-----------------------*/

.profil-section {
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px;
  background-color: #fff;
  
  color: #222;
}



.profil-section .page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.profil-section .page-title:hover{
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.profil-section .hero-profil {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
    background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  background-size: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.profil-section .hero-profil .text {
  flex: 1;
  min-width: 300px;
}

.profil-section .hero-profil .text p{
  font-size: 1.3rem;
}

.profil-section .sejarah-box  p{
  font-size: 1.3rem;
}

.profil-section .hero-profil .image img {
  max-width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profil-section .highlight {
  color: #800000;
  font-weight: 600;
}

.profil-section .buttons .btn {
  padding: 10px 20px;
  margin-right: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.profil-section .btn.primary {
  background-color: #f4c200;
  color: black;
}

.profil-section .btn.primary:hover {
  background-color: #ffd700;
  color: #800000;
}

.profil-section .btn.secondary {
  background-color: #ddd;
  color: #333;
}

.profil-section .btn.secondary:hover {
  background-color: #d2d2d2;
  color: #800000;
}

.profil-section .btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.profil-section .sejarah-box {
  background-color: #ffe600;
  padding: 20px;
  border-radius: 10px;
  margin-top: 50px;
  text-align: center;
}

.profil-section .statistik-box {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
}

.profil-section .stat h4 {
  font-size: 2rem;
  color: #800000;
}

.profil-section .pimpinan-section {
  display: flex;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.profil-section .rektor-img {
  max-width: 400px;
  border-radius: 10px;
}

.profil-section .mars-section {
  margin-top: 50px;
  text-align: center;
}

.pimpinan-section {
  /* background-color: #1a1a1a; */
  color: white;
  /* background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  background-size: auto; */
  padding: 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.pimpinan-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  background: 
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url('/images/texture/always-grey.png') repeat;
  background-size: auto;
}

.pimpinan-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.pimpinan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.pimpinan-grid.single {
  justify-content: center;
}

.pimpinan-grid.triple {
  flex-direction: row;
}

.pimpinan-card {
  background-color: #000080;
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pimpinan-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-right: 5px solid #FFD700;
}

.pimpinan-info {
  padding: 20px;
}

.pimpinan-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #FFD700;
}

.pimpinan-position {
  color: #FFD700;
  font-weight: bold;
  margin-bottom: 10px;
}

.pimpinan-info p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 5px;
  color: #ffffff;
}



/* Responsive */
@media (max-width: 768px) {
  .profil-section .hero-profil {
    flex-direction: column;
  }

  .profil-section .pimpinan-section {
    flex-direction: column;
    text-align: center;
  }

  .profil-section .statistik-box {
    flex-direction: column;
  }

  .profil-section .buttons .btn {
    display: block;
    margin-bottom: 10px;
  }
}

/*----------------------
  Responsive
-----------------------*/


@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }

  .map-column {
    height: 200px;
  }

  .error-content h1 {
    font-size: 60px;
  }

  .error-content h2 {
    font-size: 24px;
  }

  .error-content p {
    font-size: 14px;
  }

  .error-content .btn-daftar {
    font-size: 12px;
    padding: 8px 16px;
  }

  .posts-page .post-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .posts-page .post-thumbnail img {
    width: 100%;
    height: auto;
  }

  .posts-page .post-list-body {
    margin-top: 15px;
  }

  .pimpinan-card {
    flex-direction: column;
    text-align: center;
  }

  .pimpinan-card img {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 5px solid #FFD700;
  }

  
}

/*----------------------
  Tambahan 26 Mei 2025
-----------------------*/

/*----------------------
  Visi Misi 
-----------------------*/

.visimisi-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.visimisi-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;

}

.visimisi-section  .section-title:hover{
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.visimisi-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.visimisi-text {
  flex: 1 1 500px;
}

.visimisi-text h3 {
  color: #800000;
  font-size: 1.5rem;
  margin-top: 20px;
}

.visimisi-text p,
.visimisi-text li {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.visimisi-text ol {
  padding-left: 20px;
  margin-top: 10px;
}

.visimisi-image {
  flex: 1 1 500px;
  text-align: center;
  position: relative;
  max-width: 600px;
  margin: 250px auto 0 50px;
  padding-top: 50px;
}

/* .visimisi-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
} */

.visimisi-image .img-top,
.visimisi-image .img-bottom{
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: absolute;
  transition: transform 0.3s ease;
}

.visimisi-image .img-top {
  top: 0;
  left: 0;
  z-index: 2;
}

.visimisi-image .img-bottom {
  top: 280px;
  left: 80px;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .visimisi-content {
    flex-direction: column;
    text-align: center;
  }

  .visimisi-text {
    text-align: left;
  }

  .visimisi-text h3 {
    font-size: 1.3rem;
  }

  .visimisi-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .visimisi-image .img-top,
  .visimisi-image .img-bottom {
    position: static;
    max-width: 90%;
    margin-bottom: 20px;
  }
}

/*----------------------
  27 mei
  Yayasan
-----------------------*/

.yayasan-section {
  background: linear-gradient(to right, #fffef9, #fffbe6);
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.yayasan-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.yayasan-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;            /* Supaya selebar teks */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.yayasan-section .section-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.yayasan-section .legal-info {
  text-align: center;
  margin-bottom: 40px;
  color: #444;
}

.yayasan-section .legal-info p {
  margin: 5px 0;
  font-size: 1rem;
}

.yayasan-section .struktur-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.yayasan-section .struktur-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-top: 5px solid #f4c200;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease both;
}

.yayasan-section .struktur-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.yayasan-section .struktur-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #800000;
  border-bottom: 2px solid #f4c200;
  padding-bottom: 5px;
}

.yayasan-section .struktur-box ul {
  list-style: none;
  padding-left: 0;
}

.yayasan-section .struktur-box li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.yayasan-section .struktur-box li strong {
  color: #000;
}

/* Animasi masuk */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif */
@media (max-width: 768px) {
  .yayasan-section .struktur-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .yayasan-section .struktur-box {
    width: 100%;
  }

  .yayasan-section .section-title {
    font-size: 1.5rem;
  }
}

/*----------------------
  28 Mei
  Senat Universitas
  ---------------------*/

  .senat-section {
  padding: 60px 20px;
  background-color: #fefefe;
  font-family: 'Poppins', sans-serif;
 
}

.senat-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.senat-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;            /* Supaya selebar teks */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;

}


.senat-section .section-title:hover{
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.senat-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.senat-table th,
.senat-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 1rem;
}

.senat-table th {
  background-color: #f4c200;
  color: #000;
  font-weight: bold;
}

.senat-table tr:hover {
  background-color: #fef8e0;
}

@media (max-width: 768px) {
  .senat-table table {
    font-size: 0.9rem;
  }
}


/*----------------------
  29 Mei
  Pimpinan Universitas
-----------------------*/


.pimpinan-grid-section {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.pimpinan-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.pimpinan-grid-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;            /* Supaya selebar teks */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;

}

.pimpinan-grid-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.pimpinan-grid-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.pimpinan-grid-card {
  background-color: #f9f9f9;
  width: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.pimpinan-grid-card:hover {
  transform: translateY(-5px);
}

.pimpinan-grid-card img {
  width: 100%;
  height: auto;
  display: block;
}

.pimpinan-grid-info {
  padding: 10px;
}

.pimpinan-grid-info h3 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
  color: #000;
}

.pimpinan-grid-info p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .pimpinan-grid-cards {
    flex-direction: column;
    align-items: center;
  }

  .pimpinan-grid-card {
    width: 100%;
    max-width: 320px;
  }
}

/*----------------------
  Kerja Sama
-----------------------*/

.kerja-samas-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  width: 60%;
  margin: 0 auto;
}

.kerja-samas-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;            /* Supaya selebar teks */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.kerja-samas-section .section-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.kerja-samas-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kerja-samas-table th,
.kerja-samas-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
}

.kerja-samas-table th {
  background-color: #f4c200;
  color: #000;
}

.kerja-samas-table tr:hover {
  background-color: #fef8e0;
}

@media (max-width: 768px) {
  .kerja-sama-table th,
  .kerja-sama-table td {
    font-size: 0.9rem;
  }
}

/*----------------------
  Biaya Pendidikan
-----------------------*/

.biaya-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  width: 80%;
  margin: 0 auto; 
  /* text-align: center; */
}

.biaya-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;            /* Supaya selebar teks */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.biaya-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.biaya-card {
  background: #fefefe;
  border: 1px solid #ddd;
  border-left: 4px solid #800000;
  padding: 20px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.biaya-card h3 {
  margin-bottom: 15px;
  color: #800000;
}

.biaya-card ul {
  padding-left: 20px;
}

.biaya-card ul li {
  margin-bottom: 5px;
}

.biaya-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.biaya-table th, .biaya-table td {
  padding: 10px 14px;
  border: 1px solid #ccc;
  text-align: left;
}

.biaya-table th {
  background: #f4c200;
  color: #000;
}

.biaya-table td strong {
  color: #800000;
}

/*---------------
  Beasiswa
-----------------------*/

/*----------------------
  Beasiswa Section
-----------------------*/

.beasiswa-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  /* margin: 0 auto; */
}

.beasiswa-header {
  text-align: center;
  margin-bottom: 30px;
}

.beasiswa-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Judul Section */
.beasiswa-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 30px;
  display: inline-block;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom left;
  transition: background-size 0.3s ease;
}

.beasiswa-title:hover {
  background-size: 100% 100%;
  color: #000;
}

/* Kolom Kiri: List Card */
.beasiswa-list {
  flex: 1 1 600px;
}

.beasiswa-card {
  background: #fefefe;
  border: 1px solid #ddd;
  border-left: 5px solid #800000;
  padding: 20px 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.beasiswa-card h3 {
  margin-bottom: 10px;
  color: #800000;
  font-size: 1.3rem;
}

.beasiswa-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.beasiswa-card a {
  color: #f4c200;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.beasiswa-card a:hover {
  color: #800000;
}

.beasiswa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Kolom Kanan: Gambar Bertumpuk */
.beasiswa-images {
  position: relative;
  width: fit-content;
  margin: 100px auto 0;
  padding-top: 20px;
  flex: 1 1 500px;
}

.beasiswa-img {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  position: absolute;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  width: 90%;
  height: auto;
  display: block;
}

.img-atas {
  top: 0;
  left: 0;
  z-index: 2;
}

.img-bawah {
  top: 300px;
  left: 70px;
  z-index: 1;
  opacity: 0.95;
  filter: brightness(98%);
}

/* Hover efek */
.img-atas:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.img-bawah:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/*---------------------
  Responsive Design
----------------------*/
@media (max-width: 1024px) {
  .beasiswa-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .beasiswa-title {
    font-size: 2rem;
    background-size: 100% 3px;
  }

  .beasiswa-list, .beasiswa-images {
    flex: 1 1 100%;
    width: 100%;
  }

  .beasiswa-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    margin-top: 20px;
  }

  .img-atas, .img-bawah {
    position: static;
    transform: none !important;
    opacity: 1;
    filter: none;
    width: 90%;
    max-width: 450px;
    margin-bottom: 20px;
  }
}

/*----------------------
  Dokumen Akademik Section
-----------------------*/

.dokumen-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.dokumen-section .dokumen-wrapper {
  max-width: 960px;
  margin: auto;
}

.dokumen-section .dokumen-header {
  text-align: center;
  margin-bottom: 30px;
}

.dokumen-section .dokumen-title {
  font-size: 2.3rem;
  font-weight: bold;
  color: #800000;
  display: inline-block;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center;
  transition: background-size 0.3s ease;
}

.dokumen-section .dokumen-title:hover {
  background-size: 100% 100%;
  color: #000;
}

/* Search */
.dokumen-section .dokumen-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.dokumen-section .dokumen-search input[type="text"] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  width: 250px;
  border-radius: 4px;
}

.dokumen-section .dokumen-search button {
  padding: 8px 16px;
  background-color: #800000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.dokumen-section .dokumen-search button:hover {
  background-color: #a00000;
}

/* Tabel */
.dokumen-section .dokumen-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dokumen-section .dokumen-table th,
.dokumen-section .dokumen-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 1rem;
}

.dokumen-section .dokumen-table th {
  background-color: #f4c200;
  color: #000;
  font-weight: bold;
}

.dokumen-section .dokumen-table td a {
  color: #800000;
  font-weight: bold;
  text-decoration: underline;
}

.dokumen-section .dokumen-table td a:hover {
  color: #000;
}

/* Pagination */
.dokumen-section .dokumen-pagination {
  margin-top: 20px;
  text-align: center;
}

.dokumen-section .dokumen-pagination nav {
  display: inline-block;
}

/*----------------------
  Responsive Design
-----------------------*/

@media (max-width: 768px) {
  .dokumen-section .dokumen-title {
    font-size: 1.8rem;
  }

  .dokumen-section .dokumen-search {
    justify-content: center;
  }

  .dokumen-section .dokumen-search input[type="text"] {
    width: 100%;
    max-width: 100%;
  }

  .dokumen-section .dokumen-search button {
    width: 100%;
    max-width: 200px;
  }

  .dokumen-section .dokumen-table th,
  .dokumen-section .dokumen-table td {
    font-size: 0.95rem;
    padding: 12px;
  }
}

/*----------------------
  30 Mei
  Fasilitas
-----------------------*/

/*----------------------
  Fasilitas Kampus
-----------------------*/

.fasilitas-section {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.fasilitas-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.fasilitas-header {
  text-align: center;
  margin-bottom: 40px;
}

.fasilitas-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #800000;
  background-image: linear-gradient(gold, gold);
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: bottom center;
  display: inline-block;
}

.fasilitas-title:hover {
  background-size: 100% 100%;
  color: #000;
  transition: background-size 0.3s ease;
} 

.fasilitas-intro {
  font-size: 1.1rem;
  color: #444;
  margin-top: 20px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.fasilitas-kategori {
  margin-bottom: 50px;
}

.fasilitas-kategori h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #000;
  border-left: 5px solid #f4c200;
  padding-left: 12px;
}

.fasilitas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.fasilitas-card {
  width: 500px;
  text-align: center;
}

.fasilitas-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  margin-bottom: 12px;
}

.fasilitas-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.fasilitas-deskripsi {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  padding: 0 10px;
}


/* Responsive */
@media (max-width: 768px) {
  fasilitas-card {
    width: 90%;
  }

  .fasilitas-card img {
    height: auto;
  }

  .fasilitas-deskripsi {
    font-size: 0.95rem;
  }

  .fasilitas-intro {
    font-size: 1rem;
  }
}

/*----------------------
  Fakultas Section
-----------------------*/

.fakultas-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.fakultas-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Atas: Deskripsi & Gambar */
.fakultas-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.fakultas-deskripsi {
  flex: 1 1 55%;
  min-width: 300px;
}

.fakultas-title {
 text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.fakultas-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.fakultas-desc {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}

.fakultas-gambar-stack {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 450px;
  margin-top: 200px;
}

.fakultas-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Bawah: Prodi & Quick Link */
.fakultas-bottom-row {
  text-align: center;
  margin-top: 40px;
}

.prodi-section h3 {
  font-size: 1.6rem;
  color: #800000;
  margin-bottom: 30px;
}

.prodi-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 40px;
}

.prodi-horizontal-card {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
  flex-wrap: nowrap; /* pastikan tidak terbelah */
}

.prodi-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  max-width: 240px;
  height: 160px;
}

.prodi-horizontal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.prodi-text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prodi-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 10px;
}

.prodi-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
  text-align: start;
}

.prodi-button {
  padding: 8px 16px;
  background-color: #800000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.3s ease;
}

.prodi-button:hover {
  background-color: #a00000;
}

/* Responsive */
@media (max-width: 768px) {
  .prodi-horizontal-card {
    flex-direction: column;
    text-align: center;
  }

  .prodi-img-wrapper {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .prodi-horizontal-img {
    max-width: 100%;
    height: auto;
  }
}



/* Quick Links */
.fakultas-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.fakultas-links a {
  background: #f2f2f2;
  padding: 10px 20px;
  border-radius: 6px;
  color: #800000;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.fakultas-links a:hover {
  background-color: #ffeaea;
}

/* Responsive */
@media (max-width: 768px) {
  .fakultas-top-row {
    flex-direction: column;
    align-items: center;
  }

  .fakultas-gambar-stack {
    max-width: 100%;
  }

  .prodi-grid {
    flex-direction: column;
    align-items: center;
  }

  .fakultas-links {
    flex-direction: column;
    align-items: center;
  }
}

/*----------------------
  Lembaga Section
-----------------------*/

.lembaga-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.lembaga-wrapper {
  max-width: 1140px;
  margin: auto;
}

.lembaga-header {
  margin-bottom: 40px;
}

.lembaga-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
   display: inline-block;            /* Supaya selebar teks */
  /* font-size: 1.8em; */
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.lembaga-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.lembaga-main-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.lembaga-desc {
  flex: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  min-width: 300px;
}

.lembaga-ketua-card {
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #fff, #f9f9f9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.lembaga-ketua-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lembaga-ketua-image {
  width: 100%;
  background-color: #efefef;
  padding: 16px;
}

.foto-ketua {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.lembaga-ketua-bio {
  padding: 18px 16px 22px;
}

.ketua-nama {
  font-size: 1.25rem;
  color: #800000;
  font-weight: 700;
  margin-bottom: 6px;
}

.ketua-jabatan {
  font-size: 0.95rem;
  color: #666;
}

.lembaga-link-row {
  margin: 40px 0;
}

.btn-lembaga-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #800000;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn-lembaga-link:hover {
  background-color: #a00000;
}

.lembaga-gallery {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.gambar-kegiatan {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .lembaga-main-info {
    flex-direction: column;
  }
}

.lambang-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.lambang-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.lambang-header {
  margin-bottom: 40px;
}

.lambang-title {
  display: inline-block;            /* Supaya selebar teks */
  font-size: 1.8em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.lambang-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
} 

.lambang-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.lambang-image {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  margin: 30px auto;
}

.lambang-image img {
   width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}

.lambang-description {
  flex: 2 1 500px;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.lambang-description ul {
  padding-left: 20px;
  margin-top: 15px;
}

.lambang-description li {
  margin-bottom: 12px;
  list-style: disc;
}

/* Responsive */
@media (max-width: 768px) {
  .lambang-content {
    flex-direction: column;
    align-items: center;
  }

  .lambang-description {
    text-align: left;
  }
}

.kalender-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.kalender-wrapper {
  max-width: 1140px;
  margin: auto;
  text-align: center;
}

.kalender-title {
  display: inline-block;            /* Supaya selebar teks */
  font-size: 2em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.kalender-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.kalender-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

.kalender-image img {
  width: 100%;
  max-width: 1500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-download {
  margin-top: 30px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #800000;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-download:hover {
  background-color: #a00000;
}

.notfound-section {
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  text-align: center;
}

.notfound-wrapper {
  max-width: 600px;
  margin: auto;
}

.notfound-logo img {
  width: 140px;
  margin-bottom: 30px;
}

.notfound-title {
  font-size: 2.2rem;
  color: #800000;
  font-weight: bold;
  margin-bottom: 15px;
}

.notfound-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.notfound-text a {
  color: #800000;
  font-weight: 600;
  text-decoration: underline;
}


/*----------------------
  Dosen 
-----------------------*/

.dosen-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
}

.dosen-wrapper {
  max-width: 1140px;
  margin: auto;
}

.dosen-title {
  display: inline-block;            /* Supaya selebar teks */
  font-size: 2em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
  margin-bottom: 30px;
}

.dosen-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.dosen-search-form {
  text-align: center;
  margin-bottom: 20px;
}

.dosen-search-form input[type="text"] {
  padding: 10px;
  width: 300px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.dosen-search-form button {
  padding: 10px 16px;
  background-color: #800000;
  color: white;
  border: none;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}

.dosen-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.dosen-table th, .dosen-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.dosen-table td {
  padding: 12px;
  border: 1px solid #ddd;
}

.dosen-table tr:nth-child(even) {
  background-color: #fdf9ef;
}

.dosen-table th {
 background-color: #f4c200; /* warna kuning emas */
  color: white;              /* warna teks putih */
  font-weight: bold;
  text-align: left;
  padding: 12px;
  border: 1px solid #ddd;
}

.dosen-table th a {
  color: black  ;
  text-decoration: none;
}

.dosen-table th a:hover {
  color: #eeeeee;
  text-decoration: underline;
}

.dosen-table tr:nth-child(even) {
  background-color: #fafafa;
}

.dosen-table tr:hover {
  background-color: #fff5f5;
}

/* Responsive */
@media (max-width: 768px) {
  .dosen-table th,
  .dosen-table td {
    font-size: 0.9rem;
    padding: 8px;
  }
}

/*----------------------
  Unit Section
  ------------------------*/

.unit-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.unit-section .section-title {
   display: inline-block;            /* Supaya selebar teks */
  font-size: 1.8em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;

}

.unit-section .section-title:hover{
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;

}

.unit-section .unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.unit-section .unit-card {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.unit-section .unit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.unit-section .unit-card h3 {
  font-size: 1.3rem;
  color: #800000;
  margin-bottom: 10px;
}

.unit-section .unit-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.unit-section .btn-unit-detail {
  display: inline-block;
  padding: 8px 14px;
  background-color: #800000;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
}

.unit-section .btn-unit-detail:hover {
  background-color: #a00000;
}


.unit-detail-section {
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}

.unit-detail-section .unit-header {
  text-align: center;
  margin-bottom: 40px;
}

.unit-detail-section .unit-name {
   display: inline-block;            /* Supaya selebar teks */
  font-size: 1.8em;
  font-weight: bold;
  color: #800000;
  padding-bottom: 8px;
  background-image: linear-gradient(gold, gold);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: bottom center; /* Garis bawah di tengah */
  transition: background-size 0.4s ease;
  text-align: center;
}

.unit-detail-section .unit-name:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position .7s, background-size .5s ease-in-out;
  color: black;
}

.unit-detail-section .unit-info-row {
 display: flex;
  flex-wrap: wrap;
  gap: 10px; /* sebelumnya 30px */
  margin-bottom: 40px;
  align-items: flex-start;
}

.unit-detail-section .unit-deskripsi {
  flex: 2;
  min-width: 300px;
}

.unit-detail-section .unit-description {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}

.unit-detail-section .unit-ketua-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.unit-detail-section .unit-ketua-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.unit-detail-section .unit-ketua-card h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #800000;
}

.unit-detail-section .unit-ketua-card .jabatan {
  font-size: 0.95rem;
  color: #555;
}

.unit-detail-section .unit-anggota-row {
  margin-top: 40px;
}

.unit-detail-section .unit-anggota-row h3 {
  font-size: 1.6rem;
  color: #800000;
  margin-bottom: 20px;
  text-align: center;
}

.unit-detail-section .anggota-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}

.unit-detail-section .anggota-table thead {
  background-color: #f4c200;
  color: #fff;
}

.unit-detail-section .anggota-table th,
.unit-detail-section .anggota-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.unit-detail-section .anggota-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
  .unit-detail-section .unit-info-row {
    flex-direction: column;
    align-items: center;
  }

  .unit-detail-section .unit-ketua-card {
    margin-top: 20px;
    width: 100%;
  }
}

/*kkn */

.kkn-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #800000; /* maroon */
  border-radius: 10px;
  padding: 30px 40px;
  box-shadow: 0 0 10px rgba(128, 0, 0, 0.1);
}

.kkn-form-wrapper h2.section-title {
  font-weight: 800;
  color: #800000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.kkn-form-wrapper h2.section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #fdd835; /* kuning */
  display: block;
  margin: 8px auto 0 auto;
  border-radius: 10px;
}

.kkn-form-wrapper label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.kkn-form-wrapper input[type="text"],
.kkn-form-wrapper input[type="file"],
.kkn-form-wrapper input[type="number"],
.kkn-form-wrapper textarea,
.kkn-form-wrapper select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.2s ease-in-out;
}

.kkn-form-wrapper input:focus,
.kkn-form-wrapper select:focus {
  border-color: #800000;
  outline: none;
}

.kkn-form-wrapper button {
  background-color: #fdd835;
  color: #000;
  font-weight: bold;
  padding: 10px 25px;
  border: 2px solid #000;
  border-radius: 30px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: 0.3s ease;
}

.kkn-form-wrapper button:hover {
  background-color: #ffeb3b;
  transform: scale(1.02);
}


