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

:root {
  --primary: #E44D26;
  --primary-dark: #C13A15;
  --primary-light: #f4a890;
  --bg-page: #ffffff;
  --bg-alt: #cf4520;
  --bg-white: #ffffff;
  --bg-warm: #fff8f5;
  --text-dark: #111827;
  --text-main: #374151;
  --text-muted: #6b7280;
  --border-color: #f3f4f6;
  --border-warm: #ffe8dd;
  --footer-bg: #1a0a03;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 40px -10px rgba(228,77,38,0.15);
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* NAVBAR (Orange Glass) */
.navbar {
  width: 100%;
  padding: 15px 12px !important;
  background: rgba(228, 77, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo h2 {
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

.navbar ul li a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar ul li a:hover {
  color: var(--white);
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* Nav click animation */
.navbar ul li a.nav-clicked {
  animation: navClickFlash 0.45s cubic-bezier(0.4,0,0.2,1);
}

@keyframes navClickFlash {
  0%   { transform: scale(1);    opacity: 1; }
  30%  { transform: scale(0.88); opacity: 0.7; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

/* Ripple on nav link */
.navbar ul li {
  position: relative;
  overflow: hidden;
}

.nav-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: navRipple 0.55s linear;
  pointer-events: none;
}

@keyframes navRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--white);
  cursor: pointer;
}


.hero {
  width: 100%;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url('images/smkbackground.png') center/cover no-repeat;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(228,77,38,0.4) 0%, rgba(150,30,0,0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 64px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-content h1 span {
  color: #ffebd6;
  position: relative;
}

.hero-content p {
  margin-bottom: 40px;
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn1, .btn2 {
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn1 {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn2 {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(5px);
}

.btn1:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  background: #fff4ed;
}

.btn2:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-5px);
}

/* SECTION UTILITIES */
.section {
  padding: 120px 8%;
  background: var(--bg-white);
}

.bg-alt {
  background-color: var(--bg-alt);
}

.bg-orange {
  background-color: var(--primary);
}

.bg-orange-dark {
  background-color: var(--primary-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 5px;
  background: var(--primary);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 18px;
}

/* Orange section overrides for white text */
.bg-orange .section-title h2,
.bg-alt .section-title h2,
.bg-orange-dark .section-title h2 {
  color: var(--white);
}

.bg-orange .section-title h2::after,
.bg-alt .section-title h2::after,
.bg-orange-dark .section-title h2::after {
  background: rgba(255,255,255,0.5);
}

.bg-orange .section-title p,
.bg-alt .section-title p,
.bg-orange-dark .section-title p {
  color: rgba(255,255,255,0.8);
}

/* ========== SCROLL ANIMATIONS — PREMIUM ========== */

/* Base: shared hidden state */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur,
.reveal-rotate {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Default: slide up */
.reveal {
  transform: translateY(60px) scale(0.97);
  filter: blur(4px);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Slide from left */
.reveal-left {
  transform: translateX(-80px) rotate(-2deg);
  filter: blur(3px);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
  filter: blur(0);
}

/* Slide from right */
.reveal-right {
  transform: translateX(80px) rotate(2deg);
  filter: blur(3px);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
  filter: blur(0);
}

/* Scale up from small */
.reveal-scale {
  transform: scale(0.8);
  filter: blur(6px);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Blur entrance (no movement, pure focus) */
.reveal-blur {
  transform: translateY(20px);
  filter: blur(12px);
}
.reveal-blur.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 3D Rotate in */
.reveal-rotate {
  transform: perspective(800px) rotateX(15deg) translateY(40px);
  transform-origin: bottom center;
  filter: blur(3px);
}
.reveal-rotate.active {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0);
  filter: blur(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* Auto stagger for card grids */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }
.stagger-children > *:nth-child(7) { transition-delay: 480ms; }
.stagger-children > *:nth-child(8) { transition-delay: 560ms; }
.stagger-children > *:nth-child(9) { transition-delay: 640ms; }
.stagger-children > *:nth-child(10) { transition-delay: 720ms; }
.stagger-children > *:nth-child(11) { transition-delay: 800ms; }
.stagger-children > *:nth-child(12) { transition-delay: 880ms; }

/* Section title underline animation */
.section-title h2::after {
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  width: 0;
}
.section-title.active h2::after {
  width: 60px;
}

/* Floating parallax decorations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-2deg); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228,77,38,0.2); }
  50% { box-shadow: 0 0 30px 10px rgba(228,77,38,0.08); }
}

.org-bg-shape {
  animation: float-slow 8s ease-in-out infinite;
}
.org-bg-shape2 {
  animation: float-reverse 10s ease-in-out infinite;
}

/* Navbar scroll effect */
.navbar {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.navbar.nav-hidden {
  transform: translateY(-100%);
}

/* Hero parallax text */
.hero-content h1 {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-content p {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-btn {
  animation: fadeSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Smooth gallery image entrance */
.all-gallery.show img {
  opacity: 0;
  animation: galleryPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.all-gallery.show img:nth-child(1) { animation-delay: 0.05s; }
.all-gallery.show img:nth-child(2) { animation-delay: 0.1s; }
.all-gallery.show img:nth-child(3) { animation-delay: 0.15s; }
.all-gallery.show img:nth-child(4) { animation-delay: 0.2s; }
.all-gallery.show img:nth-child(5) { animation-delay: 0.25s; }
.all-gallery.show img:nth-child(6) { animation-delay: 0.3s; }
.all-gallery.show img:nth-child(7) { animation-delay: 0.35s; }
.all-gallery.show img:nth-child(8) { animation-delay: 0.4s; }

@keyframes galleryPop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Counter / number animation pulse on biaya cards */
.b-box.active {
  animation: cardPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cardPulse {
  0% { transform: translateY(40px) scale(0.9); opacity: 0; }
  60% { transform: translateY(-5px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* SEJARAH */
.sejarah-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.sejarah-img-wrap {
  position: relative;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}

.sejarah-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.sejarah-content .text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-main);
}

/* VISI MISI */
.visi-misi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  overflow: hidden;
}

.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  border-color: var(--white);
}

.vm-header {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, #fff8f5 0%, #ffe8dd 100%);
  margin: -40px -40px 30px -40px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.vm-header i {
  color: var(--white);
  background: var(--primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
}

.vm-body {
  color: var(--text-main);
  font-size: 16px;
}

.vm-body ul {
  list-style: none;
}

.vm-body li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.vm-body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* BIAYA — Inverted: white bg on orange page */
.biaya {
  background: var(--white);
  border-radius: 60px;
  margin: 0 2%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.biaya::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(228,77,38,0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.biaya .section-title h2 {
  color: var(--primary);
}

.biaya .section-title p {
  color: var(--text-muted);
}

.biaya .section-title h2::after {
  background: var(--primary);
}

.biaya-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.b-box {
  background: linear-gradient(135deg, var(--primary) 0%, #e85a30 100%);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 30px rgba(228,77,38,0.25);
  transition: var(--transition);
}

.b-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(228,77,38,0.35);
}

.b-icon {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.b-box:hover .b-icon {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.1);
}

.b-box h3 {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  font-weight: 600;
}

.b-box p {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

/* BROSUR */
.brosur-container {
    text-align: center;
}
.brosur-container img {
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* KEPALA */
.kepala-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.kepala-content img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--primary);
}

.kepala-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}

.kepala-text p {
  font-size: 18px;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

/* GURU */
.guru-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.guru-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.guru-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--white);
}

.guru-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.guru-card:hover img {
  transform: scale(1.05);
}

.guru-card h4 {
  margin-top: 25px;
  font-size: 20px;
  color: var(--text-dark);
}

.guru-card p {
  padding-bottom: 25px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  margin-top: 5px;
}

/* STRUKTUR ORGANISASI MODERN PREMIUM */
.org-section {
  position: relative;
  background: var(--bg-warm);
  overflow: hidden;
}

.org-section .section-title h2 {
  color: var(--text-dark);
}

.org-section .section-title h2::after {
  background: var(--primary);
}

.org-section .section-title p {
  color: var(--text-muted);
}

.org-bg-shape {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(228,77,38,0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.org-bg-shape2 {
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(228,77,38,0.04) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.org-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* TIER LABELS */
.org-tier-label {
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, #e85a30 100%);
  padding: 10px 30px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(228, 77, 38, 0.25);
}

.org-tier-label i {
  font-size: 14px;
}

/* CONNECTORS */
.org-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0;
}

.connector-line {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), rgba(228, 77, 38, 0.3));
  border-radius: 3px;
}

.connector-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(228, 77, 38, 0.15);
  margin-top: -1px;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

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

.gap-lg {
  gap: 50px;
}

.org-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
  margin: 20px auto 40px;
  opacity: 0.3;
}

.org-card-modern {
  background: var(--white);
  border: 1px solid var(--border-warm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  width: 380px;
  padding: 0 25px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 100px;
}

.org-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.card-img-wrap {
  position: relative;
  margin-top: -90px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-img-wrap img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 5px solid var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  background-color: #fff4ed;
  color: transparent;
  font-size: 0;
}

.org-card-modern:hover .card-img-wrap img {
  transform: scale(1.05);
  border-color: #fff4ed;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.badge-role {
  background: linear-gradient(135deg, var(--primary) 0%, #e85a30 100%);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-top: -15px;
  box-shadow: 0 4px 10px rgba(228, 77, 38, 0.3);
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
}

.leader-card {
  width: 480px;
  padding-bottom: 40px;
}

.leader-card .card-img-wrap img {
  width: 240px;
  height: 240px;
  border: 6px solid var(--white);
  object-position: center 15%;
}

.card-info h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 800;
}

.leader-card .card-info h3 {
  font-size: 26px;
  color: var(--primary);
}

.card-info h4 {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-weight: 700;
}

.card-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-info span {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* ========== GURU CARD V2 — PREMIUM VERTICAL CARDS ========== */
.guru-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  width: 100%;
  margin-top: 15px;
}

.guru-grid-v2.grid-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.guru-card-v2 {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-warm);
  display: flex;
  flex-direction: column;
}

.guru-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(228, 77, 38, 0.12);
  border-color: var(--primary-light);
}

.guru-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.guru-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.guru-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.guru-card-v2:hover .guru-img-wrap img {
  transform: scale(1.05);
}

.guru-info {
  padding: 12px 18px 22px;
  position: relative;
  z-index: 2;
}

.guru-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.35;
}

.guru-info span {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  line-height: 1.5;
}

/* ========== MINI CARDS (KEPT FOR BACKWARD COMPAT) ========== */
.org-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.mini-card {
  margin-top: 110px;
  width: 100%;
  padding: 0 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  border-radius: 20px;
}

.mini-card img {
  margin-top: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.mini-card:hover img {
  border-color: var(--white);
}

.mini-card .card-info {
  flex: 1;
}

.mini-card .card-info h4 {
  margin-bottom: 5px;
  font-size: 19px;
}

.mini-card .card-info span {
  font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .guru-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .guru-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .guru-grid-v2.grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .leader-card, .org-card-modern {
    width: 100%;
    max-width: 400px;
  }
  .gap-lg {
    gap: 20px;
  }
  .mini-card {
    flex-direction: column;
    text-align: center;
  }
  .org-tier-label {
    font-size: 13px;
    padding: 8px 20px;
  }
}

@media (max-width: 550px) {
  .guru-grid-v2 {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .guru-grid-v2.grid-2col {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

/* GALERI */
.galeri-kegiatan {
  text-align: center;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.slider {
  width: 100%;
  height: 500px;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow:hover {
  background: #fff4ed;
  transform: translateY(-50%) scale(1.1);
}

.left { left: 20px; }
.right { right: 20px; }

.dots {
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(228,77,38,0.25);
  display: inline-block;
  margin: 0 8px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.5);
}

.bg-orange .dot {
  background: rgba(255,255,255,0.4);
}

.bg-orange .dot.active {
  background: var(--white);
}

.lihat-btn {
  margin-top: 40px;
  padding: 16px 40px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
}

.lihat-btn:hover {
  background: #fff4ed;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.all-gallery {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.all-gallery.show {
  display: grid;
  animation: fadeIn 0.5s ease-out;
}

.all-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.all-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* FOOTER */
.footer {
  background: var(--footer-bg);
  color: #9ca3af;
  padding: 80px 8% 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
}

.footer-logo span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.footer-desc {
  line-height: 1.8;
  font-size: 15px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin: 12px 0;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: var(--transition);
  font-size: 15px;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-col p {
  margin: 15px 0;
  line-height: 1.6;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-col i.contact-icon {
  color: var(--primary);
  font-size: 16px;
  margin-top: 3px;
}

/* SOCIAL */
.social {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  transition: var(--transition);
}

.social a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}

.footer-bottom span {
  color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 50px; }
  .sejarah-content, .kepala-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .sejarah-img-wrap { width: 80%; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 15px 12px !important; flex-direction: row; justify-content: space-between; align-items: center; position: sticky; }
  .logo h2 { font-size: 16px; }
  .logo img { width: 36px; height: 36px; }
  .hero {
    min-height: 100svh !important;
    background-position: 15% center !important;
  }
  .hero-content h1 { font-size: 34px; }
  .hero-content p { font-size: 16px; }
  .hero-btn { flex-direction: column; gap: 15px; }
  .section { padding: 60px 5%; }
  .biaya { padding: 60px 5%; border-radius: 20px; }
  .sejarah-img-wrap { width: 100%; }
  .kepala-content { flex-direction: column; text-align: center; padding: 30px; }
  .kepala-content img { width: 180px; height: 180px; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .slider { height: 250px; }
  .arrow { display: none; }
  .vm-header { flex-direction: column; text-align: center; }
  .biaya-box { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .section-title h2 { font-size: 28px; }
  .b-box { padding: 30px 20px; }
  .guru-grid { grid-template-columns: 1fr; }
  .slider { height: 200px; }
}

/* ==========================================================================
   ADVANCED PREMIUM WEB AESTHETICS & DARK/LIGHT MODE STYLES
   ========================================================================== */

/* 1. Custom Smooth Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
  transition: background 0.4s ease;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-page);
  transition: all 0.4s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.dark ::-webkit-scrollbar-track {
  background: #090d16;
}
.dark ::-webkit-scrollbar-thumb {
  background: #1e293b;
  border: 2px solid #090d16;
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* 2. Glassmorphic Card Glowing and Hover State Adaptations */
.vm-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.vm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(228, 77, 38, 0.1), rgba(228, 77, 38, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dark .vm-card::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0.05));
}

.dark .vm-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.dark .vm-card:hover {
  border-color: rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.08), 0 20px 50px rgba(0, 0, 0, 0.6) !important;
}

/* 3. Pricing / Biaya Cards Hover Shine Interaction */
.b-box {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.b-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.75s ease;
  pointer-events: none;
  z-index: 10;
}

.b-box:hover::before {
  left: 140%;
}

.dark .b-box::before {
  background: linear-gradient(
    to right,
    rgba(56, 189, 248, 0) 0%,
    rgba(56, 189, 248, 0.25) 50%,
    rgba(56, 189, 248, 0) 100%
  );
}

/* 4. Floating Micro-Animations for Icons */
@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.b-box:hover .b-icon {
  animation: float-icon 2s ease-in-out infinite;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 5. Glowing Organization Structure Connectors */
.org-connector .connector-line {
  background: linear-gradient(to bottom, #e44d26, rgba(228, 77, 38, 0.15)) !important;
}

.dark .org-connector .connector-line {
  background: linear-gradient(to bottom, #38bdf8, rgba(56, 189, 248, 0.1)) !important;
}

.dark .org-connector .connector-dot {
  background: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6) !important;
}

/* 6. Teacher Cards Premium Look */
.guru-card-v2 {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.guru-card-v2 .guru-img-wrap img {
  filter: grayscale(10%) contrast(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.guru-card-v2:hover .guru-img-wrap img {
  filter: grayscale(0%) contrast(105%);
}

.dark .guru-card-v2 {
  background: #0f172a !important;
  border-color: rgba(30, 41, 59, 0.8) !important;
}

.dark .guru-img-wrap::after {
  background: linear-gradient(to top, #0f172a 0%, transparent 100%) !important;
}

.dark .guru-card-v2:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.05), 0 10px 30px -10px rgba(0,0,0,0.5) !important;
}

/* 7. Lightbox Overlay Glassmorphism */
#gallery-lightbox {
  background: rgba(4, 6, 10, 0.93) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.lightbox-open {
  overflow: hidden !important;
}

/* 8. Extra Premium Smooth Theme Transitions */
* {
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sejarah, .visi-misi-section, .biaya, .brosur, .org-section, .galeri-kegiatan, .footer, nav, .vm-card, .org-card-modern, .guru-card-v2, .b-box, .slider-wrapper {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 9. Dark Mode Mobile Dropdown Overrides */
@media (max-width: 768px) {
  .dark .navbar ul {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
}

/* 10. Robust Mobile Responsiveness on very small screens (< 480px) */
@media (max-width: 480px) {
  .leader-card, .org-card-modern {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .sejarah-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  .vm-card {
    padding: 25px 20px !important;
  }

  .b-box p {
    font-size: 22px !important;
  }
}

/* ========== PREMIUM BOTTOM DOCK NAVIGATION (MOBILE) ========== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  height: 64px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 35px -10px rgba(228, 77, 38, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
  z-index: 10000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .mobile-bottom-nav {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex: 1;
  height: 100%;
}

.dark .mobile-nav-item {
  color: #94a3b8;
}

.mobile-nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.mobile-nav-item span {
  font-size: 9px;
  text-transform: uppercase;
}

/* Active State Styles */
.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #E44D26;
}

.dark .mobile-nav-item.active,
.dark .mobile-nav-item:hover {
  color: #fda08c;
}

.mobile-nav-item.active i {
  transform: translateY(-4px) scale(1.15);
}

/* Add active dot indicator */
.mobile-nav-item::after {
  content: '';
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #E44D26;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .mobile-nav-item::after {
  background-color: #fda08c;
}

.mobile-nav-item.active::after {
  opacity: 1;
  transform: scale(1);
}

/* ====== HAMBURGER MENU — MOBILE ====== */
@media (max-width: 768px) {
  /* Show hamburger toggle */
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
  }

  .menu-toggle.open {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Mobile nav dropdown — hidden by default */
  .navbar ul {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(228, 77, 38, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
    gap: 0;
    z-index: 999;
    /* Hidden state */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Open state */
  .navbar ul.active {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar ul li:last-child {
    border-bottom: none;
  }

  .navbar ul li a {
    display: block;
    padding: 14px 24px !important;
    font-size: 14px !important;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }

  .navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    padding-left: 32px !important;
  }

  /* Animasi saat item mobile diklik */
  .navbar ul li a.mobile-nav-active {
    animation: mobileNavClick 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes mobileNavClick {
    0%   { background: rgba(255,255,255,0);    padding-left: 24px; }
    30%  { background: rgba(255,255,255,0.25); padding-left: 38px; }
    70%  { background: rgba(255,255,255,0.15); padding-left: 36px; }
    100% { background: rgba(255,255,255,0.08); padding-left: 32px; }
  }

  /* Ripple mobile */
  .mobile-nav-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: mobileRipple 0.5s linear;
    pointer-events: none;
  }

  @keyframes mobileRipple {
    to {
      transform: scale(6);
      opacity: 0;
    }
  }

  /* Dark mode dropdown */
  .dark .navbar ul {
    background: rgba(15, 23, 42, 0.97) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
  }

  .dark .navbar ul li {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }

  .dark .navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.05) !important;
  }

  /* Make navbar relative for absolute dropdown */
  .navbar {
    position: sticky;
    flex-wrap: wrap;
  }

  /* Urutan elemen di mobile: hamburger di kiri, theme toggle di paling kanan */
  #nav-list {
    order: 1;
    width: 100%;          /* full width saat expanded */
  }
  #hamburger-btn {
    order: 2;
  }
  #theme-toggle-nav {
    order: 3;
  }

  /* Hide bottom dock on mobile since we use hamburger */
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* ====== SOCIAL MEDIA ICON — BRAND COLOR ON CLICK ====== */
@keyframes socialPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); transform: scale(1.15) translateY(-4px); }
  50%  { box-shadow: 0 0 0 10px rgba(255,255,255,0); transform: scale(1.22) translateY(-6px); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); transform: scale(1.15) translateY(-4px); }
}

.social-icon-btn {
  cursor: pointer;
  position: relative;
  overflow: visible;
}

/* Pulse animation triggered by JS adding this class */
.social-icon-btn.social-pulse {
  animation: socialPulse 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}