@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --maincolor: #ffffff;
  --secondarycolor: #168ac7;
  --thirdcolor: #ffcc00;
  --fontcolor: #252121;
  --anothercolor: #2c4964;
}


/* Untuk browser berbasis WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px; /* Lebar scrollbar */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Warna latar belakang track */
}

::-webkit-scrollbar-thumb {
  background: #168ac7; /* Warna utama scrollbar */
  border-radius: 5px; /* Membuat sudut lebih halus */
}

::-webkit-scrollbar-thumb:hover {
  background: #126e99; /* Warna saat dihover */
}



.hidden {
  opacity: 0;
  transform: translateY(50px); /* Geser elemen sedikit ke bawah */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}


.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  /* border: solid 1px; */
}

/* navbar start */
header {
  background: var(--maincolor);
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
}

header .container-nav {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}



.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px 0;
  z-index: 1;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 10px;
  list-style: none;
}

.dropdown-menu li a {
  text-decoration: none;
  display: block;
  color: black;
}
.dropdown-menu li a:hover {
  color: var(--secondarycolor);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 10px;
}

nav .logo {
  z-index: 1;
}

nav .logo img {
  width: 70px;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 15px;
}

.nav-links {
  display: flex;
  margin-top: 20px;
  align-items: center; 
}


.nav-links a {
  font-size: 15px;
  text-decoration: none;
  color: var(--fontcolor);
  text-transform: uppercase;
  transition: 0.3s ease;
  padding: 10px 15px;
}
.nav-links a:hover {
  color: var(--secondarycolor);
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
}

.logo img {
  width: 75px;
}

wadadadw .animated-text {
  margin-left: 50px;
  position: relative;
  width: 400px;
  height: 20px;
  overflow: hidden;
}

nav .logo a {
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondarycolor);
}

nav .logo a span {
  color: var(--thirdcolor);
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  font-size: 18px;
  list-style: none;
  z-index: 1;
}

nav ul li a {
  text-decoration: none;
  color: var(--fontcolor);
  position: relative;
  text-transform: uppercase;
  transition: 0.3s ease;
  /* margin-right: 50px; */
}

nav ul li a.active, /* Class for active state */
nav ul li a:hover {
  color: var(--secondarycolor);
}

nav ul li a.active::before,
nav ul li a:hover::before {
  width: 100%;
}

nav ul li a:hover {
  color: var(--secondarycolor);
}

nav ul li a::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--secondarycolor);
  transition: 0.3s ease;
}

nav .daftar {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 24px;
  border-radius: 5px;
  color: white;
  background: var(--secondarycolor);
  border: 2px solid;
  outline: none;
  cursor: pointer;
  transition: 0.3s ease;
}

nav .daftar:hover {
  background: transparent;
  color: var(--fontcolor);
}

nav ul li a:hover::before {
  width: 100%;
}

section:nth-child(odd) {
  background: #323946;
}

.hebat {
  display: inline-block;
  font-size: 24px; /* Sesuaikan ukuran font */
  font-weight: bold;
  color: var(--secondarycolor); /* Sesuaikan warna */
  margin-left: 10px; /* Jarak dari logo */
  animation: changeText 4s infinite; /* Animasi berganti setiap 4 detik */
}

@keyframes changeText {
  0%,
  50% {
    content: "hebat";
  }
  50.01%,
  100% {
    content: "yuhu";
  }
}
.xcontent {
  cursor: pointer;
  display: none;
}

.xcontent .menu {
  display: none;
}

.xcontent svg {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition: stroke-dasharray 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  stroke-dashoffset: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.xcontent input:checked + svg {
  transform: rotate(-45deg);
}

.xcontent input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

.alert {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  margin-bottom: 15px;
  border-radius: 5px;
}
.close-btn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
}


.btn-login, .btn-logout {
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  color: white !important;
  background-color: var(--secondarycolor);
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-login:hover, .btn-logout:hover {
  color: var(--fontcolor);
  background-color: var(--anothercolor);
}

form button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

/* Menyembunyikan navbar untuk tampilan mobile */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .nav-links {
    display: none; /* Sembunyikan menu di mobile */
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--maincolor);
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links.active {
    display: flex; /* Munculkan menu saat hamburger ditekan */
  }

  /* Tombol hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
  }

  .hamburger div {
    width: 30px;
    height: 4px;
    background: var(--secondarycolor);
    transition: 0.3s ease;
  }

  /* Animasi ketika menu dibuka */
  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}


.divider-with-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 40px 0 20px;
}

