﻿/* latin-ext */
/* Dasar smooth scroll untuk navigasi internal */
html {
  scroll-behavior: auto !important;
}

@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/website/SiteAssets/fonts/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2")
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("/website/SiteAssets/fonts/_Xmu-HUzqDCFdgfMm4GND65o.woff2")
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/website/SiteAssets/fonts/_Xms-HUzqDCFdgfMm4q9DbZs.woff2")
    format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/website/SiteAssets/fonts/_Xms-HUzqDCFdgfMm4S9DQ.woff2")
    format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

.border-bottom-blue {
  border-bottom: 6px solid #0041a2 !important;
}

/* Hover effect */
.card-gradient {
  transition: all 0.3s ease;
}

.card-gradient:hover {
  background-color: #0041a2 !important; /* Biru */
  color: #fff !important;
}

.card-gradient:hover h6 {
  color: #fff !important;
}

#news,
#events {
  position: relative;
  border-radius: 0px;
  background:
    linear-gradient(rgba(6, 62, 151, 0.1), rgba(6, 62, 151, 0.5)),
    url("/website/SiteAssets/img/bg-berita.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 2rem 0;
}
#services {
  position: relative;
  padding: 2rem 0;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.5),
      /* overlay biru transparan */ rgba(255, 255, 255, 0.5)
    ),
    url("/website/SiteAssets/img/bg-services.webp"); /* ganti path gambar */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.split-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1); /* semi-transparan agar kontras */
}

.social-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.social-card-icon {
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: all 0.3s ease;
}

.social-card small {
  color: #333;
}

/* Hover */
.social-card:hover .social-card-icon {
  background-color: #0041a2; /* biru */
  color: #fff; /* icon jadi putih */
}

.social-card:hover sma ll {
  color: #0041a2; /* teks jadi biru */
}

