/* ============================================
   BCI-SD School Website - Main Stylesheet
   Matching Eduzaid Theme Reference
   ============================================ */

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

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

:root {
  --primary-green: #2F6B3F;
  --primary-dark: #1E4620;
  --primary-light: #7FB77E;
  --accent-gold: #F7C85C;
  --accent-gold-light: #FFF6C0;
  --accent-gold-dark: #D4A017;
  --bg-light: #FFF6C0;
  --bg-white: #ffffff;
  --bg-section: #eef1f7;
  --text-dark: #1a1a2e;
  --text-medium: #4a4a6a;
  --text-light: #8a8aaa;
  --text-white: #ffffff;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --glass: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: blur(12px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   TOP BAR - Blue background matching ref
   ======================================== */
.top-bar {
  background: var(--primary-green);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.82rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-left a,
.top-bar-left span {
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.top-bar-right a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.82rem;
  transition: var(--transition);
}

.top-bar-right a:hover {
  background: var(--accent-gold);
  color: #1a1a2e;
  transform: translateY(-2px) rotate(8deg);
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes move-forever {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 6s ease-in-out infinite; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ========================================
   WAVE DIVIDERS & PATTERNS
   ======================================== */
.wave-container {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
  min-height: 60px;
}

/* Multi-layer waves */
.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /* Fix for safari gap */
  min-height: 100px;
  max-height: 150px;
  /* filter: drop-shadow(0 -5px 15px rgba(0,0,0,0.05)); */
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

.bg-pattern-icons {
  position: relative;
  overflow: hidden;
}

.bg-pattern-icons::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232f6b3f' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 30V20h2v10h10v2H8v10H6V32H-4v-2h10zM30 0h10v2H30v10h-2V2H18V0h10v-10h2V0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.bg-pattern-edu-dark {
  position: relative;
  overflow: hidden;
  background-color: #2f6b3f; /* Changed to Green */
}

.bg-pattern-edu-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M10 10h4v4h-4v-4zm0 10h4v4h-4v-4zm10-10h4v4h-4v-4zm0 10h4v4h-4v-4zm10-10h4v4h-4v-4zm0 10h4v4h-4v-4zm10-10h4v4h-4v-4zm0 10h4v4h-4v-4zm10-10h4v4h-4v-4zm0 10h4v4h-4v-4zm10-10h4v4h-4v-4zm0 10h4v4h-4v-4z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   HEADER / NAVBAR - White bg matching ref
   ======================================== */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--primary-green);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 68px;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-green);
  letter-spacing: 1px;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-green);
  background: rgba(30, 70, 32, 0.06);
}

.nav-menu a.active {
  color: var(--primary-green);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px;
}

.nav-menu .dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu .dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* DROPDOWN STYLING */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f8f9fa;
  color: #0f2260;
}

/* SUBMENU (NESTED DROPDOWN) */
.has-submenu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #f1f5f9; /* Light background from image */
  min-width: 240px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.dropdown-menu li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-menu li:hover > a {
  background: #0f2260; /* Dark blue from reference image */
  color: white !important;
}

.submenu li a {
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #444;
}

.submenu li a:hover {
  background: #e2e8f0;
  color: #0f2260;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-dokumentasi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary-green);
  color: white;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 70, 32, 0.3);
}

.btn-dokumentasi:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 70, 32, 0.4);
}

.btn-lang {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-medium);
  border: 1px solid #e0e0e0;
}

.btn-lang:hover {
  background: var(--primary-green);
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--primary-green);
  font-size: 1.5rem;
  padding: 5px;
}

/* ========================================
   HERO SLIDER - Two banner cards style
   ======================================== */
.hero-section {
  background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green) 65%, var(--bg-white) 65%);
  padding: 30px 0 40px;
}

.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide-pair {
  display: flex;
  gap: 20px;
  min-width: 100%;
  padding: 0 10px;
}

.hero-banner {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  position: relative;
  aspect-ratio: 16/8;
  cursor: pointer;
  transition: var(--transition);
}

.hero-banner:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

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

