/* GaleriSaham - Modern Landing Page Design */
/* Design System: Clean, Professional, Trust-Inspiring */

/* ========================================
   CSS RESET & BASE
======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Colors - Deep Professional Blue */
  --primary-900: #0c1929;
  --primary-800: #0f2744;
  --primary-700: #1a365d;
  --primary-600: #234876;
  --primary-500: #2d5a8a;
  --primary-400: #4a7ab0;
  --primary-300: #7aa3d0;
  --primary-200: #b3cce6;
  --primary-100: #e1ecf7;

  /* Accent - Success Green (Represents Profit/Growth) */
  --accent-500: #10b981;
  --accent-400: #34d399;
  --accent-600: #059669;

  /* Secondary Accent - Warm Amber */
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;

  /* Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Functional */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --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);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--slate-500);
}

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

/* ========================================
   LAYOUT
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--slate-500);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-100);
  color: var(--primary-600);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(26, 54, 93, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-700);
  border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--primary-300);
  background: var(--primary-50, var(--slate-50));
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.4);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-icon {
  width: 1.25em;
  height: 1.25em;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-700);
  letter-spacing: -0.02em;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-links a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-700);
  background: var(--slate-100);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--slate-100);
  border-radius: var(--radius);
}

.lang-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--primary-700);
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 54, 93, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-500);
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--slate-900);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-chart {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  position: relative;
}

.hero-chart-inner {
  position: absolute;
  inset: 1.5rem;
  display: flex;
  flex-direction: column;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.chart-title {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

.chart-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-400);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.chart-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.chart-change {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--accent-400);
  margin-bottom: 1.5rem;
}

.chart-graph {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
}

.chart-line svg {
  width: 100%;
  height: 100%;
}

.chart-line-path {
  fill: none;
  stroke: var(--accent-400);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area-path {
  fill: url(#chartGradient);
}

/* Floating Elements */
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
}

.floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-500);
}

.floating-icon.blue {
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-600);
}

.floating-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.125rem;
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========================================
   TRUSTED BY / STATS BAR
======================================== */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: 3rem 0;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-bar-item {
  padding: 0 1rem;
}

.stats-bar-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-bar-label {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin: 0;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
  color: var(--primary-600);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.feature-card p {
  color: var(--slate-500);
  margin: 0;
  line-height: 1.7;
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
  background: var(--slate-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: calc(16.67% + 1.5rem);
  right: calc(16.67% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-200) 0%, var(--primary-300) 50%, var(--primary-200) 100%);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--slate-500);
  margin: 0;
}

/* ========================================
   PROGRAMS SECTION
======================================== */
.programs {
  background: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  opacity: 0;
  transition: var(--transition);
}

.program-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.program-card:hover::before {
  opacity: 1;
}

.program-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-icon.blue {
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
  color: var(--primary-600);
}

.program-icon.green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-500);
}

.program-icon.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-600);
}

.program-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.program-card h3 {
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.program-card p {
  color: var(--slate-500);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.program-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  color: var(--slate-600);
  font-size: 0.9375rem;
}

.program-features li::before {
  content: '✓';
  color: var(--accent-500);
  font-weight: 700;
  flex-shrink: 0;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-600);
  font-weight: 600;
  font-size: 0.9375rem;
}

.program-link:hover {
  color: var(--primary-700);
  gap: 0.75rem;
}

/* ========================================
   WHY US SECTION
======================================== */
.why-us {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-content h2 {
  margin-bottom: 1.5rem;
}

.why-us-content > p {
  font-size: 1.125rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us-item {
  display: flex;
  gap: 1rem;
}

.why-us-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
  color: var(--primary-600);
}

.why-us-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--slate-900);
}

.why-us-item p {
  color: var(--slate-500);
  margin: 0;
  font-size: 0.9375rem;
}

.why-us-visual {
  position: relative;
}

