/* ==========================================================================
   WEBSITE XI PPLG (REKAYASA PERANGKAT LUNAK)
   Theme: Vibrant Tech Blue & Crisp White
   Responsive Design System (Mobile & Desktop) - FULL COMPLETE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Blue & White */
  --primary-dark: #0F172A;
  --primary-navy: #1E3A8A;
  --primary-blue: #2563EB;
  --primary-light: #3B82F6;
  --accent-cyan: #06B6D4;
  --accent-sky: #38BDF8;

  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-ice: #EFF6FF;

  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-blue: #BFDBFE;
  --border-accent: #93C5FD;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  
  /* Layout */
  --container-width: 1240px;
  --navbar-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Outfit', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
}

/* --------------------------------------------------------------------------
   2. REUSABLE UTILITIES & BUTTONS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-ice);
  background-image: radial-gradient(circle at 10% 20%, rgba(219, 234, 254, 0.5) 0%, transparent 40%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  color: var(--text-white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Custom Image Placeholder Box */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 2px dashed var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--primary-blue);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.img-placeholder i {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  color: var(--primary-light);
}

.img-placeholder p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.img-placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.img-placeholder:hover {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

/* --------------------------------------------------------------------------
   3. NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  height: 72px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-logo:hover {
  transform: rotate(6deg) scale(1.05);
  box-shadow: var(--shadow-glow);
}

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

.brand-title-anim {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-title-anim .highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowPulse 3s infinite alternate;
}

.typed-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.typed-text::after {
  content: '|';
  animation: blink 0.8s infinite;
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  background: var(--bg-ice);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. BERANDA (HERO SECTION)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--navbar-height) + 3rem);
  padding-bottom: 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 15%, rgba(219, 234, 254, 0.6) 0%, rgba(248, 250, 252, 1) 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.hero-title span.blue-text {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-tech-stack {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-main {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.code-title { font-size: 0.8rem; font-family: monospace; color: var(--text-muted); }
.code-snippet {
  font-family: 'Consolas', monospace;
  font-size: 0.88rem;
  color: var(--primary-dark);
  background: var(--bg-main);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  line-height: 1.6;
}
.code-snippet .keyword { color: #2563EB; font-weight: bold; }
.code-snippet .string { color: #059669; }
.code-snippet .function { color: #D97706; }

.floating-badge {
  position: absolute;
  background: var(--bg-surface);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
}
.floating-badge.badge-top { top: -20px; right: -15px; }
.floating-badge.badge-bottom { bottom: -20px; left: -15px; animation-delay: 2s; }

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-ice);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-info span { display: block; font-size: 0.75rem; color: var(--text-muted); }
.floating-info strong { font-size: 0.95rem; color: var(--primary-dark); }

/* --------------------------------------------------------------------------
   5. TENTANG SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.vision-mission-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.vm-card {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.vm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.org-section { margin-top: 4rem; }
.org-title { text-align: center; font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 2rem; }
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.org-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

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

.org-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-ice), var(--border-accent));
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem auto;
}

/* --------------------------------------------------------------------------
   6. DAFTAR & FOTO SISWA SECTION (9 SISWA XI PPLG)
   -------------------------------------------------------------------------- */
.student-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.student-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.student-avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.2rem auto;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  border: 3.5px solid var(--primary-blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.student-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.student-avatar-wrapper .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.student-avatar-wrapper .img-placeholder i {
  font-size: 2.2rem;
  margin-bottom: 0.1rem;
  color: var(--primary-blue);
}

.student-avatar-wrapper .img-placeholder p {
  font-size: 0.65rem;
  line-height: 1;
}

.student-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.student-role-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: var(--bg-ice);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.student-quote {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.student-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   7. JADWAL PELAJARAN SECTION
   -------------------------------------------------------------------------- */
.schedule-controls {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn, .filter-btn {
  padding: 0.65rem 1.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover,
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.schedule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.schedule-time { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.time-badge { font-size: 0.82rem; font-weight: 600; color: var(--primary-navy); background: var(--bg-ice); padding: 0.3rem 0.75rem; border-radius: var(--radius-sm); }
.schedule-subject { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.4rem; }
.schedule-teacher { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.schedule-footer { display: flex; justify-content: space-between; border-top: 1px dashed var(--border-light); padding-top: 0.8rem; margin-top: auto; }
.status-tag { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: var(--radius-full); }
.status-tag.active { background: #D1FAE5; color: #065F46; }
.status-tag.upcoming { background: #DBEAFE; color: #1E40AF; }

/* --------------------------------------------------------------------------
   8. GALERI SECTION & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filters { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.1) 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--text-white);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.modal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-lightbox.active { display: flex; }

.modal-content {
  max-width: 850px;
  width: 100%;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  color: var(--primary-dark);
}

.modal-body-content { padding: 2rem; text-align: center; }

/* --------------------------------------------------------------------------
   9. STATISTIK SECTION
   -------------------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-cyan));
}

.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-ice);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem auto;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.skills-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.skill-item { margin-bottom: 1.25rem; }
.skill-info { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.skill-bar { width: 100%; height: 10px; background: var(--bg-subtle); border-radius: var(--radius-full); overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--primary-navy), var(--primary-blue), var(--accent-cyan)); border-radius: var(--radius-full); width: 0%; transition: width 1.5s ease; }

/* --------------------------------------------------------------------------
   10. KEGIATAN SECTION
   -------------------------------------------------------------------------- */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.activity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-img-box { height: 220px; position: relative; overflow: hidden; background: #0F172A; }
.activity-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.4s ease; }
.activity-card:hover .activity-img-box img { transform: scale(1.06); }
.activity-date-badge { position: absolute; top: 1rem; left: 1rem; background: var(--primary-navy); color: #fff; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 600; z-index: 2; }
.activity-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }

/* --------------------------------------------------------------------------
   11. GURU SECTION
   -------------------------------------------------------------------------- */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }

.teacher-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-blue); }

.teacher-avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem auto;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  border: 3.5px solid var(--primary-blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teacher-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}

.teacher-avatar-wrapper .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.teacher-avatar-wrapper .img-placeholder i {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  color: var(--primary-blue);
}

.teacher-avatar-wrapper .img-placeholder p {
  font-size: 0.68rem;
  line-height: 1.1;
  color: var(--primary-navy);
}

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

.teacher-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: var(--bg-ice);
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-subject {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.teacher-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-ice);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.social-icon:hover { background: var(--primary-blue); color: var(--text-white); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   12. KONTAK SECTION & TOAST
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card .info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-info-card .info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-card .info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-card .info-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.contact-info-card .info-text p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.contact-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 0.4rem; }

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-cyan);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show { transform: translateY(0); opacity: 1; }

/* --------------------------------------------------------------------------
   13. FOOTER & SCROLL TO TOP
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-navy); transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   14. KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 2px rgba(37, 99, 235, 0.2)); }
  100% { filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6)); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. ADVANCED RESPONSIVE BREAKPOINTS (TABLET, LAPTOP, & MOBILE ENHANCEMENTS)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--navbar-height));
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-left: 1px solid var(--border-light);
  }

  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* TIKFEST Mobile Image Stacking */
  .activity-card .activity-img-box {
    height: auto !important;
    min-height: 240px;
  }

  /* Responsive Grid Adjustments */
  .students-grid, .teachers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  }

  .schedule-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 1rem !important;
  }

  /* Contact OTP Form Input Responsiveness */
  #inputEmail + #btnSendOTP,
  #inputOTPCode + #btnVerifyOTP {
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.95rem; }
  
  .vision-mission-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Gallery Mobile Full Width */
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-item {
    height: 220px !important;
  }
  .gallery-item .gallery-img-wrapper {
    height: 220px !important;
  }

  /* Lightbox Modal on Mobile */
  .modal-lightbox {
    padding: 0.75rem !important;
  }
  .modal-body-content img {
    max-height: 340px !important;
  }

  /* Contact OTP Row Stacking on Mobile */
  .contact-form-box form .form-group div[style*="display: flex"] {
    flex-direction: column;
    gap: 0.6rem !important;
  }

  .contact-form-box form .form-group div[style*="display: flex"] button {
    width: 100% !important;
    justify-content: center;
  }

  /* Toast & Scroll Top Position on Mobile */
  .toast-msg {
    left: 1rem;
    right: 1rem;
    bottom: 5rem;
    font-size: 0.85rem;
    padding: 0.85rem 1.25rem;
  }

  .scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }

  /* TIKFEST Activity Card Images Stack Vertically on Mobile */
  .activity-card div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  
  .activity-card div[style*="grid-template-columns: 1fr 1fr"] img {
    height: 180px !important;
  }
}

/* Ultra Small Screens (<360px) */
@media (max-width: 360px) {
  .container { padding: 0 0.85rem; }
  .schedule-card { padding: 1.1rem !important; }
  .student-card { padding: 1.25rem !important; }
  .activity-content { padding: 1.25rem !important; }
  .gallery-item { height: 190px !important; }
  .gallery-item .gallery-img-wrapper { height: 190px !important; }
}


