/* -------------------------------------------------------------
 * CSS Design System - SMP IT At-Taufiq
 * Theme: Ocean Teal #006785 & Pure White & Elegant Amber Gold
 * Inspired by: smpit.nurulfikri.sch.id
 * ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-50: #eef9fc;
  --primary-100: #d0f0f7;
  --primary-500: #008bb3;
  --primary-600: #006785;
  --primary-700: #005068;
  --primary-800: #003b4d;
  --primary-900: #002531;

  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-dark: #b45309;

  --dark-navy: #0a2544;
  --dark-surface: #06182c;
  --bg-light: #ffffff;
  --bg-subtle: #f8fafc;
  --card-bg: #ffffff;
  
  --text-main: #334155;
  --text-muted: #64748b;
  --text-dark: #0f172a;

  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 103, 133, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 103, 133, 0.08), 0 8px 10px -6px rgba(0, 103, 133, 0.04);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Header & Topbar (Full-Width Running Text Marquee) */
.topbar {
  background: linear-gradient(90deg, #07192f 0%, #0d3460 30%, #154c8c 50%, #0d3460 70%, #07192f 100%);
  color: #f8fafc;
  font-size: 0.84rem;
  padding: 0.52rem 0;
  border-bottom: 1.5px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.topbar-marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
}
.topbar-marquee-track {
  display: inline-flex;
  flex-shrink: 0;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  -webkit-animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .topbar-marquee:hover .topbar-marquee-track {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
  }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.015em;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item i {
  color: #f59e0b;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
  flex-shrink: 0;
}
.marquee-separator {
  color: #f59e0b;
  margin-left: 1.25rem;
  font-weight: 800;
  opacity: 0.85;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
@-webkit-keyframes marqueeScroll {
  0% {
    -webkit-transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(-50%);
  }
}

/* Navigation Bar (Sticky with dynamic scroll transition) */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(0, 59, 77, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-bottom-color: rgba(0, 103, 133, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar.navbar-scrolled .navbar-inner {
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  transition: max-height 0.3s ease;
}

.navbar.navbar-scrolled .brand-logo-img {
  max-height: 38px !important;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 103, 133, 0.35);
  transition: all 0.3s ease;
}

.navbar.navbar-scrolled .brand-icon {
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

.brand-text h1 {
  font-size: 1.25rem;
  color: var(--primary-800);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
  transition: font-size 0.3s ease;
}

.navbar.navbar-scrolled .brand-text h1 {
  font-size: 1.15rem;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 1px;
  line-height: 1.2;
}

/* Mobile Backdrop Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 31, 41, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Nav Links (Uniform Spacing & Active Underline) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: #0284c7;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

/* Dropdown Navigation Menu */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item-dropdown > a i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.nav-item-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 59, 77, 0.12);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 10px;
  transition: all 0.25s ease;
}
.dropdown-item i {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
}
.dropdown-item:hover {
  background: #f0f9ff;
  color: #0284c7;
  padding-left: 1.25rem;
}
.dropdown-item:hover i {
  color: #38bdf8;
  transform: scale(1.1);
}
.desktop-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.75rem;
}
.desktop-nav-actions .btn-pendaftaran {
  padding: 0.55rem 0.95rem; /* Vertikal semula 0.55rem, Horizontal dari 1.25rem (20px) -> 0.95rem (15px) */
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.desktop-nav-actions .btn-sm {
  padding: 0.45rem 0.75rem; /* Vertikal semula 0.45rem, Horizontal dari 1.0rem (16px) -> 0.75rem (12px) */
  font-size: 0.85rem;
}
/* Hide mobile-specific drawer controls on desktop by default */
.mobile-toggle,
.mobile-close-btn,
.mobile-nav-actions {
  display: none !important;
}

/* Hero Top Badges Row (Pure White Background) */
.hero-top-badges {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}
.page-header-banner {
  background: linear-gradient(135deg, #081e36 0%, #0d3766 40%, #154c8a 75%, #1c61ae 100%) !important;
  color: white;
  padding: 3.75rem 0;
  position: relative;
  text-align: left;
  overflow: hidden;
}
.page-header-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-header-banner .container {
  position: relative;
  z-index: 2;
}
.page-header-banner p {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

/* Hero Top Badges Row (Above Hero Slider) */
.hero-top-badges {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(0, 103, 133, 0.1);
  box-shadow: 0 2px 10px -2px rgba(0, 59, 77, 0.04);
  position: relative;
  z-index: 10;
}

.badge-fade-left,
.badge-fade-right {
  display: none;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge-pill,
.hero-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--primary-800);
  background: #ffffff;
  padding: 0.3rem 1rem 0.3rem 0.38rem;
  border-radius: var(--radius-full);
  border: 1.25px solid rgba(0, 103, 133, 0.16);
  box-shadow: 0 2px 8px rgba(0, 103, 133, 0.05);
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.hero-badge-pill::before,
.hero-intro-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.15), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.hero-badge-pill:hover,
.hero-intro-badge:hover {
  border-color: var(--primary-500);
  color: var(--primary-900);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 8px 20px -3px rgba(0, 103, 133, 0.16), 0 3px 6px rgba(0, 103, 133, 0.05);
  background: #ffffff;
}

.hero-badge-pill:hover::before,
.hero-intro-badge:hover::before {
  left: 100%;
}

.hero-badge-pill i,
.hero-intro-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: #ffffff;
  font-size: 0.78rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 103, 133, 0.22);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-badge-pill:hover i,
.hero-intro-badge:hover i {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  transform: rotate(12deg) scale(1.1);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

/* Hero Intro PPDB Badge (Original Position & Colors) */
.hero-intro-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-800);
  background: #ffffff;
  padding: 0.35rem 1.15rem 0.35rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-200);
  box-shadow: 0 4px 12px rgba(0, 103, 133, 0.08);
  transition: all 0.25s ease;
  cursor: default;
}
.hero-intro-badge-pill:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.15);
}
.hero-intro-badge-pill i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #ffffff;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 103, 133, 0.2);
}
.hero-intro-badge-pill:hover i {
  background: var(--accent-gold);
}

/* Portrait Promo Banner Section (Grand Statement Feature) */
.promo-banner-section {
  padding: 3.5rem 0;
  background: white;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.promo-banner-container {
  max-width: 640px; /* Ukuran proporsional elegan untuk banner portrait di desktop */
  width: 95%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 103, 133, 0.14), 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  background: white;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.promo-banner-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(0, 103, 133, 0.22);
}
.promo-banner-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: none;
}

