/* ============================================
   BCI-SD School Website - Main Stylesheet
   Matching Eduka Theme Reference (v1.5.1)
   ============================================ */

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

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

:root {
  /* Eduka Theme Colors */
  --primary-color: #ffb100;
  --primary-hover: #e69f00;
  --secondary-color: #00674f;
  --dark-color: #002d24;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #777777;
  --text-white: #ffffff;
  
  /* Legacy compatibility */
  --primary-green: var(--secondary-color);
  --primary-dark: var(--dark-color);
  --accent-gold: var(--primary-color);
  --accent-gold-dark: #d4a017;
  
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Inter', 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: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER & TOP BAR
   ======================================== */
.top-bar {
  background: var(--secondary-color);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-left a,
.top-bar-left span {
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

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

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: var(--text-white);
  opacity: 0.7;
  font-size: 0.9rem;
}

.top-bar-social a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  height: 90px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky Header Styles */
.header-sticky {
  height: 70px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

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

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

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

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

.nav-menu > a, 
.nav-menu .dropdown > a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu > a:hover,
.nav-menu > a.active,
.nav-menu .dropdown:hover > a {
  color: var(--primary-color);
  background: rgba(255, 177, 0, 0.05);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  padding: 15px 0;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 2000;
  border-top: 3px solid var(--primary-color);
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: rgba(0, 45, 36, 0.04);
  color: var(--secondary-color);
  padding-left: 30px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 1000;
}

.search-trigger {
  font-size: 1.1rem;
  color: var(--text-dark);
  cursor: pointer;
}

.btn-apply {
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(255, 177, 0, 0.3);
  transition: var(--transition);
}

.btn-apply:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 45, 36, 0.3);
}

.search-trigger:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
}

/* ========================================
   MOBILE NAVBAR (RESPONSIVE)
   ======================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 45, 36, 0.4);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .header {
    height: 80px;
  }

  .nav-menu {
    display: flex;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    z-index: 99999;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,0.3);
}

  .nav-menu.active {
    right: 0 !important;
    visibility: visible !important;
    display: flex !important;
  }

  .nav-menu > a, 
  .nav-menu .dropdown {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu > a,
  .nav-menu .dropdown > a {
    padding: 15px 0;
    font-size: 1.1rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu > a:hover,
  .nav-menu > a.active {
    background: transparent;
  }

  /* Mobile Dropdown (Accordion) */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0 0 15px 20px;
    min-width: 100%;
    border-top: none;
    background: #fafafa;
    border-radius: 0;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    display: none; /* Disable hover on mobile */
  }
  
  .dropdown.active:hover .dropdown-menu {
    display: block;
  }

  .menu-toggle {
    display: flex !important;
    width: 45px;
    height: 45px;
    background: rgba(0, 103, 79, 0.05);
    color: var(--secondary-color);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
  }

  .menu-toggle:hover {
    background: var(--secondary-color);
    color: white;
  }

  .top-bar {
    display: none; /* Hide top bar on mobile */
  }
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  height: 750px;
  overflow: hidden;
  background: var(--dark-color);
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-white);
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 33, 28, 0.9) 0%, rgba(0, 33, 28, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.hero-slider-track .hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-tagline {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 177, 0, 0.2);
  border-left: 3px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h1, 
.hero-content .h1-style {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 35px;
}

.hero-content h1 span,
.hero-content .h1-style span {
  color: var(--primary-color);
}


.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
}

.slider-btn.prev { left: 40px; }
.slider-btn.next { right: 40px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

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

.hero-dots span.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

/* ========================================
   FEATURE CARDS (Overlapping Hero)
   ======================================== */
.features-section {
  position: relative;
  margin-top: -100px;
  z-index: 5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card::after {
  content: attr(data-number);
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,0,0,0.03);
  line-height: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  transition: var(--transition);
}

.feature-card:hover .stats-section {
  padding: 120px 0;
  background: var(--secondary-color);
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========================================
   ABOUT US SECTION
   ======================================== */
.about-section {
  padding: 80px 0;
  background: white;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 500px;
}

.about-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-main-img {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  border: 10px solid white;
}

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

.about-main-img:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 35px;
}

.about-content .sambutan-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  position: relative;
  padding-left: 30px;
  border-left: 4px solid var(--primary-color);
}

/* Visi Misi Section */
.visi-misi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .visi-misi-grid {
    grid-template-columns: 1fr;
  }
}

.visi-misi-card {
  background: #f8fcfb;
  padding: 35px;
  border-radius: 20px;
  transition: var(--transition);
}

.visi-misi-card:hover {
  transform: translateY(-10px);
  background: white;
  box-shadow: 0 20px 40px rgba(0, 45, 36, 0.08);
}

.visi-misi-card h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.misi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.misi-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #555;
  align-items: flex-start;
}

.misi-list li i {
  color: var(--primary-color);
  margin-top: 5px;
  font-size: 0.9rem;
}

.about-content span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
}

.about-content h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 35px;
}

