/*==============================================================
  ASPENJI — Design System
  Palette tetap Merah – Biru – Putih, dirapikan supaya biru jadi
  warna utama (kepercayaan/akademik), merah jadi aksen aksi (CTA),
  dan putih/abu muda jadi ruang napas antar section.
================================================================*/

/* Fonts */
:root {
  --default-font:
    "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Lexend", sans-serif;
  --nav-font: "Lexend", sans-serif;
}

/* Global Colors */
:root {
  --background-color: #f8fafc;
  --default-color: #334155;
  --heading-color: #0f172a;
  --accent-color: #0b4a8b; /* biru utama */
  --accent-hover: #083a6f;
  --secondary-color: #dc2626; /* merah aksen */
  --secondary-hover: #b91c1c;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --primary: #0b4a8b;
  --secondary: #dc2626;
  --accent: #dc2626;
  --muted: #eef2f7;
  --border: #e2e8f0;
  --destructive: #dc2626;
  --ring: #0b4a8b;

  --gradient-primary: linear-gradient(
    135deg,
    #0b4a8b 0%,
    #163f78 55%,
    #0f172a 100%
  );
  --gradient-accent: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --space-section: 96px;
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  :root {
    --space-section: 64px;
  }
}

/* Nav Menu Colors */
:root {
  --nav-color: #0b4a8b;
  --nav-hover-color: #dc2626;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #334155;
  --nav-dropdown-hover-color: #dc2626;
}

/* Color Presets --------------------------------------------------*/
.light-background {
  --background-color: #f1f5f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #0f172a;
  --default-color: #cbd5e1;
  --heading-color: #ffffff;
  --surface-color: #17233a;
  --contrast-color: #ffffff;
}

