
/* Reset dasar */

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;
}


.swiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

/*---------------------
	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;
}


/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
}

/* Navigation */

.fh-navbar {
  background-color: #800000;
  border-bottom: 2px solid #f4c200;
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
}

.fh-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.fh-navbar .nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fh-navbar .logo-long {
  max-height: 70px;
  object-fit: contain;
}

.fh-navbar .logo {
  height: 60px;
}

.fh-navbar .kampus-nama h1 {
  font-size: 1.1rem;
  margin: 0;
  color: #111;
}

.fh-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;
}

.fh-navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fh-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;
}

.fh-navbar .btn-daftar:hover {
  background-color: #ffd700;
  color: #800000;
}

.fh-navbar .main-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding-left: 0;
  gap: 20px;
  margin: 20px 0 0;
}

.fh-navbar .submenu .has-submenu {
  position: relative;
}

.fh-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);
}

.fh-navbar .submenu .has-submenu:hover > .submenu {
  display: block;
}

.fh-navbar .submenu .submenu li a {
  white-space: nowrap;
}


.fh-navbar .main-menu > li {
  position: relative;
}

.fh-navbar .main-menu > li > a {
  color: #fff;
  font-weight: 600;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.fh-navbar .main-menu > li.active > a,
.fh-navbar .main-menu > li > a:hover {
  border-bottom: 2px solid #f4c200;
  color: #fefefe;
}

.fh-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;
}

.fh-navbar .submenu li a {
  display: block;
  padding: 8px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.fh-navbar .submenu li a:hover {
  background-color: #f4f4f4;
  color: #800000;
}

.fh-navbar .has-submenu:hover > .submenu {
  display: block;
}

/* Hamburger */
.fh-navbar .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.fh-navbar .hamburger span {
  width: 25px;
  height: 3px;
  background-color: #111;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .fh-navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .fh-navbar .hamburger {
    display: flex;
    margin-top: 10px;
  }

  .fh-navbar .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .fh-navbar .main-menu.active {
    display: flex;
  }

  .fh-navbar .nav-right {
    align-self: flex-end;
    margin-top: 10px;
  }

  .fh-navbar .kampus-nama h1 {
    font-size: 1rem;
  }

  .fh-navbar .kampus-nama .slogan {
    font-size: 0.85rem;
  }
}

/*----------------------
  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;
}


/*---------------------
  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;
}


/* 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;
	}
}

/* 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;
}

.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;
}

/* hero section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    border-bottom: 5px solid #002147;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.hero-content h2 {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*---------------------
  Sambutan Rektor
-----------------------*/
/* public/css/sambutan.css */

.sambutan-section {
  background: linear-gradient(to right, #fdfdfd, #f5f5f5);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  margin-top: -40px;
  z-index: 1;
}

.sambutan-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.sambutan-image img {
  width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sambutan-content {
  max-width: 600px;
  position: relative;
}

.sambutan-content h2 {
  font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
}

.sambutan-content .quote-icon {
  font-size: 48px;
  color: #8b0000;
  margin-bottom: 10px;
}

.sambutan-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
}

.sambutan-button {
  display: inline-block;
  background-color: #8b0000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.sambutan-button:hover {
  background-color: #600000;
}

/* Responsiveness */
@media (max-width: 768px) {
  .sambutan-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .sambutan-content h2 {
    font-size: 26px;
  }

  .sambutan-content .quote-icon {
    font-size: 36px;
  }

  .sambutan-button {
    padding: 10px 20px;
  }
}


.section-divider-top {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.section-divider-top svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* untuk membalik kanan-kiri */
.section-divider-top.flipped svg {
    transform: scaleX(-1);
}


/*ajakan */

.fh-unsultra-section {
    background-color: #ffde00; /* warna kuning menyala */
    padding: 50px 30px 0 30px;
    margin-top: -100px;
}

.fh-unsultra-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    align-items: flex-start;
}

.fh-unsultra-text {
    flex: 1 1 50%;
    color: #800000;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    padding: 50px;
    margin-top: 70px;
}

.fh-unsultra-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000;
}

.fh-unsultra-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #111;
}