.about-content p {
  color: var(--text-medium);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.about-list {
  margin-bottom: 40px;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.about-list-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumb-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: -50px;
  position: relative;
  z-index: 100;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.breadcrumb a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.breadcrumb i {
  font-size: 0.7rem;
  opacity: 0.5;
}

.breadcrumb span.active {
  color: var(--primary-color);
  opacity: 1;
}

/* ========================================
   STATS BAR (Teal)
   ======================================== */
.stats-section {
  background: var(--bg-light);
  padding: 80px 0;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

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

.stat-item {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  padding: 60px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 45, 36, 0.2);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(255,255,255,0.05);
}

.stat-item::after {
  content: '\f5da';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  transform: rotate(-15deg);
}

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

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: center;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: white;
  background: none;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: var(--transition);
  opacity: 0.9;
}

.stat-item:hover .stat-icon {
  opacity: 1;
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 5px;
  color: white;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.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: 80px 0 40px;
  background: var(--bg-white);
}

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

.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: 20px;
}

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

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

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

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

/* ========================================
   INFO BOXES (4 Blue Stat Cards)
   ======================================== */
.info-boxes-section {
  padding: 40px 0 100px;
  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;
}

/* ========================================
   COURSE / PROGRAM CARDS
   ======================================== */
.courses-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 45px;
  text-align: left;
}

.section-title-text {
  display: flex;
  flex-direction: column;
}

.section-title-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.2;
}

.section-title-wrapper span {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: normal;
}

.section-header-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
  padding-bottom: 5px;
}

.section-header-link:hover {
  color: var(--primary-color);
  gap: 12px;
}

.section-header-link i {
  font-size: 0.8rem;
}

/* Adjustments for dark sections */
.section-primary .section-title-wrapper h2 {
  color: white;
}

.section-primary .section-title-wrapper span {
  color: rgba(255,255,255,0.7);
}

.section-primary .section-header-link {
  color: white;
}

@media (max-width: 768px) {
  .section-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

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

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

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

.course-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.course-card:hover .course-img img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-body {
  padding: 30px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.course-rating {
  color: #ffb100;
}

.course-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.course-footer {
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-lessons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.course-price {
  font-weight: 800;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* Premium Card Refactor */
.course-card-premium {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 45, 36, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 103, 79, 0.05);
}

.course-card-premium:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 103, 79, 0.12);
  border-color: rgba(0, 103, 79, 0.1);
}

.course-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.course-card-premium:hover .course-image img {
  transform: scale(1.1) rotate(1deg);
}

.course-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ffce3d;
  color: #1a2a4e;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 206, 61, 0.3);
}

.admin-edit-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  z-index: 10;
}

.admin-edit-badge:hover {
  background: var(--secondary-color);
  color: white;
  transform: rotate(15deg);
}

.course-details {
  padding: 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.instructor-avatar {
  background: rgba(0, 103, 79, 0.1);
  color: var(--secondary-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.course-instructor span {
  font-size: 0.85rem;
  color: #777;
  font-weight: 600;
}

.course-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2a4e;
  margin-bottom: 0;
  line-height: 1.25;
}

.course-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-info-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

.info-item i {
  color: var(--secondary-color);
}

.course-link {
  margin-top: auto;
  font-weight: 800;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.course-link:hover {
  gap: 12px;
  color: var(--primary-color);
}
/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--dark-color);
  color: white;
  padding: 120px 0 0;
}

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

.footer-logo img {
  height: 60px;
  margin-bottom: 25px;
}

.footer-about p {
  opacity: 0.7;
  line-height: 1.8;
  margin-bottom: 30px;
}

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

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

.footer-social a:hover {
  background: var(--primary-color);
  color: var(--text-dark);
}

.footer-column h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 35px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contact-text p {
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-contact-text h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

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

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

.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;
}

.section-footer {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  padding: 14px 40px;
  border-radius: 50px;
  border: 2px solid var(--secondary-color);
  background: transparent;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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;
  height: 100%;
}

.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;
  color: #222222;
}

.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;
}

/* ========================================
   VISI MISI REDESIGN
   ======================================== */
.visi-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.visi-card-premium {
  background: white;
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(26, 42, 78, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 42, 78, 0.05);
  text-align: center;
}

.visi-card-premium::before {
  content: '\f19d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 12rem;
  color: rgba(26, 42, 78, 0.03);
  transform: rotate(-15deg);
  pointer-events: none;
}

.visi-tag {
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 25px;
}

.visi-text-premium {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.5;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.misi-container {
  padding: 100px 0;
}

.misi-card-premium {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border-left: 6px solid var(--primary-dark);
  transition: var(--transition);
  height: 100%;
}

.misi-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-left-color: var(--accent-gold);
}

.misi-number-premium {
  width: 50px;
  height: 50px;
  background: var(--primary-dark);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 25px;
  transition: var(--transition);
}

.misi-card-premium:hover .misi-number-premium {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: rotate(10deg);
}

.misi-text-premium {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 768px) {
  .visi-card-premium { padding: 40px 20px; }
  .visi-text-premium { font-size: 1.4rem; }
}

.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 .welcome-header {
  margin-bottom: 60px;
}

#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);
}