.navy-background {
  --background-color: #0b4a8b;
  --default-color: rgba(255, 255, 255, 0.82);
  --heading-color: #ffffff;
  --surface-color: #0d5aa7;
  --contrast-color: #ffffff;
  background: linear-gradient(160deg, #0b4a8b 0%, #08315e 100%) !important;
  color: var(--default-color) !important;
}

.red-background {
  --background-color: #dc2626;
  --default-color: rgba(255, 255, 255, 0.92);
  --heading-color: #ffffff;
  --surface-color: #c62828;
  --contrast-color: #ffffff;
  background: linear-gradient(160deg, #e13333 0%, #a91d1d 100%) !important;
  color: var(--default-color) !important;
}

.navy-background h1,
.navy-background h2,
.navy-background h3,
.navy-background h4,
.navy-background h5,
.navy-background h6,
.navy-background .section-title h2,
.navy-background .section-title p,
.red-background h1,
.red-background h2,
.red-background h3,
.red-background h4,
.red-background h5,
.red-background h6,
.red-background .section-title h2,
.red-background .section-title p {
  color: #ffffff !important;
}

.navy-background .section-title h2::after,
.navy-background .section-title h2::before,
.red-background .section-title h2::after,
.red-background .section-title h2::before {
  background: #ffffff !important;
}

.navy-background a,
.red-background a {
  color: #ffffff;
}
.navy-background a:hover,
.red-background a:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.navy-background .btn,
.red-background .btn {
  text-decoration: none;
}

.navy-background .card,
.red-background .card {
  background-color: var(--surface-color) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.navy-background .card h1,
.navy-background .card h2,
.navy-background .card h3,
.navy-background .card h4,
.navy-background .card h5,
.navy-background .card h6,
.red-background .card h1,
.red-background .card h2,
.red-background .card h3,
.red-background .card h4,
.red-background .card h5,
.red-background .card h6 {
  color: #ffffff !important;
}

.navy-background .card p,
.navy-background .card span,
.navy-background .card li,
.red-background .card p,
.red-background .card span,
.red-background .card li {
  color: rgba(255, 255, 255, 0.88) !important;
}

.navy-background .card .text-muted,
.red-background .card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.navy-background .text-primary {
  color: #ffd166 !important;
}
.red-background .text-primary {
  color: #ffffff !important;
}

.navy-background .text-success,
.red-background .text-success,
.navy-background .text-warning,
.red-background .text-warning,
.navy-background .text-danger,
.red-background .text-danger {
  color: #ffffff !important;
}

.navy-background .stats-item i,
.red-background .stats-item i {
  color: #ffffff !important;
}

.navy-background .post-item,
.red-background .post-item {
  background: var(--surface-color) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.navy-background .post-item h4 a,
.red-background .post-item h4 a {
  color: #ffffff !important;
}
.navy-background .post-item h4 a:hover,
.red-background .post-item h4 a:hover {
  color: rgba(255, 255, 255, 0.75) !important;
}
.navy-background .post-item p,
.red-background .post-item p {
  color: rgba(255, 255, 255, 0.85) !important;
}
.navy-background .post-item .meta,
.red-background .post-item .meta {
  color: rgba(255, 255, 255, 0.6) !important;
}
.navy-background .post-item .meta i,
.red-background .post-item .meta i {
  color: #ffffff !important;
}
.navy-background .post-item .readmore,
.red-background .post-item .readmore {
  color: #ffffff !important;
  text-decoration: none !important;
}
.navy-background .post-item .readmore:hover,
.red-background .post-item .readmore:hover {
  color: rgba(255, 255, 255, 0.75) !important;
}

.navy-background .portfolio-content,
.red-background .portfolio-content,
.navy-background .portfolio-info,
.red-background .portfolio-info {
  background: var(--surface-color) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.navy-background .portfolio-info h4,
.red-background .portfolio-info h4 {
  color: #ffffff !important;
}
.navy-background .portfolio-info p,
.red-background .portfolio-info p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* CTA background overrides */
.cta.navy-background::before,
.navy-background.cta::before,
.navy-background .cta::before {
  background: linear-gradient(
    135deg,
    rgba(11, 74, 139, 0.96) 0%,
    rgba(8, 49, 94, 0.92) 100%
  ) !important;
}
.cta.red-background::before,
.red-background.cta::before,
.red-background .cta::before {
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.96) 0%,
    rgba(169, 29, 29, 0.92) 100%
  ) !important;
}
.cta.red-background .btn-read-more,
.red-background .cta .btn-read-more {
  color: #dc2626 !important;
}
.cta.red-background .btn-read-more:hover,
.red-background .cta .btn-read-more:hover {
  background: #ffffff !important;
  color: #b91c1c !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}
.cta.navy-background .btn-read-more,
.navy-background .cta .btn-read-more {
  color: #0b4a8b !important;
}
.cta.navy-background .btn-read-more:hover,
.navy-background .cta .btn-read-more:hover {
  background: #ffffff !important;
  color: #083a6f !important;
  box-shadow: 0 6px 20px rgba(11, 74, 139, 0.4) !important;
}

/* Timeline overrides on colored sections */
.navy-background .timeline-content,
.red-background .timeline-content {
  background: var(--surface-color) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.navy-background .timeline-content h3,
.navy-background .timeline-content h5,
.red-background .timeline-content h3,
.red-background .timeline-content h5 {
  color: #ffffff !important;
}
.navy-background .timeline-content p,
.red-background .timeline-content p {
  color: rgba(255, 255, 255, 0.85) !important;
}
.navy-background .timeline-marker,
.red-background .timeline-marker {
  background: var(--background-color) !important;
  border-color: #ffffff !important;
}
.navy-background .timeline-item:hover .timeline-marker,
.red-background .timeline-item:hover .timeline-marker {
  background: #ffffff !important;
}

/*==============================================================
  Base / Reset
================================================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--default-color);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(1.9rem, 4vw + 1rem, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.25rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
}
h4 {
  font-size: clamp(1.1rem, 1.5vw + 1rem, 1.5rem);
}
h5 {
  font-size: clamp(1rem, 1vw + 1rem, 1.2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--default-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: #fff;
}

/* PHP Email Form Messages ----------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #fff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}
@keyframes php-email-form-loading {
  100% {
    transform: rotate(360deg);
  }
}

/*==============================================================
  Header
================================================================*/
.header {
  --background-color: transparent;
  --default-color: #334155;
  --heading-color: #0f172a;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0;
  transition: all 0.35s ease;
  z-index: 1030;
}

.header .top-bar {
  background-color: var(--secondary-color) !important;
  color: #ffffff;
  font-size: 13px;
  height: 40px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  overflow: hidden;
}
.header .top-bar a {
  color: rgba(255, 255, 255, 0.85);
}
.header .top-bar a:hover {
  color: #ffffff;
}

.header .main-navbar {
  background-color: #ffffff;
  padding: 14px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.header .logo {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.header .logo img {
  max-height: 46px;
  display: block;
  transition: all 0.3s ease;
}
.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: -0.3px;
}

.scrolled .header .top-bar {
  height: 0;
  padding: 0 !important;
  border: none !important;
}
.scrolled .header .main-navbar {
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}
.scrolled .header .logo img {
  max-height: 38px;
}

/* Header CTA Button */
.header .cta-btn {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.28);
}
.header .cta-btn:hover {
  background: var(--secondary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}

/*==============================================================
  Navigation
================================================================*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }
  .navmenu > ul > li:last-child {
    padding-right: 0;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0;
    transition: all 0.3s ease-in-out 0s;
  }
  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: var(--radius-sm);
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    font-weight: 500;
  }
  .navmenu .dropdown ul a i {
    font-size: 12px;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
    transition: background 0.35s ease;
  }
  .navmenu ul {
    list-style: none;
    position: fixed;
    top: var(--topbar-h, 0);
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    padding: 70px 0 20px 0;
    margin: 0;
    border-radius: 0;
    background-color: var(--nav-mobile-background-color);
    border: none;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.35s;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 8px;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: var(--heading-color);
    position: fixed;
    font-size: 28px;
    top: calc(var(--topbar-h, 0) + 15px);
    right: 22px;
    margin-right: 0;
    z-index: 1052;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    top: var(--topbar-h, 0);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1050;
  }
  .mobile-nav-active .navmenu > ul {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  }
  .mobile-nav-active.scrolled .mobile-nav-toggle {
    top: 8px;
  }
  .mobile-nav-active.scrolled .header .main-navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
  }
  .mobile-nav-active .scroll-top {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/*==============================================================
  Footer
================================================================*/
.footer,
footer {
  color: rgba(255, 255, 255, 0.75);
  background-color: #0f172a;
  font-size: 14px;
  position: relative;
  padding: 64px 0 24px;
}
.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 20px;
}
.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}
.footer .footer-about .logo span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
  color: #fff;
}
.footer .footer-about p,
.footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.footer h4,
footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer .social-links a,
footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 8px;
  transition: 0.3s;
}
.footer .social-links a:hover,
footer .social-links a:hover {
  color: #fff;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer .footer-links,
footer .footer-links {
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.footer .footer-links ul,
footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links ul li,
footer .footer-links li {
  padding: 8px 0;
}
.footer .footer-links ul a,
footer .footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: 0.25s;
  font-size: 14.5px;
}
.footer .footer-links ul a:hover,
footer .footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer .copyright,
.footer .footer-bottom,
footer .footer-bottom {
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  text-align: center;
}
.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 20px;
  margin-bottom: 15px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
}
.footer .footer-newsletter .newsletter-form input[type="email"] {
  border: 0;
  padding: 8px;
  width: 100%;
  background: transparent;
  color: #fff;
}
.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
  outline: none;
}
.footer .footer-newsletter .newsletter-form input[type="submit"] {
  border: 0;
  font-size: 14px;
  padding: 0 20px;
  background: var(--secondary-color);
  color: #fff;
  transition: 0.3s;
  border-radius: var(--radius-sm);
}
.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: var(--secondary-hover);
}

