/* ==============================================================================
   SMA MEDANGGILI CIRUAS - MODERN SOFT 3D (CLAYMORPHISM & GLASSMORPHISM)
   Author: Senior Full Stack UI/UX Engineer
   Colors: Sage Green, Soft White, Light Cream, Pastel Green, Gold Accent
============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --primary: #4A6B5B;
  --primary-light: #5E8A75;
  --primary-dark: #324B3F;
  --primary-gradient: linear-gradient(135deg, #5E8A75 0%, #4A6B5B 100%);
  
  --gold: #D4AF37;
  --gold-light: #FBE696;
  --gold-gradient: linear-gradient(135deg, #F3D063 0%, #D4AF37 100%);
  
  --bg-page: #F7FAF8;
  --bg-card: #FFFFFF;
  --bg-soft: #EBF3EF;
  --bg-pastel: #DEEBE4;
  
  --text-main: #20332A;
  --text-muted: #5F756B;
  --text-light: #8E9F97;
  
  --border-light: rgba(74, 107, 91, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  
  /* Soft 3D & Claymorphism Shadows */
  --clay-shadow: 10px 14px 28px rgba(50, 75, 63, 0.07), -8px -8px 24px rgba(255, 255, 255, 0.95);
  --clay-shadow-hover: 14px 20px 36px rgba(50, 75, 63, 0.12), -10px -10px 28px rgba(255, 255, 255, 1);
  --clay-shadow-inset: inset 3px 3px 6px rgba(0, 0, 0, 0.05), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 10px 30px rgba(50, 75, 63, 0.08);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -----------------------------------------------------------------------------
   1. RESET & BASE TYPOGRAPHY
----------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.3;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -----------------------------------------------------------------------------
   2. SOFT 3D & CLAY UTILITIES (BUTTONS & CLICK ANIMATIONS)
----------------------------------------------------------------------------- */
.clay-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--border-light);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.clay-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--clay-shadow-hover);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

.badge-clay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 2px 4px 10px rgba(50, 75, 63, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transition: all 0.22s ease;
}

.badge-sage {
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid rgba(74, 107, 91, 0.2);
}