.fh-unsultra-image {
    flex: 1 1 40%;
    text-align: right;
    /* padding: 20px; */
    margin-top: auto; /* supaya gambar dorong ke bawah */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* pastikan gambar di bawah container .fh-unsultra-image */
}

.fh-unsultra-image img {
    max-width: 100%;
    height: auto;
}

/*profil fakultas */
.profil-section {
    background-color: #f5f5f5; /* abu-abu muda */
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='2' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: auto;
    color: #333; /* teks gelap agar kontras dengan latar terang */
    padding: 60px 30px;
    margin-top: -100px;
}

.profil-feb-section .page-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #800000;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 8px;
  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.4s ease;
}

.profil-feb-section .page-title:hover {
  background-size: 100% 100%;
  background-position: 0% 100%;
  transition: background-position 0.7s, background-size 0.5s ease-in-out;
  color: black;
}

.profil-feb-section .hero-profil {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  background: url('/images/texture/always-grey.png') repeat;
  background-size: auto;
  padding: 40px 20px;
}

.profil-feb-section .hero-profil .text {
  flex: 1 1 400px;
  max-width: 700px;
}

.profil-feb-section .hero-profil .text h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.profil-feb-section .hero-profil .text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.profil-feb-section .hero-profil .image {
  flex: 1 1 300px;
  max-width: 500px;
  text-align: center;
}

.profil-feb-section .hero-profil .image img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profil-feb-section .highlight {
  color: #800000;
  font-weight: 700;
}

.profil-feb-section .buttons {
  margin-top: 20px;
}

.profil-feb-section .buttons .btn {
  padding: 10px 20px;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.profil-feb-section .btn.primary {
  background-color: #f4c200;
  color: black;
}

.profil-feb-section .btn.primary:hover {
  background-color: #ffd700;
  color: #800000;
}

.profil-feb-section .btn.secondary {
  background-color: #ddd;
  color: #333;
}

.profil-feb-section .btn.secondary:hover {
  background-color: #d2d2d2;
  color: #800000;
}

.profil-feb-section .btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.profil-feb-section .statistik-box {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
  max-width: 900px;
  text-align: center;
}

.profil-feb-section .stat {
  flex: 1 1 200px;
}

.profil-feb-section .stat h4 {
  font-size: 2rem;
  font-weight: bold;
  color: #800000;
}

.profil-feb-section .stat p {
  margin-top: 5px;
  font-size: 1rem;
  color: #333;
}

.profil-feb-section .sejarah-box {
  background-color: #ffe600;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  text-align: center;
}

.profil-feb-section .sejarah-box p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.profil-feb-section .pimpinan-section {
  display: flex;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.profil-feb-section .rektor-img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profil-feb-section .mars-section {
  margin-top: 50px;
  text-align: center;
}

/* Grid tata letak pimpinan */
.profil-feb-section .pimpinan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  padding: 0 20px;
}

/* Kartu pimpinan */
.profil-feb-section .pimpinan-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profil-feb-section .pimpinan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Foto pimpinan */
.profil-feb-section .pimpinan-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #800000;
  margin-bottom: 15px;
  background-color: #f5f5f5;
}

/* Informasi nama dan jabatan */
.profil-feb-section .pimpinan-info h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 5px;
}

.profil-feb-section .pimpinan-info .jabatan {
  font-size: 0.95rem;
  color: #444;
  text-transform: capitalize;
}

.pengantar-prestasi {
  background-color: #fdf5e6;
  padding: 40px;
  border-radius: 12px;
  margin-top: 60px;
  text-align: center;
}

.pengantar-prestasi h2 {
  font-size: 1.8rem;
  color: #800000;
  margin-bottom: 15px;
}

.pengantar-prestasi p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pengantar-prestasi .btn.primary {
  background-color: #f4c200;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  color: #000;
}

.pengantar-prestasi .btn.primary:hover {
  background-color: #ffd700;
  color: #800000;
}

.pengantar-prestasi .btn.secondary {
  background-color: #ddd;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  color: #333;
}

.pengantar-prestasi .btn.secondary:hover {
  background-color: #d2d2d2;
  color: #800000;
}



.text-center {
  text-align: center;
}

.profil-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.profil-text {
    flex: 1 1 50%;
    color: #400000;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
}