/*==============================================================
  Preloader / Scroll Top
================================================================*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 5px solid #ffffff;
  border-color: var(--accent-color) transparent var(--secondary-color)
    transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.1s linear infinite;
}
@keyframes animate-preloader {
  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: all 0.4s;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top i {
  font-size: 22px;
  color: #fff;
  line-height: 0;
}
.scroll-top:hover {
  background-color: var(--secondary-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*==============================================================
  Sections / Section Titles
================================================================*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: var(--space-section) 0;
  scroll-margin-top: 90px;
  overflow: clip;
}
@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 76px;
  }
}

.section-title {
  padding-bottom: 50px;
  position: relative;
}
.section-title.text-center {
  text-align: center;
}

.section-subtitle-badge {
  display: inline-block;
  padding: 6px 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 30px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  line-height: 1;
  margin: 0;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}
.section-title h2::before {
  content: "";
  width: 24px;
  height: 2px;
  display: inline-block;
  background: var(--secondary-color);
  margin-right: 10px;
  vertical-align: middle;
}
.section-title h2::after {
  content: "";
  width: 24px;
  height: 2px;
  display: inline-block;
  background: var(--secondary-color);
  margin-left: 10px;
  vertical-align: middle;
}
.section-title p {
  color: var(--heading-color);
  margin: 14px 0 0 0;
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.4rem);
  font-weight: 800;
  font-family: var(--heading-font);
  letter-spacing: -0.5px;
  text-transform: none;
}
.section-desc {
  max-width: 640px;
  margin: 14px auto 0 auto;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 1.7;
}
.navy-background .section-desc,
.red-background .section-desc {
  color: rgba(255, 255, 255, 0.82);
}

/*==============================================================
  Hero
================================================================*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 130px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero:before,
.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    rgba(8, 20, 40, 0.92) 0%,
    rgba(11, 74, 139, 0.35) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 3;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  backdrop-filter: blur(6px);
  letter-spacing: 0.3px;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: 35pt;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.5px;
}
.hero p.lead,
.hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  margin: 20px 0 0;
  font-size: clamp(1rem, 0.4vw + 1rem, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 560px;
}

.hero .text-gradient {
  background: linear-gradient(120deg, #ff8a8a 0%, #ff5252 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-gradient {
  background: linear-gradient(120deg, #ff8a8a 0%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero .btn-get-started {
  background: var(--secondary-color);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  padding: 15px 34px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.35);
}
.hero .btn-get-started:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.42);
  color: #fff;
}

.hero .btn-watch-video {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-color) !important;
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid #fff;
  background: #fff;
  transition: all 0.3s ease;
}
.hero .btn-watch-video i {
  font-size: 17px;
  color: var(--accent-color) !important;
}
.hero .btn-watch-video:hover {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
  transform: translateY(-3px);
}
.hero .btn-watch-video:hover i {
  color: #fff !important;
}

.hero-quick-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 44px;
  padding-top: 26px;
}
.hero-quick-stats h3 {
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.hero-quick-stats p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.2px;
}

/* Hero side cards (index.php hero-cards-wrap) */
.hero-cards-wrap > div {
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.hero-cards-wrap > div:hover {
  transform: translateY(-6px);
  filter: brightness(1.05);
}

/* Hero Carousel */
.hero.carousel {
  display: block !important;
  padding: 0 !important;
  min-height: 100vh;
}
.hero .carousel-inner,
.hero .carousel-item {
  height: 100vh;
  min-height: 100vh;
  width: 100%;
}
.hero .carousel-item {
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero .carousel-item .container {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 6%;
  z-index: 5;
  opacity: 0.55;
  transition: all 0.3s ease;
}
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 1;
}
.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 22px;
  border-radius: 50%;
  background-size: 45% 45%;
}
.hero .carousel-indicators {
  z-index: 4;
}
.hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.hero .carousel-indicators .active {
  background-color: var(--secondary-color);
  transform: scale(1.3);
}

