/* ==========================================================================
   TEMA 6 - MODERN SCHOOL PORTAL 
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Source+Serif+4:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --bg: #f6faff;
  --surface: #ffffff;
  --ink: #163055;
  --heading: #102847;
  --muted: #61708c;
  --line: #d8e0ec;
  --primary: #2563eb;
  --primary-dark: #0f3d91;
  --primary-light: #3b82f6;
  --secondary: #facc15;
  --accent: #facc15;
  --radius: 20px;
  --container-width: 1140px;
  --button-radius: 999px;
  --card-shadow: 0 18px 40px rgba(18, 42, 76, 0.08);
  --card-shadow-hover: 0 24px 50px rgba(18, 42, 76, 0.14);
  --topbar-bg: linear-gradient(135deg, #0f3d91 0%, #1e40af 100%);
  --topbar-text: #ffffff;
  --topbar-line: rgba(255, 255, 255, 0.2);
  --topbar-subtle-line: rgba(255, 255, 255, 0.15);
  --topbar-pill-bg: rgba(255, 255, 255, 0.12);
  --topbar-pill-text: #ffffff;
  --topbar-marquee-bg: #0b2b68;
  --topbar-marquee-text: #ffffff;
  --footer-bg: linear-gradient(145deg, #09204a 0%, #0f3d91 50%, #1e40af 100%);
  --footer-text: #dbe7f6;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at 100% -10%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    radial-gradient(900px 450px at 0% 0%, rgba(250, 204, 21, 0.10) 0%, transparent 65%),
    var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-serif {
  font-family: var(--font-serif) !important;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.pointer {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin: 0 auto;
  
}

/* ==========================================================================
   TOPBAR & MARQUEE ANNOUNCEMENT
   ========================================================================== */
.site-topbar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  border-bottom: 1px solid var(--topbar-line);
  position: relative;
  z-index: 1000;
   /* Batasi lebar agar sama dengan konten utama */
  max-width: 1100px; /* Sesuaikan dengan lebar konten utama halaman Anda */
  width: 100%;
  margin-left: auto;
  margin-right: auto; /* Pusatkan footer */
  box-sizing: border-box;
  
}

.topbar-marquee {
  background: var(--topbar-marquee-bg);
  border-bottom: 1px solid var(--topbar-subtle-line);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
}

.topbar-marquee-badge {
  background: var(--accent);
  color: #0f3d91;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.topbar-marquee marquee {
  color: #ffffff;
}

.topbar-main {
  padding: 0.85rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff !important;
}

.brand-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.brand-logo-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-title-wrap h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.brand-title-wrap .brand-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.topbar-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--topbar-subtle-line);
  border-radius: 999px;
  background: var(--topbar-pill-bg);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.topbar-contact-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.topbar-portal-btn,
.topbar-clock-pill {
  background: linear-gradient(135deg, var(--accent) 0%, #eab308 100%);
  color: #0f3d91 !important;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.4px;
}

.topbar-portal-btn:hover,
.topbar-clock-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.45);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(15, 31, 56, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  max-width: 1100px; /* Sesuaikan dengan lebar konten utama halaman Anda */
  width: 100%;
  margin-left: auto;
  margin-right: auto; /* Pusatkan footer */
  box-sizing: border-box;
}

.nav-desktop-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.nav-desktop-item {
  position: relative;
}

.nav-desktop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #405572;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-desktop-link:hover,
.nav-desktop-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.nav-desktop-item:hover > .nav-desktop-link {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

/* Dropdown */
.nav-desktop-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 16px 36px rgba(15, 31, 56, 0.12);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.nav-desktop-item:hover > .nav-desktop-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-desktop-dropdown li {
  position: relative;
}

.nav-desktop-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #405572;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.nav-desktop-dropdown a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding-left: 1.05rem;
}

/* Sub-dropdown */
.nav-desktop-dropdown .nav-desktop-dropdown {
  top: 0;
  left: calc(100% + 4px);
}

/* Search Bar in Navbar */
.nav-search-btn {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-search-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--line);
  color: var(--primary);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   SECTION SPACING & HEADERS (COMPACT & MODERN)
   ========================================================================== */
.home-section {
  margin-bottom: 1.35rem;
}

@media (max-width: 768px) {
  .home-section {
    margin-bottom: 1.15rem;
  }
}

.section-head-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.14);
  margin-bottom: 0.75rem;
}

.section-head-main {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.section-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: linear-gradient(140deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.18) 100%);
  border: 1px solid rgba(37, 99, 235, 0.24);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
}

.section-subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.section-head-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.section-head-link:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO / SOROTAN BERITA UTAMA SECTION
   ========================================================================== */
.hero-feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: #000;
  min-height: 380px;
  height: 100%;
}

.hero-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transition: transform 0.4s ease;
}

.hero-feature-card:hover img {
  transform: scale(1.03);
}

.hero-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 40, 71, 0.1) 0%, rgba(16, 40, 71, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.hero-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
}

.hero-side-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(18, 42, 76, 0.05);
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.hero-side-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 42, 76, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.hero-side-thumb {
  width: 90px;
  height: 75px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-side-content {
  flex: 1;
  min-width: 0;
}

.hero-side-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   CARDS & GRIDS 
   ========================================================================== */
.public-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.public-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.public-card-media {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.public-card:hover .public-card-media {
  transform: scale(1.04);
}

.public-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.public-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin: 0;
}

.public-card-title a {
  color: var(--heading);
}

.public-card-title a:hover {
  color: var(--primary);
}

.public-card-text {
  margin: 0;
  color: #4d5f80;
  line-height: 1.6;
  font-size: 0.88rem;
  flex: 1;
}

.public-card-meta {
  color: #7f8fad;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Badges */
.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  text-transform: uppercase;
}

.theme-badge-primary {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.24);
}