.divider-with-text::before,
.divider-with-text::after {
  content: '';
  flex: 1;
  border-bottom: 2px solid #e0e0e0;
}

.divider-with-text:not(:empty)::before {
  margin-right: .75em;
}

.divider-with-text:not(:empty)::after {
  margin-left: .75em;
}

.divider-with-text span {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

/* home start */

#home {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}


#home a {
  text-decoration: none;
}

.bg_vid {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  /* position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%); 
    object-fit: cover; */
}

#home .content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
}

/* .home .content h1 {
    font-size: 3em;
    margin: 0;
} */

/* .home .content p {
    font-size: 1.2em;
} */

#home .content .btn {
  background-color: var(--secondarycolor);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

#home .content .btn a {
  color: var(--maincolor);
}

#home .content .btn:hover {
  background-color: var(--anothercolor);
}

/* .home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0;
} */

/* .home .info {
  display: flex;
  align-items: center;
  justify-content: center;  
} */

#home .content {
  flex: 1px;
  margin-top: 100px;
}

#home .content h1 {
  font-size: 4em;
  line-height: 1.1em;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  margin: 10px 0;
}

#home .content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: white;
  /* margin-bottom: 25px;
    text-align: justify; */
}

/* .content .btn {
    margin: 15px 0 0;
} */

/* .left .social {
    display: flex;
    align-items: center;
    gap: 20px;
} */

/* .left .social a {
    text-decoration: none;
    background: yellow;
    color: green;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    border: 2px solid gray;
} */

/* .left .social a i {
    font-size: 20px;
}

.left .social a:hover {
    transform: translateY(-5px);
    color: aqua;
    background: transparent;
} */

/* .left .btn button {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 5px;
    color: aqua;
    background: yellow;
    border: 2px solid green;
    outline: none;
    cursor: pointer;
    transition: 0.4s ease;
}

.left .btn button:hover {
    color: gray;
    background: transparent;
    transform: translateY(-5px);
} */

/* .right {
    flex: 1;
}

.right .image {
    text-align: right;
    margin-top: 10px;
}

.right .image img {
    width: 550px;
    height: 550px;
    object-fit: cover;
    border-radius: 50%;
    transition: 0.4s ease;
}

.right .image img:hover {
    transform: scale(1.05);
} */

/* tentang start */
#tentang {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}


#tentang .content {

  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

#tentang div .kotak {
  display: flex;
  justify-content: center;
  /* margin-left: 600px; */
  /* gap: 110px; */
  flex-direction: column;
  margin-top: 10px;
}

#tentang .text h3  {
  font-size: 24px;
  display: flex;
  vertical-align: middle; 
  margin: 0; 
  gap: 10px;
}
#tentang .text{
  display: flex; 
  align-items: flex-start; 
  gap: 15px; 
}

.feature {
  margin-left: 50px;
  display: flex;
  flex-direction: column;
  gap: 60px; /* Jarak antar item */
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: color 0.3s ease; /* Animasi perubahan warna */
}

.feature-item:hover .icon-container {
  color: white; /* Warna ikon saat di-hover */
  background-color: var(--anothercolor); /* Warna latar ikon saat di-hover */
  border-color: var(--anothercolor); /* Warna border ikon saat di-hover */
  transition: 0.3s ease; /* Animasi hover ikon */
}

.feature-item:hover h3 {
  color: var(--anothercolor); /* Warna teks saat di-hover */
  transition: 0.3s ease; /* Animasi hover teks */
}


.icon-container {
  font-size: 30px; /* Ukuran ikon */
  color: var(--fontcolor); /* Warna ikon */
  border: 2px solid var(--fontcolor); /* Border biru */
  border-radius: 50%; /* Membuat lingkaran */
  padding: 15px; /* Memberikan ruang dalam lingkaran */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px; /* Ukuran lingkaran */
  height: 60px; /* Ukuran lingkaran */
  
}

.text-container h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.text-container p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}


.text2{
  display: flex;
  margin-right: 70px;
  flex-direction: column;
  margin-top: 10px;
}

.gerbang-container {
  display: flex;
  align-items: center; 
  gap: 20px; 
}

.foto-gerbang {
  display: flex;
  width: 50%;
  max-width: 800px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  object-fit: cover; /* supaya video tetap rapi */
}


.visi-misi {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* Jarak antar kartu */
  margin-top: 40px;
}