/* Keunggulan Tab Switcher */
.keunggulan-tab-switcher {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 59, 77, 0.08);
  overflow: hidden;
}
.tab-nav-btns {
  display: flex;
  background: #f8fafc;
  padding: 0.75rem;
  gap: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.tab-nav-btn {
  flex: 1;
  padding: 1rem 1.35rem;
  background: linear-gradient(135deg, #103e73 0%, #082142 100%);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(8, 33, 66, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.tab-nav-btn i:not(.tab-chevron) {
  font-size: 1.15rem;
  color: #f59e0b;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, color 0.3s ease;
}
.tab-chevron {
  font-size: 0.8rem !important;
  margin-left: 0.35rem;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  opacity: 0.9;
  color: #f59e0b;
}
.tab-nav-btn:hover {
  background: linear-gradient(135deg, #18559a 0%, #0d3460 100%);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 33, 66, 0.38), 0 0 16px rgba(59, 130, 246, 0.25);
  color: #ffffff;
}
.tab-nav-btn:hover i:not(.tab-chevron) {
  transform: scale(1.12);
  color: #fbbf24;
}
.tab-nav-btn.active {
  background: #ffffff;
  color: #0a2544;
  border-color: #103e73;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(10, 37, 68, 0.22), 0 0 0 1.5px #103e73;
  transform: translateY(-1px);
}
.tab-nav-btn.active:hover {
  background: #ffffff;
  color: #0a2544;
}
.tab-nav-btn.active i:not(.tab-chevron) {
  color: #103e73;
  filter: none;
  transform: scale(1.08);
}
.tab-nav-btn.active .tab-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: #d97706;
}

.tab-content-pane {
  display: none;
  padding: 2.25rem 2.5rem;
  border-top: 1px solid var(--border-color);
  animation: fadeInTab 0.35s ease-in-out;
}
.tab-content-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}
.tab-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(10, 37, 68, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.tab-list-item:hover {
  background: #f0f7ff;
  border-color: #1a569b;
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(10, 37, 68, 0.12);
}
.tab-list-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e2f0fd;
  color: #0d3c73;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid #bae0fd;
  box-shadow: 0 2px 6px rgba(13, 60, 115, 0.1);
  transition: all 0.28s ease;
}
.tab-list-item:hover i {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-color: #f59e0b;
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}
.tab-list-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0a2544;
  margin-bottom: 0.2rem;
  line-height: 1.35;
  font-family: var(--font-heading);
  transition: color 0.28s ease;
}
.tab-list-item:hover h4 {
  color: #103e73;
}
.tab-list-item p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  transition: color 0.28s ease;
}
.tab-list-item:hover p {
  color: #334155;
}

.tab-pane-img-wrapper {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(10, 37, 68, 0.16);
}
.tab-pane-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Drawer & Backdrop Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-close-btn {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-sky,
.btn-primary {
  background: #38bdf8;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
  transition: all 0.3s ease;
}
.btn-sky:hover,
.btn-primary:hover {
  background: #0284c7;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}
.btn-sky i,
.btn-primary i {
  color: #ffffff !important;
}
.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.3s ease;
}
.btn-accent:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}
.btn-accent i {
  color: #ffffff !important;
}
.btn-outline {
  background: #ffffff;
  border: 1.5px solid #38bdf8;
  color: #006785;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}
.btn-outline:hover i {
  color: #ffffff !important;
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Hero Section & Background Photo Slider (Smooth Cinematic Crossfade) */
.hero-slider-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 520px;
  overflow: hidden;
  background: #002531;
  user-select: none;
  box-sizing: border-box;
}

.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  will-change: opacity;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Soft Cinematic Scanline & Micro-Texture Overlay (8% Kepekatan) */
.hero-slider-overlay-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.08) 0px,
      rgba(0, 0, 0, 0.08) 1px,
      transparent 1px,
      transparent 3.5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.08) 0px,
      rgba(0, 0, 0, 0.08) 1px,
      transparent 1px,
      transparent 3.5px
    );
  background-size: 3.5px 3.5px;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 103, 133, 0.25);
  backdrop-filter: blur(8px);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-slider-arrow:hover {
  background: var(--primary-600);
  color: white;
  border-color: var(--primary-600);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 103, 133, 0.4);
}

.hero-arrow-prev {
  left: 1.5rem;
}

.hero-arrow-next {
  right: 1.5rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 20;
  background: rgba(0, 37, 49, 0.45);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-dot.active {
  background: var(--accent-gold);
  border-color: white;
  width: 32px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.6);
}