/* ========================================
   RESPONSIVENESS
   ======================================== */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: 3.5rem; }
  .about-grid { gap: 40px; }
}

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 400px; margin-bottom: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header { height: 70px; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .hero-section { height: 600px; text-align: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-btns { justify-content: center; }
  .hero-tagline { font-size: 0.8rem; }
  .top-bar { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.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%;
  background: var(--secondary-color);
  z-index: -1;
  overflow: hidden;
}

.ripple-background {
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 20px rgba(255,255,255,0.05);
}

.small { width: 220px; height: 220px; left: -110px; bottom: -110px; }
.medium { width: 440px; height: 440px; left: -220px; bottom: -220px; }
.large { width: 660px; height: 660px; left: -330px; bottom: -330px; }
.xlarge { width: 880px; height: 880px; left: -440px; bottom: -440px; }
.xxlarge { width: 1100px; height: 1100px; left: -550px; bottom: -550px; }

.shade1 { opacity: 0.05; }
.shade2 { opacity: 0.1; }
.shade3 { opacity: 0.15; }
.shade4 { opacity: 0.2; }
.shade5 { opacity: 0.25; }

@keyframes ripple {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(0.8); }
}

.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: 160px;
  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, .card-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .top-bar {
    display: none;
  }
  .header {
    height: 70px;
  }
  .header .container {
    height: 70px;
  }
  .logo img {
    height: 42px;
  }
  .logo-title {
    font-size: 1.1rem;
    max-width: 140px;
  }
  
  /* Glassmorphism Mobile Menu */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 8px;
    box-shadow: none;
    z-index: 2000;
    border-top: 1px solid rgba(0,0,0,0.05);
    overflow-y: auto;
    transition: all 0.4s ease;
  }
  
  .nav-menu.active, .nav-menu.open {
    display: flex;
  }
  
  .nav-menu a, .nav-menu .dropdown > a {
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.03);
    width: 100%;
    margin-bottom: 2px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-menu a.active, .nav-menu .dropdown.active > a {
    background: var(--secondary-color);
    color: white;
  }
  
  .nav-menu .dropdown-menu {
    position: static;
    display: none;
    background: rgba(0, 0, 0, 0.02);
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 15px;
    padding: 10px 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
  }
  
  .nav-menu .dropdown.active .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  
  .nav-menu .dropdown-menu li a {
    padding: 12px 30px;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: none;
    color: var(--text-medium);
  }
  
  .nav-menu .dropdown-menu li a:hover {
    color: var(--secondary-color);
    padding-left: 35px;
  }

  .menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Hero Slider Mobile */
  .hero-slide-pair {
    flex-direction: column;
    gap: 15px;
  }
  .hero-banner {
    aspect-ratio: 16/9;
    border-radius: 15px;
  }
  .hero-slider {
    padding: 20px 0 30px;
  }

  /* Grid Fixes */
  .card-grid, .card-grid-3, .card-grid-5, .fasilitas-grid, .info-boxes-grid, .stats-grid, .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }

  /* Section Spacing */
  .section, .about-section, .courses-section, .features-section {
    padding: 50px 0;
  }
  
  .section-title, .about-content h2, .section-title-wrapper h2 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .section-title-wrapper {
    margin-bottom: 35px;
  }

  /* Sambutan Mobile */
  .sambutan-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .principal-card {
    max-width: 280px;
    margin: 0 auto;
  }
  .principal-photo {
    aspect-ratio: 4/5;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-logo, .footer-social, .footer-contact-item {
    justify-content: center;
  }
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card-grid, .card-grid-3, .card-grid-5, .fasilitas-grid, .info-boxes-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .logo-text h1 {
    font-size: 1rem;
  }
  .welcome-tab {
    flex: 1 1 100%;
  }
  .featured-item {
    flex-direction: column;
  }
  .featured-item-thumb {
    width: 100%;
    height: 180px;
  }
}

/* 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;
  }
  .menu-toggle {
    display: none !important;
  }
}

/* ========================================
   WAVE ANIMATIONS (PARALLAX)
   ======================================== */
.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.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;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}

/* ========================================
   DONATION PAGE CUSTOM STYLES
   ======================================== */
:root {
    --primary-green: #2F6B3F;
    --primary-dark: #1E4620;
    --primary-light: #7FB77E;
    --accent-gold: #F7C85C;
    --background-soft: #F7FBF2;
    --surface-variant: #DDE5DA;
    --on-surface-variant: #414941;
    --outline: #717970;
    --glass-bg: rgba(255, 255, 255, 0.7);
}

.font-jakarta {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-mesh {
    background-color: var(--primary-green) !important;
    background-image: 
        radial-gradient(at 0% 0%, hsla(136, 39%, 25%, 1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(136, 39%, 35%, 1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(136, 39%, 20%, 1) 0, transparent 50%) !important;
}

.pattern-overlay {
    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='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.card-shadow {
    box-shadow: 0 4px 20px -2px rgba(47, 107, 63, 0.1), 0 2px 10px -2px rgba(47, 107, 63, 0.05);
}

@media (min-width: 1024px) {
    .sticky-container {
        position: sticky;
        top: 100px;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

select {
    background-image: none !important;
}