.theme-badge-accent {
  color: #7b4b00;
  background: #fff3df;
  border: 1px solid #f3d6a7;
}

/* ==========================================================================
   QUICK LAYANAN PANELS (SHORTCUTS)
   ========================================================================== */
.quick-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 65%, #3b82f6 100%);
  color: #e7f0ff;
  padding: 1.15rem 1.15rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 0;
}

.quick-panel-title {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.quick-panel-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.quick-shortcut-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 0.95rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
  text-decoration: none !important;
  height: 100%;
}

.quick-shortcut-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.quick-shortcut-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform 0.25s ease;
}

.quick-shortcut-card:hover .quick-shortcut-icon {
  transform: scale(1.1);
}

.quick-shortcut-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-shortcut-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.25;
}

/* ==========================================================================
   PENGUMUMAN & AGENDA
   ========================================================================== */
.school-announcement-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  padding: 0.95rem 1.1rem;
  transition: all 0.25s ease;
}

.school-announcement-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.school-announcement-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   SAMBUTAN KEPALA SEKOLAH
   ========================================================================== */
.principal-section-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: radial-gradient(520px 260px at 100% 0%, rgba(250, 204, 21, 0.15) 0%, transparent 70%),
              radial-gradient(420px 220px at 0% 100%, rgba(37, 99, 235, 0.12) 0%, transparent 68%),
              #ffffff;
  box-shadow: var(--card-shadow);
  padding: 1.35rem 1.5rem;
  margin-bottom: 0;
}

.principal-avatar-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 26px rgba(18, 42, 76, 0.14);
  max-width: 250px;
  margin: 0 auto;
}

.principal-avatar-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.principal-badge-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 61, 145, 0.9);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.principal-quote {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #334155;
  text-align: justify;
}

/* ==========================================================================
   STATISTIK / PURECOUNTER
   ========================================================================== */
.stat-counter-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  border: 1px solid #e1e8f2;
  box-shadow: 0 8px 22px rgba(18, 42, 76, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s ease;
  height: 100%;
}

.stat-counter-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 42, 76, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.stat-counter-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.bg-stat-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.bg-stat-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.bg-stat-orange {
  background: linear-gradient(135deg, #c25e00 0%, #ea580c 100%);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.35);
}

.bg-stat-red {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.35);
}

.stat-counter-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.stat-counter-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 700;
  margin: 0;
}

/* ==========================================================================
   TEACHERS & STAFF (GURU & TENDIK)
   ========================================================================== */
.teacher-slider-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 42, 76, 0.06);
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
}

.teacher-slider-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.teacher-photo-holder {
  height: 320px;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

@media (max-width: 768px) {
  .teacher-photo-holder {
    height: 280px;
  }
}

.teacher-photo-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.teacher-slider-card:hover .teacher-photo-holder img {
  transform: scale(1.05);
}

.teacher-info {
  padding: 1rem 0.85rem;
}

.teacher-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.teacher-role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   GALERI FOTO & VIDEO
   ========================================================================== */
.gallery-card-modern {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  height: 220px;
  background: #000;
}

.gallery-card-modern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: transform 0.4s ease;
}

.gallery-card-modern:hover img {
  transform: scale(1.06);
}

.gallery-overlay-modern {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 31, 56, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #ffffff;
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e50914;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.5);
  transition: all 0.25s ease;
}

.gallery-card-modern:hover .gallery-video-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}

/* ==========================================================================
   PARTNERS & LINK TERKAIT
   ========================================================================== */
.partner-card-modern {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(18, 42, 76, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
}

.partner-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

.partner-card-modern img {
  max-height: 55px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.partner-card-modern:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   LOCATION MAP SECTION
   ========================================================================== */
.map-full-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
  background: #f8fafc;
}

.map-full-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* ==========================================================================
   FOOTER 
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  z-index: 1000;
  position: relative;
   /* Batasi lebar agar sama dengan konten utama */
  max-width: 1100px; /* Sesuaikan dengan lebar konten utama halaman Anda */
  width: 100%;
  margin-left: auto;
  margin-right: auto; /* Pusatkan footer */
  box-sizing: border-box;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-social-pill {
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-social-pill a {
  color: #ffffff !important;
  font-size: 16px;
  transition: all 0.2s ease;
}

.footer-social-pill a:hover {
  color: var(--accent) !important;
  transform: scale(1.25);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.25s ease;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 88px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HEADERS
   ========================================================================== */
.breadcrumbs {
  background: linear-gradient(135deg, #0f3d91 0%, #1e40af 100%);
  padding: 1.1rem 0;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  max-width: 1100px; /* Sesuaikan dengan lebar konten utama halaman Anda */
  margin-left: auto;
  margin-right: auto; /* Pusatkan footer */

}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.6);
  content: "/";
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .nav-desktop-list {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: inline-flex;
  }
  
  .site-navbar.mobile-active .nav-desktop-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
  }
  
  .nav-desktop-item {
    width: 100%;
  }
  
  .nav-desktop-link {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-desktop-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
    display: none;
  }
  
  .nav-desktop-item.open > .nav-desktop-dropdown {
    display: block;
  }
  
  .topbar-main {
    text-align: center;
  }
  
  .brand-wrapper {
    justify-content: center;
  }
  
  .section-head-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
