@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --orange: #E8573A;
  --orange-light: #F06B50;
  --orange-dark: #D04830;
  --orange-deep: #C23B22;
  --orange-glow: rgba(232, 87, 58, .15);

  --bg-body: #F4F5EF;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f0f1f5;

  --border-color: rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.03);

  --text-heading: #1a1a2e;
  --text-body: #4a4a5a;
  --text-muted: #8c8c9c;
  --text-white: #ffffff;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.03);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 32px rgba(232, 87, 58, .25);

  --glass-bg: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.12);

  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .5s cubic-bezier(.4,0,.2,1);
  --transition-bounce: .4s cubic-bezier(.34,1.56,.64,1);
  --nav-height: 80px;
  --max-width: 1200px;

  /* Navbar & Dropdown Sync */
  --nav-bg: #ffffff;
  --nav-text: #1a1a2e;
  --nav-text-muted: #6b7280;
  --nav-border: rgba(0, 0, 0, 0.05);
  --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.08);

  --dropdown-bg: #ffffff;
  --dropdown-border: rgba(0, 0, 0, 0.08);
  --dropdown-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  --dropdown-link-hover: #fef2f2;
  --dropdown-text: #374151;
  --dropdown-text-hover: var(--orange);

  --mega-bg: #ffffff;
  --mega-sidebar-bg: #fdf2f2;
  --mega-content-bg: #ffffff;
  --mega-text: #4b5563;
  --mega-text-hover: var(--orange);
  --mega-heading: #111827;
  --mega-category-active: var(--orange);
  --mega-border: rgba(0, 0, 0, 0.06);
  --mega-accent-bar: linear-gradient(90deg, var(--orange), var(--orange-light));

  --toggle-bg: rgba(255, 255, 255, 0.1);
  --toggle-hover: rgba(255, 255, 255, 0.2);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   NAVBAR 
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: var(--nav-shadow-scroll);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
}

/* ---- Brand ---- */
.nav-brand { flex-shrink: 0; }
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--glass-bg);
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    transition: var(--transition-bounce);
}
.logo-icon:hover {
    transform: rotate(-5deg) scale(1.08);
    background: rgba(255,255,255,.2);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { font-weight: 800; font-size: .95rem; color: var(--text-heading); letter-spacing: .03em; }
.brand-sub { font-weight: 500; font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }

/* ---- Nav Links ---- */
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 18px; font-size: .88rem; font-weight: 500;
    color: var(--text-body); border-radius: var(--radius-xs);
    transition: var(--transition);
    cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--orange); background: rgba(0, 0, 0, .03); }

/* Hide mobile icons on desktop */
.mobile-nav-icon { display: none; }

.dropdown-arrow { transition: transform 0.3s ease, color 0.3s ease; opacity: 0.6; }
.nav-item.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); opacity: 1; color: var(--orange); }

/* ---- Nav Right ---- */
.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0, 0, 0, .05); border: 1.5px solid rgba(0, 0, 0, .05);
    cursor: pointer; transition: var(--transition);
    color: var(--text-heading);
}
.theme-toggle:hover {
    background: rgba(0, 0, 0, .1);
    color: var(--orange); transform: rotate(20deg) scale(1.08);
}

/* ==============================
   DROPDOWN MENUS
   ============================== */
.dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(12px);
    min-width: 200px; background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px; box-shadow: var(--dropdown-shadow);
    padding: 10px; opacity: 0; visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 100;
}
.nav-item.has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); pointer-events: auto; }

.dropdown-column { display: flex; flex-direction: column; gap: 2px; }
.dropdown-link {
    display: block; padding: 10px 14px; font-size: 0.85rem; font-weight: 500;
    color: var(--dropdown-text); border-radius: 8px; transition: all 0.2s ease;
    position: relative;
}
.dropdown-link:hover { color: var(--dropdown-text-hover); background: var(--dropdown-link-hover); padding-left: 20px; }
.dropdown-link:hover::before {
    content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 16px; background: var(--orange); border-radius: 2px;
}

/* Nested sub-dropdown */
.dropdown-item-nested { position: relative; }
.dropdown-link.has-sub { display: flex; align-items: center; justify-content: space-between; padding-right: 10px; }
.dropdown-item-nested:hover > .dropdown-link.has-sub { color: var(--dropdown-text-hover); background: var(--dropdown-link-hover); }

.sub-dropdown {
    position: absolute; top: -10px; left: 100%;
    min-width: 180px; background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px; box-shadow: var(--dropdown-shadow);
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateX(10px); transition: all 0.25s ease;
    pointer-events: none;
}
.dropdown-item-nested:hover > .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(4px); pointer-events: auto; }

/* ==============================
   MEGA MENU
   ============================== */
.mega-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--mega-bg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 99;
    border-top: 3px solid transparent; border-image: var(--mega-accent-bar) 1;
}
.nav-item.has-megamenu:hover > .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.mega-menu-inner { max-width: var(--max-width); margin: 0 auto; display: flex; min-height: 300px; }
.mega-sidebar {
    width: 240px; flex-shrink: 0; background: var(--mega-sidebar-bg);
    padding: 24px 16px; display: flex; flex-direction: column; gap: 4px;
    border-right: 1px solid var(--mega-border);
}
.mega-category {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; font-size: 0.88rem; font-weight: 550;
    color: var(--mega-text); border-radius: 10px; transition: all 0.2s ease;
}
.mega-category:hover, .mega-category.active { color: var(--mega-category-active); background: rgba(232, 87, 58, 0.08); }

.mega-content { flex: 1; background: var(--mega-content-bg); padding: 32px 40px; }
.mega-panel { display: none; gap: 48px; animation: megaFadeIn 0.3s ease forwards; }
.mega-panel.active { display: flex; }

@keyframes megaFadeIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.mega-column { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mega-heading {
    font-size: 11px; font-weight: 700; color: var(--mega-heading);
    text-transform: uppercase; letter-spacing: 1.2px; padding-bottom: 12px;
    margin-bottom: 10px; border-bottom: 1px solid var(--mega-border);
}
.mega-link {
    display: block; padding: 8px 0; font-size: 0.88rem; color: var(--mega-text);
    transition: all 0.2s ease; position: relative; padding-left: 0;
}
.mega-link:hover { color: var(--mega-text-hover); padding-left: 12px; }
.mega-link:hover::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 14px; background: var(--orange); border-radius: 2px;
}
.theme-toggle .icon-sun { display: block; transition: var(--transition); }
.theme-toggle .icon-moon { display: none; transition: var(--transition); }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ============================================
   HERO 
   ============================================ */
.hero {
  position: relative;
  margin-top: var(--nav-height);
  padding: 56px 16px 80px;
  background: white;
  overflow: hidden;
  text-align: center;
  border-radius: 0 0 40px 40px;
  z-index: 2;
}

/* --- Hero Ornaments --- */
.hero-ornament {
  position: absolute;
  width: 775px;
  height: 775px;
  border-radius: 9999px;
  opacity: 1.00;
  filter: blur(175px);
  z-index: 1;
  pointer-events: none;
}

.ornament-orange-1 {
  background: #EE5A36;
  left: -156px;
  top: -480px;
}

.ornament-orange-2 {
  background: #EE5A36;
  left: 1002px;
  top: -92px;
}

.ornament-green-1 {
  background: #338D24;
  left: 330px;
  top: -337px;
}

.ornament-green-2 {
  background: #338D24;
  left: -389px;
  top: 51px;
}

.ornament-green-3 {
  background: #338D24;
  left: 1002px;
  top: -672px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.25) 15%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);
  overflow: hidden;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 9999px;
  background: white;
  opacity: 0.10;
  pointer-events: none;
}

.hero-circle-1 {
  width: 615px;
  height: 615px;
  left: 69.72%;
  top: -196px;
}

.hero-circle-2 {
  width: 474px;
  height: 474px;
  left: -154px;
  top: 450px;
}