/* Style dasar setiap list item */
.left-side ul li {
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hover */
.left-side ul li:hover {
  background: #ffffff; /* putih */
  cursor: pointer;
}

.left-side ul li:hover div {
  color: #0041a2 !important;
}

.info-card {
  background: #eaf2ff;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.info-card .card-thumb img {
  transition: all 0.3s ease;
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* Caption diarahkan ke bawah */
.info-card .card-caption {
  margin-top: auto;
}

/* Hover */
.info-card:hover {
  background: #0041a2;
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Image gelap saat hover */
.info-card:hover .card-thumb img {
  filter: brightness(0.7);
}

/* Teks putih saat hover */
.info-card:hover .card-caption strong,
.info-card:hover .card-caption .small {
  color: #fff !important;
}

.tile {
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover */
.tile:hover {
  background: #0d6efd; /* Biru */
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* Icon jadi putih */
.tile:hover i {
  color: #fff !important;
}

/* Teks jadi putih */
.tile:hover .fw-semibold {
  color: #fff !important;
}

/* Dropdown wrapper */
.navbar .dropdown-menu {
  background: #002b7f; /* biru gelap */
  border: none;
  opacity: 0.9;
  /* border-radius: 18px; */
  /* padding: 12px 0; */
  /* min-width: 250px; */
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
  margin-top: 15px; /* jarak dropdown dari menu */
}

/* Dropdown item */
.navbar .dropdown-item {
  color: #fff;
  padding: 6px 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover item */
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Icon “>” di kanan untuk item yang punya sub */
/* .navbar .dropdown-item::after {
  content: "›"; 
  position: absolute;
  right: 20px;
  opacity: 0.5;
  transition: all 0.2s ease;
} */

/* Panah saat hover */
.navbar .dropdown-item:hover::after {
  opacity: 1;
  right: 16px;
}

/* Saat dropdown terbuka → panah ke atas */
.navbar .show .nav-link.dropdown-toggle::after {
  transform: translateY(-50%) rotate(0deg);
}

/* Animasi yang lebih smooth */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* 3 Levels menu */
#navbarNav .nav-item {
  font-weight: 600;
}

.navbar .dropdown-submenu .dropdown-toggle {
  display: inline-flex;
  justify-content: space-between;
  gap: 8px;
}
.navbar .dropdown-submenu .dropdown-toggle::after {
  margin-left: auto;
  margin: auto 0;
}

.navbar .dropdown-submenu .dropdown-menu .dropdown-item {
  white-space: inherit;
}
.left-side ul li {
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hover state */
.left-side ul li:hover {
  background: #ffffff; /* Putih */
  cursor: pointer;
}

/* Icon default (biru) */
.left-side ul li .icon-circle {
  background-color: #ffffff !important; /* Biru */
  color: #002b7f !important;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon saat hover (biru lebih gelap) */
.left-side ul li:hover .icon-circle {
  background-color: #002b7f !important; /* Biru lebih gelap */
  color: white !important;
}

/* Teks default (putih) */
.left-side ul li .text-white {
  color: white !important;
  transition: all 0.3s ease;
}

/* Teks saat hover (biru) */
.left-side ul li:hover .text-white {
  color: #0041a2 !important; /* Biru */
  font-weight: 600;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

a {
  text-decoration: none;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.nav-link:focus,
.nav-link:hover {
  color: #0041a2;
}
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* jumlah baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.loading-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease-in;
}
.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  transition: all 1s ease-out;
}

/* Dots loader */
.dots-loader span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: var(--bs-primary);
  border-radius: 50%;
  animation: blink 1.2s infinite ease-in-out;
}

.dots-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.dots-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

.dots-loader span:nth-child(4) {
  animation-delay: 0.6s;
}

.dots-loader span:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  40% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Container News Row */
.news-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.news-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.08);
  border-color: var(--bs-primary);
}

/* Index Badge */
.news-index {
  background: rgba(13, 110, 253, 0.05);
  color: var(--bs-primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.news-wrapper:hover .news-index {
  background: var(--bs-primary);
  color: white;
  transform: scale(1.05);
}

/* Typography */
.news-title {
  font-weight: 700;
  color: #091e42;
  font-size: 1.15rem;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.news-title:hover {
  color: var(--bs-primary);
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #636e72;
  margin-right: 10px;
}

.meta-tag i {
  color: var(--bs-primary);
  margin-right: 6px;
}

/* Action Link */
.link-action {
  color: var(--bs-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.3s;
}

.news-wrapper:hover .link-action {
  opacity: 1;
  padding-right: 10px;
}

/* Pagination Upgrade */
.custom-pagination .page-link {
  border: none;
  padding: 12px 18px;
  color: var(--bs-primary);
  font-weight: 600;
  border-radius: 10px;
  margin: 0 4px;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.custom-pagination .page-item.active .page-link {
  background: var(--bs-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.custom-pagination .page-item .page-link:hover {
  background: var(--bs-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}
:root {
  --mappi-blue: #003399;
  --mappi-dark: #002366;
  --mappi-light: #f8faff;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #fcfdfe;
}

/* Top Bar Modern */
.top-bar {
  background: var(--mappi-light);
  border-bottom: 1px solid #eef2f6;
  padding: 5px 0;
  font-size: 0.85rem;
}

/* Navbar Styling */
.main-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px); /* Efek Glassmorphism */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 55px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: translateY(-2px);
}

/* Nav Links */
.nav-link {
  color: #4a5568;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 15px !important;
  transition: all 0.2s;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after,
.nav-link.focus:after {
  width: calc(100% - 30px);
  border-top: 0;
  border-bottom: 2px solid var(--bs-primary);
  border-left: 0;
  left: 48%;
  border-right: 0;
  background: var(--bs-primary);
}

.nav-link:hover {
  color: var(--mappi-blue) !important;
}

.dropdown-item {
  padding: 8px 15px;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: var(--mappi-light);
  color: var(--mappi-blue);
}

/* Search Box Premium */
.search-container {
  position: relative;
  max-width: 250px;
}

.search-input {
  border-radius: 50px;
  background: #f1f4f8;
  border: 1px solid transparent;
  padding-left: 40px;
  font-size: 0.9rem;
  height: 40px;
  transition: all 0.3s;
}

.search-input:focus {
  background: #fff;
  border-color: var(--mappi-blue);
  box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.05);
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* Member Button */
.btn-member {
  background-color: var(--bs-primary);
  color: white !important;
  border-radius: 50px;
  padding: 8px 24px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 51, 153, 0.2);
  transition: all 0.3s;
}

.btn-member:hover {
  color: white !important;
  background: var(--mappi-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 51, 153, 0.3);
}

/* WA Official Styling */
.wa-contact {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  padding: 5px 15px;
  border-radius: 50px;
  transition: all 0.3s;
}

.wa-contact:hover {
  border-color: #25d366;
  background: #f0fff4;
}

.wa-icon {
  color: #25d366;
  font-size: 1.2rem;
}

.wa-text {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .search-container {
    max-width: 100%;
    margin-bottom: 15px;
  }
  .wa-contact {
    display: none;
  }
}
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Input Pencarian (Hidden by Default) */
.search-input-box {
  width: 0;
  opacity: 0;
  visibility: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 50px;
  padding: 8px 0;
  background: #f8faff;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  outline: none;
}

/* Saat Pencarian Aktif */
.search-wrapper.active .search-input-box {
  width: 100%;
  opacity: 1;
  visibility: visible;
  padding: 8px 20px;
  padding-right: 40px; /* Ruang untuk ikon close jika perlu */
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.05);
}

/* Tombol Ikon Pencarian */
.search-toggle-btn {
  background: transparent;
  border: none;
  color: #4a5568;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-toggle-btn:hover {
  background: rgba(13, 110, 253, 0.05);
  color: #0d6efd;
}

/* Posisi ikon saat input terbuka */
.search-wrapper.active .search-toggle-btn {
  position: absolute;
  right: 5px;
  color: #0d6efd;
}

/* Menghilangkan menu lain di mobile saat search aktif (Opsional) */
@media (max-width: 768px) {
  .search-wrapper.active {
    width: 100%;
  }
  .search-wrapper.active .search-input-box {
    width: 100%;
  }
}
#jumbroton .list-card .card-body {
  color: #4a5568;
}
#jumbroton .list-card .card-body:hover {
  color: white !important;
}

.custom-hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.custom-visible {
  opacity: 1;
  visibility: visible;
  height: auto;
}