.profil-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; /* warna merah marun */
}

.profil-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-profil {
    background-color: #800000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.btn-profil:hover {
    background-color: #a00000;
}

.profil-image {
    flex: 1 1 40%;
    padding: 20px;
    text-align: center;
}

.profil-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*post*/
.post-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 30px;
}

.post-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid;
    color: #800000;
    text-decoration: none;
}

.post-column {
    display: flex;
    flex-direction: column;
}

.post-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.post-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color:#800000;
    text-decoration: none;
}

.post-item-title a{
    color: #800000;
    text-decoration: none;
}

.post-excerpt {
    font-size: 0.875rem;
    color: #555;
}

.post-thumbnail {
    width: 420px;
    height: 220px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.post-thumbnail:hover {
    transform: scale(1.03);
}

.post-more {
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}


/*kerja sama*/
.kerjasama-section {
    background-color: #fdfdfd;
    padding: 60px 20px;
}

.kerjasama-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
   
}

.kerjasama-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
   
}

.kerjasama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    align-items: center;
    justify-items: center;
}

.kerjasama-item {
    background: white;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    max-width: 200px;
}

.kerjasama-item img {
    max-height: 70px;
    object-fit: contain;
    max-width: 100%;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.kerjasama-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.kerjasama-item:hover img {
    filter: grayscale(0%);
}

/*pimpinan fakultas */
.pimpinan-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.pimpinan-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
   
}

.pimpinan-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
    font-weight: 400;
   
}

.pimpinan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
    align-items: start;
}

.pimpinan-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
    max-width: 280px;
}

.pimpinan-card:hover {
    transform: translateY(-5px);
}

.pimpinan-photo img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 8px;
}

.pimpinan-info {
    margin-top: 15px;
}

.pimpinan-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #800000;
    margin-bottom: 5px;
}

.pimpinan-info .jabatan {
    font-size: 14px;
    color: #444;
}

/*struktur organisasi */

.struktur-section {
    background-color: #fefefe;
    padding: 60px 20px;
    text-align: center; 
}

.struktur-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
   
}

.stuktur-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
   
}
.struktur-img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/*dosen tendik */
.dosen-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.dosen-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.dosen-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
}

.dosen-table-wrapper {
    overflow-x: auto;
}

.dosen-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dosen-table th, .dosen-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.dosen-table th {
    background-color: #ffde00;
    color: #800000;
    font-weight: bold;
}

.dosen-table tr:hover {
    background-color: #f1f1f1;
}