@media (max-width: 991px) {
  .hero {
    padding: 140px 0 60px;
    text-align: left;
  }
  .hero .text-start {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .hero-quick-stats {
    justify-content: flex-start;
  }
  .hero .carousel-inner,
  .hero .carousel-item {
    height: auto;
    min-height: 100vh;
    padding: 0 !important;
  }
  .hero .carousel-item .container {
    height: auto;
    align-items: flex-start;
    padding-top: 140px;
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .hero .carousel-inner,
  .hero .carousel-item {
    min-height: 100svh;
  }
}

/* Partners Marquee ------------------------------------------------*/
.partners-marquee {
  background: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  z-index: 10;
}
.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}
.marquee-track {
  display: inline-block;
  animation: scroll-marquee 32s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 40px;
  letter-spacing: 0.3px;
}
.marquee-item i {
  color: var(--accent-color);
  margin-right: 8px;
  font-size: 15px;
}
@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*==============================================================
  About
================================================================*/
.about h3 {
  font-weight: 800;
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.8rem);
  margin-bottom: 18px;
}
.about img {
  border-radius: var(--radius-md);
}
.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 40%);
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  padding: 8px 0 8px 32px;
  position: relative;
  display: flex;
  align-items: flex-start;
}
.about .content ul i {
  position: absolute;
  font-size: 19px;
  left: 0;
  top: 9px;
  color: var(--secondary-color);
}
.about .content p:last-child {
  margin-bottom: 0;
}

/*==============================================================
  Stats
================================================================*/
.stats .container {
  margin-top: 0;
}
.stats-item,
.stats .stats-item {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
.stats-item:hover,
.stats .stats-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.stats-item i,
.stats .stats-item i {
  font-size: 34px;
  color: var(--accent-color);
  margin-right: 18px;
  flex-shrink: 0;
  line-height: 0;
}
.stats-item span,
.stats .stats-item span,
.stats-item .count {
  color: var(--heading-color);
  font-size: clamp(1.6rem, 2vw + 1rem, 2.1rem);
  display: block;
  font-weight: 800;
  line-height: 1.1;
}
.stats-item p,
.stats .stats-item p {
  padding: 0;
  margin: 4px 0 0;
  font-family: var(--heading-font);
  font-size: 14.5px;
  opacity: 0.75;
}

.color-blue {
  color: #0b4a8b;
}
.color-orange {
  color: #d97706;
}
.color-green {
  color: #16a34a;
}
.color-pink {
  color: #dc2626;
}

/*==============================================================
  Program Cards / Services
================================================================*/
.program-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--border);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.program-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.program-card:hover .program-card-img img {
  transform: scale(1.08);
}
.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 74, 139, 0) 0%,
    rgba(8, 20, 40, 0.78) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.program-card:hover .program-card-overlay {
  opacity: 1;
}
.program-card-link {
  width: 48px;
  height: 48px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  transform: translateY(16px);
  transition: all 0.35s ease;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}
.program-card:hover .program-card-link {
  transform: translateY(0);
}
.program-card-link:hover {
  background: var(--secondary-hover);
  transform: scale(1.08) !important;
}

