/* Premium Hero Slider Styling */
.hero-slider-section {
  position: relative;
  min-height: 65vh;
  padding: 0 !important;
  overflow: hidden;
  background-color: #040e1c;
}
.hero-slider {
  width: 100%;
  min-height: 65vh;
}
.hero-slide-item {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.swiper-slide-active .hero-bg-overlay {
  transform: scale(1);
}
.hero-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(4, 14, 28, 0.4) 0%, rgba(4, 14, 28, 0.88) 75%, rgba(4, 14, 28, 0.96) 100%),
              linear-gradient(180deg, rgba(4, 14, 28, 0.5) 0%, rgba(4, 14, 28, 0.92) 100%);
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 45px 0 35px;
}
.hero-title-main {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 14px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  line-height: 1.18;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 157, 221, 0.18);
  border: 1px solid rgba(20, 157, 221, 0.5);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-glass-card {
  margin-top: 20px;
  max-width: 680px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.hero-caption-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(135deg, #149ddd 0%, #0284c7 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(20, 157, 221, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 157, 221, 0.5);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.hero-image-frame {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(20, 157, 221, 0.3) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.hero-frame-img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.hero-slider .swiper-pagination {
  bottom: 30px !important;
}
.hero-slider .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #ffffff;
  opacity: 0.4;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}
.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: #149ddd;
  width: 36px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(20, 157, 221, 0.8);
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: #149ddd;
  border-color: #149ddd;
  box-shadow: 0 0 20px rgba(20, 157, 221, 0.6);
  transform: scale(1.08);
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
}
@media (max-width: 991.98px) {
  .hero-title-main {
    font-size: 36px;
  }
  .hero-glass-card {
    padding: 18px 20px;
  }
}
@media (max-width: 768px) {
  .hero-title-main {
    font-size: 28px;
  }
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }
}

.hero-intro-box {
  margin-top: 18px;
  max-width: 760px;
  background: rgba(4, 11, 20, 0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(6px);
}
.hero-intro-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary-portfolio,
.btn-outline-portfolio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}
.btn-primary-portfolio {
  background: var(--accent-color);
  color: var(--contrast-color);
}
.btn-outline-portfolio {
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.profile-feature-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.news-service-card .icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 88%);
}
.news-service-card .meta-small {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 12px;
}
.news-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 14px;
}
.news-search-form input {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  min-height: 48px;
  padding: 0 16px;
  font-family: inherit;
}
.news-search-form button {
  border: 0;
  border-radius: 10px;
  background: var(--accent-color);
  color: #fff;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 600;
}
.search-state-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}
.news-list-card-public,
.article-public-card,
.empty-public-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.news-list-card-public h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.news-list-card-public p,
.article-public-card p {
  color: color-mix(in srgb, var(--default-color), transparent 24%);
}
.news-list-meta,
.article-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
  font-size: 14px;
}
.news-list-meta span,
.article-public-meta span {
  background: #f4fafd;
  padding: 6px 12px;
  border-radius: 999px;
}
.tag-inline-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-inline-wrap span {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.article-public-wrap {
  max-width: 920px;
}
.article-public-card p + p {
  margin-top: 16px;
}
.profile-timeline .resume-item:last-child {
  padding-bottom: 0;
}
.public-portfolio-page .navmenu a.active {
  color: var(--nav-hover-color);
}
.public-portfolio-page .portfolio-content img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .news-search-form {
    grid-template-columns: 1fr;
  }
  .search-state-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   Premium foto profil sidebar — animated ring
   ============================================ */
#header .profile-img {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 20px auto 12px;
  border-radius: 100%;
  padding: 5px;
  background: linear-gradient(135deg, var(--accent-color, #149ddd), #4facfe, #a78bfa, var(--accent-color, #149ddd));
  background-size: 400% 400%;
  animation: profile-glow-spin 4s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.18);
  transition: all 0.4s ease;
  cursor: pointer;
}

#header .profile-img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px rgba(0, 123, 255, 0.4);
  animation-duration: 1.5s;
}

#header .profile-img::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 100%;
  background: var(--nav-bg, #040b14);
  z-index: 0;
}

#header .profile-img img {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 100% !important;
  object-fit: cover !important;
  border: 3px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(1) brightness(1);
}

#header .profile-img:hover img {
  transform: scale(0.96);
  filter: saturate(1.1) brightness(1.06);
}

@keyframes profile-glow-spin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   Nilai & Prinsip Hidup Styling
   ============================================ */
.principles-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--primary-gold, #d4af37);
  border-radius: var(--radius-lg, 16px);
  padding: 1.8rem;
  margin-top: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.principles-box:hover {
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}
.principles-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
}
.principle-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: rgba(212, 175, 55, 0.4);
}
.principle-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}
.principle-card:hover .principle-icon-wrap {
  transform: scale(1.1);
}
.principle-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}
.principle-desc {
  font-size: 0.92rem;
  color: #4a5568;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ============================================
   Kiprah Organisasi & Penghargaan Styling
   ============================================ */
.org-card {
  transition: all 0.35s ease;
}
.org-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}
.custom-org-table th {
  padding: 1rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.custom-org-table td {
  padding: 1.1rem 1.25rem;
}
.award-card {
  transition: all 0.35s ease;
}
.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.09) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}
.award-year-badge {
  border-bottom-left-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