/* --- Dark Mode for Hero --- */
[data-theme="dark"] .hero {
  background: #121212;
}

[data-theme="dark"] .hero-overlay {
  background: linear-gradient(155deg, rgba(15, 17, 23, 0.72) 15%, rgba(15, 17, 23, 0) 70%, rgba(15, 17, 23, 0) 100%);
}

[data-theme="dark"] .hero-circle {
  background: #94a3b8;
  opacity: 0.06;
}

/* Decorative elements */

.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* --- Grid lines --- */
.hg-line { position: absolute; opacity: .24; }

.hg-v1, .hg-v2, .hg-v3, .hg-v4 {
  width: 1px; height: 100%; top: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8) 30%, rgba(255,255,255,.8) 70%, transparent);
}
.hg-v1 { left: 14%; }
.hg-v2 { left: 38%; }
.hg-v3 { left: 62%; }
.hg-v4 { left: 86%; }

.hg-h1, .hg-h2, .hg-h3 {
  height: 1px; width: 100%; left: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.8) 15%, rgba(255,255,255,.8) 85%, transparent);
}
.hg-h1 { top: 22%; }
.hg-h2 { top: 50%; }
.hg-h3 { top: 78%; }

/* --- Orbit rings --- */
.hg-orbit {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.07);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ho1 {
  width: 460px; height: 460px;
  animation: hgSpin 50s linear infinite;
}
.ho2 {
  width: 320px; height: 320px;
  border-style: dashed;
  border-color: rgba(255,255,255,.15);
  animation: hgSpin 35s linear infinite reverse;
}
.ho3 {
  width: 160px; height: 160px;
  border-width: 2px;
  border-color: rgba(255,255,255,.24);
  animation: hgSpin 25s linear infinite;
}
@keyframes hgSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* --- Pulsing nodes --- */
.hg-node {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,.35), 0 0 20px rgba(255,255,255,.1);
}
.hn1 { top: 22%; left: 14%; animation: hgPulse 3.5s ease-in-out infinite; }
.hn2 { top: 22%; left: 62%; animation: hgPulse 3.5s ease-in-out .6s infinite; }
.hn3 { top: 50%; left: 38%; animation: hgPulse 3.5s ease-in-out 1.2s infinite; }
.hn4 { top: 50%; left: 86%; animation: hgPulse 3.5s ease-in-out 1.8s infinite; }
.hn5 { top: 78%; left: 14%; animation: hgPulse 3.5s ease-in-out 2.4s infinite; }
.hn6 { top: 78%; left: 62%; animation: hgPulse 3.5s ease-in-out .9s infinite; }

@keyframes hgPulse {
  0%, 100% { opacity: .15; transform: scale(1); }
  50% { opacity: .6; transform: scale(2.2); }
}

/* --- Floating dots --- */
.hg-dot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
}
.hd1 { top: 10%; left: 7%;  animation: hgFloat 9s ease-in-out infinite; }
.hd2 { top: 28%; left: 24%; animation: hgFloat 11s ease-in-out 1s infinite; }
.hd3 { top: 55%; left: 9%;  animation: hgFloat 8s ease-in-out 2s infinite; }
.hd4 { top: 72%; left: 30%; animation: hgFloat 10s ease-in-out .5s infinite; }
.hd5 { top: 18%; left: 78%; animation: hgFloat 12s ease-in-out 3s infinite; }
.hd6 { top: 42%; left: 92%; animation: hgFloat 9s ease-in-out 1.5s infinite; }
.hd7 { top: 82%; left: 72%; animation: hgFloat 10s ease-in-out 4s infinite; }
.hd8 { top: 65%; left: 54%; animation: hgFloat 8s ease-in-out 2.5s infinite; }

@keyframes hgFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: .5; }
  50%  { transform: translateY(-50px) scale(1.4); opacity: .35; }
  90%  { opacity: .08; }
  100% { transform: translateY(-100px) scale(.5); opacity: 0; }
}

/* --- Geometric shapes --- */
.hg-shape { position: absolute; opacity: .24; }

.hs-sq {
  width: 50px; height: 50px;
  border: 2px solid #fff;
  border-radius: 12px;
  top: 16%; right: 12%;
  transform: rotate(25deg);
  animation: hgDrift 7s ease-in-out infinite;
}
.hs-ci {
  width: 32px; height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: 22%; left: 8%;
  animation: hgDrift 9s ease-in-out 2s infinite;
}
.hs-di {
  width: 28px; height: 28px;
  border: 2px solid #fff;
  top: 40%; left: 6%;
  transform: rotate(45deg);
  animation: hgDrift 8s ease-in-out 3s infinite;
}

@keyframes hgDrift {
  0%, 100% { transform: translateY(0) rotate(25deg); }
  50% { transform: translateY(-14px) rotate(40deg); }
}


.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-content::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: rgba(255,255,255,.3);
  border-radius: 3px;
  margin: 24px auto 0;
}

.hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800;
  line-height: 1.25; color: #000000; letter-spacing: -.02em;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.hero h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700;
  line-height: 1.3; color: #000000;
  letter-spacing: -.01em;
  transition: color var(--transition);
}

[data-theme="dark"] .hero h1 {
  color: #ffffff;
}
[data-theme="dark"] .hero h2 {
  color: #ffffff;
}
.hero h2 em { font-style: italic; }

/* ============================================
   PHOTO COLLAGE 
   ============================================ */
.photo-collage {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  height: 300px;
}

.photo-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .65s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: 3px solid rgba(255,255,255,.15);
}

/* --- Position states (JS toggles these) --- */
.photo-card.pos-left {
  width: 320px; height: 240px;
  left: calc(50% - 480px);
  bottom: -10px;
  z-index: 2;
  transform: scale(0.9) rotate(-3deg);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
  opacity: 0.85;
  filter: brightness(0.92);
}

.photo-card.pos-center {
  width: 400px; height: 300px;
  left: calc(50% - 225px);
  bottom: 10px;
  z-index: 4;
  transform: scale(1.05);
  box-shadow: 0 25px 70px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.2);
  opacity: 1;
  filter: brightness(1);
  animation: popCenter .55s cubic-bezier(.34,1.56,.64,1);
  border-color: rgba(255,255,255,.4);
}

.photo-card.pos-right {
  width: 330px; height: 250px;
  left: calc(50% + 150px);
  bottom: -5px;
  z-index: 2;
  transform: scale(0.9) rotate(3deg);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
  opacity: 0.85;
  filter: brightness(0.92);
}

@keyframes popCenter {
  0%   { transform: scale(0.88); }
  55%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.photo-card:hover {
  filter: brightness(1.08) !important;
}

/* Frame content */
.photo-frame {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  inset: -1px; /* Overlap slightly to prevent sub-pixel gaps/white lines */
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  z-index: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.photo-label {
  font-size: .82rem; font-weight: 600; line-height: 1.4;
  color: rgba(255,255,255,.95);
}

/* ============================================
   SERVICES SECTION 
   ============================================ */
.services-section {
  position: relative; z-index: 1;
  padding: 72px 0 64px;
  background: var(--bg-body);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  padding: 36px 28px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
  background: var(--orange-glow);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text-heading); margin-bottom: 10px;
  letter-spacing: -.02em;
}

.service-card p {
  font-size: .88rem; color: var(--text-body);
  line-height: 1.75;
}

/* ============================================
   FOOTER 
   ============================================ */
.footer {
  position: relative; z-index: 1;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 36px;
}

.footer-brand .logo-wrapper { margin-bottom: 16px; }
.footer-brand .logo-icon {
  background: var(--orange-glow); color: var(--orange);
  border-color: transparent;
}
.footer-brand .brand-title { color: var(--text-heading); }
.footer-brand .brand-sub { color: var(--text-muted); }
.footer-brand p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-top: 4px; }