.program-card-body {
  padding: 26px;
  position: relative;
}
.program-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}
.program-card:hover .program-card-icon {
  transform: translateY(-3px) rotate(-4deg);
}
.program-card-icon i {
  font-size: 21px;
  color: var(--accent-color);
}
.program-card-icon.color-primary {
  background: color-mix(in srgb, #0b4a8b, transparent 90%);
}
.program-card-icon.color-primary i {
  color: #0b4a8b;
}
.program-card-icon.color-success {
  background: color-mix(in srgb, #16a34a, transparent 90%);
}
.program-card-icon.color-success i {
  color: #16a34a;
}
.program-card-icon.color-warning {
  background: color-mix(in srgb, #d97706, transparent 90%);
}
.program-card-icon.color-warning i {
  color: #d97706;
}
.program-card-icon.color-danger {
  background: color-mix(in srgb, #dc2626, transparent 90%);
}
.program-card-icon.color-danger i {
  color: #dc2626;
}

.program-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.program-card-body h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}
.program-card-body h3 a:hover {
  color: var(--accent-color);
}
.program-card-body p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
  line-height: 1.75;
  margin-bottom: 16px;
}
.program-card-readmore {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.program-card-readmore i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.program-card-readmore:hover {
  color: var(--secondary-hover);
}
.program-card-readmore:hover i {
  transform: translateX(4px);
}

/*==============================================================
  Values Cards
================================================================*/
.values .card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}
.values .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.values .card .icon {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.values .card .icon i {
  color: #ffffff;
  font-size: 30px;
}
.values .card h5,
.values .card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.values .card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/*==============================================================
  CTA
================================================================*/
.cta {
  position: relative;
  padding: 70px 0;
}
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.cta:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(8, 20, 40, 0.92) 0%,
    rgba(11, 74, 139, 0.82) 100%
  );
}
.cta .container {
  position: relative;
  z-index: 3;
}
.cta h3 {
  color: #fff;
  font-size: clamp(1.4rem, 1.8vw + 1rem, 1.9rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  margin: 0;
}
.cta .btn-read-more {
  background: #ffffff;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.cta .btn-read-more:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/*==============================================================
  Timeline (index.php modern-timeline)
================================================================*/
/* FIX: Mencegah teks deskripsi di section title berukuran raksasa */
.section-title p.section-desc {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--default-color) !important;
  max-width: 640px;
  margin: 10px auto 0 auto;
}

.section-title p.section-main-heading {
  font-size: clamp(1.5rem, 2.2vw + 1rem, 2.2rem) !important;
  font-weight: 800 !important;
  color: var(--heading-color);
  margin-top: 10px;
}

/* FIX: Isolation & Alignment khusus untuk Modern Timeline */
.modern-timeline {
  position: relative !important;
  padding: 30px 0 !important;
  margin: 0 auto;
}

.modern-timeline::before {
  content: "" !important;
  position: absolute !important;
  top: 10px !important;
  bottom: 10px !important;
  left: 50% !important;
  width: 3px !important;
  background: var(--border) !important;
  transform: translateX(-50%) !important;
  z-index: 1;
}

.modern-timeline .timeline-item {
  position: relative !important;
  margin-bottom: 40px !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modern-timeline .timeline-item::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

.modern-timeline .timeline-marker {
  position: absolute !important;
  top: 24px !important;
  left: 50% !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 4px solid var(--accent-color) !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9) !important;
}

.modern-timeline .timeline-content {
  width: 44% !important;
  padding: 20px 24px !important;
  background: #ffffff !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card) !important;
  border: 1px solid var(--border) !important;
  position: relative !important;
  z-index: 2 !important;
}

.modern-timeline .timeline-item.left .timeline-content {
  float: left !important;
  text-align: left !important;
}

.modern-timeline .timeline-item.right .timeline-content {
  float: right !important;
  text-align: left !important;
}

/* Response Mobile Alignment */
@media (max-width: 991px) {
  .modern-timeline::before {
    left: 20px !important;
  }
  .modern-timeline .timeline-marker {
    left: 20px !important;
    transform: translateX(-50%) !important;
  }
  .modern-timeline .timeline-content {
    width: calc(100% - 50px) !important;
    float: right !important;
  }
}

/*==============================================================
  Team
================================================================*/
.team .member {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.team .member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.team .member .pic {
  overflow: hidden;
}
.team .member .pic img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 28px auto 0;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  transition: transform 0.4s ease;
}
.team .member .pic-lg img {
  width: 150px;
  height: 150px;
}
.team .member .pic-md img {
  width: 130px;
  height: 130px;
}
.team .member:hover .pic img {
  transform: scale(1.05);
}
.team .member .member-info {
  padding: 20px 18px 24px;
  position: static;
}
.team .member h4,
.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
  padding-bottom: 0;
}
.team .member h4::after {
  display: none;
}
.team .member span,
.team .member .member-info span {
  font-style: normal;
  display: block;
  font-size: 13.5px;
  color: var(--accent-color);
  font-weight: 600;
}
.team .member .social {
  position: static;
  margin-top: 14px;
}
.team .member .social a {
  width: 34px;
  height: 34px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}
.team .member .social a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}
.team .member .social i {
  font-size: 15px;
  margin: 0;
}