/* Hero Intro Text Section Below Slider (Center Aligned) */
.hero-intro-section {
  background: white;
  padding: 3.75rem 0 3.75rem 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.hero-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.hero-intro-title {
  font-size: 2.6rem;
  color: var(--primary-800);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.25rem auto;
}

.hero-intro-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 0 auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-slide-content {
  display: none;
  animation: fadeInSlide 0.6s ease-in-out;
}
.hero-slide-content.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Achievement Seals Banner (Reference: smpit.nurulfikri.sch.id) */
.achievement-seals-section {
  background: white;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  position: relative;
  z-index: 5;
}
.achievement-seals-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.seal-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease;
}
.seal-item:hover {
  transform: translateY(-3px);
}
.seal-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 2px dashed rgba(255,255,255,0.7);
}
.seal-gold {
  background: linear-gradient(135deg, #d97706, #b45309);
}
.seal-blue {
  background: linear-gradient(135deg, #008bb3, #005068);
}
.seal-teal {
  background: linear-gradient(135deg, #0d9488, #115e59);
}
.seal-purple {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.seal-red {
  background: linear-gradient(135deg, #e11d48, #9f1239);
}
.seal-text h5 {
  font-size: 0.95rem;
  color: var(--dark-navy);
  margin-bottom: 0.1rem;
}
.seal-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Feature Stats Cards */
.stats-section {
  margin-top: 3.5rem !important;
  margin-bottom: 3.5rem !important;
  position: relative;
  z-index: 10;
  clear: both;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-left: 4px solid var(--primary-600);
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
}
.stat-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.stat-info h3 {
  font-size: 1.8rem;
  color: var(--dark-navy);
}
.stat-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-subtle {
  background-color: var(--bg-subtle);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}
.section-tag {
  color: var(--primary-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards & Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   PREMIUM NEWS & ANNOUNCEMENT CARDS (BERITA & PENGUMUMAN)
   ========================================================================== */
.news-home-section {
  padding: 5rem 0;
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.news-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 30px;
  background: white;
  border: 1.5px solid #103e73;
  color: #103e73;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(10, 37, 68, 0.08);
  text-decoration: none;
}

.news-all-btn:hover {
  background: linear-gradient(135deg, #103e73 0%, #082142 100%);
  color: white;
  border-color: #103e73;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 37, 68, 0.28);
}

.news-all-btn i {
  transition: transform 0.25s ease, color 0.25s ease;
}

.news-all-btn:hover i {
  transform: translateX(4px);
  color: #fbbf24;
}

.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* ==========================================================================
   EDITORIAL / MAGAZINE STYLE NEWS CARDS
   ========================================================================== */
.news-card-editorial {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 24px rgba(0, 59, 77, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
  position: relative;
  height: 100%;
}

.news-card-editorial:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px -8px rgba(0, 45, 59, 0.2);
  border-color: rgba(0, 103, 133, 0.4);
}

.news-editorial-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #002531;
  display: block;
}

.news-editorial-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-editorial-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-card-editorial:hover .news-editorial-thumb {
  transform: scale(1.08);
}

/* Top Floating Header Bar inside Image (Category on Left, Share on Right) */
.news-editorial-topbar {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 6;
  pointer-events: none;
}

.news-editorial-topbar .news-badge-floating {
  position: static;
  pointer-events: auto;
  margin: 0;
}

.news-editorial-topbar .news-share-container {
  pointer-events: auto;
}

/* Floating Share Pill Button on Top-Right of Image */
.btn-floating-share {
  background: rgba(0, 20, 30, 0.75);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-floating-share:hover,
.btn-floating-share.active {
  background: rgba(2, 132, 199, 0.95);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.btn-floating-share i {
  font-size: 0.78rem;
}

/* Topbar Popover opens downwards */
.news-share-popover.topbar-popover {
  top: calc(100% + 8px);
  bottom: auto;
  right: 0;
  transform-origin: top right;
}

.news-share-popover.topbar-popover::after {
  top: auto;
  bottom: 100%;
  right: 20px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

/* Dark Gradient Vignette Overlay */
.news-editorial-media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3.5rem 1.4rem 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgba(0, 20, 30, 0) 0%, rgba(0, 25, 36, 0.65) 42%, rgba(0, 18, 26, 0.96) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}

.news-editorial-date-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: #bae6fd;
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.news-editorial-title {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.35;
  font-family: var(--font-heading);
  pointer-events: auto;
}

.news-editorial-title a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.15rem;
  transition: color 0.25s ease;
}

.news-card-editorial:hover .news-editorial-title a {
  color: #38bdf8;
}

/* Bottom Card Body */
.news-editorial-body {
  padding: 1.35rem 1.5rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.news-editorial-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.85rem;
}

/* Clean 1-Row Footer Layout: Author (Left) & Baca Selengkapnya (Right) */
.news-editorial-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.news-editorial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex-shrink: 1;
}

.author-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1px solid #bae6fd;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

.author-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Solid Editorial Pill Button (Locked to Bottom Right Corner) */
.btn-editorial-pill {
  margin-left: auto;
  background: linear-gradient(135deg, #103e73 0%, #082142 100%);
  color: #ffffff !important;
  padding: 0.42rem 0.45rem 0.42rem 1.05rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 33, 66, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-heading);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-editorial-pill:hover {
  background: linear-gradient(135deg, #18559a 0%, #0d3460 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 33, 66, 0.38), 0 0 12px rgba(59, 130, 246, 0.25);
  color: #ffffff !important;
  border-color: rgba(245, 158, 11, 0.4);
}

.pill-arrow-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.4);
  transition: transform 0.25s ease;
}

.btn-editorial-pill:hover .pill-arrow-icon {
  transform: translateX(3px);
}

/* Mobile Responsiveness for Editorial Cards */
@media (max-width: 640px) {
  .news-editorial-topbar {
    top: 0.65rem;
    left: 0.65rem;
    right: 0.65rem;
  }
  .btn-floating-share {
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
  }
  .news-editorial-footer {
    gap: 0.4rem;
  }
  .btn-editorial-pill {
    padding: 0.36rem 0.4rem 0.36rem 0.85rem;
    font-size: 0.76rem;
    gap: 0.4rem;
  }
  .pill-arrow-icon {
    width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }
  .author-avatar-circle {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }
  .author-name {
    font-size: 0.74rem;
  }
}

.news-card-premium {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 20px rgba(0, 103, 133, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
  position: relative;
}

.news-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px -10px rgba(0, 103, 133, 0.15);
  border-color: rgba(0, 103, 133, 0.35);
}

.news-card-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #002531;
}

.news-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.news-card-premium:hover .news-card-thumb-img {
  transform: scale(1.08);
}

/* Floating Badges on Image */
.news-badge-floating {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-badge-floating.cat-prestasi {
  background: rgba(16, 185, 129, 0.92);
  color: white;
}

.news-badge-floating.cat-pengumuman {
  background: rgba(2, 132, 199, 0.92);
  color: white;
}

.news-badge-floating.cat-kegiatan {
  background: rgba(217, 119, 6, 0.92);
  color: white;
}

.news-badge-floating.cat-default {
  background: rgba(0, 103, 133, 0.92);
  color: white;
}

.news-date-floating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 20, 30, 0.7);
  color: #f1f5f9;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Card Body */
.news-card-body {
  padding: 1.5rem 1.6rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
  color: var(--dark-navy);
}

.news-card-title a {
  color: var(--dark-navy);
  text-decoration: none;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.25rem;
}

.news-card-premium:hover .news-card-title a {
  color: var(--primary-600);
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.85rem;
}

.news-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-author-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.news-read-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.news-card-premium:hover .news-read-link {
  color: var(--primary-700);
  gap: 0.65rem;
}

/* ==========================================================================
   INTERACTIVE NEWS SHARE BUTTONS & FLOATING POPOVER
   ========================================================================== */
.news-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.news-share-container {
  position: relative;
  display: inline-block;
}

.btn-card-share {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.btn-card-share:hover,
.btn-card-share.active {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #7dd3fc;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.18);
  transform: translateY(-1px);
}

.btn-card-share i {
  font-size: 0.82rem;
  color: #0284c7;
}

/* Floating Share Popover (Above the share button) */
.news-share-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  min-width: 195px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 45, 59, 0.2), 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  padding: 0.6rem;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  transform-origin: bottom right;
}

.news-share-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 22px;
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.news-share-popover.show {
  display: flex;
  animation: sharePopoverPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sharePopoverPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.share-popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0.4rem 0.45rem 0.4rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.2rem;
}

.share-popover-header span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.share-popover-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.15rem;
  font-size: 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.share-popover-close:hover {
  color: #0f172a;
}

.share-popover-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.share-popover-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.share-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.item-whatsapp .share-icon-wrap {
  background: #dcfce7;
  color: #16a34a;
}
.item-whatsapp:hover {
  background: #f0fdf4;
  color: #15803d;
}

.item-facebook .share-icon-wrap {
  background: #dbeafe;
  color: #1d4ed8;
}
.item-facebook:hover {
  background: #eff6ff;
  color: #1e40af;
}

.item-telegram .share-icon-wrap {
  background: #e0f2fe;
  color: #0284c7;
}
.item-telegram:hover {
  background: #f0f9ff;
  color: #0369a1;
}

.item-copy .share-icon-wrap {
  background: #f1f5f9;
  color: #475569;
}
.item-copy:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Detail Page Share Styles */
.article-quick-share {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quick-share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.quick-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-share-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.share-pill-native {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: #ffffff;
  border-color: var(--primary-600);
}
.share-pill-native:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  color: #ffffff;
}

.share-pill-wa {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}
.share-pill-wa:hover {
  background: #16a34a;
  color: white;
}

.share-pill-fb {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.share-pill-fb:hover {
  background: #2563eb;
  color: white;
}

.share-pill-tg {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}
.share-pill-tg:hover {
  background: #0284c7;
  color: white;
}

.share-pill-copy {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
.share-pill-copy:hover {
  background: #003b4d;
  color: white;
}

/* Bottom Share Box on Detail Page */
.article-share-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef9fc 100%);
  border: 1px solid #d0f0f7;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 103, 133, 0.05);
}

.share-box-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 420px;
}

.share-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #006785);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 103, 133, 0.2);
}

.share-box-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-social-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-native-box {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  box-shadow: 0 3px 10px rgba(0, 103, 133, 0.25);
}
.btn-native-box:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 103, 133, 0.35);
}

.btn-wa-box {
  background: #25D366;
  color: white;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}
.btn-wa-box:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

.btn-fb-box {
  background: #1877F2;
  color: white;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.25);
}
.btn-fb-box:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(24, 119, 242, 0.35);
}