.badge-gold {
  background: #FFF9E6;
  color: #B45309;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Base Soft 3D Clay Button */
.btn-clay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px; /* Pillow 3D soft */
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Hover Lift */
.btn-clay:hover {
  transform: translateY(-3px);
}

/* Tactile 3D Click / Press Animation */
.btn-clay:active,
.btn-clay.clay-pressed {
  transform: scale(0.93) translateY(3px) !important;
  transition: all 0.1s ease !important;
}

/* Clay Primary (Sage Green 3D Pill) */
.btn-clay-primary {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(74, 107, 91, 0.32), inset 0 1.5px 2px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.btn-clay-primary:hover {
  background: linear-gradient(135deg, #58806c 0%, #3e5d4e 100%);
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px rgba(74, 107, 91, 0.42), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
}

.btn-clay-primary:active,
.btn-clay-primary.clay-pressed {
  box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.25), inset -2px -2px 5px rgba(255, 255, 255, 0.4) !important;
}

/* Clay Secondary (Soft White 3D Pill) */
.btn-clay-secondary {
  background: #FFFFFF;
  color: var(--primary) !important;
  border-color: rgba(74, 107, 91, 0.15);
  box-shadow: 4px 6px 16px rgba(50, 75, 63, 0.08), -3px -3px 10px #FFFFFF, inset 0 1px 2px #FFFFFF;
}

.btn-clay-secondary:hover {
  background: var(--bg-soft);
  color: var(--primary-dark) !important;
  border-color: var(--primary);
  box-shadow: 6px 10px 22px rgba(50, 75, 63, 0.12), -4px -4px 12px #FFFFFF;
}

.btn-clay-secondary:active,
.btn-clay-secondary.clay-pressed {
  box-shadow: inset 2px 3px 6px rgba(50, 75, 63, 0.16), inset -2px -2px 5px rgba(255, 255, 255, 0.8) !important;
}

/* Clay Gold (Warm Gold 3D Pill) */
.btn-clay-gold {
  background: var(--gold-gradient);
  color: #523c00 !important;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.38), inset 0 1.5px 2px rgba(255, 255, 255, 0.65), inset 0 -2px 4px rgba(0, 0, 0, 0.12);
}

.btn-clay-gold:hover {
  background: linear-gradient(135deg, #f7d671 0%, #caa125 100%);
  color: #443200 !important;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.48), inset 0 1.5px 2px rgba(255, 255, 255, 0.75);
}

.btn-clay-gold:active,
.btn-clay-gold.clay-pressed {
  box-shadow: inset 2px 3px 6px rgba(90, 65, 0, 0.28), inset -2px -2px 5px rgba(255, 255, 255, 0.5) !important;
}

/* Soft 3D Click Radiating Ripple */
.clay-click-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  animation: clayRippleAnim 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes clayRippleAnim {
  0% {
    transform: scale(0.1);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* -----------------------------------------------------------------------------
   3. TOPBAR & TICKER
----------------------------------------------------------------------------- */
.topbar {
  background: #364E42;
  color: #E2ECE6;
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-info i {
  color: var(--gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social a {
  color: #D2E3DB;
  font-size: 0.9rem;
  transition: var(--transition);
}

.topbar-social a:hover {
  color: var(--gold);
  transform: scale(1.15);
}

/* Running Ticker */
.ticker-bar {
  background: #EBF3EF;
  border-bottom: 1px solid rgba(74, 107, 91, 0.15);
  padding: 8px 0;
  font-size: 0.85rem;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-scroll {
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.ticker-scroll span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
  color: var(--text-main);
  font-weight: 500;
}

.ticker-scroll:hover span {
  animation-play-state: paused;
}

@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* -----------------------------------------------------------------------------
   4. NAVIGATION NAVBAR (MODERN SOFT 3D & CLAYMORPHISM)
----------------------------------------------------------------------------- */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(74, 107, 91, 0.12);
  box-shadow: 0 4px 24px rgba(50, 75, 63, 0.06);
  transition: var(--transition);
}

.navbar-sticky.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(40, 65, 52, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
  transition: transform 0.2s ease;
}

.brand-wrapper:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(50, 75, 63, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-title,
.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
  margin: 0;
  white-space: nowrap;
}

.brand-subtitle,
.brand-text span {
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.4px;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  text-transform: none;
}

/* Soft 3D Capsule Wrapper for Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  background: rgba(243, 247, 244, 0.88);
  padding: 5px 8px;
  border-radius: 50px;
  border: 1px solid rgba(74, 107, 91, 0.12);
  box-shadow: inset 1px 2px 4px rgba(50, 75, 63, 0.05), inset -1px -1px 3px rgba(255, 255, 255, 0.95);
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  list-style: none;
}

/* Individual 3D Soft Menu Button */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.nav-chevron {
  font-size: 0.68rem;
  margin-left: 2px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.has-dropdown:hover .nav-chevron,
.has-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Soft 3D Frosted Glass Dropdown Menu (Strict Auto-Hide & Hover Reveal) */
.nav-dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 10px 8px;
  border: 1.5px solid rgba(74, 107, 91, 0.14);
  box-shadow: 0 16px 36px rgba(50, 75, 63, 0.14), -4px -4px 12px #FFFFFF, inset 0 1px 2px #FFFFFF;
  margin-top: 6px;
  z-index: 1050;
  pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't break when moving into dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

/* Auto-Hide: Appears only when cursor is placed on parent menu */
.has-dropdown:hover > .nav-dropdown,
.has-dropdown.is-open > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown {
  display: block !important;
  pointer-events: auto;
  animation: dropdownFadeSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.nav-dropdown-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.nav-dropdown-item {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-dropdown-link .nav-sub-icon {
  font-size: 0.72rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.nav-dropdown-link:hover {
  background: #F3F7F4;
  color: var(--primary-dark);
  border-color: rgba(74, 107, 91, 0.15);
  box-shadow: 2px 4px 10px rgba(50, 75, 63, 0.05), inset 0 1px 1px #fff;
  transform: translateX(4px);
}

.nav-dropdown-link:hover .nav-sub-icon {
  transform: translateX(3px);
  color: var(--gold);
}

.nav-dropdown-link.active {
  background: var(--primary-gradient);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(74, 107, 91, 0.25);
}

.nav-dropdown-link.active .nav-sub-icon {
  color: var(--gold);
}

/* Hover: Soft 3D Elevation */
.nav-link:hover {
  color: var(--primary-dark);
  background: #FFFFFF;
  border-color: rgba(74, 107, 91, 0.18);
  box-shadow: 2px 5px 12px rgba(50, 75, 63, 0.08), -2px -2px 6px #FFFFFF, inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Active Page Menu: Soft 3D Sage Green Pill */
.nav-link.active {
  color: #FFFFFF !important;
  background: var(--primary-gradient);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(74, 107, 91, 0.35), inset 0 1.5px 1.5px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Click / Tactile Press Animation */
.nav-link:active,
.nav-link.clay-pressed {
  transform: scale(0.92) translateY(2px) !important;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.18), inset -2px -2px 4px rgba(255, 255, 255, 0.6) !important;
  transition: all 0.1s ease !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-header-spmb {
  padding: 9px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-login-header {
  padding: 9px 15px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Mobile Toggle 3D Soft */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid rgba(74, 107, 91, 0.15);
  border-radius: 12px;
  font-size: 1.25rem;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 4px 10px rgba(50, 75, 63, 0.08), -2px -2px 6px #FFFFFF;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 3px 6px 14px rgba(50, 75, 63, 0.12), -2px -2px 8px #FFFFFF;
}

.mobile-toggle:active,
.mobile-toggle.clay-pressed {
  transform: scale(0.92) translateY(2px) !important;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15) !important;
}

/* -----------------------------------------------------------------------------
   5. HERO SECTION (PANORAMIC WIDE BANNER - SOFT 3D)
----------------------------------------------------------------------------- */
.hero-panoramic-section {
  position: relative;
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #EDF4F0 0%, #F6FAF7 100%);
  overflow: hidden;
}

.hero-banner-card {
  position: relative;
  max-width: 1360px;
  min-height: 520px;
  margin: 0 auto;
  border-radius: 28px;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 20px 48px rgba(35, 60, 48, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
  transition: all 0.4s ease;
}

.hero-banner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-banner-content {
  max-width: 680px;
  padding: 0 24px;
}

.badge-hero-gold {
  background: rgba(255, 249, 230, 0.96);
  color: #8C5B00;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-banner-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 16px 0 18px;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.hero-banner-subtitle {
  font-size: 1.15rem;
  color: #E6F0EB;
  margin-bottom: 30px;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Slider Arrow Navigation Buttons */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-slider-arrow:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active,
.hero-dot:hover {
  background: var(--gold);
  width: 28px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* Legacy Hero Fallback */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #F0F6F2 0%, #F7FAF8 100%);
  overflow: hidden;
}

.hero-shape-bg {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(94, 138, 117, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 15px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin: 16px 0;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-img-box {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--clay-shadow-hover);
  border: 3px solid #FFFFFF;
}

/* -----------------------------------------------------------------------------
   6. STATS COUNTER BAR (SOFT 3D)
----------------------------------------------------------------------------- */
.stats-section {
  margin-top: -45px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 24px;
  text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--clay-shadow-hover);
}

.stat-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(74, 107, 91, 0.12);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   7. SECTIONS & HEADINGS
----------------------------------------------------------------------------- */
.section-padding {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 12px 0;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Sambutan Kepala Sekolah */
.kepsek-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.kepsek-photo-box {
  background: var(--bg-soft);
  padding: 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  text-align: center;
}

.kepsek-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.kepsek-content {
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--border-light);
}

.kepsek-quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}

/* News Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-thumb-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(45, 70, 58, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.news-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-title a {
  color: var(--text-main);
}

.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

/* Teachers Card */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.teacher-card {
  padding: 24px;
  text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--clay-shadow-hover);
}

.teacher-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--bg-soft);
  box-shadow: 0 6px 14px rgba(74, 107, 91, 0.15);
}

.teacher-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.teacher-pos {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.teacher-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   8. FOOTER
----------------------------------------------------------------------------- */
.site-footer {
  background: #25392F;
  color: #D3E2DB;
  padding: 70px 0 25px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #C0D6CC;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #C0D6CC;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: #9AB2A6;
}

/* Floating WhatsApp Button */
.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.float-wa:hover {
  transform: scale(1.1) translateY(-3px);
  color: #FFFFFF;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 35px;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  color: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--clay-shadow);
  border: 1px solid var(--border-light);
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* Form Controls (Clay Style) */
.form-clay {
  width: 100%;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1.5px solid rgba(74, 107, 91, 0.2);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.form-clay:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 107, 91, 0.15);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

/* Layout Grids */
.ekskul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.prestasi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Frontend Data Tables (Modern Soft 3D Responsive) */
.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid rgba(74, 107, 91, 0.12);
  background: #FFFFFF;
  box-shadow: var(--clay-shadow);
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: #F4F8F5;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 2px solid rgba(74, 107, 91, 0.16);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(74, 107, 91, 0.08);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background-color: #FAFDFB;
}