.footer-links h4,
.footer-contact h4 {
  font-size: .88rem; font-weight: 800; color: var(--text-heading);
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
  letter-spacing: -.01em;
}
.footer-links h4::after,
.footer-contact h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.footer-links ul,
.footer-contact ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-links ul li a {
  font-size: .85rem; color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-links ul li a::before {
  content: '→'; font-size: .7rem; opacity: 0;
  transition: var(--transition); transform: translateX(-8px);
}
.footer-links ul li a:hover { color: var(--orange); padding-left: 0; }
.footer-links ul li a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact ul li {
  font-size: .85rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px;
  transition: var(--transition);
}
.footer-contact ul li svg { flex-shrink: 0; margin-top: 3px; opacity: .4; }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: .76rem; color: var(--text-muted); letter-spacing: .02em; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: .1s; }
.fade-in:nth-child(2) { animation-delay: .25s; }
.fade-in:nth-child(3) { animation-delay: .4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  /* Common Grid adjustments */
  .berita-grid { grid-template-columns: 1fr; gap: 20px; }
  .video-wrapper { height: 400px; }
  .site-footer .footer-content { grid-template-columns: 1fr 1fr; }

  /* Berita Tablet Layout */
  .berita-card-large {
    min-height: auto;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .berita-card-large .img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: none;
    height: auto;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateZ(0);
  }
  .berita-card-large .content {
    width: 92%;
    align-self: center;
    margin-top: -36px;
    right: auto;
    bottom: auto;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
  }
  .berita-card-large .title { font-size: 1.15rem; margin-top: 14px; }
  .berita-card-large .excerpt { font-size: 0.88rem; margin-bottom: 18px; }

  /* Berita small cards — 2-column grid */
  .berita-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .berita-card-small {
    height: auto;
    flex-direction: column;
    padding: 0;
    width: 100%;
    border-radius: var(--radius);
    transform: translateZ(0);
  }
  .berita-card-small .img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: none;
    height: auto;
    margin-bottom: 0;
  }
  .berita-card-small .content { width: 100%; padding: 16px; }
  .berita-card-small .title { font-size: 0.92rem; }
  .berita-card-small .excerpt { font-size: 0.82rem; }

  /* Agenda Tablet */
  .agenda-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .agenda-card { flex-direction: column; }
  .agenda-date {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    padding: 10px 16px;
    justify-content: flex-start;
    min-width: auto;
  }
  .agenda-date::before { display: none; }
  .agenda-date .day { margin: 0; font-size: 1.3rem; }
  .agenda-date .month { font-size: 0.75rem; }
  .agenda-date .year { font-size: 0.65rem; }
  .agenda-img { width: 100%; aspect-ratio: 16/9; height: auto; }
  .agenda-content { padding: 14px 16px; }
  .agenda-title { font-size: 1rem; }
  .agenda-detail { font-size: 0.82rem; }

  /* Artikel — list layout is inherently single-column, no override needed */
}

@media (max-width: 480px) {
    .nav-links { width: calc(100% - 24px); padding: 8px 12px; }
}

/* ============================================
   MOBILE RESPONSIVE — Berita & Agenda
   ============================================ */

/* Small Tablet / Large Phone (768px) */
@media (max-width: 768px) {
  .page-section { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .subheading { font-size: 1.25rem; margin-bottom: 18px; }
  .section-subtitle { font-size: 0.9rem; }
  .btn-see-all { font-size: 0.95rem; }

  /* Berita — single column for small cards */
  .berita-list { grid-template-columns: 1fr; gap: 14px; }
  .berita-card-small {
    flex-direction: row;
    border-radius: var(--radius);
    transform: translateZ(0);
  }
  .berita-card-small .img-wrapper {
    width: 35%;
    aspect-ratio: auto;
    height: auto;
  }
  .berita-card-small .content { width: 65%; padding: 14px; }
  .berita-card-small .title { font-size: 0.9rem; -webkit-line-clamp: 2; }
  .berita-card-small .excerpt { display: none; }
  .top-meta { margin-bottom: 8px; }
  .tag-badge { font-size: 0.7rem; padding: 4px 12px; }

  /* Agenda */
  .agenda-grid { grid-template-columns: 1fr; gap: 12px; }
  .agenda-card { flex-direction: row; }
  .agenda-date {
    flex-direction: column;
    width: auto;
    min-width: 72px;
    padding: 14px 12px;
    gap: 2px;
  }
  .agenda-date .day { font-size: 1.6rem; margin: 2px 0; }
  .agenda-date .month { font-size: 0.72rem; }
  .agenda-date .year { font-size: 0.65rem; }
  .agenda-img { display: none; }
  .agenda-content { padding: 14px 16px; gap: 6px; }
  .agenda-title { font-size: 0.95rem; -webkit-line-clamp: 2; }
  .agenda-detail { font-size: 0.82rem; padding: 2px 0; }
}

/* Mobile Phone (480px) */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .page-section { padding: 36px 0; }
  .section-header { flex-direction: column; align-items: flex-start !important; gap: 10px; margin-bottom: 20px !important; }
  .section-title { font-size: 1.45rem; }
  .subheading { font-size: 1.05rem; margin-bottom: 12px; }
  .section-subtitle { font-size: 0.82rem; line-height: 1.5; }
  .section-subtitle br { display: none; }

  /* Berita Mobile */
  .section-berita .berita-card-large { max-width: 100%; }
  .section-berita .berita-card-large .img-wrapper {
    aspect-ratio: 16/9;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateZ(0);
  }
  .section-berita .berita-card-large .content {
    width: 94%;
    margin-top: -28px;
    padding: 20px;
  }
  .section-berita .berita-card-large .title { font-size: 1.05rem; margin-top: 10px; margin-bottom: 10px; }
  .section-berita .berita-card-large .excerpt { font-size: 0.85rem; -webkit-line-clamp: 2; margin-bottom: 14px; }
  .section-berita .berita-meta { font-size: 0.78rem; }

  .section-berita .berita-card-small { flex-direction: column; }
  .section-berita .berita-card-small .img-wrapper { width: 100%; aspect-ratio: 16/9; }
  .section-berita .berita-card-small .content { width: 100%; padding: 12px; }
  .section-berita .berita-card-small .title { font-size: 0.85rem; -webkit-line-clamp: 3; }
  .section-berita .top-meta { flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 6px; }
  .section-berita .tag-badge { font-size: 0.65rem; padding: 3px 10px; }
  .section-berita .date { font-size: 0.72rem; }

  /* Agenda Mobile */
  .agenda-card { border-radius: 10px; }
  .agenda-date {
    min-width: 60px;
    padding: 10px 8px;
  }
  .agenda-date .day { font-size: 1.3rem; }
  .agenda-date .month { font-size: 0.65rem; }
  .agenda-content { padding: 10px 12px; gap: 4px; }
  .agenda-title { font-size: 0.85rem; }
  .agenda-detail { font-size: 0.75rem; gap: 4px; }
  .agenda-detail svg { width: 12px; height: 12px; }
}

/* Small Phone (360px) */
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.35rem !important; }

  .section-berita .berita-card-large .content { padding: 14px; width: 96%; margin-top: -18px; }
  .section-berita .berita-card-large .title { font-size: 0.92rem; }
  .section-berita .berita-card-large .excerpt { font-size: 0.78rem; }

  .section-berita .berita-card-small .content { padding: 8px; }
  .section-berita .berita-card-small .title { font-size: 0.78rem; }

  .agenda-date { min-width: 54px; padding: 8px 6px; }
  .agenda-date .day { font-size: 1.15rem; }
  .agenda-content { padding: 8px 10px; }
  .agenda-title { font-size: 0.8rem; }
  .agenda-detail { font-size: 0.72rem; }
}

