body {
  font-family: "Monstserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a,
a:hover {
  text-decoration: none;
}

/* CSS untuk Top Bar */
#topbar {
  background-color: #15477a;
  color: #fff;
  height: 50px;
  line-height: 50px;
}

.top-contact,
.sosmed {
  list-style: none;
  padding: 0;
}

/* Tambah sendiri */
.sosmed {
  margin-left: 100px;
}
/* End tambah sendiri */

#topbar li {
  display: inline-block;
}

#topbar li a {
  color: #fff;
  display: inline-block;
  padding: 0 20px;
}

#topbar li a i {
  color: #f2c808;
  margin-right: 5px;
}

#topbar .sosmed li a {
  padding: 0 5px;
}

#topbar .sosmed li a i {
  color: #fff;
  margin-left: 5px;
}

/* CSSS untuk Header */
header {
  padding: 30px 0;
}

.brand {
  display: flex;
}

.brand img {
  margin-right: 20px;
}

.brand .brand-name h1 {
  font-size: 23px;
  color: #15477a;
  text-transform: uppercase;
}

.brand .brand-name h3 {
  font-size: 16px;
  font-size: Releway, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888888;
}

.pembungkus-searchbox {
  display: flex;
  align-items: center;
}

.searchbox {
  width: 100%;
}

.btn.btn-utama,
a.btn.btn-utama {
  background-color: #15477a;
  color: #f2c808;
  text-transform: uppercase;
  font-weight: 600;
  transition: bacground-color 0.3s;
}

.btn.btn-utama:hover,
a.btn.btn-utama:hover {
  background-color: #002b57;
  color: #f2c808;
}

.header-promosi {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-promosi {
  margin-left: auto;
  background: #1e3c72;
  color: #f2c808;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.btn-promosi:hover {
  background-color: #002b57;
  color: #f2c808;
}

/* CSS untuk Navbar / Menu */
.navbar {
  padding: 0;
  border-bottom: 5px solid #f2c808;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.25px;
}

.bg-biru {
  background-color: #15477a;
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  color: #fff;
}

.navbar .nav-item.active {
  background-color: #f2c808;
  color: #15477a;
}

li.nav-item.active a {
  color: #15477a;
}

.navbar-dark .navbar-nav .nav-link {
  padding: 15px 20px;
  display: inline-block;
}

/* CSS untuk slider hero area */
#hero-area {
  position: relative;
}

.btn.btn-utama.mandiri {
  background-color: #15477a;
  color: #f2c808;
  text-transform: uppercase;
  font-weight: 600;
  transition: bacground-color 0.3s;
  padding: 10px 20px;
  border-radius: 999em;
}

.btn.btn-utama.mandiri:hover {
  background-color: #002b57;
}

#slider-hero-nav .owl-prev,
#slider-hero-nav .owl-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  border: none;
  background-color: #15477a;
  color: #fff;
  outline: none;
  padding: 10px 25px;
  font-size: 20px;
  transition: background-color 0.3s;
}

#slider-hero-nav .owl-prev {
  left: 0;
  border-radius: 0 50px 50px 0;
}

#slider-hero-nav .owl-next {
  right: 0;
  border-radius: 50px 0 0 50px;
}

#slider-hero-nav .owl-prev:hover,
#slider-hero-nav .owl-next:hover {
  cursor: pointer;
  background-color: #f2c808;
}

#hero-area .slider-item-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  text-align: center;
  font-family: Releway, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 50%;
}

#hero-area .slider-item-content h2 {
  font-size: 35px;
  font-weight: 500;
}

#hero-area .slider-item-content p {
  font-size: 16px;
}

/* CSS untuk section sambutan*/
#sambutan {
  margin: 30px 0;
}

#sambutan h2 {
  color: #15477a;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
}

#sambutan h3 {
  color: #15477a;
  font-size: 28px;
  font-weight: 500;
}

#sambutan p {
  font-size: 14px;
  font-family: Releway, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  line-height: 28px;
  text-align: justify;
}

/* CSS untuk section Visi Misi*/
#visimisi {
  margin: 30px 0;
}

#visimisi h2 {
  color: #15477a;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
}

#visimisi h2.misi {
  margin-top: 18px;
}