/*==============================================================
  Portfolio / Galeri
================================================================*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 40px;
  list-style: none;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: var(--default-color);
  border: 2px solid var(--border);
}
.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.portfolio .portfolio-filters li.filter-active {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 14px rgba(11, 74, 139, 0.3);
}

.portfolio .portfolio-content {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
}
.portfolio .portfolio-content:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.portfolio .portfolio-content img {
  transition: transform 0.4s ease;
  height: 220px;
  width: 100%;
  object-fit: cover;
}
.portfolio .portfolio-content:hover img {
  transform: scale(1.08);
}
.portfolio .portfolio-content .portfolio-info {
  padding: 22px;
  background: var(--surface-color);
  position: static;
  opacity: 1;
}
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 0;
  background: none;
  display: block;
  color: var(--heading-color);
}
.portfolio .portfolio-content .portfolio-info p {
  position: static;
  font-size: 13.5px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-bottom: 14px;
  text-align: left;
  font-weight: 400;
}
.portfolio .portfolio-content .portfolio-info .details-link,
.portfolio .portfolio-content .portfolio-info .preview-link {
  position: static;
  background: var(--accent-color);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1;
}
.portfolio .portfolio-content .portfolio-info .details-link:hover,
.portfolio .portfolio-content .portfolio-info .preview-link:hover {
  background: var(--secondary-color);
  transform: scale(1.08);
  color: #fff;
}
/* FIX: Pointer Events Overlay Galeri */
.portfolio-img-wrapper {
  position: relative !important;
  z-index: 1 !important;
}

.portfolio-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.portfolio-overlay a, 
.portfolio-info a {
  position: relative !important;
  z-index: 11 !important;
  cursor: pointer !important;
}

/*==============================================================
  News / Post Items
================================================================*/
.post-item {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border);
}
.post-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.post-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-item:hover img {
  transform: scale(1.06);
}
.post-item .post-content {
  padding: 24px;
}
.post-item .meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #94a3b8;
  flex-wrap: wrap;
}
.post-item .meta i {
  color: var(--accent-color);
  margin-right: 4px;
}
.post-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-item h4 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}
.post-item h4 a:hover {
  color: var(--accent-color);
}
.post-item p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
  line-height: 1.7;
  margin-bottom: 14px;
}
.post-item .readmore {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-item .readmore i {
  transition: transform 0.3s ease;
}
.post-item .readmore:hover {
  color: var(--secondary-hover);
}
.post-item .readmore:hover i {
  transform: translateX(4px);
}

/*==============================================================
  Sidebar (news.php / news-detail.php)
================================================================*/
.sidebar .sidebar-item {
  margin-bottom: 32px;
}
.sidebar .sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.sidebar .sidebar-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}
.sidebar .search-form form {
  display: flex;
  gap: 8px;
}
.sidebar .search-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
}
.sidebar .search-form button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sidebar .search-form button:hover {
  background: var(--accent-hover);
}
.sidebar .categories ul,
.sidebar .tags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar .categories ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar .categories ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--default-color);
  font-size: 14px;
  transition: color 0.3s ease;
}
.sidebar .categories ul li a:hover {
  color: var(--accent-color);
}
.sidebar .categories ul li a span {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--accent-color);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.sidebar .tags ul li {
  display: inline-block;
}
.sidebar .tags ul li a {
  display: inline-block;
  background: var(--muted);
  padding: 7px 15px;
  border-radius: 20px;
  margin: 0 6px 8px 0;
  font-size: 13px;
  transition: all 0.3s ease;
  color: var(--default-color);
}
.sidebar .tags ul li a:hover {
  background: var(--accent-color);
  color: #fff;
}
.sidebar .recent-posts .post-item {
  border: none;
  box-shadow: none;
  background: transparent;
  margin-bottom: 14px;
}
.sidebar .recent-posts .post-item:hover {
  transform: none;
}
.sidebar .recent-posts .post-item img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 12px;
}
.sidebar .recent-posts .post-item .date {
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 700;
  display: block;
}
.sidebar .recent-posts .post-item h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin: 2px 0 0;
  line-height: 1.4;
}
.sidebar .cta-box {
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.sidebar .cta-box h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar .cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 18px;
}
.sidebar .cta-box .btn-primary {
  background: #fff;
  color: var(--secondary-color);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.sidebar .cta-box .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/*==============================================================
  Article (news-detail.php)
================================================================*/
.articles .post-img img {
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.articles .meta-top ul,
.articles .meta-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13.5px;
}
.articles .meta-top li,
.articles .meta-bottom li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}
.articles .meta-top a,
.articles .meta-bottom a {
  color: #64748b;
}
.articles .meta-top a:hover,
.articles .meta-bottom a:hover {
  color: var(--accent-color);
}
.articles .content h3 {
  margin-top: 32px;
  font-size: 21px;
}
.articles .content blockquote {
  margin: 24px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--secondary-color);
  background: var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.articles .content blockquote p {
  font-style: italic;
  font-size: 16px;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.articles .content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.articles .content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
}
.articles .content ul li i {
  color: var(--accent-color);
  margin-top: 5px;
}
.articles .meta-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 12px;
}