/* Agenda Phone specific breakpoint (599px) */
@media (max-width: 599px) {
  .agenda-grid { grid-template-columns: 1fr; }
  .agenda-card { width: 100%; max-width: 360px; margin: 0 auto 16px auto; }
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========================================
   DARK MODE 
   ======================================== */
html[data-theme] body,
html[data-theme] .hero,
html[data-theme] .services-section,
html[data-theme] .footer {
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}

[data-theme="dark"] {
  --bg-body: #121212;
  --bg-white: #1a1a1a;
  --bg-card: #242424;
  --bg-section-alt: #161616;

  --orange: #F06B50;
  --orange-light: #F58068;
  --orange-dark: #E05540;
  --orange-deep: #D04530;
  --orange-glow: rgba(240, 107, 80, .12);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);

  --text-heading: #ffffff;
  --text-body: #a8a8a8;
  --text-muted: #757575;
  --text-white: #ffffff;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.4);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.45);
  --shadow-card-hover: 0 16px 48px rgba(0,0,0,.45);
  --shadow-orange: 0 8px 32px rgba(240, 107, 80, .2);

  --glass-bg: rgba(255,255,255,.04);
  --glass-border: rgba(255,255,255,.08);

  /* Navbar dark mode */
  --nav-bg: #1a1a1a;
  --nav-text: #ffffff;
  --nav-text-muted: rgba(255, 255, 255, 0.6);
  --nav-border: rgba(255, 255, 255, 0.05);
  
  --dropdown-bg: #242424;
  --dropdown-border: rgba(255, 255, 255, 0.08);
  --dropdown-link-hover: rgba(240, 107, 80, 0.08);
  --dropdown-text: #cccccc;
  --dropdown-text-hover: var(--orange);

  --mega-bg: #242424;
  --mega-sidebar-bg: #1f1f1f;
  --mega-content-bg: #242424;
  --mega-text: #a8a8a8;
  --mega-text-hover: var(--orange);
  --mega-heading: #ffffff;
  --mega-category-active: var(--orange);
  --mega-border: rgba(255, 255, 255, 0.06);

  --toggle-bg: rgba(255, 255, 255, 0.05);
  --toggle-hover: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, .90);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(240, 107, 80, .08);
}
[data-theme="dark"] .navbar.scrolled { 
  background: rgba(26, 26, 26, 0.9) !important; 
  box-shadow: 0 4px 30px rgba(0,0,0,.5); 
}
[data-theme="dark"] .navbar .nav-link { color: rgba(255,255,255,.6); }
[data-theme="dark"] .navbar .nav-link:hover { color: var(--orange) !important; background: rgba(255,255,255,.06); }
[data-theme="dark"] .navbar .brand-title { color: #ffffff !important; }
[data-theme="dark"] .navbar .brand-sub { color: rgba(255,255,255,.6) !important; }
[data-theme="dark"] .navbar .logo-icon { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
[data-theme="dark"] .nav-link { color: rgba(255,255,255,.6); }
[data-theme="dark"] .nav-link:hover { color: var(--orange) !important; background: rgba(255,255,255,.06); }
[data-theme="dark"] .logo-icon {
  background: var(--orange-glow); border-color: rgba(240, 107, 80, .12);
  color: var(--orange);
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1a1218 0%, #251a18 40%, #1a1218 70%, #14101a 100%);
}
[data-theme="dark"] .hero::before { background: radial-gradient(circle, rgba(240, 107, 80, .06) 0%, transparent 70%); }
[data-theme="dark"] .hero::after { background: radial-gradient(circle, rgba(240, 107, 80, .04) 0%, transparent 70%); }
[data-theme="dark"] .hero-bg-pattern .hg-node { background: var(--orange); box-shadow: 0 0 8px rgba(240,107,80,.3); }
[data-theme="dark"] .hero-bg-pattern .hg-dot { background: rgba(240,107,80,.4); }
[data-theme="dark"] .hero-bg-pattern .hg-shape { border-color: rgba(240,107,80,.3); }

[data-theme="dark"] .photo-card { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .photo-card.pos-center { border-color: rgba(255,255,255,.15); }

[data-theme="dark"] .services-section { background: var(--bg-body); }
[data-theme="dark"] .service-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}
[data-theme="dark"] .service-card:hover {
  border-color: rgba(240, 107, 80, .15);
  box-shadow: 0 12px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(240, 107, 80, .08);
}

[data-theme="dark"] .footer { background: var(--bg-card); }

[data-theme="dark"] .theme-toggle {
  background: var(--glass-bg); border-color: var(--glass-border);
  color: rgba(255,255,255,.6);
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
  color: var(--orange) !important;
}

[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--bg-body); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--orange); }

/* ============================================
   SECTIONS: Berita, Agenda, Artikel, Galeri, Video
   ============================================ */
.page-section {
  padding: 80px 0;
  background: var(--bg-white);
  position: relative;
  z-index: 1;
}

.page-section.bg-alt {
  background: var(--bg-body);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.title-line {
  width: 6px;
  height: 36px;
  background: linear-gradient(180deg, #338D24, #EE5A36);
  border-radius: 6px;
  flex-shrink: 0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #4B5563;
  max-width: 650px;
  line-height: 1.6;
  font-weight: 400;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1.5px solid #338D24;
  border-radius: 12px;
  color: #338D24 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-see-all:hover {
  background: rgba(51, 141, 36, 0.05);
  color: #338D24 !important;
  border-color: #338D24 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(51, 141, 36, 0.15);
}

.subheading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}
.subheading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #EE5A36;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(238, 90, 54, 0.15);
}

/* BERITA */
.berita-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
}
.berita-card-large {
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-height: 420px;
  padding: 30px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.berita-card-large:hover {
  transform: translateY(-4px);
}
.berita-card-large .img-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* slight shadow for the image base */
}
.berita-card-large .img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
  pointer-events: none;
}
.berita-card-large .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.berita-card-large:hover .img-wrapper img {
  transform: scale(1.05);
}
.tag-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(232, 87, 58, 0.3);
}
.berita-card-large .content {
  position: relative;
  z-index: 2;
  width: 60%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.berita-card-large:hover .content {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  border-color: rgba(255, 255, 255, 0.9);
}
.berita-card-large .title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.berita-card-large:hover .title {
  color: var(--orange);
}
.berita-card-large .excerpt {
  color: var(--text-body);
  margin-bottom: 25px;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}
.berita-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

/* Right Small Cards */
.berita-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.berita-card-small {
  display: flex;
  background: #F4F5EF;
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* added subtle shadow back */
  height: calc(50% - 12px);
  transition: var(--transition);
}
.berita-card-small:hover {
  transform: none;
  box-shadow: none;
}
.berita-card-small .img-wrapper {
  width: 35%;
  position: relative;
}
.berita-card-small .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.berita-card-small .content {
  width: 65%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.berita-card-small .title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.berita-card-small .excerpt {
  color: var(--text-body);
  margin-bottom: 0;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.date {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4B5563;
}

/* AGENDA GRID */
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.agenda-card {
  display: flex;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  border: none;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06), 0 24px 48px rgba(0,0,0,.08);
}

/* Date block — compact, refined */
.agenda-date {
  background: var(--orange);
  color: #fff;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 80px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

/* Subtle diagonal pattern overlay */
.agenda-date::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,.04) 4px,
    rgba(255,255,255,.04) 8px
  );
  pointer-events: none;
}

.agenda-date .month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  position: relative;
}

.agenda-date .day {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin: 4px 0 2px;
  position: relative;
}

.agenda-date .year {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.6;
  position: relative;
}

/* Image */
.agenda-img {
  width: 100px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.agenda-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.03), transparent);
  pointer-events: none;
  z-index: 1;
}

.agenda-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Content */
.agenda-content {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 8px;
}

.agenda-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  margin: 0;
}

.agenda-card:hover .agenda-title {
  color: var(--orange);
}

.agenda-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  padding: 4px 10px 4px 0;
  border-radius: 6px;
  transition: color 0.3s ease;
}

.agenda-detail svg {
  flex-shrink: 0;
  color: var(--orange);
  opacity: 0.55;
  width: 15px;
  height: 15px;
}