#visimisi h3 {
  color: #15477a;
  font-size: 28px;
  font-weight: 500;
}

#visimisi p {
  font-size: 14px;
  font-family: Releway, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  line-height: 28px;
}

/* CSS untuk section prestasi */
#prestasi {
  min-height: 250px;
  margin: 80px;
}

#prestasi .col-item-kanan {
  padding: 20px 30px 20px 20px;
}

.section-item {
  margin: 70px 0;
  /* box-shadow: 0 0 25px #ddd; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  min-height: 260px;
  overflow: hidden;
}

.section-item-thumbnail {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  height: 300px;
  max-height: 100%;
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  font-size: 30px;
  text-transform: uppercase;
  color: #15477a;
  font-weight: 600;
}

.section-title h2:after {
  position: absolute;
  content: "";
  width: 60%;
  height: 3px;
  background-color: #f2c808;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.section-item-title {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  margin-bottom: 20px;
}

.section-item-title h3 {
  font-size: 18px;
  color: #15477a;
  line-height: 25px;
  font-weight: 600;
  padding-right: 40px;
}

.section-item-title span {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.section-item-title span i {
  margin-right: 5px;
}

.section-item-title span:first-of-type {
  margin-right: 15px;
}

.section-item-body p {
  font-size: 12px;
  line-height: 25px;
  color: #666;
}

/* CSS untuk tombol selengkapnya */
section#tenaga-pendidik {
  margin: 80px 0;
}

.tombol-selengkapnya {
  text-align: center;
}

.btn.btn-more {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #15477a;
  text-align: center;
  display: inline-block;
  border: 2px solid #15477a;
  border-radius: 0;
  padding: 10px 40px;
  transition: background-color 0.3s;
}

.btn.btn-more:hover {
  background-color: #15477a;
  color: #fff;
}

/* CSS untuk Slider */
.owl-item {
  padding: 20px 10px;
}

.section-item-slider {
  height: 380px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

#tenaga-pendidik .foto-guru {
  height: 100%;
  object-fit: cover;
}

.section-item-caption {
  position: absolute;
  bottom: 0;
  background-color: #fff;
  color: #000;
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 600;
  padding: 20px 10px 15px;
  /* tambahan baru */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-item-caption a p {
  color: #15477a;
  font-size: 16px;
  font-weight: 600;
}

.section-item-caption p {
  color: black;
  font-size: 14px;
  font-weight: 600;
  /* tambahan baru */
  margin-bottom: 5px;
}

.section-item-caption h6 {
  font-size: 14px;
  color: #f2c808;
  text-transform: uppercase;
}

#tenaga-pendidik .section-body {
  position: relative;
}

#slider-tools-1 .owl-next,
#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-next,
#slider-tools-3 .owl-prev {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: -60px;
  z-index: 20;
  background-color: #15477a;
  border: none;
  height: 35px;
  width: 35px;
  color: #fff;
  border-radius: 50%;
  outline: none;
  box-shadow: 0 0 20px #ddd;
  transition: background-color 0.3s;
}

#slider-tools-1 .owl-prev,
#slider-tools-3 .owl-prev {
  left: -60px;
}

#slider-tools-1 .owl-next:hover,
#slider-tools-1 .owl-prev:hover,
#slider-tools-3 .owl-next:hover,
#slider-tools-3 .owl-prev:hover {
  cursor: pointer;
  background-color: #f2c808;
  color: #000;
}

/* CSS untuk profil Alumni */
#alumni {
  background-color: #15477a;
  padding: 80px 0;
}

#alumni .section-title h2 {
  color: #fff;
}

#alumni .section-item-slider {
  box-shadow: none;
  border: 1px solid rgb(255, 255, 255, 0.5);
  border-radius: 5px;
}

#alumni .section-item-slider {
  height: 276px;
  padding: 20px;
}

#alumni .section-item-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: #f2c808;
}

#alumni .section-item-content p {
  font-size: 14px;
  color: #fff;
  line-height: 26px;
}

#alumni .section-item-content .more {
  color: #f2c808;
}

#alumni .section-item-content .more i {
  margin-left: 10px;
}

.foto-alumni {
  height: 100%;
  object-fit: cover;
}

.section-body {
  position: relative;
}