.share-box {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.share-box .share-label {
  font-weight: 700;
  color: var(--heading-color);
  margin-right: 8px;
}
.share-box a {
  width: 38px;
  height: 38px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  transition: all 0.3s ease;
  color: var(--accent-color);
}
.share-box a:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

/*==============================================================
  Portfolio Info
==============================================================*/
.portfolio-info {
  background: var(--surface-color);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.portfolio-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.portfolio-info ul li {
  padding: 6px 0;
}
.portfolio-info ul li + li {
  margin-top: 4px;
}

/*==============================================================
  Contact Page
==============================================================*/
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact .info-item {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}
.contact .info-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.contact .info-item i {
  font-size: 26px;
  color: #fff;
  width: 58px;
  height: 58px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}
.contact .info-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact .info-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

.btn-whatsapp-simple {
  background: #25d366;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.btn-whatsapp-simple:hover {
  background: #1ea952;
  color: #fff;
  transform: translateY(-2px);
}
.social-link-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--muted);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}
.social-link-item:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-card,
.php-email-form {
  border: 1px solid var(--border);
}
.contact .php-email-form,
.contact-form-card {
  background: var(--surface-color);
  box-shadow: var(--shadow-card);
  padding: 32px;
  border-radius: var(--radius-md) !important;
}

/*==============================================================
  Forms
================================================================*/
.form-label,
.php-email-form .form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
  display: block;
}
.php-email-form .form-control,
.php-email-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  color: var(--default-color);
  background-color: var(--surface-color);
}
.php-email-form .form-control:focus,
.php-email-form .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
  outline: none;
}
.php-email-form input[type="text"]::placeholder,
.php-email-form input[type="email"]::placeholder,
.php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}
.php-email-form button[type="submit"],
.contact .php-email-form button[type="submit"] {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.28);
}
.php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.35);
}

/*==============================================================
  Buttons
================================================================*/
.btn {
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent-color);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 74, 139, 0.3);
  transform: translateY(-2px);
}
.btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--accent-color);
  color: #fff;
}
.btn-secondary {
  background: var(--secondary-color);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}

/*==============================================================
  Page Title
================================================================*/
.page-title {
  position: relative;
  padding: 150px 0 40px;
  background: var(--gradient-primary);
  color: #fff;
  text-align: left;
  overflow: hidden;
}
.page-title::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--secondary-color), transparent 75%);
  pointer-events: none;
}
.page-title .container {
  position: relative;
  z-index: 2;
}
.page-title h1 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem) !important;
  font-weight: 800;
  color: #fff !important;
  margin: 14px 0 0 !important;
  border-left: 4px solid var(--secondary-color);
  padding-left: 16px;
  line-height: 1.25 !important;
}
.page-title .breadcrumbs {
  margin: 0 !important;
  font-size: 13.5px;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 !important;
}
.page-title .breadcrumbs ol li {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}
.page-title .breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.page-title .breadcrumbs ol li a:hover {
  color: #fff;
}
.page-title .breadcrumbs ol li.current {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}
.page-title .breadcrumbs ol li + li::before {
  content: "/";
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 767px) {
  .page-title {
    padding: 118px 0 32px;
  }
}

/*==============================================================
  Agenda cards (index.php)
================================================================*/
.agenda .card {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease;
}
.agenda .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/*==============================================================
   Agenda Listing Page (agenda.php)
==============================================================*/
.agenda-page .filter-btn {
  transition: all 0.25s ease;
  border-width: 2px;
}
.agenda-page .filter-btn.active {
  box-shadow: 0 4px 12px rgba(11, 74, 139, 0.2);
}
.agenda-page .card {
  border-radius: var(--radius-md) !important;
  transition: all 0.3s ease;
}
.agenda-page .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.agenda-page .extra-small {
  font-size: 0.78rem;
}

/*==============================================================
   Agenda Detail Page (agenda-detail.php)
==============================================================*/
.agenda-detail-page .article-body p {
  margin-bottom: 1rem;
}
.agenda-detail-page .article-body h3,
.agenda-detail-page .article-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.agenda-detail-page .article-body blockquote {
  border-left: 4px solid var(--primary, #0b4a8b);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #f8fafc;
  border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
}
.agenda-detail-page .article-body ul {
  padding-left: 0;
  list-style: none;
}
.agenda-detail-page .article-body ul li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.agenda-detail-page .extra-small {
  font-size: 0.78rem;
}

/*==============================================================
  FAQ Accordion
================================================================*/
.faq .accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}
.faq .accordion-button {
  font-size: 15.5px;
}
.faq .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  box-shadow: none;
}
.faq .accordion-button:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

/*==============================================================
  Accessibility
================================================================*/
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
  outline: none;
}

a,
button,
[role="button"],
.nav-link,
.btn,
.program-card-link,
.program-card-readmore,
.readmore,
.details-link,
.cta-btn,
.scroll-top {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent-color);
  color: #fff;
  padding: 12px 24px;
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
}