.hero-banner-overlay {
  display: none; /* Removed as per user request for image-only */
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.hero-banner:hover img {
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c5c5d0;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots span.active {
  background: var(--primary-green);
  width: 32px;
  border-radius: 6px;
}

/* ========================================
   WELCOME / Selamat Datang Section
   ======================================== */
.welcome-section {
  padding: 50px 0 30px;
  background: var(--bg-white);
}

.welcome-section h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.welcome-section h2 em {
  font-style: italic;
}

.welcome-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.welcome-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--bg-white);
  border: 2px solid #e0e4eb;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.welcome-tab i {
  font-size: 1.1rem;
  color: var(--primary-green);
}

.welcome-tab:hover {
  border-color: var(--primary-green);
  background: rgba(30, 70, 32, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 70, 32, 0.1);
}

.welcome-tab.active {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: white;
}

.welcome-tab.active i {
  color: var(--accent-gold);
}

/* ========================================
   SAMBUTAN KEPALA SEKOLAH + VISI MISI
   ======================================== */
.sambutan-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.principal-card {
  position: relative;
}

.principal-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  aspect-ratio: 3/4;
}

.principal-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13, 42, 16, 0.9), transparent);
  pointer-events: none;
}

.principal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.principal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 1;
  color: white;
}

.principal-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.principal-info p {
  font-size: 0.88rem;
  opacity: 0.85;
}

.sambutan-content {
  padding-top: 5px;
}

.sambutan-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.sambutan-content > p {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}

.read-more-link {
  color: var(--primary-green);
  font-weight: 700;
}

.read-more-link:hover {
  text-decoration: underline;
}

.visi-title,
.misi-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 25px;
  margin-bottom: 10px;
}

/* ========================================
   INFO BOXES (4 Blue Stat Cards)
   ======================================== */
.info-boxes-section {
  padding: 10px 0 50px;
  background: var(--bg-white);
}

.info-boxes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-box {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(13, 42, 16, 0.15);
  padding: 30px 20px 25px;
  text-align: center;
  color: white;
  transition: var(--transition);
  cursor: pointer;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(13, 42, 16, 0.3);
}

.info-box-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.info-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
  padding: 50px 0;
}

.section-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
  color: var(--text-white);
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg-white);
  color: var(--text-dark);
}

.section-cream {
  background-color: #FFF6C0 !important;
  color: var(--text-dark);
}

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

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 28px;
  background: var(--accent-gold);
  border-radius: 3px;
}

.section-primary .section-title::before {
  background: var(--accent-gold);
}

/* Hide bar only for Testimonial as per user request */
#testimonial .section-title::before {
  display: none;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-green);
  padding: 8px 18px;
  border-radius: 25px;
  border: 2px solid var(--primary-green);
  background: transparent;
}

.view-all-btn:hover {
  background: var(--primary-green);
  color: white;
}

.section-primary .view-all-btn {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.section-primary .view-all-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* ========================================
   CARDS
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

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

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  background: rgba(240, 184, 40, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.card:hover .card-play {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.card-body {
  padding: 14px 16px;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dark);
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card in dark section */
.section-primary .card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-primary .card-title {
  color: var(--text-white);
}

.section-primary .card-meta {
  color: rgba(255, 255, 255, 0.5);
}

.section-primary .card-category {
  color: var(--accent-gold);
}

/* ========================================
   FEATURED LAYOUT
   ======================================== */
.featured-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}

.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main .featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: white;
}

.featured-main h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.featured-main p {
  font-size: 0.88rem;
  opacity: 0.8;
  margin-bottom: 10px;
}

.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.featured-item {
  display: flex;
  gap: 14px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.featured-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateX(5px);
}

.featured-item-thumb {
  width: 130px;
  min-width: 130px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.featured-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-item-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-item-body .meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ========================================
   CATEGORY TABS
   ======================================== */
.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(30, 70, 32, 0.08);
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover,
.category-tab.active {
  background: var(--primary-green);
  color: white;
}

.section-primary .category-tab {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.section-primary .category-tab:hover,
.section-primary .category-tab.active {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* ========================================
   STATISTICS
   ======================================== */
/* .stats-section removed as per user request for white background */
/* .stats-section {
  background: linear-gradient(135deg, #0f2260 0%, #1a3a8f 50%, #0f2260 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
} */

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 184, 40, 0.15), transparent 60%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 25px;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 5px;
  background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.92rem;
  opacity: 0.7;
  font-weight: 500;
}

/* ========================================
   PARTNERS
   ======================================== */
.partners-section {
  padding: 50px 0;
  background: var(--bg-white);
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 50px;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
  padding: 50px 0;
  text-align: center;
  color: white;
}

.newsletter-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter-section p {
  opacity: 0.75;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-weight: 700;
  border-radius: 30px;
  font-size: 0.92rem;
}

.newsletter-form button:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 60px 0 0;
}

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

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

.footer-about .footer-logo img {
  height: 40px;
}

.footer-about .footer-logo h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-about p {
  font-size: 0.85rem;
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  opacity: 0.65;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent-gold);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.5;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(240, 184, 40, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(240, 184, 40, 0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   DAFTAR GURU
   ======================================== */
.guru-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* REDESIGN GURU GAYA IMAGE */
#guru {
  padding: 80px 0;
  color: white;
}

#guru .section-header {
  margin-bottom: 50px;
  text-align: left;
}

#guru .section-title {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 5px;
}