/* sambutan dekan */
.sambutan-dekan-section {
  background: linear-gradient(to right, #fdfdfd, #f5f5f5);
  padding: 60px 20px;
  position: relative;
}

.sambutan-dekan-section .section-title h3{
  font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.sambutan-dekan-section .section-title p{
  font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
}

.sambutan-dekan-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sambutan-dekan-image img {
  width: 300px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}



.sambutan-dekan-content {
  max-width: 700px;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.sambutan-dekan-content p {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .sambutan-dekan-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .sambutan-dekan-content {
    padding: 20px;
  }

  .sambutan-dekan-image img {
    width: 200px;
  }
}

/*visi misi*/

.visimisi-section {
    background-color: #fefefe;
    padding: 60px 20px;
}

.visimisi-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.visimisi-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
}

.visimisi-image {
    max-width: 350px;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.visimisi-content {
    margin-top: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.visimisi-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #800000;
    margin-bottom: 15px;
}

.visimisi-content p {
    margin-bottom: 15px;
}

/*----------------------
  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: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;  
}

.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;
  }
}

/*----------------------
  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: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;  
}

/* .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: 10px 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: 70%;
  height: auto;
  display: block;
}

.img-atas {
  top: 0;
  left: 0;
  z-index: 2;
}

.img-bawah {
  top: 200px;
  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;
  }
}

/*biaya kuliah*/
.biaya-section {
    background-color: #fefefe;
    padding: 60px 20px;
}

.biaya-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.biaya-section .section-title p{
    font-size: 20px;
    margin-bottom: 20px;
    color: #111; 
    text-align: center ;
}

.biaya-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.biaya-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.biaya-table th,
.biaya-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.biaya-table th {
    background-color: #f4c200;
    color: #111;
    font-weight: bold;
}

.biaya-table tr:hover {
    background-color: #f9f9f9;
}

.biaya-table td small {
    color: #555;
    font-style: italic;
}


/*----------------------
  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: 36px;
  font-weight: bold;
  color: #800000;
 
}



/* 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;
}

.berita-index-section {
    background-color: #fff;
    padding: 60px 20px;
}

.berita-index-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.berita-index-search {
    text-align: center;
    margin-bottom: 30px;
}

.berita-index-search-input {
    padding: 10px 15px;
    width: 280px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.berita-index-search-btn {
    padding: 10px 20px;
    background-color: #800000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.berita-index-search-btn:hover {
    background-color: #a00000;
}

.berita-index-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.berita-index-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.berita-index-thumb {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.berita-index-content {
    flex: 1;
}

.berita-index-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #800000;
    margin-bottom: 5px;
}

.berita-index-title a {
    text-decoration: none;
    color: inherit;
}

.berita-index-excerpt {
    font-size: 0.95rem;
    color: #444;
}

.berita-index-readmore a {
    font-weight: bold;
    color: #800000;
    font-size: 0.9rem;
    text-decoration: none;
}

.berita-index-pagination {
    margin-top: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .berita-index-grid {
        grid-template-columns: 1fr;
    }

    .berita-index-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .berita-index-thumb {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .berita-index-content {
        padding-top: 15px;
    }

    .berita-index-search-input {
        width: 90%;
        margin-bottom: 10px;
    }

    .berita-index-search-btn {
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    .berita-index-title {
        font-size: 1.1rem;
    }

    .berita-index-excerpt {
        font-size: 0.95rem;
    }
}

/*pengumuman*/
.pengumuman-index-section,
.pengumuman-detail-section {
    background-color: #fefefe;
    padding: 60px 20px;
}

.pengumuman-index-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.pengumuman-detail-section{
  text-align: center;
}

.pengumuman-detail-section .section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center ;
}

.pengumuman-item {
    margin-bottom: 25px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.pengumuman-item h4 a {
    font-size: 1.2rem;
    color: #800000;
    text-decoration: none;
}

.pengumuman-item h4 a:hover {
    text-decoration: underline;
}

.btn-download {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #800000;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-download:hover {
    background-color: #a00000;
}

.pengumuman-deskripsi {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.pengumuman-file-preview iframe {
    max-width: 100%;
    border: none;
}

.pengumuman-file-preview p {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .pengumuman-index-section {
        padding: 40px 15px;
    }

    .pengumuman-item {
        padding: 15px;
    }

    .pengumuman-item h4 a {
        font-size: 1rem;
    }

    .btn-download {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 10px 0;
        font-size: 0.95rem;
    }

    .pagination-wrapper {
        text-align: center;
        margin-top: 20px;
    }

    .pagination-wrapper nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .pagination-wrapper nav .page-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* === Section Hero & Wrapper === */
.ilmu-hukum-hero {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.ilmu-hukum-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 60px;
}

/* === Text Area === */
.ilmu-hukum-text {
    flex: 1 1 55%;
    font-family: 'Georgia', serif;
}

.ilmu-hukum-text h2 {
    font-size: 36px;
    font-weight: bold;
    color: #800000;
    margin-bottom: 20px;
}

.ilmu-hukum-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.ilmu-hukum-text ul {
    list-style: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.ilmu-hukum-text li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

/* === Image Area === */
.ilmu-hukum-image {
    flex: 1 1 40%;
    text-align: center;
}

.ilmu-hukum-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
}

/* === Sidebar Quick Links === */
.prodi-quick-links {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-left: 4px solid #800000;
    border-radius: 6px;
    margin-bottom: 40px;
    font-family: 'Arial', sans-serif;
    width: 60%;
}

.prodi-quick-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.prodi-quick-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.prodi-quick-links li {
    margin-bottom: 12px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 8px;
}

.prodi-quick-links a {
    color: #0056b3;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prodi-quick-links a:hover {
    color: #800000;
}

/* === Left Line Accent === */
.ilmu-hukum-boxed {
    flex: 1 1 55%;
    position: relative;
    padding-left: 25px;

}

.ilmu-hukum-boxed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: maroon;
    border-radius: 8px;
}

/* === Responsive === */
@media (max-width: 768px) {
    .ilmu-hukum-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .ilmu-hukum-text {
        flex: 1 1 100%;
    }

    .ilmu-hukum-text h2 {
        font-size: 28px;
    }

    .ilmu-hukum-text p,
    .ilmu-hukum-text li {
        font-size: 15px;
    }

    .ilmu-hukum-image {
        flex: 1 1 100%;
        margin-top: 20px;
    }

    .ilmu-hukum-image img {
        max-width: 90%;
    }

    .ilmu-hukum-boxed {
        padding-left: 0;
    }

    .ilmu-hukum-boxed::before {
        display: none;
    }
}
.ilmu-hukum-feature-section {
    padding: 60px 20px;
    background-color: #fefefe;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
}

.feature-text {
    flex: 1 1 50%;
}

.feature-text h4 {
    font-size: 26px; font-weight: 700; margin-bottom: 20px; color: #800000;
}

.feature-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.feature-button {
    background-color: #f4c200;
    color: #111;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.feature-button:hover {
    background-color: #ffd700;
    color: #800000;
}

.feature-image {
    flex: 1 1 40%;
}

.feature-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-text, .feature-image {
        flex: 1 1 100%;
    }

    .feature-image img {
        max-width: 100%;
    }
}

.sambutan-prodi-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: start;
  max-width: 1200px;
  margin: 0 auto;
}

.sambutan-prodi-image {
  align-self: flex-start; /* ini override kalau img tetap centering */
}


.sambutan-prodi-image img {
  width: 250px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  margin-top: 0;
}

/*mata kuliah*/

.matkul-section-title h3{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #800000; 
    text-align: center;
    margin-top: 30px;   
}

.tab-content h5{
  color: #800000;
}

/* Tampilkan konten tab sesuai input radio */
.tab-content-body {
  display: none;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content-body h5 {
  margin-bottom: 16px;
  color: #800000;
  text-align: center;
}

#tab1:checked ~ .popup .tab-contents .content-tab1 { display: block; }
#tab2:checked ~ .popup .tab-contents .content-tab2 { display: block; }
#tab3:checked ~ .popup .tab-contents .content-tab3 { display: block; }
#tab4:checked ~ .popup .tab-contents .content-tab4 { display: block; }
#tab5:checked ~ .popup .tab-contents .content-tab5 { display: block; }
#tab6:checked ~ .popup .tab-contents .content-tab6 { display: block; }
#tab7:checked ~ .popup .tab-contents .content-tab7 { display: block; }
#tab8:checked ~ .popup .tab-contents .content-tab8 { display: block; }

#tab1:checked ~ .popup .tabs label[for="tab1"],
#tab2:checked ~ .popup .tabs label[for="tab2"],
#tab3:checked ~ .popup .tabs label[for="tab3"],
#tab4:checked ~ .popup .tabs label[for="tab4"],
#tab5:checked ~ .popup .tabs label[for="tab5"],
#tab6:checked ~ .popup .tabs label[for="tab6"],
#tab7:checked ~ .popup .tabs label[for="tab7"],
#tab8:checked ~ .popup .tabs label[for="tab8"]{
  opacity: 1;
  background-color: #ffffff;
  color: #800000;
  font-weight: 700;
  box-shadow: inset 4px 0 0 #800000;
}

.tab-input {
  display: none;
}

.tabs label {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #525d6f;
  opacity: .5;
  transition: all 0.3s ease;
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  text-align: right;
  background-color: transparent;
}

/* Tambahan gaya aktif */
.tab-input:checked + label {
  opacity: 1;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 700;
  box-shadow: inset 4px 0 0 #0d6efd;
}

.active-tab-label {
  opacity: 1 !important;
  background-color: #ffffff;
  color: #1e293b;
  font-weight: 700;
  box-shadow: inset 4px 0 0 #0d6efd;
}

.tabs label:hover,
input:checked + label {
  opacity: 1;
  background-color: #f0f4f8;
}

.popup {
  width: 95%;
  min-height: 500px;
  border-radius: 32px;
  background-color: #e6edf5;
  border: 8px solid #ebf0f4;
  overflow: hidden;
  display: flex;
  box-shadow: 8px 12px 32px rgba(0, 0, 0, 0.05);
}

.tabs {
  max-width: 240px;
  background-color: #edf2f7;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  border-radius: 32px 0 0 32px;
}

.tab-contents {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
}

.mata-kuliah-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.mata-kuliah-table th,
.mata-kuliah-table td {
  text-align: center;
  vertical-align: middle;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  font-size: 14px;
}

.mata-kuliah-table thead {
  background-color: #800000;
  color: #ffffff;
}

.mata-kuliah-table tbody tr:hover {
  background-color: #f1f5f9;
  transition: background-color 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.akreditasi-page {
  padding: 60px 20px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.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;
}


.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: center;
}

@media (max-width: 768px) {
  .akreditasi-description {
    padding: 0 15px;
  }
}

/*----------------------
  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%;
  }
}

.galeri-slide-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.galeri-slide-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.galeri-slide-wrapper:hover .galeri-slide-img {
  transform: scale(1.05);
}

.galeri-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.galeri-slide-wrapper:hover .galeri-hover-overlay {
  opacity: 1;
}

.galeri-hover-overlay .overlay-content {
  color: #fff;
  text-align: center;
}

.galeri-hover-overlay h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #ffd700;
}

.galeri-hover-overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* --- Galeri Kegiatan --- */
.galeri-page-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: #800000;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.galeri-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: transform 0.3s ease;
}

.galeri-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.galeri-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.galeri-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.galeri-img-wrapper:hover .galeri-overlay {
  transform: translateY(0%);
}


.galeri-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.galeri-desc {
  font-size: 0.875rem;
}

/* Modal */
.galeri-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.galeri-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(255,255,255,0.1);
}