.btn-tg-box {
  background: #229ED9;
  color: white;
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.25);
}
.btn-tg-box:hover {
  background: #1f8ec3;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.35);
}

.btn-copy-box {
  background: #003b4d;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 59, 77, 0.25);
}
.btn-copy-box:hover {
  background: #002531;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 59, 77, 0.35);
}

/* Floating Toast Notification for Copy Link */
.share-toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #002d3b;
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 12px 35px rgba(0, 37, 49, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

.share-toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.share-toast-icon {
  color: #38bdf8;
  font-size: 1.1rem;
}

/* Agenda & Section Grids */
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Sambutan Kepsek */
.kepsek-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.kepsek-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}
.kepsek-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-main);
  border-left: 4px solid var(--accent-gold);
  padding-left: 1.25rem;
  margin: 1.25rem 0;
}

/* Form Styles */
.form-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}
.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  transition: all 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 103, 133, 0.15);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #e0f2fe; color: #075985; }
.badge-success { background: #d0f0f7; color: #005068; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: white;
}
.table th, .table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.table th {
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 700;
}
.table tbody tr:hover {
  background: #f8fafc;
}

/* ==========================================================================
   FOOTER (MODERN & BALANCED 2-COLUMN DESIGN WITH CENTER CIRCLE GRADIENT)
   ========================================================================== */
.footer {
  background-color: #071a2e;
  background-image: 
    radial-gradient(circle 420px at 50% 48%, rgba(21, 76, 140, 0.30) 0%, rgba(59, 130, 246, 0.12) 42%, rgba(7, 26, 46, 0) 72%),
    radial-gradient(circle 700px at 50% 50%, rgba(13, 52, 96, 0.20) 0%, transparent 80%);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, rgba(21, 76, 140, 0.10) 45%, rgba(7, 26, 46, 0) 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(20px);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 4rem;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 3.5rem;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-brand {
  max-width: 480px;
}

.footer-col-contact {
  max-width: 440px;
  justify-self: end;
  width: 100%;
}

/* Brand Column */
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.footer-brand-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 103, 133, 0.3);
}

.footer-brand-text h3 {
  color: #ffffff;
  font-size: 1.18rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-brand-text span {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.footer-description {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Social Media Links */
.footer-social-links {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn:hover {
  background: #38bdf8;
  color: var(--dark-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
}

/* Titles */
.footer-col-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
}

/* Contact List */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-contact-item.item-address {
  align-items: flex-start;
}

.footer-contact-item.item-address .footer-contact-icon {
  margin-top: 2px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(56, 189, 248, 0.10);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: #38bdf8;
  color: var(--dark-navy);
  transform: scale(1.06);
  border-color: #38bdf8;
}

.footer-contact-info {
  flex: 1;
  font-weight: 500;
}

.footer-contact-info a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-info a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom-bar p {
  margin: 0;
}

.footer-motto {
  font-style: italic;
  color: #64748b;
  font-size: 0.82rem;
}

/* ==========================================================================
   Legalitas & Identitas 3-Cards Component (Sejarah Page)
   ========================================================================== */
.legalitas-section-card {
  background: #ffffff;
  padding: 3.25rem 3rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(10, 37, 68, 0.06);
  border: 1.5px solid var(--border-color);
  margin-bottom: 4rem;
  position: relative;
}

.legalitas-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.legalitas-title {
  font-size: 1.95rem;
  color: var(--dark-navy);
  font-weight: 800;
  margin: 0.65rem 0 0.4rem 0;
  line-height: 1.3;
}

.legalitas-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
}

.legalitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.legalitas-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(10, 37, 68, 0.05), 0 2px 6px -1px rgba(10, 37, 68, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.legalitas-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 62, 115, 0.28);
  box-shadow: 0 20px 35px -8px rgba(10, 37, 68, 0.12), 0 0 0 1px rgba(16, 62, 115, 0.12);
}

.legalitas-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.legalitas-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #103e73;
  background: #eef6ff;
  border: 1px solid #d0e3ff;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legalitas-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #103e73 0%, #1a569b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 62, 115, 0.28);
  transition: all 0.3s ease;
}

.legalitas-card:hover .legalitas-icon-wrap {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
  transform: scale(1.08) rotate(4deg);
}

.legalitas-card-content {
  flex: 1;
  margin-bottom: 1.25rem;
}

.legalitas-card-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 0.35rem 0;
}

.legalitas-card-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0a2544;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.legalitas-card:hover .legalitas-card-val {
  color: #103e73;
}

.legalitas-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.legalitas-card-footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #103e73;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}

.legalitas-card-footer i {
  color: #16a34a;
  font-size: 0.85rem;
}

/* ==========================================================================
   Profil Hub Navigation Cards Component (Profil Page)
   ========================================================================== */
.profil-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  width: 100%;
}

.profil-nav-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  padding: 2.1rem 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(10, 37, 68, 0.05), 0 2px 6px -1px rgba(10, 37, 68, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.profil-nav-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 62, 115, 0.28);
  box-shadow: 0 20px 35px -8px rgba(10, 37, 68, 0.12), 0 0 0 1px rgba(16, 62, 115, 0.12);
}

.profil-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}

.profil-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #103e73;
  background: #eef6ff;
  border: 1px solid #d0e3ff;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profil-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #103e73 0%, #1a569b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 62, 115, 0.22);
  transition: all 0.35s ease;
}

.profil-nav-card:hover .profil-icon-wrap {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.32);
  transform: scale(1.06) rotate(4deg);
}

.profil-card-content {
  flex: 1;
  margin-bottom: 1.35rem;
}

.profil-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0a2544;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.profil-nav-card:hover .profil-card-title {
  color: #103e73;
}

.profil-card-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.profil-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #103e73;
  padding-top: 0.95rem;
  border-top: 1px dashed #e2e8f0;
  transition: color 0.25s ease;
}

.profil-arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef6ff;
  color: #103e73;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.profil-nav-card:hover .profil-arrow-circle {
  background: #103e73;
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   SPMB Closed / Notice Page Component
   ========================================================================== */
.spmb-closed-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 24px;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 30px rgba(10, 37, 68, 0.06);
}

.spmb-closed-header {
  text-align: center;
  margin-bottom: 3rem;
}

.spmb-status-badge-closed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  letter-spacing: 0.04em;
  margin-bottom: 1.15rem;
}

.spmb-closed-title {
  font-size: 2.1rem;
  color: #0a2544;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.85rem 0;
  font-family: var(--font-heading);
}

.spmb-closed-desc {
  font-size: 1rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.spmb-closed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 0;
}

.spmb-info-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(10, 37, 68, 0.05), 0 2px 6px -1px rgba(10, 37, 68, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.spmb-info-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 62, 115, 0.28);
  box-shadow: 0 20px 35px -8px rgba(10, 37, 68, 0.12), 0 0 0 1px rgba(16, 62, 115, 0.12);
}

.spmb-info-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}