#guru .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.guru-slider-container {
  position: relative;
  padding: 0 50px;
}

.guru-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 0;
}

.guru-item {
  text-align: left;
  max-width: none;
  position: relative;
}

.guru-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.guru-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.guru-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  background: var(--accent-gold);
  color: #000;
  padding: 6px 14px;
  border-radius: 4px 0 12px 0;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.guru-badge i {
  font-size: 0.8rem;
}

.guru-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

.guru-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(47, 107, 63, 0.9); /* Greenish dark */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.guru-nav-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

.guru-nav-btn.prev { left: -10px; }
.guru-nav-btn.next { right: -10px; }

/* FORCE LEFT ALIGNMENT FOR VIDEO SECTION */
#video .container {
  text-align: left !important;
}

#video .section-header {
  justify-content: flex-start !important;
  text-align: left !important;
}

#video .section-header > div {
  text-align: left !important;
}

/* FORCE CENTER ALIGNMENT FOR CREAM SECTIONS */
#testimonial .section-header,
.lokasi-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  justify-content: center !important;
}

#testimonial .section-header > div,
.lokasi-header > div {
  text-align: center !important;
  width: 100% !important;
}

.guru-pagination {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 2px;
}

/* ========================================
   FASILITAS REDESIGN
   ======================================== */
.fasilitas-section {
  position: relative;
  padding: 80px 0;
  color: white;
  overflow: hidden;
}

.fasilitas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.fasilitas-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.fasilitas-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 0;
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.fasilitas-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.fasilitas-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.fasilitas-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fasilitas-item:hover img {
  transform: scale(1.1);
}

.fasilitas-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ========================================
   VIDEO PILIHAN
   ======================================== */
.video-card .card-thumb {
  aspect-ratio: 16/9;
}

.card-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.video-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.video-card .meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ========================================
   TESTIMAL
   ======================================== */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  text-align: left;
  position: relative;
}

.testi-quote {
  font-size: 2rem;
  color: var(--accent-gold);
  opacity: 0.3;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-dark);
}

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

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

.testi-user h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.testi-user span {
  font-size: 0.8rem;
  color: #777;
}

/* ========================================
   LOKASI REDESIGN
   ======================================== */
.lokasi-section {
  padding: 80px 0;
  background: var(--bg-white);
  text-align: center;
}

