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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* Design tokens - Clean & Simple */
:root {
  /* Brand Colors */
  --primary: #1E3A8A;
  --primary-hover: #1E40AF;
  --primary-light: #DBEAFE;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;

  /* Text Colors */
  --text-1: #0F172A;
  --text-2: #334155;
  --text-3: #64748B;
  --text-inv: #FFFFFF;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #F1F5F9;

  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

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

  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;

  /* 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);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-2);
  background-color: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-1);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-2);
  max-width: 65ch;
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

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

/* Skip link accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
}



/* Screen reader only - for SEO and accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* App Bar - Clean & Simple */
.app-bar {
  background-color: #FFFFFF;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-md);
}

.container.narrow {
  max-width: 900px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: opacity var(--transition-base);
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Navigation - Clean */
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

nav ul li a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: block;
  font-size: 0.9375rem;
}

nav ul li a:hover {
  color: var(--primary);
  background-color: var(--surface-2);
}

nav ul li a.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 600;
}

/* Hamburger breakpoint - show toggle, hide desktop nav */
@media (max-width: 1024px) {
  nav>ul {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }
}

/* Mobile Menu Toggle - Enhanced */
.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.menu-toggle:hover {
  background-color: var(--surface-3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.menu-toggle span {
  top: 22px;
}

.menu-toggle::before {
  top: 16px;
}

.menu-toggle::after {
  bottom: 16px;
}

.menu-toggle.is-open span {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.is-open::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--primary);
}

.menu-toggle.is-open::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--primary);
}

/* Drawer + Scrim - Simplified */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  z-index: 998;
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: #FFFFFF;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: var(--space-2xl) var(--space-lg);
  z-index: 999;
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.nav-drawer .nav-list li {
  margin-left: 0;
}

.nav-drawer .nav-list a {
  display: block;
  padding: var(--space-md);
  color: var(--text-1);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 600;
  transition: all var(--transition-base);
}

.nav-drawer .nav-list a:hover {
  background-color: var(--surface-2);
  color: var(--primary);
}

.nav-drawer .nav-list a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

/* Hero Section - Premium */
.hero {
  position: relative;
  height: 95vh;
  min-height: 600px;
  max-height: 1080px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-dark);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* Fixed causes issues on some mobiles, scroll is safer */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.1);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Premium Gradient Overlay */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.4) 0%,
      rgba(15, 23, 42, 0.2) 40%,
      rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: saturate(120%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.3s;
}

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

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p,
.hero-content .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #FFFFFF;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero Controls */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-nav:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
  left: 32px;
}

.hero-nav.next {
  right: 32px;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0);
  /* Transparent border for sizing */
}

.hero-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dots .dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.overlay {
  display: none;
  /* Deprecated in favor of ::after on hero-slide */
}