.visi, .misi {
  flex: 1;
  padding: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.visi:hover, .misi:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.visi .header, .misi .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.visi h3, .misi h3 {
  font-size: 24px;
  color: #333;
  margin: 0;
}

.visi p, .misi ul {
  font-size: 16px;
  color: #555;
  margin: 0;
}

.misi ul {
  padding-left: 20px;
  text-align: left;
}

.misi li {
  margin-bottom: 8px;
}


.hover-title {
  font-size: 20px;
  margin: 0; /* Hapus margin default */
  color: #333; /* Warna default teks */
  transition: color 0.3s ease; /* Animasi perubahan warna */
}

.visi:hover .hover-title, .misi:hover .hover-title {
  color: var(--anothercolor) /* Warna teks saat di-hover */
}

.visi p, .misi ul {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.misi ul {
  padding-left: 20px; /* Indentasi untuk daftar */
}

.misi li {
  margin-bottom: 8px; /* Jarak antar item dalam daftar */
}

@media (max-width: 768px) {
  #tentang {
    height: auto;
    padding: 100px 20px 50px;
  }

  #tentang .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #tentang .content {
    text-align: center;
    margin-bottom: 20px;
  }

  .foto-gerbang {
   display: none;
  }

  .feature {
    margin-left: 0;
    width: 100%;
    gap: 30px;
  }

  .feature-item {
   display: none;
  }

  .icon-container {
    width: 50px;
    height: 50px;
    font-size: 24px;
    padding: 10px;
  }

  .text-container h3 {
    font-size: 16px;
  }

  .text-container p {
    font-size: 12px;
  }

  .visi-misi {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .visi, .misi {
    width: 100%;
    text-align: center;
  }
}


/* artikel start */

#mading{
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}

#mading .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#mading .content-wrapper {
  display: flex;
  width: 100%;
}

#btn-ot {
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

#btn-ot:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Efek hover dan tampilan berita */
.berita-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.berita-item:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

/* Efek hover pada judul */
.berita-item .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.berita-item:hover .card-title a {
  color: #168ac7;
}

/* Gambar */
.berita-item img {
  width: 100%;
  height: 400px; 
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

@media (max-width: 768px) {
  .berita-mobile-hidden:nth-child(n+3) {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .berita-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .berita-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .berita-item .card-body {
    padding: 0;
  }

  .berita-item .card-title {
    font-size: 16px;
  }

  .berita-item .card-text {
    font-size: 14px;
  }

  .berita-item small {
    font-size: 12px;
  }

  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  #btn-ot {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .row {
    margin-left: 0;
    margin-right: 0;
  }
}





/* Artikel Section */
.artikel {
  flex: 2;
  margin-right: 20px;
}

.artikel-item .card-title a:hover,
.berita-item .card-title a:hover {
  color: #168ac7;
}

.artikel-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #ffffff;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.artikel-item:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: #f8f9fa;
}

.artikel-item .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.artikel-item:hover .card-title a {
  color: #168ac7;
}

.artikel-item img {
  width: 120px;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
}

.artikel-item .card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.artikel-item .card-body {
  padding: 0 10px;
}

.artikel-item small {
  font-size: 13px;
  color: #6c757d;
}
/* Artikel dan Staf di desktop */
.artikel-dan-staff-wrapper {
  display: flex;
  flex-direction: column;
}

/* Artikel dan Staf di mobile */
@media (max-width: 767px) {
  .artikel-mobile-hidden:nth-child(n+2) {
    display: none !important;
  }

  .artikel-item .row {
    flex-direction: column;
  }

  .artikel-item .col-4,
  .artikel-item .col-8 {
    width: 100% !important;
  }

  /* Ukuran gambar lebih kecil di mobile */
  .artikel-item img {
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }

  .staff-container-2col {
    width: 100%;
    margin-top: 20px;
  }

  .staff-card-large {
    width: 100%;
    margin-bottom: 15px;
  }
}



/* Optional: Biar gambar artikel dan staff tetap responsive */
.artikel-item img,
.staff-image-large {
  width: 100%;
  height: auto;
  object-fit: cover;
}






.sidebar {
  flex: 1;
}

