/* ═══════════════════════════════════════════════════════════════════════════════
   SMAN 1 Banjar - Ultra Premium Design System v2.0
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
  /* Primary Colors - Deep Blue Palette */
  --color-primary-900: #001229;
  --color-primary-800: #001D3B;
  --color-primary-700: #002952;
  --color-primary-600: #003B7A;
  --color-primary-500: #0052B3;
  --color-primary-400: #1975CC;
  --color-primary-300: #4A9BE5;
  
  /* Accent Colors - Gold/Yellow */
  --color-accent-yellow: #F4D03F;
  --color-accent-gold: #D4AF37;
  --color-accent-amber: #F59E0B;
  
  /* Secondary Colors */
  --color-teal: #208D8D;
  --color-teal-light: #2DD4BF;
  --color-purple: #8B5CF6;
  --color-pink: #EC4899;
  
  /* Neutral Colors */
  --color-gray-950: #030712;
  --color-gray-900: #0F172A;
  --color-gray-800: #1E293B;
  --color-gray-700: #334155;
  --color-gray-600: #475569;
  --color-gray-500: #64748B;
  --color-gray-400: #94A3B8;
  --color-gray-300: #CBD5E1;
  --color-gray-200: #E2E8F0;
  --color-gray-100: #F1F5F9;
  
  /* Spacing System */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows - Premium Depth */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 40px rgba(0, 82, 179, 0.3);
  --shadow-gold-glow: 0 0 40px rgba(244, 208, 63, 0.4);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   2. KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-20px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(244, 208, 63, 0.4); }
  50% { box-shadow: 0 0 40px rgba(244, 208, 63, 0.8); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.5); }
  50% { text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 60px rgba(244,208,63,0.5); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(244, 208, 63, 0.3); }
  50% { border-color: rgba(244, 208, 63, 0.8); }
}

@keyframes backgroundPan {
  from { background-position: 0% center; }
  to { background-position: -200% center; }
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
  75% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. BASE STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--color-gray-900);
  background: linear-gradient(135deg, #E6F2FB 0%, #F8FAFC 30%, #E6F2FB 60%, #F0F7FF 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Premium Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 59, 122, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(244, 208, 63, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(32, 141, 141, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Selection Styling */
::selection {
  background: var(--color-primary-400);
  color: white;
}

::-moz-selection {
  background: var(--color-primary-400);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  font-size: 1.05rem;
  color: var(--color-gray-600);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #003B7A 0%, #F4D03F 50%, #208D8D 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, #ffffff 0%, #F4D03F 50%, #ffffff 100%);
  background-size: 2000px 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   5. CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ═══════════════════════════════════════════════════════════════════════════════
   6. NAVBAR (Basic Fallback)
   ═══════════════════════════════════════════════════════════════════════════════ */
.navbar {
  background: rgba(0, 59, 122, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 59, 122, 0.25);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-nav {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.navbar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-base);
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-yellow);
  transition: width var(--transition-base);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-nav a:hover {
  color: var(--color-accent-yellow);
}

/* Dropdown */
.navbar-nav .dropdown {
  position: relative;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(0, 59, 122, 0.98), rgba(0, 41, 82, 0.98));
  backdrop-filter: blur(20px);
  min-width: 250px;
  border-radius: var(--radius-xl);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-nav .dropdown-menu a {
  padding: 0.75rem 1.5rem;
  display: block;
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.navbar-nav .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--color-accent-yellow);
  padding-left: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   7. HERO SECTION - Ultra Premium
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-900) 50%, #0a0f1a 100%);
  color: white;
  padding: 8rem 0 6rem;
  text-align: center;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Animated Gradient Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(244, 208, 63, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 82, 179, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(32, 141, 141, 0.1) 0%, transparent 40%);
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

/* Floating Particles */
.hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 200px 150px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 300px 250px, rgba(244,208,63,0.4), transparent),
    radial-gradient(2px 2px at 400px 100px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 500px 200px, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 600px 300px, rgba(244,208,63,0.3), transparent),
    radial-gradient(3px 3px at 150px 300px, rgba(255,255,255,0.2), transparent),
    radial-gradient(3px 3px at 350px 400px, rgba(244,208,63,0.2), transparent),
    radial-gradient(2px 2px at 450px 350px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 550px 450px, rgba(255,255,255,0.2), transparent);
  animation: floatSlow 20s ease-in-out infinite;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeInUp 1s ease-out;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #F4D03F 40%, #ffffff 80%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: backgroundPan 8s linear infinite;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 650px;
  margin: 0 auto var(--spacing-2xl);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Decorative Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: morphBlob 15s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(244, 208, 63, 0.15);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 82, 179, 0.2);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   8. BUTTONS - Premium Style
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-spring);
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-yellow) 0%, var(--color-accent-gold) 100%);
  color: var(--color-primary-900);
  box-shadow: 0 4px 20px rgba(244, 208, 63, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(244, 208, 63, 0.5);
}

.btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-700);
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: white;
  box-shadow: 0 4px 20px rgba(0, 59, 122, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 59, 122, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   9. CARDS - Ultra Glassmorphism
   ═══════════════════════════════════════════════════════════════════════════════ */
.card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 8px 32px rgba(31, 38, 135, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-yellow), var(--color-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0, 59, 122, 0.2),
    0 10px 20px rgba(31, 38, 135, 0.1);
  border-color: rgba(244, 208, 63, 0.3);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-700);
  font-weight: 700;
}

.card img {
  transition: transform var(--transition-slow);
  border-radius: var(--radius-lg);
}

.card:hover img {
  transform: scale(1.08);
}

/* Icon Card Variant */
.card-icon {
  text-align: center;
}

.card-icon .icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(0, 59, 122, 0.1), rgba(244, 208, 63, 0.1));
  border: 2px solid rgba(0, 59, 122, 0.1);
  transition: all var(--transition-base);
}

.card:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 59, 122, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   10. STATS SECTION - Premium Counters
   ═══════════════════════════════════════════════════════════════════════════════ */
.stats-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.stats-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(244, 208, 63, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stats-card:hover::after {
  opacity: 1;
}

.stats-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 
    0 25px 50px rgba(0, 59, 122, 0.15),
    0 10px 30px rgba(244, 208, 63, 0.1);
}

.stats-number {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-400) 50%, var(--color-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-card:hover .stats-number {
  animation: pulse 1s ease infinite;
}

.stats-label {
  color: var(--color-gray-700);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   11. SECTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  color: var(--color-primary-700);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-yellow), var(--color-teal));
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: -2rem auto var(--spacing-3xl);
  color: var(--color-gray-600);
  font-size: 1.15rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   12. BADGES & TAGS
   ═══════════════════════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(0, 82, 179, 0.12), rgba(0, 59, 122, 0.15));
  backdrop-filter: blur(10px);
  color: var(--color-primary-700);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 82, 179, 0.15);
  transition: all var(--transition-fast);
}

.badge:hover {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
  color: white;
  transform: scale(1.05);
}

.badge-gold {
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.2), rgba(212, 175, 55, 0.2));
  color: var(--color-accent-gold);
  border-color: rgba(244, 208, 63, 0.3);
}

.badge-teal {
  background: linear-gradient(135deg, rgba(32, 141, 141, 0.15), rgba(45, 212, 191, 0.15));
  color: var(--color-teal);
  border-color: rgba(32, 141, 141, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   13. IMAGE CONTAINERS
   ═══════════════════════════════════════════════════════════════════════════════ */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.image-container:hover::after {
  opacity: 1;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.image-container:hover img {
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   14. FOOTER - Premium Dark
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary-900) 100%);
  color: var(--color-gray-300);
  padding: 4rem 0 1.5rem;
  margin-top: var(--spacing-4xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-500), var(--color-accent-yellow), var(--color-teal), var(--color-primary-500));
  background-size: 300% 100%;
  animation: gradientShift 5s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer h4 {
  color: white;
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent-yellow);
  border-radius: var(--radius-full);
}

.footer a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer a:hover {
  color: var(--color-accent-yellow);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   15. PAGE HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-primary-900) 100%);
  color: white;
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 30%, rgba(244, 208, 63, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(32, 141, 141, 0.1) 0%, transparent 50%);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   16. UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

/* ═══════════════════════════════════════════════════════════════════════════════
   17. RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }
  
  .section {
    padding: var(--spacing-3xl) 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  
  .hero h1 { 
    font-size: 2.25rem; 
  }
  
  .hero p { 
    font-size: 1rem; 
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .navbar-nav { 
    display: none; 
  }
  
  .grid-cols-2, 
  .grid-cols-3, 
  .grid-cols-4 { 
    grid-template-columns: 1fr; 
  }
  
  .section-title { 
    font-size: 1.75rem; 
  }
  
  .card {
    padding: var(--spacing-lg);
  }
  
  .stats-card {
    padding: var(--spacing-xl);
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.875rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   18. SCROLL ANIMATIONS (JavaScript Required)
   ═══════════════════════════════════════════════════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}
