@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.0/font/bootstrap-icons.css");

body {
  background-color: #fff;
  font-family: "Assistant", sans-serif;
}

/* Navbar */
.navbar {
  margin-left: -12px;
  margin-right: -12px;
  position: relative;
  z-index: 5;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
  border-radius: 6px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover {
  background-color: #20BAB6;
  color: #fff;
}

.logo-title p {
  font-size: 14px;
}

.btn-login {
  background-color: #253260;
  color: #fff;
}

.btn-login:hover {
  background-color: #20BAB6;
  color: #fff;
}

@media (max-width: 768px) {
  .logo-title h5 {
    font-size: 1rem; /* Perkecil judul agar muat */
  }

  .navbar-brand img {
    width: 40px; /* Perkecil logo */
  }

  .logo-title p {
    display: none; /* Sembunyikan deskripsi panjang */
  }
}

/* Header */
header {
  position: relative;
  padding: 230px 0 165px;
  background-image: url(../images/kotapadang.jpg);
  background-size: cover;
  margin-top: -90px;
  height: 100vh;
  z-index: 3;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

header * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  header {
    margin-top: -5px;
  }
}

header h1,
header p {
  color: #fff;
}

header h1 {
  font-family: "Playfair Display", serif;
  font-weight: bold;
  font-size: 50px;
}

header p {
  font-size: 22px;
}

header .btn-get-started {
  background-color: #253260
;
  color: #fff;
}

header .btn-get-started:hover {
  background-color: #253260;
  color: #fff;
}

/* Section Stats */
.section-stats {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.section-stats .stat-detail {
  background-color: #fff;
  padding-left: 52px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.section-stats h2 {
  font-size: 30px;
  margin-bottom: 0;
  font-weight: normal;
}

.section-stats p {
  font-size: 20px;
  font-weight: lighter;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.section-intro {
  background-color: #253260;
  margin-top: -50px;
  min-height: 540px;
  padding-bottom: 100px;
  /* margin-bottom: -230px; */
}

@media (max-width: 1400px) {
  .section-intro {
    margin-top: -73px;
  }
}

@media (max-width: 767.98px) {
  .section-intro {
    margin-top: -95px;
  }
}

.section-intro .section-intro-heading {
  padding-top: 150px;
}

.section-intro .section-intro-heading h2,
.section-intro .section-intro-heading p {
  color: #fff;
}

.section-intro .section-intro-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: bold;
}

.section-intro .section-intro-heading p {
  font-size: 15px;
}

.section-intro .content {
  background-color: #fff;
  padding: 40px;
}

.section-intro .content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.section-intro .content h2 {
  font-size: 24px;
  font-weight: 700;
}

.section-intro .content p {
  margin: 15px 0 30px 0;
  line-height: 24px;
}

.section-intro .content .btn-read-more {
  color: #253260;
  background: transparent;
  border: 2px solid #253260;
  padding: 5px 20px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: none;
}

.section-intro .content .btn-read-more:hover {
  background: #253260;
  color: #ffffff;
}

.section-intro .content .btn-read-more span {
  font-family: var(--default-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.section-intro .content .btn-read-more i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.section-intro .content .btn-read-more:hover i {
  transform: translateX(5px);
}

/* Footer */
.section-footer a {
  color: #000;
  text-decoration: none;
  font-size: 30px;
  margin: 8px;
}

.responsive-iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Detail Home Page */
.section-details-header {
  background-color: #20BAB6;
  min-height: 310px;
}

.section-details-content {
  margin-top: -260px;
  margin-bottom: -180px;
}

.section-details-content .breadcrumb {
  margin-bottom: 50px;
  background-color: transparent;
}

.section-details-content .breadcrumb-item {
  font-weight: bold;
  color: #010818;
  font-size: large;
}

.section-details-content .card-details {
  padding: 30px;
  border-radius: 11px;
}

.section-details-content .card-details h1 {
  color: #071c4d;
  font-size: 26px;
  margin-bottom: 0;
}

.section-details-content .card-details h2 {
  font-size: 20px;
  color: #071c4d;
}

.table-custom tr th,
.table-custom tr td {
  padding: 4px 25px;
}

.section-details-content .card-right {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Modal dari kiri */
.modal-left .modal-dialog {
  position: fixed;
  margin: 0;
  width: 320px;
  height: 100%;
  left: 0;
  top: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
  transform: translateX(0);
}

.modal.left .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.left .modal-body {
  padding: 15px;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Active Button */
.list-group-item.active {
  background-color: transparent;
  color: #253260;
  border: 2px solid #253260;
}
.list-group-item.active:hover {
  background-color: #253260;
  color: #fff;
}
.list-group-item:hover {
  background-color: #253260;
  color: #fff;
}

.menu-header {
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Breakpoint 1400px */
@media (min-width: 1400px) {
  .me-xxl-minus {
    margin-left: -100px;
  }
}

/* CSS ANIMATION */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ANIMASI BTN GET STARTED */
.btn-get-started {
  display: inline-block;
  background: linear-gradient(135deg, #253260, #20BAB6);
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(16, 73, 119, 0.3);
}

.btn-get-started:hover {
  background: linear-gradient(135deg, #20BAB6, #253260);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(16, 73, 119, 0.5);
}

.btn-get-started:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px #253260;
}

.btn-get-started::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2),
    transparent,
    rgba(255, 255, 255, 0.2)
  );
  transition: all 0.6s ease-in-out;
}

.btn-get-started:hover::before {
  left: 100%;
}