.nav-link,
.btn,
.program-card-link,
.program-card-readmore,
.readmore,
.details-link,
.cta-btn,
.scroll-top,
.sidebar .categories ul li a,
.sidebar .tags ul li a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (forced-colors: active) {
  .program-card,
  .post-item,
  .values .card,
  .team .member {
    border: 2px solid ButtonText;
  }
  .program-card-icon,
  .values .card .icon {
    forced-color-adjust: none;
  }
}

.mobile-nav-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*==============================================================
  Cards (generic Bootstrap override)
================================================================*/
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card h3,
.card h4,
.card h5 {
  font-family: var(--heading-font);
}

/*==============================================================
  Responsive section spacing
================================================================*/
@media (min-width: 768px) {
  section,
  .section {
    padding: 88px 0;
  }
}
@media (min-width: 1200px) {
  section,
  .section {
    padding: var(--space-section) 0;
  }
}

/* section 8 card */

.exec-profile-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.exec-profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(11, 74, 139, 0.12);
  border-color: rgba(11, 74, 139, 0.3);
}

.exec-img-container {
  position: relative;
  width: 100%;
  padding-top: 110%; /* Aspect ratio ~4:5 */
  overflow: hidden;
  background: #f1f5f9;
}

.exec-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.exec-profile-card:hover .exec-img-container img {
  transform: scale(1.06);
}

/* Gradient Overlay Tipis di Bawah Foto */
.exec-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
  pointer-events: none;
}

/* Floating Badge Jabatan */
.exec-badge-floating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}

.exec-badge-floating.ketua {
  background: var(--accent-color, #0b4a8b);
  color: #ffffff;
}

.exec-badge-floating.sekretaris {
  background: #0284c7;
  color: #ffffff;
}

.exec-badge-floating.bendahara {
  background: #16a34a;
  color: #ffffff;
}

.exec-badge-floating.pengawas {
  background: #dc2626;
  color: #ffffff;
}

/* Body Informasi Pengurus */
.exec-card-info {
  padding: 18px 16px;
  background: #ffffff;
}

.exec-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exec-campus {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/*==============================================================
   Gallery (gallery.php)
==============================================================*/
.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
}
.gallery-img-container {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.gallery-img-container img {
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-img-container img {
  transform: scale(1.08);
}
.gallery-play-btn {
  width: 54px;
  height: 54px;
  background: var(--secondary-color, #dc2626);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.gallery-zoom-btn {
  width: 54px;
  height: 54px;
  background: var(--accent-color, #0b4a8b);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.gallery-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-card:hover .gallery-overlay-icon {
  opacity: 1;
}

/*==============================================================
   Team (team.php)
==============================================================*/
.leader-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-left: 6px solid var(--accent-color, #0b4a8b);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-4px);
}
.leader-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.leader-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(11, 74, 139, 0.15);
}
.leader-badge-icon {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--secondary-color, #dc2626);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
}
.exec-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.exec-card:hover {
  border-color: var(--accent-color, #0b4a8b);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}
.exec-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border, #e2e8f0);
}
.bidang-box {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}
.bidang-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.bidang-box.b-1::before { background: #0b4a8b; }
.bidang-box.b-2::before { background: #16a34a; }
.bidang-box.b-3::before { background: #d97706; }
.bidang-box.b-4::before { background: #0284c7; }
.bidang-box.b-5::before { background: #dc2626; }
.bidang-box.b-6::before { background: #64748b; }
.bidang-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.bidang-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.board-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
}
.board-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.board-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.org-tree-container {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 30px 15px;
  overflow-x: auto;
}
.tree-node {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-block;
  min-width: 150px;
  text-align: center;
}
.tree-node.root {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}
.tree-node.main {
  background: #0b4a8b;
  color: #ffffff;
  border-color: #0b4a8b;
}
.tree-node.exec {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
.tree-line-v {
  width: 2px;
  height: 20px;
  background: #cbd5e1;
  margin: 0 auto;
}

/*==============================================================
   Keanggotaan (keanggotaan.php)
==============================================================*/
.membership-card {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  height: 100%;
}
.membership-card:hover {
  border-color: var(--accent-color, #0b4a8b);
  box-shadow: 0 10px 28px rgba(11, 74, 139, 0.08);
  transform: translateY(-4px);
}
.membership-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.form-card-box {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

/*==============================================================
   Contact (contact.php)
==============================================================*/
.contact-card-info {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}
.contact-card-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border-color: var(--accent-color, #0b4a8b);
}
.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.btn-whatsapp-glow {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-glow:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.social-circle-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--accent-color, #0b4a8b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-circle-item:hover {
  background: var(--accent-color, #0b4a8b);
  color: #ffffff;
  transform: translateY(-3px);
}
.form-box-custom {
  background: #ffffff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