#slider-tools-2 .owl-next,
#slider-tools-2 .owl-prev {
  position: absolute;
  background-color: #fff;
  top: 50%;
  right: -40px;
  z-index: 20px;
  border: none;
  height: 35px;
  width: 35px;
  outline: none;
  border-radius: 50%;
  transition: background-color 0.3s;
  box-shadow: 0 0 5px #4b4b4b33;
}

#slider-tools-2 .owl-prev {
  left: -50px;
}

#slider-tools-2 .owl-next:hover,
#slider-tools-2 .owl-prev:hover {
  cursor: pointer;
  background-color: #f2c808;
}

/* CSS untuk galery */
/* .video-galeri {
  height: 50%;
  width: 100%;
  object-fit: cover;
} */
section#galeri {
  margin: 80px 0;
}

#tenaga-pendidik .section-body,
#galeri .section-body {
  margin-bottom: 50px;
}

/* CSS untuk section Ekstrakulikuler */
#ekstrakulikuler {
  background-color: #ddd;
  padding: 80px 0;
}

#ekstrakulikuler .section-body-item {
  display: flex;
  background-color: #15477a;
  border-radius: 5px;
  padding: 20px;
  color: #f2c808;
  height: 200px;
  text-align: center;
  align-items: center;
  font-size: 25px;
}

#ekstrakulikuler .section-body-item h4 {
  font-weight: 500;
}

#ekstrakulikuler .section-body .row:first-of-type {
  margin-bottom: 30px;
}

#ekstrakulikuler .row-2 {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* tambah sendiri */
.btn.btn-more.eks_ukm {
  margin-top: 80px;
}
/* end tambah sendiri */

/* CSS untuk section Berita */
#berita .row {
  margin-bottom: 50px;
}

.section-thumbnail {
  width: 100%;
  height: 237px;
  overflow: hidden;
  position: relative;
}

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

.section-thumbnail .tanggal {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 10;
  background-color: #15477a;
  color: #f2c808;
  padding: 5px 10px;
  border-radius: 5px;
}

.section-thumbnail .tanggal span {
  margin: 0;
  padding: 0;
}

.section-thumbnail .tanggal span.tgl {
  display: block;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: -10px;
}

.section-thumbnail .tanggal span.tgl-2 {
  font-size: 10px;
}

#berita .section-content {
  padding: 20px 0 0;
}

#berita .section-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #15477a;
  line-height: 24px;
}

#berita .section-content p {
  font-size: 14px;
  color: #777777;
  line-height: 24px;
  /* text-align: justify; */
}

#berita .section-content p .more {
  color: #15477a;
  font-weight: 500;
}

/* tambah sendiri untuk jarak kotak kegiatan dan admin */
.section-meta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
/* end tambah sendiri */

.section-meta a {
  background-color: #15477a;
  color: #fff;
  padding: 5px 15px;
  font-size: 11px;
  text-transform: uppercase;
}

.section-meta a i {
  margin-right: 5px;
}

#berita .tombol-selengkapnya {
  margin-top: 80px;
  margin-bottom: 100px;
}

/* CSS untuk footer */
footer {
  color: #fff;
  background-color: #15477a;
  padding: 80px 0 0;
}

footer .footer-col:first-of-type {
  padding-right: 30px;
}

footer .brand {
  display: flex;
}

footer .brand img {
  width: 70px;
  height: 70px;
  margin-right: 20px;
}

footer .brand h1 {
  font-size: 25px;
  font-weight: 600;
  line-height: 25px;
  text-transform: uppercase;
}

footer .tentang {
  font-size: 14px;
  line-height: 26px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

footer .sosmed {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .sosmed li {
  display: inline-block;
  margin-right: 20px;
}

footer .sosmed li a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-block;
  height: 50px;
  width: 50px;
  text-align: center;
  border-radius: 50%;
  font-size: 20px;
  line-height: 50px;
}

footer .sosmed li a:hover {
  color: #c7c7c7;
}

.footer-col h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-col .alamat {
  font-size: 14px;
  line-height: 25px;
}

.footer-col .kontak {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 24px;
}

.footer-col .kontak li {
  margin: 10px 0;
}

.footer-col .kontak i {
  margin-right: 10px;
}

.footer-col .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col .footer-nav li {
  margin: 10px 0;
}

.footer-col .footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 28px;
  transition: all 0.5s;
}