/* Dark mode */
[data-theme="dark"] .agenda-card {
  box-shadow: 0 1px 3px rgba(0,0,0,.15), 0 4px 16px rgba(0,0,0,.2);
  background: var(--bg-card);
}

[data-theme="dark"] .agenda-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 24px 48px rgba(0,0,0,.3);
}

[data-theme="dark"] .agenda-date {
  background: var(--orange);
}

/* Tag Green Pill */
.tag-green {
  display: inline-block;
  background: #338D24;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ARTIKEL — Full-width List Layout */
.artikel-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.artikel-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.artikel-item:first-child {
  border-top: 1px solid var(--border-color);
}

.artikel-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #338D24;
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.artikel-item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.artikel-item:hover {
  padding-left: 20px;
  background: rgba(51, 141, 36, 0.03);
}

/* Number accent */
.artikel-item-number {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(51, 141, 36, 0.15);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
  font-variant-numeric: tabular-nums;
  transition: color 0.35s ease;
}

.artikel-item:hover .artikel-item-number {
  color: rgba(51, 141, 36, 0.4);
}

/* Body: content + meta stacked */
.artikel-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.artikel-item-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artikel-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.artikel-item:hover .artikel-item-title {
  color: #338D24;
}

.artikel-item-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.artikel-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.artikel-item-date,
.artikel-item-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.artikel-item-date svg,
.artikel-item-author svg {
  flex-shrink: 0;
}

/* Arrow */
.artikel-item-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(51, 141, 36, 0.06);
  color: #338D24;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.artikel-item:hover .artikel-item-arrow {
  background: #338D24;
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(51, 141, 36, 0.25);
}

/* Dark mode for artikel list */
[data-theme="dark"] .artikel-item:hover {
  background: rgba(51, 141, 36, 0.05);
}
[data-theme="dark"] .artikel-item-number {
  color: rgba(51, 141, 36, 0.12);
}
[data-theme="dark"] .artikel-item:hover .artikel-item-number {
  color: rgba(51, 141, 36, 0.3);
}
[data-theme="dark"] .artikel-item-arrow {
  background: rgba(51, 141, 36, 0.08);
}

/* Responsive: Stack on mobile */
@media (max-width: 640px) {
  .artikel-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 0;
  }
  .artikel-item-number {
    font-size: 1.5rem;
    min-width: 36px;
  }
  .artikel-item-body {
    width: calc(100% - 60px);
  }
  .artikel-item-arrow {
    width: 36px;
    height: 36px;
  }
  .artikel-item-meta {
    gap: 10px;
  }
}

/* GALERI MARQUEE */
.galeri-marquee-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.galeri-marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    flex-shrink: 0;
    animation: scrollXGaleri 30s linear infinite;
}

.galeri-marquee-container:hover .galeri-marquee-group {
    animation-play-state: paused;
}

@keyframes scrollXGaleri {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.galeri-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    height: 250px;
    width: 250px; 
    flex-shrink: 0;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeri-item:hover img {
    transform: scale(1.05);
}

[data-theme="dark"] .galeri-item {
  box-shadow: none;
}


/* VIDEO */
.video-outer-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.video-bg-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 90%;
  background: rgba(232, 87, 58, 0.85); 
  filter: blur(25px); 
  border-radius: 10px;
  z-index: 1;
}
.video-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  z-index: 2; 
}

/* SPONSOR BAR */
.sponsor-bar {
  padding: 60px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  text-align: center;
}
.sponsor-text {
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 30px;
}
.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sponsor-logo-box {
  background: var(--bg-card);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.sponsor-logo-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sponsor-logo-box img {
  height: 50px;
  opacity: 0.9;
}
.btn-outline-green {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #338D24;
  color: #338D24;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-green:hover {
  background: #338D24;
  color: #fff;
}

/* ============================================
   FOOTER 
   ============================================ */
.site-footer {
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo-area .brand-title {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-top: 5px;
}

.footer-logo-area .brand-sub {
  font-size: 0.82rem;
  margin-top: 8px;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-contact-info h4,
.footer-social h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-heading);
  position: relative;
  padding-bottom: 8px;
}

.footer-contact-info h4::after,
.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--orange);
  border-radius: 3px;
}

.footer-contact-info ul { list-style: none; padding: 0; margin: 0; }
.footer-contact-info li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; color: var(--text-body); font-size: 0.88rem;
}
.footer-contact-info svg { color: var(--orange); flex-shrink: 0; margin-top: 3px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px;
  background: var(--text-heading); color: var(--bg-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--orange); color: #fff;
  transform: translateY(-4px); box-shadow: 0 8px 20px rgba(232, 87, 58, 0.3);
}

.footer-bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border-color);
  color: var(--text-muted); font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ANIMATIONS */