.spmb-info-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #103e73;
  background: #eef6ff;
  border: 1px solid #d0e3ff;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spmb-info-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.spmb-info-card:hover .spmb-info-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.spmb-info-content {
  flex: 1;
  margin-bottom: 1.35rem;
}

.spmb-info-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 0.35rem 0;
}

.spmb-info-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a2544;
  font-family: var(--font-heading);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.spmb-info-text {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.spmb-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #103e73;
  padding-top: 0.95rem;
  border-top: 1px dashed #e2e8f0;
}

.spmb-closed-check-bar {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.spmb-check-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: #103e73;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.spmb-check-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a2544;
  margin: 0 0 0.25rem 0;
  font-family: var(--font-heading);
}

.spmb-check-desc {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   ADMIN DASHBOARD LAYOUT & SIGNATURE TEAL BLUE SIDEBAR
   ========================================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr);
  min-height: 100vh;
  background: #f8fafc;
}

.admin-sidebar {
  background: #003b4d;
  background: linear-gradient(180deg, #004d63 0%, #002d3b 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  width: 295px;
  min-width: 295px;
  max-width: 295px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 0 24px rgba(0, 37, 49, 0.25);
  z-index: 100;
  overflow: hidden;
  user-select: none;
}

.admin-sidebar-header {
  padding: 1.35rem 1.4rem 1.15rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.admin-profile-card {
  margin: 0.85rem 1.15rem 0.5rem 1.15rem;
  padding: 0.75rem 0.95rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.admin-profile-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-indicator-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #003b4d;
  border-radius: 50%;
}

.admin-profile-info {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.admin-profile-name {
  font-size: 0.835rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.admin-profile-role-badge {
  margin-top: 0.25rem;
}

.badge-role {
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-role.super-admin {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-role.standard-admin {
  background: rgba(56, 189, 248, 0.2);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.admin-nav-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem 1.15rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.admin-nav-wrapper::-webkit-scrollbar {
  display: none !important;
}

/* Standalone Direct Link: Dashboard Overview */
.admin-nav-link-direct {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-nav-link-direct:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateX(3px);
  border-color: rgba(56, 189, 248, 0.4);
}

.admin-nav-link-direct.active {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-color: #38bdf8 !important;
  border-left: 4px solid #38bdf8 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.admin-nav-link-direct .nav-link-icon {
  width: 22px;
  display: flex;
  justify-content: center;
  font-size: 1rem;
  color: #94a3b8;
  transition: color 0.2s;
  flex-shrink: 0;
}

.admin-nav-link-direct:hover .nav-link-icon {
  color: #38bdf8;
}

.admin-nav-link-direct.active .nav-link-icon {
  color: #ffffff !important;
}

/* Parent Accordion Menus */
.admin-parent-menu {
  margin-bottom: 0.15rem;
  border-radius: 12px;
}

.admin-parent-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.75rem 1rem !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: left !important;
  outline: none !important;
}

.admin-parent-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.admin-parent-menu.open .admin-parent-btn,
.admin-parent-menu.active-parent .admin-parent-btn {
  color: #38bdf8 !important;
  background: rgba(2, 132, 199, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

.admin-parent-btn .nav-link-icon {
  width: 22px;
  display: flex;
  justify-content: center;
  font-size: 0.95rem;
  color: #94a3b8;
  transition: color 0.2s;
  flex-shrink: 0;
}

.admin-parent-menu.open .admin-parent-btn .nav-link-icon,
.admin-parent-menu.active-parent .admin-parent-btn .nav-link-icon {
  color: #38bdf8;
}

.parent-btn-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.parent-chevron {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
  flex-shrink: 0;
}

.admin-parent-menu.open .parent-chevron {
  transform: rotate(180deg);
  color: #38bdf8;
}

/* Submenu List */
.admin-submenu-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0.4rem 0 0.4rem 0.85rem !important;
  margin: 0.35rem 0 0.45rem 1.15rem !important;
  display: none !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  border-left: 2px solid rgba(56, 189, 248, 0.3) !important;
}

.admin-parent-menu.open .admin-submenu-list {
  display: flex !important;
  animation: slideDownSubmenu 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDownSubmenu {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-submenu-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.835rem;
  text-decoration: none;
  transition: all 0.2s ease;
  list-style: none !important;
}

.admin-submenu-link i {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
  color: #94a3b8;
  transition: color 0.2s;
  flex-shrink: 0;
}

.admin-submenu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateX(3px);
}

.admin-submenu-link:hover i {
  color: #38bdf8;
}

.admin-submenu-link.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(2, 132, 199, 0.2) 100%);
  color: #38bdf8;
  font-weight: 700;
  border-left: 3px solid #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.admin-submenu-link.active i {
  color: #38bdf8;
}

.nav-link-badge {
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.nav-link-badge-mini {
  background: #ef4444;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
}

/* Vertical Action Buttons Pinned at Bottom */
.admin-sidebar-footer-vertical {
  padding: 1rem 1.15rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 20, 28, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  backdrop-filter: blur(8px);
}

.btn-vertical-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-view-public {
  background: rgba(255, 255, 255, 0.08);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-view-public:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-logout-danger {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-logout-danger:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.admin-content {
  padding: 2rem 2.5rem;
  background: #f8fafc;
  min-width: 0;
  overflow-x: auto;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE OPTIMIZATIONS)
   ========================================================================== */

@media (max-width: 1200px) {
  .promo-banner-container {
    max-width: 920px;
    width: 90%;
  }
}

@media (max-width: 992px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .desktop-nav-actions {
    display: none !important;
  }

  .navbar-inner {
    height: 68px !important;
  }

  .navbar.navbar-scrolled .navbar-inner {
    height: 56px !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    color: var(--primary-800);
    font-size: 1.4rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: background 0.2s;
  }
  .mobile-toggle:hover {
    background: var(--primary-50);
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: -340px;
    width: 290px;
    max-width: 82vw;
    height: calc(100vh - 68px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1.25rem 2.5rem 1.25rem;
    gap: 0.35rem;
    box-shadow: -10px 0 30px rgba(0, 37, 49, 0.18);
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.3s ease, height 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border-color);
  }

  .navbar.navbar-scrolled .nav-links {
    top: 56px;
    height: calc(100vh - 56px);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-close-btn {
    display: none !important;
  }

  .nav-link {
    width: 100%;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0.55rem 0.25rem !important;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #103e73 !important;
  }

  .nav-link i.fa-chevron-down {
    font-size: 0.72rem !important;
    color: #94a3b8;
    transition: transform 0.25s ease;
  }

  .nav-link.active::after {
    display: none;
  }

  /* Mobile Dropdown Submenus */
  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid #edf2f7;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.35rem 0.4rem;
    margin-top: 0.25rem;
    margin-bottom: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
  }

  .nav-item-dropdown .dropdown-item {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    padding: 0.42rem 0.65rem !important;
    border-radius: 8px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
  }

  .nav-item-dropdown .dropdown-item i {
    font-size: 0.78rem;
    width: 18px;
    color: #103e73;
    flex-shrink: 0;
  }

  .nav-item-dropdown .dropdown-item:hover,
  .nav-item-dropdown .dropdown-item.active {
    background: #eef6ff;
    color: #103e73;
    font-weight: 600;
  }

  /* Mobile Nav Action Buttons */
  .mobile-nav-actions {
    display: block !important;
    width: 100%;
    margin-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
  }

  .mobile-btn-spmb {
    width: 100% !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
  }

  .mobile-btn-user-row {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.5rem;
    width: 100%;
  }

  .mobile-btn-login {
    width: 100% !important;
    padding: 0.52rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    border: 1.5px solid #103e73 !important;
    color: #103e73 !important;
  }

  .mobile-btn-user {
    flex: 1 !important;
    padding: 0.52rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background: #103e73 !important;
    color: #ffffff !important;
  }

  .mobile-btn-logout {
    padding: 0.52rem 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #64748b !important;
  }

  .brand-text h1 {
    font-size: 1.15rem;
  }
  .brand-text span {
    font-size: 0.7rem;
  }

  .hero-slider-section {
    height: auto;
    aspect-ratio: 16 / 7;
    min-height: 280px;
    max-height: 480px;
  }

  .kepsek-grid, .admin-layout, .agenda-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow strictly without breaking position: sticky */
  html, body {
    overflow-x: clip !important;
    max-width: 100vw;
  }

  .container {
    padding: 0 1rem;
  }

  /* Topbar Marquee Mobile (Strictly <= 768px) */
  .topbar {
    font-size: 0.78rem !important; /* 12.5px */
    padding: 0.42rem 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .topbar-marquee {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
    mask-image: linear-gradient(to right, transparent 0%, black 16px, black calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16px, black calc(100% - 16px), transparent 100%);
  }
  .topbar-marquee-track {
    animation-duration: 28s !important;
    -webkit-animation-duration: 28s !important;
    will-change: transform !important;
  }
  .marquee-item {
    font-size: 0.78rem !important;
    padding: 0 0.85rem !important;
    gap: 0.4rem !important;
    letter-spacing: 0.01em !important;
  }
  .marquee-item i {
    font-size: 0.78rem !important;
  }
  .marquee-separator {
    margin-left: 0.85rem !important;
    font-size: 0.78rem !important;
  }

  /* Hero Slider Mobile: Strict 4:5 Aspect Ratio (Zero Cropping for 1080x1350) */
  .hero-slider-section {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    max-height: none !important;
    min-height: auto !important;
  }
  .hero-slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
  }
  .hero-arrow-prev {
    left: 0.5rem;
  }
  .hero-arrow-next {
    right: 0.5rem;
  }
  .hero-slider-dots {
    bottom: 0.5rem;
    padding: 0.25rem 0.55rem;
    gap: 0.35rem;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  .hero-dot.active {
    width: 20px;
    height: 8px;
  }

  /* Hero Top Badges: Manual Horizontal Swipe Scroll (<= 768px) */
  .hero-top-badges {
    position: relative !important;
    padding: 0.75rem 0 0.4rem 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .hero-top-badges .container {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .badge-fade-left,
  .badge-fade-right {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 36px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }
  .badge-fade-left {
    left: 0 !important;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0)) !important;
    opacity: 0;
  }
  .badge-fade-right {
    right: 0 !important;
    background: linear-gradient(to left, #f8fafc, rgba(248, 250, 252, 0)) !important;
    opacity: 1;
  }
  .hero-badges-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 0.625rem !important;
    padding: 0 1rem 0.5rem 1rem !important;
    scroll-padding-left: 1rem !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-badges-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .hero-badges-wrapper .hero-badge-pill:last-child {
    margin-right: 1.25rem !important;
  }
  .hero-badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    gap: 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 650 !important;
    padding: 0.35rem 0.85rem 0.35rem 0.35rem !important;
    border-radius: var(--radius-full) !important;
    min-height: 38px !important;
    width: auto !important;
    height: auto !important;
    background: #ffffff !important;
    border: 1.25px solid rgba(0, 103, 133, 0.16) !important;
    box-shadow: 0 1.5px 4px rgba(0, 103, 133, 0.04) !important;
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
  }
  .hero-badge-pill i {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
  }
  .hero-badge-pill span {
    white-space: nowrap !important;
    line-height: 1 !important;
    text-align: left !important;
    font-size: 0.78rem !important;
  }

  /* Hero Intro Text & PPDB Badge (Mobile: Icon above text & centered) */
  .hero-intro-section {
    padding: 2.5rem 0;
  }
  .hero-intro-badge-pill {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1.25rem 0.75rem 1.25rem !important;
    border-radius: 18px !important;
    max-width: 92% !important;
    margin: 0 auto 1.25rem auto !important;
  }
  .hero-intro-badge-pill i {
    margin: 0 auto !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-intro-badge-pill span {
    text-align: center !important;
    line-height: 1.4 !important;
    font-size: 0.82rem !important;
    display: block !important;
    white-space: normal !important;
  }
  .hero-intro-title {
    font-size: 1.85rem;
  }
  .hero-intro-subtitle {
    font-size: 0.95rem;
  }

  /* Promo Banner */
  .promo-banner-section {
    padding: 2.25rem 0;
  }
  .promo-banner-container {
    max-width: 100%;
    width: 100%;
    border-radius: 14px;
  }
  .promo-banner-container img {
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }

  /* Section Keunggulan Sekolah Mobile Fixes (Strictly <= 768px) */
  #keunggulan {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  #keunggulan .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .keunggulan-tab-switcher {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  .tab-nav-btns {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .tab-nav-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    border-radius: 12px !important;
    margin: 0 !important;
    flex: 1 1 100% !important;
    transform: none !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .tab-nav-btn:hover {
    transform: none !important;
  }
  .tab-nav-btn.active {
    transform: none !important;
    border-radius: 12px !important;
  }
  .tab-content-panes {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .tab-content-pane {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.25rem 1rem !important;
  }
  .tab-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .tab-list {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .tab-list-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.8rem 0.95rem !important;
    gap: 0.85rem !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }
  .tab-list-item:hover {
    transform: translateX(4px) !important;
  }
  .tab-list-item i {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .tab-list-item h4 {
    font-size: 0.92rem !important;
  }
  .tab-list-item p {
    font-size: 0.8rem !important;
  }
  .tab-pane-img-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .tab-pane-img-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* News Section Mobile (Strictly <= 768px) */
  .news-home-section {
    padding: 3.5rem 0;
  }
  .news-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .news-section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .news-section-header .section-title {
    font-size: 1.75rem !important;
  }
  .news-all-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: fit-content !important;
    max-width: 100% !important;
    align-self: center !important;
    margin: 0.5rem auto 0 auto !important;
    padding: 12px 26px !important;
    min-height: 46px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #103e73 0%, #082142 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(8, 33, 66, 0.28) !important;
    box-sizing: border-box !important;
    text-align: center !important;
    transition: all 0.25s ease !important;
  }
  .news-all-btn i {
    font-size: 0.82rem !important;
    color: #f59e0b !important;
    transition: transform 0.25s ease !important;
  }
  .news-all-btn:hover,
  .news-all-btn:active {
    background: linear-gradient(135deg, #18559a 0%, #0d3460 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(8, 33, 66, 0.38) !important;
  }

  /* Landscape Bottom Banner */
  .bottom-landscape-banner-section {
    padding: 2.25rem 0;
  }
  .landscape-banner-container {
    border-radius: 14px !important;
  }

  /* Footer Khusus Mobile: 1 Row Kebawah (Single Column Stack) */
  .footer {
    padding: 3rem 0 1.75rem 0 !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  .footer-col-brand,
  .footer-col-contact {
    max-width: 100% !important;
    width: 100% !important;
    justify-self: stretch !important;
  }
  .footer-contact-list {
    gap: 0.85rem !important;
  }
  .footer-contact-item {
    font-size: 0.86rem !important;
    word-break: break-word !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding-top: 1.5rem !important;
  }

  /* Page Layout Grids */
  .misi-cards-grid,
  .sejarah-layout-grid,
  .sambutan-layout-grid,
  .kontak-layout-grid,
  .berita-detail-layout,
  .form-grid-2,
  .form-grid-3,
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .misi-cards-grid > .misi-card:last-child:nth-child(odd) {
    grid-column: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-self: stretch !important;
  }
  /* Legalitas Cards Mobile */
  .legalitas-section-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 18px !important;
    margin-bottom: 2.5rem !important;
  }
  .legalitas-header {
    margin-bottom: 1.75rem !important;
  }
  .legalitas-title {
    font-size: 1.45rem !important;
  }
  .legalitas-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .legalitas-card {
    padding: 1.4rem 1.25rem !important;
  }
  .legalitas-card-val {
    font-size: 1.35rem !important;
  }

  /* Profil Navigation Cards Mobile */
  .profil-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .profil-nav-card {
    padding: 1.5rem 1.35rem !important;
  }
  .profil-card-title {
    font-size: 1.2rem !important;
  }

  /* SPMB Closed Page Mobile */
  .spmb-closed-card {
    padding: 1.85rem 1.35rem !important;
    border-radius: 18px !important;
  }
  .spmb-closed-title {
    font-size: 1.55rem !important;
  }
  .spmb-closed-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .spmb-info-card {
    padding: 1.5rem 1.35rem !important;
  }
  .spmb-closed-check-bar {
    padding: 1.25rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .spmb-closed-check-bar .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .navbar-inner {
    height: 70px;
  }
  .brand-logo {
    gap: 0.5rem;
  }
  .brand-text h1 {
    font-size: 1.02rem;
  }
  .brand-text span {
    font-size: 0.6rem;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Hero Slider 320px - 480px Phone Screen */
  .hero-slider-section {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    max-height: none !important;
    min-height: auto !important;
  }
  .hero-slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .hero-arrow-prev {
    left: 0.35rem;
  }
  .hero-arrow-next {
    right: 0.35rem;
  }
  .hero-slider-dots {
    bottom: 0.35rem;
    padding: 0.18rem 0.45rem;
    gap: 0.3rem;
    border-radius: 12px;
  }
  .hero-dot {
    width: 6px;
    height: 6px;
  }
  .hero-dot.active {
    width: 14px;
    height: 6px;
  }

  /* Badges Mobile Horizontal Scroll (<= 576px) */
  .hero-top-badges {
    padding: 0.65rem 0 0.35rem 0 !important;
  }
  .badge-fade-left,
  .badge-fade-right {
    width: 32px !important;
  }
  .hero-badges-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    padding: 0 0.85rem 0.4rem 0.85rem !important;
    scroll-padding-left: 0.85rem !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }
  .hero-badges-wrapper .hero-badge-pill:last-child {
    margin-right: 1rem !important;
  }
  .hero-badge-pill {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    gap: 0.45rem !important;
    font-size: 0.76rem !important;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem !important;
    min-height: 36px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 1.5px 4px rgba(0, 103, 133, 0.04) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }
  .hero-badge-pill i {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
  }
  .hero-badge-pill span {
    white-space: nowrap !important;
    font-size: 0.74rem !important;
  }

  .hero-intro-title {
    font-size: 1.55rem;
    line-height: 1.3;
  }
  .hero-intro-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .hero-intro-badge-pill {
    padding: 0.55rem 1rem 0.65rem 1rem !important;
    border-radius: 16px !important;
    gap: 0.45rem !important;
  }
  .hero-intro-badge-pill i {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
  }
  .hero-intro-badge-pill span {
    font-size: 0.78rem !important;
  }

  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .kepsek-grid {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .badge-fade-left,
  .badge-fade-right {
    width: 28px !important;
  }
  .hero-badges-wrapper {
    justify-content: flex-start !important;
    gap: 0.4rem !important;
    padding: 0 0.75rem 0.35rem 0.75rem !important;
    scroll-padding-left: 0.75rem !important;
  }
  .hero-badges-wrapper .hero-badge-pill:last-child {
    margin-right: 0.75rem !important;
  }
  .hero-badge-pill {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.65rem 0.25rem 0.25rem !important;
    min-height: 34px !important;
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 103, 133, 0.04) !important;
    width: auto !important;
    height: auto !important;
  }
  .hero-badge-pill i {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.65rem !important;
    flex-shrink: 0 !important;
  }
  .hero-badge-pill span {
    white-space: nowrap !important;
    font-size: 0.7rem !important;
  }
}

/* ==========================================================================
   SPMB Fee Information - Professional Institutional Design
   ========================================================================== */
.spmb-fee-section {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.spmb-fee-header {
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spmb-fee-header-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spmb-fee-header-title i {
  color: var(--primary-600);
  font-size: 1rem;
}

.spmb-fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.spmb-fee-table th {
  background: #ffffff;
  color: #64748b;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.spmb-fee-table td {
  padding: 0.8rem 1.25rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.spmb-fee-table tr.row-active {
  background: #f0fdf4;
}

.spmb-fee-table tr.row-active td {
  color: #0f172a;
  font-weight: 600;
}

.spmb-fee-table tr.row-active td.cell-price {
  color: #15803d;
  font-weight: 700;
}

.spmb-fee-table tr.row-past {
  background: #fafafa;
  opacity: 0.7;
}

.spmb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.spmb-badge-active {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.spmb-badge-active .badge-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  display: inline-block;
}

.spmb-badge-upcoming {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.spmb-badge-past {
  background: #f8fafc;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

/* Bank Account Footer Strip */
.spmb-fee-bank-strip {
  background: #f8fafc;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.spmb-bank-info-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.spmb-bank-logo-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #006785;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.spmb-bank-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.35;
}

.spmb-bank-number {
  font-family: 'Consolas', monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  letter-spacing: 0.04em;
}

.btn-copy-sm {
  background: #ffffff;
  border: 1.25px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-sm:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-copy-sm.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .spmb-fee-table, 
  .spmb-fee-table tbody, 
  .spmb-fee-table tr, 
  .spmb-fee-table td {
    display: block;
  }
  .spmb-fee-table thead {
    display: none;
  }
  .spmb-fee-table td {
    padding: 0.35rem 1rem;
    border: none;
  }
  .spmb-fee-table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid #e2e8f0;
  }
  .spmb-fee-bank-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Sambutan Kepala Sekolah Page Layout & Responsive
   ========================================================================== */
.sambutan-layout-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.sambutan-sidebar {
  position: sticky;
  top: 90px;
}

.sambutan-photo-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px -5px rgba(0, 103, 133, 0.08);
  transition: all 0.3s ease;
}

.sambutan-photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.sambutan-photo-caption {
  padding: 1.25rem;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.sambutan-content-col {
  min-width: 0;
}

@media (max-width: 992px) {
  .sambutan-layout-grid {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .sambutan-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .sambutan-sidebar {
    position: static !important;
    max-width: 260px;
    margin: 0 auto 1.5rem auto;
    width: 100%;
  }

  .sambutan-photo-card {
    max-width: 260px;
    margin: 0 auto;
  }

  .sambutan-content-col h2 {
    font-size: 1.5rem !important;
  }

  .sambutan-content-col blockquote {
    font-size: 0.95rem !important;
    padding: 1rem 1.15rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .sambutan-sidebar {
    max-width: 220px;
  }
  .sambutan-photo-card {
    max-width: 220px;
  }
}

/* ==========================================================================
   Visi & Misi Page Components
   ========================================================================== */
.misi-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.misi-card {
  background: white;
  padding: 2rem 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.misi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
}

.misi-card-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 103, 133, 0.2);
}

.misi-card-body {
  flex: 1;
}

.misi-card-label {
  font-size: 0.85rem;
  color: var(--primary-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.misi-card-text {
  color: var(--dark-navy);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 600;
}

/* Khusus Desktop View: Jika baris terakhir hanya ada 1 kartu (ganjil seperti Poin 5), posisikan di tengah secara proporsional */
@media (min-width: 769px) {
  .misi-cards-grid > .misi-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 1.75rem) / 2);
    justify-self: center;
  }
}

/* ==========================================================================
   Bottom Landscape Banner Slider Component
   ========================================================================== */
.bottom-landscape-banner-section {
  padding: 3.5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
}

.landscape-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 59, 77, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.landscape-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 240px;
  max-height: 480px;
  overflow: hidden;
  background: #0f172a;
}

.landscape-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  z-index: 1;
}

.landscape-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.landscape-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.landscape-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.landscape-slide-link:hover .landscape-slide-img {
  transform: scale(1.015);
}

/* Slider Arrows */
.landscape-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.landscape-slider-arrow:hover {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-50%) scale(1.08);
}

.landscape-arrow-prev {
  left: 1rem;
}

.landscape-arrow-next {
  right: 1rem;
}

/* Slider Dots */
.landscape-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  background: rgba(0, 20, 30, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landscape-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.landscape-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

@media (max-width: 768px) {
  .landscape-slider-container {
    aspect-ratio: 16 / 9;
    min-height: 180px;
    max-height: 320px;
  }
  .landscape-slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .landscape-arrow-prev {
    left: 0.5rem;
  }
  .landscape-arrow-next {
    right: 0.5rem;
  }
  .landscape-slider-dots {
    bottom: 0.65rem;
    padding: 0.25rem 0.55rem;
    gap: 0.35rem;
  }
  .landscape-dot {
    width: 6px;
    height: 6px;
  }
  .landscape-dot.active {
    width: 16px;
  }
}

/* ==========================================================================
   Galeri Foto & Album Responsive Styles with Lightbox
   ========================================================================== */
.galeri-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.galeri-tab-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.galeri-tab-btn:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-200);
}

.galeri-tab-btn.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  box-shadow: 0 3px 10px rgba(0, 103, 133, 0.25);
}

.galeri-tab-count {
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

.galeri-tab-btn.active .galeri-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Album Card Clickable & Enhanced */
.album-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.album-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -6px rgba(0, 59, 77, 0.12);
  border-color: var(--primary-300);
}

.album-card-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.album-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-card-img {
  transform: scale(1.05);
}

.album-badge-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 37, 49, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Photo Grid */
.galeri-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.photo-item-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 59, 77, 0.04);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .photo-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(0, 59, 77, 0.1);
    border-color: var(--primary-300);
  }
}

.photo-item-card:active {
  transform: scale(0.98);
}

.photo-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
  pointer-events: none;
}

.photo-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .photo-item-card:hover .photo-thumb-img {
    transform: scale(1.06);
  }
}

.photo-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 37, 49, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .photo-item-card:hover .photo-hover-overlay {
    opacity: 1;
  }
}

.photo-zoom-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  pointer-events: none;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .photo-item-card:hover .photo-zoom-icon {
    transform: scale(1);
  }
}

.photo-meta-box {
  padding: 0.85rem 1rem;
  pointer-events: none;
}

.photo-album-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-600);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.2rem;
  pointer-events: none;
}

.photo-caption-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* Lightbox Modal */
.galeri-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 22, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  touch-action: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.galeri-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  touch-action: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.15s ease, transform 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  touch-action: none;
}

.lightbox-caption-bar {
  margin-top: 1rem;
  color: #f8fafc;
  text-align: center;
  max-width: 700px;
}

.lightbox-caption-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lightbox-caption-album {
  font-size: 0.85rem;
  color: #94a3b8;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  z-index: 100000;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.lightbox-close-btn {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev-btn {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next-btn {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-img.switching {
  opacity: 0.35;
  transform: scale(0.97);
}

.lightbox-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .galeri-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }

  /* Sembunyikan tombol panah samping yang menimpa foto di mobile */
  .lightbox-prev-btn,
  .lightbox-next-btn {
    display: none !important;
  }

  .lightbox-close-btn {
    top: 1rem !important;
    right: 1rem !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    z-index: 100002 !important;
  }

  .lightbox-content {
    max-width: 96vw;
    max-height: 92vh;
    padding: 0 0.5rem;
    touch-action: none;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 60vh;
    border-radius: 12px;
    touch-action: none;
  }

  .lightbox-caption-bar {
    margin-top: 0.75rem;
    padding: 0 0.5rem;
  }

  .lightbox-caption-title {
    font-size: 0.95rem;
  }

  .lightbox-caption-album {
    font-size: 0.78rem;
  }

  /* Floating Bottom Control Bar khusus Mobile */
  .lightbox-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 320px;
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.3rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .lightbox-mobile-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .lightbox-mobile-nav-btn:active {
    background: rgba(255, 255, 255, 0.4);
  }

  .lightbox-mobile-swipe-hint {
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   Kontak & Informasi Sekretariat Responsive Styles
   ========================================================================== */
.kontak-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.kontak-form-card {
  width: 100%;
  box-sizing: border-box;
}

.kontak-sidebar-wrap {
  width: 100%;
  box-sizing: border-box;
}

.kontak-info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.kontak-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.kontak-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.kontak-info-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-50);
  color: var(--primary-600);
  border: 1px solid var(--primary-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.kontak-info-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.kontak-wa-action {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.btn-kontak-wa {
  width: 100% !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  display: flex !important;
  text-align: center !important;
}

/* Khusus Mobile View Kontak */
@media (max-width: 768px) {
  .kontak-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-card,
  .kontak-form-card,
  .kontak-info-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-group {
    margin-bottom: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    padding: 0.7rem 0.85rem !important;
  }

  .btn-kontak-wa,
  .form-card .btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .kontak-info-item {
    gap: 0.75rem !important;
  }

  .kontak-info-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }
}