.staff-title {
  background-color: #207a56;
  color: white;
  font-size: 24px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

/* Container 2 kolom */
.staff-container-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Kartu besar */
.staff-card-large {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.staff-card-large:hover {
  transform: translateY(-6px);
}

.staff-image-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay besar */
.staff-overlay-large {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
}

.staff-card-large:hover .staff-overlay-large {
  transform: translateY(0);
}

.staff-position-large {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}





.hover-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.hover-effect:hover .hover-link {
  color: #168ac7;
}

.btn-more {
  display: block;
  text-align: center;
  margin-top: 15px;
  padding: 8px 12px;
  background: #168ac7;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
}

.btn-more:hover {
  background: #126b9e;
}

  



/* .lihat-semua {
  text-align: center;
  margin-top: 30px;
}

.btn-lainnya {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFCC00; 
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-lainnya:hover {
  background-color: #FFA500;
} */

/* #artikel .artikel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.artikel-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.artikel-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.artikel-item p {
  font-size: 1em;
  margin-bottom: 15px;
}

.artikel-item .read-more {
  color: #007bff;
  text-decoration: none;
}

.artikel-item .read-more:hover {
  text-decoration: underline;
} */



/* jurusan start */
#jurusan {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 80px 0;
  overflow: hidden;
}

#jurusan .container {
  max-width: 1100px;
  margin: 0 auto;
}

#jurusan h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 8px;
}

#jurusan .description {
  color: #6b7280;
  text-align: center;
  margin-bottom: 32px;
  font-size: 16px;
}

/* Tata Letak Jurusan */
.jurusan-navigation {
  display: flex;
  flex-direction: column;
}

.jurusan-navigation button {
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  color: var(--fontcolor);
  cursor: pointer;
  border-left: 3px solid transparent;
  font-weight: bold;
  text-align: left;
  transition: all 0.3s ease;
}

/* Hover effect */
.jurusan-navigation button:hover,
.jurusan-navigation button.active {
  border-left: 3px solid #0369a1;
  color: #0369a1;
}

.jurusan-card {
  display: flex;
  justify-content: space-between;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 30px;
  min-height: 250px;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
  opacity: 1;
}

.jurusan-card.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.jurusan-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}


.jurusan-text {
  flex: 2;
}

.jurusan-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.jurusan-description {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
  max-width: 500px;
}

.more-button {
  background-color: #0369a1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.more-button:hover {
  background-color: #025d8c;
}

/* Logo Jurusan */
.jurusan-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jurusan-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.jurusan-card {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
    opacity: 1;
}

.jurusan-card.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.jurusan-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  #jurusan {
    height: 100vh;
  }

  /* Atur navbar jurusan ke tengah */
  .jurusan-navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
  }

  .jurusan-navigation button {
    flex: none;
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    border-left: none;
    text-align: center;
  }

  /* Efek tombol aktif */
  .jurusan-navigation button:hover,
  .jurusan-navigation button.active {
    border-bottom: 3px solid #0369a1;
  }

  /* Atur ulang layout jurusan-card */
  .jurusan-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .jurusan-image {
    order: -1; /* Pindahkan gambar ke atas */
    margin-bottom: 10px;
  }

  .jurusan-logo {
    width: 100px;
    height: 100px;
  }

  .jurusan-text {
    order: 0;
    max-width: 100%;
  }

  .more-button {
    order: 1;
    margin-top: 15px;
  }
}



/*
.jurusan-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.jurusan-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: 0.3s;
}

.jurusan-btn:hover,
.jurusan-btn.active {
  background-color: #0056b3;
}


.jurusan-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.jurusan-item {
  min-width: 100%;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  border-radius: 10px;
  text-align: left;
}

.jurusan-item h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
}

.jurusan-item p {
  font-size: 16px;
  color: #666;
} */

/* ekskul strart */

#ekskul {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}

.ekskul-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  padding: 20px;
  min-height: 300px; /* Membuat ukuran kartu tetap */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a.exkul-link {
    color: inherit; /* Warna mengikuti parent (biasanya hitam) */
    text-decoration: none; /* Hilangkan underline */
}

a.exkul-link:hover  {
    color: #168ac7; /* Warna saat hover (opsional, biar ada efek interaktif) */
}


.ekskul-card:hover {
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.ekskul-image {
  width: 120px; /* Ukuran tetap untuk gambar */
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ekskul-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Mencegah gambar melar */
}

@media (max-width: 768px) {
  #ekskul {
    height: auto;
    padding: 100px 0 50px; /* Mengurangi padding agar lebih rapat */
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Menengahkan kartu */
    gap: 10px;
  }

  .col-md-4 {
    width: 32%; /* Membuat 3 kolom dalam satu baris */
    display: flex;
    justify-content: center;
  }

  .ekskul-card {
    padding: 15px;
    min-height: 200px; /* Ukuran kartu lebih kecil */
    width: 100%;
  }

  .ekskul-image {
    width: 80px; /* Ukuran gambar lebih kecil */
    height: 80px;
  }

  .ekskul-image img {
    max-width: 100%;
    max-height: 100%;
  }

  .ekskul-card h4 {
    /* Ukuran teks lebih kecil */
    margin-top: 8px;
  }


  .btn-primary {
    font-size: 14px;
    padding: 8px 16px;
  }
}