/* Buttons - Premium */
.buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.btn.primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.btn.outline {
  border: 1px solid white;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn.text {
  color: var(--primary);
  padding: 0.5rem 1rem;
  background: transparent;
  box-shadow: none;
}

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

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

.btn.sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn.tonal {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn.tonal:hover {
  background: #DBEAFE;
  /* Slightly darker */
}


/* Stats Section - Enhanced */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.stat {
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.stat .value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat .label {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* About Section - Enhanced */
.about {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  color: var(--text-2);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(10,101,204,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

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

.about-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.about-header h2 {
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--text-3);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.about-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-text h3 {
  color: var(--primary);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.about-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-2);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: var(--surface);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
}

.about-stat {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  transition: transform 0.3s ease;
}

.about-stat:hover {
  transform: translateY(-2px);
}

.about-stat .stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.about-stat .stat-label {
  font-size: var(--text-sm);
  color: var(--text-3);
  font-weight: 600;
}

.about-values {
  text-align: center;
}

.about-values h3 {
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-2xl);
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.value-card {
  background: var(--surface);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
  color: var(--primary);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.value-card p {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.6;
  color: var(--text-3);
}

.about-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="15" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
}

.about-cta>* {
  position: relative;
  z-index: 1;
}

.about-cta h3 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.about-cta p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 200px;
}

.cta-buttons .btn.outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.cta-buttons .btn.outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

/* Cards and Grid - Enhanced responsive */
.section {
  padding: var(--space-3xl) 0;
}

.surface-alt {
  background: var(--surface-2);
}

.grid {
  display: grid;
  gap: var(--space-xl);
  width: 100%;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .grid.three {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .grid.four {
    grid-template-columns: 1fr;
  }
}

/* Cards - Glass & Premium */
.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.card.elevate-2 {
  box-shadow: var(--shadow);
  border: none;
}

.card.elevate-2:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}


.card-media {
  width: 100%;
  height: 240px;
  margin: 70px;
  padding: 10px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card:hover .card-media {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-lg);
  color: var(--text-2);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  color: var(--text-1);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-body h4 {
  color: var(--text-1);
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
  font-weight: 600;
}

.card-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--text-3);
  flex: 1;
}

/* Forms - Enhanced responsive */
form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  width: 100%;
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

label {
  color: var(--primary);
  font-weight: 600;
  font-size: var(--text-base);
  display: block;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

input,
textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  font-family: inherit;
  font-size: var(--text-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 101, 204, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
  font-weight: 400;
}

/* Newsletter input specific */
input[type="email"] {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

/* Mobile form optimizations */
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  input[type="email"] {
    min-width: auto;
    max-width: none;
  }

  input,
  textarea {
    padding: var(--space-lg);
    font-size: 16px;
    /* Prevent zoom on iOS */
  }
}

/* Footer - Enhanced */
.footer {
  background: var(--primary);
  color: var(--primary-light);
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: var(--space-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

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

.footer-social a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer address {
  font-style: normal;
}

.footer address p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer address a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer address a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Typography refinements - Enhanced hierarchy */
h1 {
  color: var(--text-1);
  line-height: 1.1;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

h2 {
  color: var(--text-1);
  line-height: 1.2;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

/* Utilities and section headings */
.text-center,
.center {
  text-align: center;
}

.section-title {
  color: var(--primary);
  text-align: center;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  color: var(--primary);
  margin-top: var(--space-sm);
}

h3 {
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--space-md);
}

h4 {
  color: var(--primary);
  line-height: 1.4;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-sm);
}

p {
  color: var(--text-2);
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

small {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

blockquote {
  color: var(--text-2);
  border-left: 4px solid var(--primary);
  padding: var(--space-lg) var(--space-xl);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  font-style: italic;
  margin: var(--space-lg) 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-lg);
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
}

cite {
  font-style: normal;
  font-weight: 600;
  display: block;
  margin-top: var(--space-sm);
  color: var(--primary);
  font-size: var(--text-sm);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Slider - Enhanced */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.slide {
  min-width: 100%;
  padding: var(--space-xl);
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.slider-controls .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-controls .dot:hover {
  background: var(--primary-light);
  transform: scale(1.2);
}

.slider-controls .dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 6px;
}

/* Details/Accordion - Enhanced */
details {
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

details summary {
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  user-select: none;
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

details summary::after {
  content: '+';
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

details[open] summary {
  background: var(--primary-light);
  border-color: var(--primary);
  margin-bottom: 0;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details p {
  padding: var(--space-md) var(--space-lg);
  background: var(--surface-2);
  margin: 0;
  border-top: 1px solid var(--border-light);
}

/* Responsive Breakpoints */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
  .container {
    width: 92%;
    padding: 0 var(--space-lg);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    height: 85vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 var(--space-lg);
  }

  .hero-nav {
    width: 44px;
    height: 44px;
  }

  .hero-nav.prev {
    left: var(--space-md);
  }

  .hero-nav.next {
    right: var(--space-md);
  }

  .stats {
    padding: var(--space-2xl) 0;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    height: 75vh;
    min-height: 450px;
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.75rem);
    margin-bottom: var(--space-md);
  }

  .hero-content p {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
    margin-bottom: var(--space-xl);
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .hero-nav.prev {
    left: var(--space-sm);
  }

  .hero-nav.next {
    right: var(--space-sm);
  }

  .hero-dots {
    bottom: var(--space-md);
  }

  .card-media {
    height: 200px;
  }

  .stats {
    padding: var(--space-2xl) 0;
  }

  .about {
    padding: var(--space-2xl) var(--space-md);
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .grid {
    gap: var(--space-lg);
  }

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

  .buttons {
    gap: var(--space-sm);
  }
}

/* Mobile devices */
@media (max-width: 600px) {
  .container {
    width: 94%;
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content {
    padding: 0 var(--space-sm);
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin-bottom: var(--space-sm);
  }

  .buttons {
    align-items: center;
  }

  .hero-content p {
    font-size: clamp(0.875rem, 4vw, 1rem);
    margin-bottom: var(--space-lg);
  }

  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .hero-nav.prev {
    left: var(--space-xs);
  }

  .hero-nav.next {
    right: var(--space-xs);
  }

  .hero-dots {
    bottom: var(--space-sm);
    gap: var(--space-xs);
  }

  .hero-dots .dot {
    width: 8px;
    height: 8px;
  }

  .hero-dots .dot.active {
    width: 20px;
  }

  .kali {
    display: none;
  }

  nav>ul {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .buttons {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
  }

  .buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .card-media {
    height: 180px;
  }

  .card-body {
    padding: var(--space-md);
  }

  .btn.sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
  }

  .btn.lg {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
  }

  .stats {
    padding: var(--space-xl) 0;
  }

  .stat {
    padding: var(--space-md);
  }

  .about {
    padding: var(--space-xl) var(--space-sm);
  }

  .about-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  .value-card {
    padding: var(--space-lg);
  }

  .about-cta {
    padding: var(--space-2xl) var(--space-md);
  }

  .grid {
    gap: var(--space-md);
  }

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

  .footer {
    padding: var(--space-lg) 0;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .footer .nav-list {
    flex-direction: column;
    gap: var(--space-xs);
  }

  form {
    gap: var(--space-sm);
  }

  input,
  textarea {
    padding: var(--space-md);
    font-size: 16px;
    /* Prevent zoom on iOS */
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .container {
    width: 96%;
    padding: 0 var(--space-xs);
  }

  .hero {
    min-height: 350px;
    height: 65vh;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
  }

  .hero-content p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .card-body {
    padding: var(--space-sm);
  }
}

/* Activities Section */
.about-activities {
  margin-top: var(--space-3xl);
  text-align: center;
}

.about-activities h2 {
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-2xl);
  font-weight: 700;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.activity-card {
  background: var(--surface-elevated);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: block;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon {
  transform: scale(1.15) rotate(-5deg);
}

.activity-card h4 {
  color: var(--text-1);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.activity-card p {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.6;
  color: var(--text-3);
}

/* Structure Section */
.about-structure {
  margin-top: var(--space-3xl);
  text-align: center;
  background: var(--surface-elevated);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-structure h2 {
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.about-structure p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    padding: var(--space-lg);
  }

  .about-structure {
    padding: var(--space-lg);
  }
}

/* Landscape mobile optimization */
@media (max-width: 900px) and (max-height: 500px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 15px;
  }
}

/* Team Section - Premium List Style */
.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.team-member {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: default;
}

.team-member:hover {
  background-color: var(--surface-2);
  border-color: var(--border-light);
  transform: translateX(4px);
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid white;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-1);
  font-weight: 600;
  line-height: 1.2;
}

.member-role {
  font-size: 0.8125rem;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 2px;
}

.view-all-team {
  margin-top: var(--space-lg);
  text-align: center;
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-md);
}

.view-all-team .btn.text {
  font-size: 0.875rem;
}

.section-container {
  margin: 0px;
}


/* Feature Stack Layout */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.card.horizontal {
  flex-direction: row;
  align-items: stretch;
  min-height: 300px;
}

/* Fix for the horrible margin on existing card-media */
.card.horizontal .card-media {
  margin: 0;
  width: 100%;
  height: 100%;
}

.card.horizontal .card-media-wrapper {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.card.horizontal .card-body {
  width: 50%;
  justify-content: center;
  padding: var(--space-2xl);
}

.card.horizontal h3 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.card.horizontal p {
  font-size: 1.125rem;
}

/* Alternating layout */
.feature-stack .card.horizontal:nth-child(even) {
  flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card.horizontal {
    flex-direction: column !important;
    /* Force column on mobile */
  }

  .card.horizontal .card-media-wrapper,
  .card.horizontal .card-body {
    width: 100%;
  }

  .card.horizontal .card-media-wrapper {
    height: 250px;
  }

  .card.horizontal .card-body {
    padding: var(--space-lg);
  }
}