.footer-col .footer-nav a:hover {
  border-bottom: 1px dashed #fff;
}

.footer-copyright .container {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 0;
}

.footer-copyright {
  margin-top: 60px;
}

.footer-copyright h6 {
  font-size: 16px;
  color: #cecece;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, geneva, Verdana, sans-serif;
}

.footer-copyright h6 a {
  color: inherit;
}

.footer-copyright h6 a:hover {
  border-bottom: 1px dashed #cecece;
}

/* tambahan untuk videonya */
/* ========================= */
/* VIDEO RESPONSIVE */
/* ========================= */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* ========================================= */
/* RESPONSIVE MOBILE */
/* ========================================= */

@media (max-width: 768px) {
  /* Topbar */
  #topbar {
    text-align: center;
    height: auto;
    line-height: normal;
    padding: 10px 0;
  }

  /* Buat row jadi flex column */
  #topbar .row {
    flex-direction: column;
    text-align: center;
  }

  /* Contact tetap horizontal */
  .top-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .top-contact li {
    display: inline-block;
  }

  /* Sosmed juga horizontal */
  .sosmed {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-left: 0;
    margin-top: 10px;
  }

  /* Header */
  header {
    padding: 15px 0;
    text-align: center;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand img {
    margin: 0 0 10px 0;
  }

  .pembungkus-searchbox {
    margin-top: 15px;
  }

  /* Navbar */
  .navbar .nav-item.active {
    background-color: transparent;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 10px 15px;
  }

  /* Hero */
  #hero-area .slider-item-content {
    width: 90%;
    padding: 15px;
  }

  #hero-area .slider-item-content h2 {
    font-size: 20px;
  }

  /* Section Umum */
  .section-title h2 {
    font-size: 22px;
  }

  .section-item {
    margin: 30px 0;
  }

  /* VIDEO MOBILE */
  #sambutan h2 {
    font-size: 20px;
  }

  #sambutan h3 {
    font-size: 18px;
  }

  #sambutan p {
    font-size: 13px;
    line-height: 22px;
  }

  /* Prestasi */
  #prestasi {
    margin: 40px 15px;
  }

  /* Ekstrakurikuler */
  #ekstrakulikuler .section-body-item {
    height: auto;
    padding: 15px;
    font-size: 18px;
  }

  #ekstrakulikuler .row-2 {
    position: static;
    transform: none;
  }

  /* ========================= */
  /* TENAGA PENDIDIK MOBILE */
  /* ========================= */

  .section-item-slider {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Foto dibuat lebih dominan */
  #tenaga-pendidik .foto-guru {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }

  /* Caption lebih tipis & kecil */
  .section-item-caption {
    position: relative;
    padding: 10px;
    text-align: center;
  }

  /* Nama diperkecil */
  .section-item-caption a p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 3px;
  }

  /* NIP diperkecil */
  .section-item-caption p {
    font-size: 12px;
    margin-bottom: 2px;
  }

  /* Jabatan diperkecil */
  .section-item-caption h6 {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Alumni */
  #alumni {
    padding: 40px 0;
  }

  #alumni .section-item-slider {
    height: auto;
  }

  /* Kegiatan */
  /* ========================= */
  /* KEGIATAN MOBILE */
  /* ========================= */

  /* Tinggikan foto */
  #galeri .section-item-slider {
    height: auto;
  }

  #galeri .foto-guru {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  /* Perkecil caption */
  #galeri .section-item-caption {
    padding: 8px;
  }

  #galeri .section-item-caption h5 {
    font-size: 13px;
    margin-bottom: 3px;
  }

  #galeri .section-item-caption h6 {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  /* Berita */
  .section-thumbnail {
    height: 180px;
  }

  #berita .section-content h3 {
    font-size: 14px;
  }

  #berita .section-content p {
    font-size: 13px;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 40px 0 0;
  }

  footer .brand {
    flex-direction: column;
    align-items: center;
  }

  footer .brand img {
    margin-bottom: 15px;
  }

  footer .footer-col {
    margin-bottom: 30px;
  }
}