.why-us-image {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.trust-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-header h4 {
  font-weight: 700;
  color: var(--slate-900);
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.trust-stat {
  text-align: center;
}

.trust-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-stat-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: var(--slate-100);
  transform: translateY(-2px);
}

.cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   FOOTER
======================================== */
footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 5rem 0 2rem;
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--accent-400);
}

.footer-brand p {
  color: var(--slate-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  transition: var(--transition);
}

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

.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-section ul a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-card-1 {
    right: 5%;
  }

  .floating-card-2 {
    left: 5%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-us-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 1rem 2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-stat {
    flex: 1;
    min-width: 100px;
    text-align: center;
  }

  .floating-card {
    display: none;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar-value {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid::before {
    display: none;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   CALENDAR PAGE STYLES
======================================== */
.calendar-hero {
  min-height: auto;
  padding: 8rem 0 4rem;
}

.calendar-hero .section-header {
  margin-bottom: 0;
}

.calendar-section {
  padding: 4rem 0;
  background: var(--white);
}

.calendar-wrapper {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.calendar-month {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0;
}

.calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.calendar-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  transition: var(--transition);
}

.calendar-nav-btn:not(:disabled) {
  cursor: pointer;
  color: var(--slate-600);
}

.calendar-nav-btn:not(:disabled):hover {
  background: var(--slate-50);
  border-color: var(--primary-300);
  color: var(--primary-600);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day-header {
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-500);
  padding: 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--slate-700);
  transition: var(--transition);
  position: relative;
  cursor: default;
  min-height: 60px;
}

.calendar-day span {
  font-size: 1rem;
}

.calendar-day.empty {
  background: transparent;
}

.calendar-day:not(.empty):hover {
  background: var(--slate-50);
}

.calendar-day.has-event {
  cursor: pointer;
  background: var(--primary-50, #f0f5ff);
}

.calendar-day.has-event:hover {
  background: var(--primary-100);
  transform: scale(1.05);
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
  margin-top: 4px;
}

.event-dot.green {
  background: var(--accent-500);
}

.event-dot.amber {
  background: var(--amber-500);
}

.event-dot.purple {
  background: #8b5cf6;
}

.event-dot.blue {
  background: var(--primary-500);
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background: var(--slate-50);
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.event-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.event-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.event-badge.onsite {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-600);
}

.event-badge.online {
  background: rgba(139, 92, 246, 0.15);
  color: #7c3aed;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.event-date-day {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.event-date-month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.event-date-year {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.125rem;
}

.event-content {
  display: flex;
  flex-direction: column;
}

.event-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
  padding-right: 5rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-500);
  font-size: 0.9375rem;
}

.event-meta-item svg {
  color: var(--primary-500);
  flex-shrink: 0;
}

.event-description {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.event-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.event-highlight {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.event-contact {
  background: var(--slate-50);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.event-contact h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-600);
  font-size: 0.9375rem;
}

.contact-item svg {
  color: var(--primary-500);
  flex-shrink: 0;
}

.event-card .btn {
  align-self: flex-start;
}

/* Calendar Responsive */
@media (max-width: 768px) {
  .calendar-wrapper {
    padding: 1rem;
  }

  .calendar-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .calendar-month {
    font-size: 1.5rem;
  }

  .calendar-day {
    min-height: 50px;
  }

  .calendar-day span {
    font-size: 0.875rem;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .event-date {
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    min-width: auto;
  }

  .event-date-day {
    font-size: 2rem;
  }

  .event-content h3 {
    font-size: 1.25rem;
    padding-right: 0;
  }

  .event-badge {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }

  .event-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-details {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .calendar-day-header {
    font-size: 0.75rem;
  }

  .calendar-day {
    min-height: 40px;
  }

  .calendar-day span {
    font-size: 0.8125rem;
  }

  .event-dot {
    width: 6px;
    height: 6px;
  }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  header, .hero-visual, .cta, footer {
    display: none;
  }

  body {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