/* faq start */

#faq {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}

.faq-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  background: #f9f9f9;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 10px;
    background-color: #f7f7f7;
    border-left: 3px solid #168AC7;
    margin-top: 5px;
    border-radius: 5px;
}

.faq-answer.active {
    max-height: 300px; /* atur sesuai panjang konten maksimal */
    padding: 10px;
}


.faq-icon {
  color: blue;
  margin-right: 8px;
}

.toggle-icon {
  font-size: 20px;
  font-weight: bold;
}


/* testimoni start */


#testimoni {
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}
.testimonial-container {
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* Menambah jarak antara judul "Testimonial" dan kontennya */
.testimonial-container h2 {
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
}

/* Struktur flex untuk posisi foto dan teks */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  flex-direction: row;
  gap: 20px;
  z-index: 0;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.testimonial-slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 0;
}







/* Foto di kiri */
.testimonial-photo {
  width: 100px; /* Perbesar ukuran foto */
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

/* Kontainer teks di sebelah kanan foto */
.testimonial-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Nama besar di atas */
.testimonial-name {
  font-size: 22px;
  font-weight: bold;
  color: black;
}

/* Tahun kelulusan di bawah nama */
.graduation-year {
  font-size: 16px;
  color: gray;
  margin-bottom: 10px;
}

/* Kata-kata testimoni lebih ke bawah */
.testimonial-content {
  font-size: 18px;
  font-weight: 500;
  background: white;
  padding: 12px;
  border-radius: 10px;
  width: 100%;
}

/* Navigasi titik */
.testimonial-dots {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: gray;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.dot.active {
  background: blue;
}

.btn-testimonial {
  display: inline-block;
  padding: 10px 20px;
  background-color: #168ac7;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 15px;
}

.btn-testimonial:hover {
  background-color: #ffcc00;
  color: #252121;
}


/* gallery start */

#gallery{
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 foto per baris */
  gap: 15px; /* Jarak antar gambar */
  justify-content: center;
  max-width: 900px;
  margin: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr); /* 2 gambar per baris */
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr; /* 1 gambar per baris */
  }
}


/* contact start */

#contact{
  background: var(--maincolor);
  position: relative;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  padding: 250px 0 50px;
  overflow: hidden;
}

.contact-container {
  text-align: center;
  padding: 50px 20px;
  background: var(--maincolor);
}

.contact-container h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-container p {
  font-size: 16px;
  color: gray;
}

/* Styling Google Maps */
.contact-map {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Styling untuk Informasi Kontak */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
}

.contact-item i {
  font-size: 24px;
  color: var(--secondarycolor); /* Sesuaikan dengan warna utama */
  margin-bottom: 10px;
}

.social-media {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  font-size: 30px;
  color: #555;
  transition: transform 0.3s, color 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.2);
}

.instagram:hover {
  color: #E1306C;
}

.facebook:hover {
  color: #3b5998;
}

.youtube:hover {
  color: #FF0000;
}

.tiktok:hover {
  color: #000000;
}

@media (max-width: 768px) {
  #contact {
    height: auto; /* Tinggi menyesuaikan konten */
    padding: 100px 0 50px; /* Mengurangi padding agar lebih rapat */
  }

  .contact-container {
    padding: 30px 15px; /* Mengurangi padding agar lebih compact */
  }

  .contact-container h2 {
    font-size: 22px; /* Ukuran heading lebih kecil */
  }

  .contact-container p {
    font-size: 14px; /* Ukuran teks lebih kecil */
  }

  .contact-map iframe {
    height: 200px; /* Ukuran peta lebih kecil */
  }

  .contact-info {
    flex-direction: column; /* Ubah layout ke vertikal */
    gap: 20px; /* Jarak antar elemen */
  }

  .contact-item {
    max-width: 100%;
    padding: 10px;
  }

  .contact-item i {
    font-size: 18px; /* Ukuran ikon lebih kecil */
    margin-bottom: 5px;
  }

  .contact-item p {
    font-size: 13px; /* Ukuran teks lebih kecil */
  }

  .social-media {
    gap: 10px;
  }

  .social-icon {
    font-size: 24px; /* Ukuran ikon lebih kecil */
  }
}


/* Footer Styling */
footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  color: #333;
  font-size: 14px;
}

footer p {
  margin: 5px 0;
}

footer strong {
  color: #007bff; /* Warna biru sesuai gambar */
}