.modal-caption {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
}

.relasi-section {
  padding: 60px 20px;
  background-color: #fdfdfd;
}

.section-title {
  font-size: 2rem;
  color: #800000;
  text-align: center;
  margin-bottom: 30px;
}

.alumni-grid, .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.alumni-card, .partner-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  max-width: 300px;
}

.alumni-photo, .partner-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.angkatan {
  font-size: 0.9rem;
  color: #666;
}

.pesan {
  font-style: italic;
  font-size: 0.95rem;
  color: #444;
  margin-top: 10px;
}

.partner-link {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: #800000;
  text-decoration: underline;
}

.galeri-instagram-grid {
  padding: 60px 20px;
  background-color: #fff;
}

.instagram-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.insta-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* paksa kotak */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.insta-item img {
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.insta-item:hover img {
  transform: scale(1.05);
}

.insta-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  padding: 10px;
  opacity: 0;
  transition: 0.3s ease;
  font-size: 0.85rem;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* Modal */
.galeri-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.galeri-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
}

.modal-caption {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
}

#portfolio {
  width: 100%;
  min-height: 300px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  padding: 40px 20px;
}

.project {
  position: relative;
  background: #f2dad7;
  overflow: hidden;
  cursor: pointer;
}

.project__image {
  width: 100%;
  height: 300px; /* batasi tinggi gambar */
  object-fit: contain;
  display: block;
  opacity: 0.95;
  transition: transform 0.3s ease-in-out;
}

.project p {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  z-index: 3;
  color: #333;
}

.grid__title {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  z-index: 3;
  letter-spacing: 1px;
}

.project:hover .grid__overlay {
  transform: translateY(0);
}

.grid__overlay {
   position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(216, 175, 168, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: all 0.3s ease-in-out;
}

.viewbutton {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.viewbutton:hover {
  background-color: #ffffff;
  color: #d1a39e;
  transform: scale(1.05);
}

/* Overlay Popup */
.overlay {
  position: fixed;
  background: rgba(71, 69, 69, 0.7);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.overlay.open {
  display: flex;
}

.overlay__inner {
  background: #fff;
  padding: 20px;
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-radius: 8px;
}

.overlay__inner img {
  width: 100%;
  height: auto;
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 16px;
  color: #333;
  background: none;
  border: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.close:hover {
  color: #d1a39e;
}