.lokasi-header {
  margin-bottom: 45px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.lokasi-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.lokasi-header p {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.map-wrapper {
  background: white;
  padding: 15px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
  border-radius: var(--radius);
  display: block;
  filter: grayscale(0.2);
  transition: var(--transition);
}

.map-wrapper:hover iframe {
  filter: grayscale(0);
}

/* ========================================
   FLOATING BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 30px;
  border-radius: 50px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 35px;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.bottom-nav-item {
  color: #666;
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  cursor: pointer;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--primary-green);
  transform: translateY(-3px);
}

.bottom-nav-item.wa-item {
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 -10px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.bottom-nav-item.wa-item:hover {
  background: #128c7e;
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
  .bottom-nav {
    width: 95%;
    bottom: 20px;
    gap: 25px;
    padding: 10px 20px;
  }
  .bottom-nav-item {
    font-size: 1.2rem;
  }
  .bottom-nav-item.wa-item {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .featured-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-banner-overlay h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-top: 2px solid var(--bg-light);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 12px 16px;
    font-size: 1rem;
  }
  .menu-toggle {
    display: block;
  }
  .btn-dokumentasi {
    display: none;
  }
  .btn-lang {
    display: none;
  }
  .hero-slide-pair {
    flex-direction: column;
  }
  .hero-banner {
    aspect-ratio: 16/8;
  }
  .card-grid,
  .card-grid-3,
  .card-grid-5,
  .fasilitas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .section {
    padding: 35px 0;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .welcome-section h2 {
    font-size: 1.4rem;
  }
  .welcome-tabs {
    gap: 8px;
  }
  .welcome-tab {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .sambutan-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .principal-card {
    max-width: 320px;
  }
  .info-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .card-grid,
  .card-grid-3,
  .card-grid-5,
  .fasilitas-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-item {
    flex-direction: column;
  }
  .featured-item-thumb {
    width: 100%;
    height: 150px;
  }
}

/* VISI MISI REDESIGN STYLES */
.visi-misi-banner {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1600&h=400&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

.visi-misi-banner h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.visi-misi-banner p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Visi Card */
.visi-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-alt {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f2260;
  margin-bottom: 30px;
  text-align: center;
}

/* Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mission-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #ffce3d; /* Yellow from image */
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}

.mission-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  font-weight: 500;
}

.mission-single {
  max-width: 535px;
  margin: 0 auto 60px auto;
}

/* Category Tiles */
.category-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.category-tile {
  position: relative;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.1);
}

.category-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 34, 96, 0.4); /* Branded blue overlay */
  transition: background 0.3s;
}

.category-tile:hover::after {
  background: rgba(15, 34, 96, 0.5);
}

.category-tile h3 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Share Bar */
.share-section {
  max-width: 1100px;
  margin: 0 auto 50px auto;
}

.share-section h4 {
  margin-bottom: 15px;
  font-weight: 700;
}

.share-bar {
  display: flex;
  gap: 2px;
  border-radius: 6px;
  overflow: hidden;
}

.share-btn {
  flex: 1;
  padding: 12px;
  color: white;
  text-align: center;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}

.share-btn:hover {
  opacity: 0.9;
}

.share-fb { background: #3b5998; }
.share-email { background: #cd201f; }
.share-tg { background: #0088cc; }
.share-wa { background: #25d366; }
.share-x { background: #000000; }

/* Comments Section */
.comments-section {
  background: #fdfdfd;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eee;
  max-width: 1100px;
  margin: 0 auto 100px auto;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-body {
  flex: 1;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.comment-author h5 {
  margin: 0;
  font-weight: 700;
}

.comment-author span {
  font-size: 0.8rem;
  color: #888;
}

.comment-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.comment-reply-btn {
  color: #0f2260;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.comment-child {
  margin-left: 70px;
  border-left: 2px solid #eee;
  padding-left: 20px;
  margin-top: -10px;
  margin-bottom: 30px;
}

.add-comment-form {
  margin-top: 40px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.add-comment-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #666;
}

/* Footer Branded */
.footer-title-alt {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.footer-nav-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-nav-col ul li {
  margin-bottom: 10px;
}

.footer-nav-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav-col ul li a:hover {
  color: #ffce3d;
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* PRESTASI (ACHIEVEMENTS) PAGE STYLES */
.achievement-section {
  padding: 80px 0;
  background: white;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.achievement-card {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.achievement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievement-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
  color: white;
  transition: background 0.3s;
}

.achievement-card:hover .achievement-overlay {
  background: linear-gradient(to top, rgba(15, 34, 96, 0.95), rgba(15, 34, 96, 0.7), transparent);
}

.achievement-overlay h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.achv-footer-action {
  text-align: center;
  margin-top: 50px;
}

.achv-btn-more {
  display: inline-block;
  padding: 12px 35px;
  background: #0f2260; /* Branded dark blue from image */
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0f2260;
}

.achv-btn-more:hover {
  background: white;
  color: #0f2260;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .achievement-grid {
    grid-template-columns: 1fr;
  }
  .achievement-card {
    height: 220px;
  }
}

/* 5 Column Grid for Teachers */
@media (min-width: 1025px) {
  .grid-5-col {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