.fade-in {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .7s ease forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-in:nth-child(1) { animation-delay: .1s; }
.fade-in:nth-child(2) { animation-delay: .25s; }
.fade-in:nth-child(3) { animation-delay: .4s; }

/* RESPONSIVE FOR NEW SECTIONS */
@media (max-width: 1024px) {
  body { padding-bottom: 60px; } /* Space for floating pill */

  .navbar { 
      height: 64px !important; 
      box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important; 
      border-bottom: 1px solid rgba(0,0,0,0.05) !important; 
      background: var(--nav-bg) !important; 
      backdrop-filter: none !important; 
      -webkit-backdrop-filter: none !important;
  }
  .navbar .brand-title { color: var(--nav-text) !important; }
  .navbar .brand-sub { color: var(--nav-text-muted) !important; }
  .navbar .logo-icon { background: #EE5A36 !important; color: #fff !important; }
  .navbar .theme-toggle { color: var(--nav-text) !important; border-color: rgba(0,0,0,0.1) !important; }
  
  .navbar-inner { padding: 0 16px !important; }
  .logo-wrapper { transform: scale(1); display: flex; align-items: center; }
  .logo-wrapper img { height: 42px !important; width: auto !important; }
  .hero { margin-top: 64px !important; }

  /* Floating Navigation Pill */
  .nav-links {
      position: fixed !important; 
      bottom: 24px !important; 
      top: auto !important;
      left: 50% !important; 
      transform: translateX(-50%) !important;
      width: calc(100% - 32px) !important; 
      max-width: 500px !important;
      height: auto !important;
      min-height: 64px !important;
      background: #EE5A36 !important; 
      padding: 8px 16px !important;
      display: flex !important; 
      flex-direction: row !important;
      justify-content: space-between !important; 
      align-items: center !important;
      border-radius: 40px !important; 
      border: 1px solid rgba(255,255,255,0.2) !important;
      box-shadow: 0 12px 32px rgba(238, 90, 54, 0.4) !important;
      z-index: 9999 !important; 
      backdrop-filter: blur(15px) !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
  }
  
  .nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; position: static; }
  .nav-link { 
      padding: 4px 0 !important; 
      font-size: 11px !important; 
      flex-direction: column !important; 
      gap: 3px !important;
      color: rgba(255,255,255,0.8) !important; 
      font-weight: 600 !important;
      background: transparent !important;
  }
  .mobile-nav-icon { display: block !important; width: 22px; height: 22px; color: #fff; }
  .nav-link span { display: block; }
  .nav-link .dropdown-arrow { display: none; }
  .nav-link:hover, .nav-item.mobile-open .nav-link { color: #fff !important; }

  /* Menus Pop-up (Above Pill) */
  .dropdown-menu, .mega-menu {
      position: fixed !important; 
      bottom: 95px !important; 
      top: auto !important;
      left: 50% !important; 
      transform: translateX(-50%) !important;
      width: calc(100vw - 32px) !important; 
      max-width: 480px !important;
      max-height: 65vh !important; 
      overflow-y: auto !important;
      display: none; 
      border-radius: 24px; 
      background: var(--dropdown-bg);
      padding: 24px; 
      z-index: 10005 !important; 
      box-shadow: 0 15px 50px rgba(0,0,0,0.3);
      border: 1px solid var(--dropdown-border);
      pointer-events: auto !important;
  }
  
  .sub-dropdown {
      position: static !important;
      width: 100% !important;
      display: none;
      border: none !important;
      background: rgba(238, 90, 54, 0.05) !important;
      box-shadow: none !important;
      padding: 8px !important;
      margin-top: 10px !important;
      border-radius: 12px !important;
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
  }
  .dropdown-item-nested.mobile-open > .sub-dropdown { display: block !important; }

  .nav-item.mobile-open > .dropdown-menu, 
  .nav-item.mobile-open > .mega-menu { 
      display: block !important; 
      animation: mobilePop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
  }
  
  @keyframes mobilePop {
      from { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.95); }
      to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  }

  /* Mega Menu Accordion */
  .mega-menu-inner { flex-direction: column; }
  .mega-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--mega-border); padding: 0 0 12px; margin-bottom: 12px; }
  .mega-category { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
  .mega-category.active, .mega-category.mobile-active { background: rgba(238, 90, 54, 0.1); color: #EE5A36; }
  .mega-category.active svg, .mega-category.mobile-active svg { transform: rotate(90deg); }
  .mega-content { padding: 0; }
  .mega-panel { display: none !important; flex-direction: column; gap: 20px; padding: 16px; background: rgba(238,90,54,0.03); border-radius: 16px; }
  .mega-panel.active, .mega-panel.mobile-active { display: flex !important; }

  /* Berita Tablet Layout */
  .section-berita .berita-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-berita .berita-card-large {
    min-height: auto;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .section-berita .berita-card-large .img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: none;
    height: auto;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateZ(0);
  }
  .section-berita .berita-card-large .content {
    width: 92%;
    align-self: center;
    margin-top: -36px;
    right: auto;
    bottom: auto;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
  }
  .section-berita .berita-card-large .title { font-size: 1.05rem; margin-top: 14px; }
  .section-berita .berita-card-large .excerpt { font-size: 0.88rem; margin-bottom: 18px; }

  /* Berita small cards — 2-column grid */
  .section-berita .berita-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .section-berita .berita-card-small {
    height: auto;
    flex-direction: column;
    padding: 0;
    width: 100%;
    border-radius: var(--radius);
    transform: translateZ(0);
  }
  .section-berita .berita-card-small .img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: none;
    height: auto;
    margin-bottom: 0;
  }
  .section-berita .berita-card-small .content { width: 100%; padding: 16px; }
  .section-berita .berita-card-small .title { font-size: 0.92rem; }
  .section-berita .berita-card-small .excerpt { font-size: 0.82rem; }
  
  /* Agenda Tablet Layout */
  .agenda-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .agenda-card { flex-direction: column; }
  .agenda-date {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    padding: 10px 16px;
    justify-content: flex-start;
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .agenda-date::before { display: none; }
  .agenda-date .day { margin: 0; font-size: 1.3rem; }
  .agenda-date .month { font-size: 0.75rem; }
  .agenda-date .year { font-size: 0.65rem; }
  .agenda-img { width: 100%; aspect-ratio: 16/9; height: auto; }
  .agenda-content { padding: 14px 16px; }
  .agenda-title { font-size: 1rem; }
  .agenda-detail { font-size: 0.82rem; }

  /* Artikel — inherently single-column, slight scale down */
  .artikel-item { padding: 24px 0; }
  .artikel-item-title { font-size: 1.1rem; }
  .artikel-item-excerpt { font-size: 0.88rem; }
  
  /* Galeri Tablet */
  .galeri-item { width: 180px; height: 180px; }
  
  .video-wrapper { height: 400px; }
  .site-footer .footer-content { grid-template-columns: 1fr 1fr; }

  /* Hero Tablet */
  .hero { padding: 40px 24px 60px; border-radius: 0 0 30px 30px; }
  .container { padding: 0 24px; }
  .photo-collage { max-width: 100%; height: 260px; }
  .photo-card { transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
  .photo-card.pos-left { width: 260px; height: 195px; left: 22%; bottom: 0; transform: translateX(-50%) scale(0.9) rotate(-3deg); opacity: 0.8; z-index: 2; }
  .photo-card.pos-center { width: 320px; height: 240px; left: 50%; bottom: 10px; transform: translateX(-50%) scale(1); opacity: 1; z-index: 5; animation: popCenterTablet 0.6s cubic-bezier(.34,1.56,.64,1); }
  .photo-card.pos-right { width: 260px; height: 195px; left: 78%; right: auto; bottom: 0; transform: translateX(-50%) scale(0.9) rotate(3deg); opacity: 0.8; z-index: 2; }
  
  @keyframes popCenterTablet {
    0%   { transform: translateX(-50%) scale(0.85); }
    55%  { transform: translateX(-50%) scale(1.03); }
    100% { transform: translateX(-50%) scale(1); }
  }

  /* Services Tablet */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .page-section { padding: 30px 0; }
  .section-title { font-size: 1.6rem !important; }
  .section-subtitle { font-size: 0.95rem !important; line-height: 1.5; margin-top: 8px; }
  .btn-see-all { padding: 6px 14px; font-size: 0.85rem; }
  
  /* Restructure Section Header Layout */
  .section-header { 
    display: grid !important; 
    grid-template-columns: 1fr auto; 
    align-items: center; 
    gap: 8px 12px;
    margin-bottom: 24px !important; 
  }
  .section-header > div:first-child { 
    display: contents; 
  }
  .section-title-wrap { 
    grid-column: 1 / 2; 
    grid-row: 1 / 2; 
    margin-bottom: 0 !important;
  }
  .section-header .btn-see-all { 
    grid-column: 2 / 3; 
    grid-row: 1 / 2; 
    margin-top: 0 !important; 
    align-self: center;
  }
  .section-header .section-subtitle { 
    grid-column: 1 / -1; 
    grid-row: 2 / 3; 
  }
  
  /* Berita — single column for small cards */
  .section-berita .berita-list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .section-berita .berita-card-small {
    flex-direction: column;
    border-radius: var(--radius);
    transform: translateZ(0);
  }
  .section-berita .berita-card-small .img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
  }
  .section-berita .berita-card-small .content { width: 100%; padding: 14px; }
  .section-berita .berita-card-small .title { font-size: 0.85rem; -webkit-line-clamp: 3; }
  .section-berita .berita-card-small .excerpt { display: none; }
  .section-berita .top-meta { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
  .section-berita .tag-badge { font-size: 0.7rem; padding: 4px 12px; }
  .section-berita .date { font-size: 0.75rem; }
  
  /* Agenda */
  .agenda-grid { grid-template-columns: 1fr; gap: 12px; }
  .agenda-card { flex-direction: row; border-radius: 12px; }
  .agenda-date {
    flex-direction: column;
    width: auto;
    min-width: 72px;
    padding: 14px 12px;
    gap: 2px;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }
  .agenda-date .day { font-size: 1.6rem; margin: 2px 0; line-height: 1; }
  .agenda-date .month { font-size: 0.72rem; }
  .agenda-date .year { font-size: 0.65rem; }
  .agenda-img { display: none; }
  .agenda-content { padding: 14px 16px; gap: 4px; }
  .agenda-title { font-size: 0.95rem; -webkit-line-clamp: 2; margin-bottom: 2px; }
  .agenda-detail { font-size: 0.8rem; padding: 1px 0; }
  .agenda-detail svg { width: 13px; height: 13px; }
  
  /* Artikel */
  .artikel-list { gap: 0; }
  .artikel-item { padding: 20px 0; gap: 16px; }
  .artikel-item-number { font-size: 1.5rem; min-width: 36px; }
  .artikel-item-title { font-size: 1.05rem; }
  .artikel-item-excerpt { font-size: 0.85rem; -webkit-line-clamp: 2; }
  .artikel-item-meta { font-size: 0.75rem; gap: 10px; }
  
  /* Galeri Marquee */
  .galeri-item { width: 140px; height: 140px; }
  .section-galeri .section-header { align-items: flex-start !important; }
  .galeri-deco-squares { display: none !important; } /* Only hide the squares on mobile, not the See all button */
  
  /* Video */
  .video-outer-wrapper { padding-left: 0 !important; }
  .video-bg-block { display: none; }
  .video-wrapper { height: 180px; min-height: 180px !important; }
  .section-video .section-header + div > div:last-child { display: none; } /* hide video squares */
  
  /* Link Section */
  .link-section { padding: 40px 0; }
  .marquee-item { margin: 0 10px; padding: 10px 15px; min-width: 120px; height: 60px; border-radius: 8px; }
  .marquee-item img { max-height: 35px; }
  
  /* Footer */
  /* Footer — Centered Mobile */
  .footer-content { 
    grid-template-columns: 1fr !important; 
    gap: 24px !important; 
    text-align: center !important; 
  }
  .footer-logo-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-contact-info ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer-contact-info li { 
    justify-content: center !important; 
    text-align: center !important;
  }
  .social-icons { 
    justify-content: center !important; 
  }
  .footer-bottom-bar { 
    flex-direction: column !important; 
    gap: 10px !important; 
    text-align: center !important;
  }
  .footer-contact-info h4::after,
  .footer-social h4::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Hero Mobile */
  .hero { margin-top: 60px !important; padding: 40px 20px 40px !important; }
  .hero h1 { font-size: 1.5rem; }
  .hero h2 { font-size: 1.2rem; }
  
  .photo-collage { 
    height: 240px; 
    margin: 20px auto 0;
  }

  /* Transition override for extra smoothness on mobile */
  .photo-card {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .photo-card.pos-left { 
    width: 170px; height: 130px; 
    left: 30%; 
    bottom: 25px; 
    transform: translateX(-50%) rotate(-3deg) scale(0.85); 
    opacity: 0.6 !important; 
    z-index: 2;
  }
  
  .photo-card.pos-center { 
    width: 240px; height: 180px; 
    left: 50%; 
    bottom: 15px; 
    transform: translateX(-50%) scale(1.1);
    z-index: 5; 
    opacity: 1 !important;
    animation: popCenterMobile 0.6s cubic-bezier(.34,1.56,.64,1);
  }
  
  .photo-card.pos-right { 
    width: 170px; height: 130px; 
    left: 70%; 
    bottom: 25px; 
    transform: translateX(-50%) rotate(3deg) scale(0.85); 
    opacity: 0.6 !important; 
    z-index: 2;
  }

  @keyframes popCenterMobile {
    0%   { transform: translateX(-50%) scale(0.9); }
    55%  { transform: translateX(-50%) scale(1.12); }
    100% { transform: translateX(-50%) scale(1.1); }
  }

  /* Services Mobile */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 20px 16px; }
  .service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
  .service-card p { font-size: 0.88rem; line-height: 1.5; }
  .service-icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .service-icon svg { width: 22px; height: 22px; }
}

@media (max-width: 649px) {
  .agenda-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* DARK MODE SUPPORT FOR NEW SECTIONS */
[data-theme="dark"] .page-section { background: var(--bg-body); }
[data-theme="dark"] .page-section.bg-alt { background: var(--bg-body); /* slightly lighter dark bg */ }
[data-theme="dark"] .section-title { color: #ffffff !important; }
[data-theme="dark"] .subheading { color: #ffffff !important; }
[data-theme="dark"] .section-subtitle { color: #a0a0a0 !important; }

[data-theme="dark"] .berita-card-large .content,
[data-theme="dark"] .berita-card-small,
[data-theme="dark"] .agenda-card {
  background: #2b2b2b; /* dark card bg */
  border: none;
  box-shadow: none;
}
[data-theme="dark"] .berita-card-large .title,
[data-theme="dark"] .berita-card-small .title,
[data-theme="dark"] .agenda-title { color: #ffffff; }

[data-theme="dark"] .agenda-date {
  background: var(--orange);
  border-right: none;
  border-bottom: none;
  color: #ffffff;
}
[data-theme="dark"] .agenda-date .day,
[data-theme="dark"] .agenda-date .month,
[data-theme="dark"] .agenda-date .year { color: #ffffff; }

[data-theme="dark"] .agenda-detail,
[data-theme="dark"] .berita-card-large .excerpt,
[data-theme="dark"] .berita-card-small .excerpt { color: #bfbfbf; }

[data-theme="dark"] .btn-see-all { 
  color: #4CAF50 !important; 
  border-color: #4CAF50 !important;
}

[data-theme="dark"] .sponsor-logo-box {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .sponsor-bar { background: var(--bg-body); }
[data-theme="dark"] .video-wrapper::before { opacity: 0.5; }

/* Refined Compact Footer */
.site-footer {
    padding: 30px 0 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    color: var(--text-body);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--orange);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232, 87, 58, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.brand-sub-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-body);
    max-width: 300px;
}

/* Headings & Lists */
.site-footer h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 6px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

.footer-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
    font-size: 0.85rem;
}

.footer-contact-info svg {
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icons a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(232, 87, 58, 0.15);
    border-color: var(--orange);
}

/* Bottom Bar */
.footer-bottom-bar {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--orange);
}

/* =========================================
   RESPONSIVE FOOTER 
   ========================================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        margin: 0 auto;
        font-size: 0.82rem;
    }

    .site-footer h4 { margin-bottom: 12px; font-size: 0.85rem; }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-info ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info li {
        justify-content: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
    }
}

[data-theme="dark"] .site-footer { background: #1a1a1a; border-top-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .social-icons a { background: #222; color: #fff; border-color: rgba(255,255,255,0.1); }

/* ============================================
   LINK SECTION (MARQUEE)
   ============================================ */
.link-section {
  padding: 80px 0;
  background-color: var(--bg-white);
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .link-section {
  background-color: var(--bg-body);
}

.link-heading {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.link-divider {
  width: 80px;
  height: 4px;
  background-color: #DF5A39;
  margin: 0 auto 50px auto;
  border-radius: 2px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 30px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  flex-shrink: 0;
  animation: scrollX 30s linear infinite;
}

.marquee-wrapper:hover .marquee-group {
  animation-play-state: paused;
}

.marquee-wrapper.reverse .marquee-group {
  animation-direction: reverse;
  animation-duration: 35s; /* Slightly different speed */
}

@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-item {
  flex: 0 0 auto;
  margin: 0 20px;
  padding: 15px 30px;
  background-color: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 90px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .marquee-item {
  background-color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.marquee-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(10%);
  transition: filter 0.3s ease;
}

.marquee-item:hover img {
  filter: grayscale(0%);
}

/* ============================================
   FULL-SCREEN SPLASH OVERLAY
   ============================================ */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
}

.splash-modal {
    width: 90%;
    max-width: 800px;
    height: 480px; 
    background: var(--bg-card);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalEntry 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalEntry {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-close-top {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 100;
    transition: all 0.3s ease;
}

.splash-close-top:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(90deg);
}

.splash-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.splash-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content {
    flex: 1;
    padding: 60px 60px;
    max-width: 50%;
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    z-index: 5;
}

.splash-slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--orange-glow);
    color: var(--orange);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.slide-badge.pulse { animation: badgePulse 2s infinite; }

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 87, 58, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(232, 87, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 87, 58, 0); }
}

.slide-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 30px;
}

.slide-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.splash-slide.active .slide-image img {
    transform: scale(1.1);
}

/* Indicators */
.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 60px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

[data-theme="dark"] .dot { background: rgba(255,255,255,0.15); }

.dot.active {
    width: 24px;
    background: var(--orange);
}

.splash-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 60px 40px;
    display: none; 
}

/* Nav */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.nav-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Responsive */
@media (max-width: 992px) {
    .splash-modal { height: 450px; }
    .slide-title { font-size: 1.8rem; }
    .slide-content { padding: 40px; }
}

@media (max-width: 768px) {
    .splash-modal { 
        width: 75%; 
        height: auto; 
        max-height: 90vh;
        border-radius: 20px; 
    }
    .splash-carousel { 
        height: auto; 
        flex-direction: column; 
        overflow-y: auto;
    }
    .splash-slide {
        position: relative;
        flex-direction: column;
        display: none;
    }
    .splash-slide.active { display: flex; }
    .slide-content { 
        max-width: 320px; 
        margin: 0 auto;
        padding: 24px 20px 40px; 
        text-align: center; 
        order: 2; 
        transform: translateY(10px); 
    }
    .slide-title { font-size: 1.5rem; margin-bottom: 12px; line-height: 1.3; }
    .slide-desc { font-size: 0.9rem; margin-bottom: 20px; color: var(--text-body); }
    .slide-image { 
        position: relative; 
        width: 100%; 
        height: 300px; 
        order: 1; 
        right: 0;
    }
    .carousel-dots { 
        position: absolute;
        bottom: 15px; 
        left: 50%;
        transform: translateX(-50%);
        justify-content: center; 
        z-index: 20;
    }
    .carousel-nav { display: none; }
}

@media (max-width: 480px) {
    .splash-modal { width: 80%; max-height: 85vh; }
    .slide-content { padding: 18px 12px 32px; max-width: 260px; }
    .slide-title { font-size: 1.15rem; }
    .slide-desc { font-size: 0.8rem; }
    .slide-image { height: 230px; }
    .slide-badge { margin-bottom: 15px; padding: 5px 12px; font-size: 0.65rem; }
    .splash-close-top { top: 10px; right: 10px; width: 34px; height: 34px; }
}

[data-theme="dark"] .splash-modal { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); }
[data-theme="dark"] .splash-close-top { background: var(--orange); color: #fff; }
[data-theme="dark"] .nav-btn { background: var(--bg-white); border-color: rgba(255,255,255,0.1); color: #fff; }
[data-theme="dark"] .slide-desc { color: var(--text-body); }


/* ============================================
   RESPONSIVE DESIGN 
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --nav-h: 60px;
    --radius: 12px;
  }

  /* Navbar Top Adjustments */
  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 13px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .navbar {
    top: 0 !important;
    bottom: auto !important;
    background: var(--nav-bg) !important;
    box-shadow: none;
    border-bottom: 1px solid var(--nav-border);
    height: 60px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  /* Floating Bottom Nav Pill (Orange) */
  .nav-links {
    position: fixed !important;
    bottom: 24px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 500px !important;
    background: #EE5A36 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 16px !important;
    box-shadow: var(--shadow-xl) !important;
    gap: 4px !important;
    height: auto !important;
    min-height: 64px !important;
    border-radius: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 9999 !important;
    backdrop-filter: blur(15px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
  }
  
  .nav-item {
    width: auto !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    border-bottom: none !important;
    position: static !important;
  }
  
  .nav-link {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 0 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    gap: 3px !important;
    line-height: 1.1 !important;
    background: transparent !important;
    border-radius: 20px !important;
  }
  
  .nav-link:hover, .nav-item.mobile-open .nav-link { 
    color: #ffffff !important; 
    background: rgba(255, 255, 255, 0.2) !important; 
  }

  [data-theme="dark"] .nav-links {
    background: #EE5A36 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .mobile-nav-icon {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    color: #ffffff !important;
  }

  .nav-link .dropdown-arrow {
    display: none !important;
  }

  /* Dropdowns reset for mobile: Pop UP vertically */
  .dropdown-menu,
  .mega-menu {
    position: fixed !important;
    top: auto !important;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 480px !important;
    max-height: calc(100vh - 150px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none !important;
    border: 1px solid var(--dropdown-border) !important;
    border-radius: 20px !important;
    background: var(--dropdown-bg) !important;
    padding: 16px !important;
    margin: 0 !important;
    z-index: 1050 !important;
    box-shadow: var(--shadow-xl) !important;
  }

  .nav-item.mobile-open > .dropdown-menu,
  .nav-item.mobile-open > .mega-menu {
    display: block !important;
    animation: popUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes popUp {
    from { opacity: 0; transform: translateY(20px) translateX(-50%) scale(0.95); }
    to { opacity: 1; transform: translateY(0) translateX(-50%) scale(1); }
  }

  .sub-dropdown {
    position: static !important;
    width: 100% !important;
    display: none !important;
    border: none !important;
    border-radius: 12px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    padding: 8px !important;
    margin-top: 8px !important;
    box-shadow: none !important;
  }

  [data-theme="dark"] .sub-dropdown {
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .dropdown-item-nested.mobile-open > .sub-dropdown {
    display: block !important;
  }
}

@media (max-width: 1024px) {
    .navbar-inner { height: 60px !important; }
    .site-footer { padding-bottom: 100px !important; }
}

/* =========================================
   RESPONSIVE FOOTER 
   ========================================= */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 24px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-description {
        margin: 0 auto;
        font-size: 0.82rem;
    }

    .site-footer h4 { margin-bottom: 12px; font-size: 0.85rem; }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-info ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info li {
        justify-content: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding-top: 15px;
    }
}

/* ==========================================
   ULTRA-COMPACT RESPONSIVE (350px → 200px)
   ========================================== */
@media (max-width: 350px) {
  .container { padding: 0 16px; }
  .navbar-inner { padding: 0 16px; }

  /* --- Footer Compact --- */
  .site-footer { padding: 20px 0 30px !important; }
  .footer-content { gap: 16px !important; margin-bottom: 16px !important; }
  .footer-brand .logo-icon { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  .brand-title { font-size: 0.82rem !important; }
  .brand-sub-title { font-size: 0.7rem !important; }
  .footer-description { font-size: 0.75rem !important; }
  .site-footer h4 { font-size: 0.78rem !important; margin-bottom: 10px !important; }
  .footer-contact-info li { font-size: 0.75rem !important; gap: 6px !important; margin-bottom: 8px !important; }
  .footer-contact-info svg { width: 14px !important; height: 14px !important; }
  .social-icons { gap: 6px !important; }
  .social-icons a { width: 30px !important; height: 30px !important; border-radius: 6px !important; }
  .social-icons a svg { width: 14px !important; height: 14px !important; }
  .footer-bottom-bar { padding-top: 12px !important; font-size: 0.68rem !important; }
  .footer-bottom-links { gap: 10px !important; }
}

@media (max-width: 320px) {
  .container { padding: 0 14px; }
  .navbar-inner { padding: 0 14px; }
}

@media (max-width: 280px) {
  .container { padding: 0 8px; }
  .navbar-inner { padding: 0 8px; }
  .nav-links { width: calc(100% - 16px) !important; padding: 4px 8px !important; border-radius: 20px !important; }
  .nav-link { padding: 4px 0 !important; font-size: 8px !important; }

  /* --- Footer --- */
  .footer-brand .logo-icon { width: 26px !important; height: 26px !important; }
  .brand-title { font-size: 0.75rem !important; }
  .footer-description { font-size: 0.7rem !important; }
  .footer-contact-info li { font-size: 0.7rem !important; }
  .social-icons a { width: 26px !important; height: 26px !important; }
}

@media (max-width: 240px) {
  .container { padding: 0 6px; }
  .navbar-inner { padding: 0 6px; }

  /* --- Footer --- */
  .site-footer { padding: 15px 0 10px !important; }
  .footer-content { gap: 12px !important; }
}

@media (max-width: 200px) {
  .container { padding: 0 4px; }
  .navbar-inner { padding: 0 4px; }
  .nav-links { width: calc(100% - 4px) !important; padding: 2px !important; }

  /* --- Footer --- */
  .footer-brand { gap: 6px !important; }
  .site-footer h4 { font-size: 0.7rem !important; }
  .footer-bottom-bar { font-size: 0.6rem !important; }
}


/* --- Custom Orange Scrollbar --- */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #EE5A36;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
    background: #d94c2c;
}
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #EE5A36 #f1f1f1;
}

