:root {
  /* Light Theme Colors */
  --primary-bg: #ffffff;
  --secondary-bg: #f8f9fa;
  --tertiary-bg: #f1f3f5;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --text-accent: #4EC983;
  --border-color: #e4e6ea;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --chokla-primary: #4EC983;
  --chokla-secondary: #3db36d;
  --chokla-light: #7dd9a3;
  --chokla-gradient: linear-gradient(135deg, #4EC983 0%, #3db36d 100%);
  
  /* Enhanced Gradients with Chokla colors */
  --gradient-primary: linear-gradient(135deg, #4EC983 0%, #3db36d 100%);
  --gradient-secondary: linear-gradient(135deg, #7dd9a3 0%, #4EC983 100%);
  --gradient-accent: linear-gradient(135deg, #4EC983 0%, #7dd9a3 100%);
  --gradient-hero: linear-gradient(135deg, #4EC983 0%, #3db36d 50%, #2a9955 100%);
}

[data-theme="dark"] {
  --primary-bg: #000000;
  --secondary-bg: #111111;
  --tertiary-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-accent: #4EC983;
  --border-color: #333333;
  --card-bg: #1a1a1a;
  --shadow: 0 4px 20px rgba(78, 201, 131, 0.1);
  --shadow-hover: 0 8px 30px rgba(78, 201, 131, 0.15);
  --chokla-primary: #4EC983;
  --chokla-secondary: #7dd9a3;
  --chokla-light: #a3e6bf;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(0, 0, 0, 0.8);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

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

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
  animation: logoFloat 6s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.05) rotate(5deg);
  animation-play-state: paused;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.theme-toggle:hover::before {
  width: 100%;
  height: 100%;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  color: white;
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
}

.lang-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 70px;
}

.lang-toggle:hover {
  transform: scale(1.05);
  border-color: var(--chokla-primary);
  background: rgba(78, 201, 131, 0.1);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  min-width: 160px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: var(--text-primary);
}

.language-option:hover {
  background: rgba(78, 201, 131, 0.1);
  color: var(--chokla-primary);
  transform: translateX(4px);
}

.language-option.active {
  background: var(--gradient-primary);
  color: white;
}

.language-option .flag {
  font-size: 18px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-option .lang-name {
  flex: 1;
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 2rem 80px;
  background: var(--primary-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(78, 201, 131, 0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: backgroundPulse 8s ease-in-out infinite;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 24px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.2s both, titleGlow 3s ease-in-out infinite alternate;
  position: relative;
  text-shadow: 0 0 30px rgba(78, 201, 131, 0.3);
}

.hero-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(78, 201, 131, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: -1;
}

.hero-subtitle-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-subtitle:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-button {
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(78, 201, 131, 0.4);
}

.cta-button.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(78, 201, 131, 0.5);
  animation: buttonPulse 0.6s ease;
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.cta-button.secondary:hover {
  border-color: var(--chokla-primary);
  color: var(--chokla-primary);
  transform: translateY(-2px);
  background: rgba(78, 201, 131, 0.05);
}

.cta-button.large {
  padding: 20px 40px;
  font-size: 18px;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.element {
  position: absolute;
  background: var(--gradient-accent);
  border-radius: 50%;
  opacity: 0.15;
  animation: complexFloat 8s ease-in-out infinite;
  filter: blur(1px);
}

.element::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(78, 201, 131, 0.3) 0%, transparent 70%);
  animation: innerGlow 6s ease-in-out infinite alternate;
}

.element-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 12s;
  animation-name: complexFloat, morphShape;
}

.element-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.element-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 60%;
  animation-delay: 4s;
  animation-duration: 14s;
  animation-name: complexFloat, morphShape;
}

.element-4 {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 20%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.element-5 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 30%;
  animation-delay: 3s;
  animation-duration: 16s;
}

/* Section Transition Animations */
.section {
  padding: 120px 2rem;
  position: relative;
  transition: all 0.6s ease;
}

.section.in-view {
  transform: translateY(0);
}

.section:not(.in-view) {
  transform: translateY(20px);
}

/* Staggered section entrance animations */
.section:nth-child(odd) {
  animation: slideInFromLeft 0.8s ease forwards;
}

.section:nth-child(even) {
  animation: slideInFromRight 0.8s ease forwards;
}

.section.animate-in {
  animation-play-state: running;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Wave transition between sections */
.section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(45deg, transparent 49%, var(--chokla-primary) 50%, transparent 51%);
  opacity: 0.1;
  animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% {
    transform: scaleX(1) translateY(0);
    opacity: 0.1;
  }
  50% {
    transform: scaleX(1.1) translateY(-10px);
    opacity: 0.2;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease both;
}

/* Section Badges */
.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(78, 201, 131, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(78, 201, 131, 0.6);
  }
}

/* Section Subtitle Container */
.section-subtitle-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.section-subtitle-container .section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.6s ease forwards;
}

.section-subtitle-container .section-subtitle:nth-child(2) {
  animation-delay: 0.2s;
}

/* Levels Overview */
.levels-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 60px 0 80px;
  padding: 40px 20px;
  background: rgba(78, 201, 131, 0.05);
  border-radius: 24px;
  border: 1px solid rgba(78, 201, 131, 0.1);
  position: relative;
  overflow: hidden;
}

.levels-overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(78, 201, 131, 0.1), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

.level-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.level-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(78, 201, 131, 0.3);
  position: relative;
  overflow: hidden;
}

.level-number::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.level-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-connector {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--chokla-primary), rgba(78, 201, 131, 0.3));
  border-radius: 2px;
  position: relative;
  margin: 0 20px;
}

.level-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: fillConnector 3s ease-in-out infinite;
}

@keyframes fillConnector {
  0%, 100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

/* Responsive Design for Levels */
@media (max-width: 768px) {
  .levels-overview {
    flex-direction: column;
    gap: 30px;
  }
  
  .level-connector {
    width: 3px;
    height: 40px;
    margin: 0;
    background: linear-gradient(180deg, var(--chokla-primary), rgba(78, 201, 131, 0.3));
  }
  
  .level-connector::after {
    width: 100%;
    height: 0;
    animation: fillConnectorVertical 3s ease-in-out infinite;
  }
}

@keyframes fillConnectorVertical {
  0%, 100% {
    height: 0;
  }
  50% {
    height: 100%;
  }
}

/* Vision Background Animations */
.vision-background-animations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: iconFloat 8s ease-in-out infinite;
  filter: blur(0.5px);
  transition: all 0.3s ease;
}

.floating-icon:hover {
  opacity: 0.3;
  transform: scale(1.2);
}

.coin-icon {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.shopping-icon {
  top: 25%;
  right: 20%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.card-icon {
  top: 40%;
  left: 15%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.gift-icon {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.chart-icon {
  top: 70%;
  left: 25%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.money-icon {
  top: 35%;
  right: 30%;
  animation-delay: 5s;
  animation-duration: 13s;
}

.bag-icon {
  top: 55%;
  left: 70%;
  animation-delay: 2.5s;
  animation-duration: 15s;
}

.diamond-icon {
  top: 20%;
  left: 60%;
  animation-delay: 1.5s;
  animation-duration: 8s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-20px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-15px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-25px) rotate(270deg) scale(1.05);
  }
}

/* Vision Section */
.vision-section {
  background: var(--secondary-bg);
  padding-bottom: 40px; /* Reduce excessive padding */
}

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

.vision-card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.6s ease;
}

.vision-card:hover::before {
  left: 0;
}

.vision-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--chokla-primary);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
  animation: iconFloat 4s ease-in-out infinite;
}

.vision-card:hover .card-icon {
  transform: scale(1.2) rotate(10deg);
  animation-play-state: paused;
}

.vision-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.vision-card:hover h3 {
  color: var(--chokla-primary);
}

.vision-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  transition: transform 0.3s ease;
}

.vision-card:hover p {
  transform: translateY(-2px);
}

/* Edge Section */
.edge-section {
  background: var(--tertiary-bg);
  position: relative;
  overflow: hidden;
}

.edge-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(78, 201, 131, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(78, 201, 131, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, rgba(78, 201, 131, 0.05) 0%, transparent 50%);
  pointer-events: none;
  animation: backgroundFlow 15s ease-in-out infinite;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 80px;
}

.edge-card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
}

.edge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(78, 201, 131, 0.1), transparent);
  transition: left 0.8s ease;
}

.edge-card:hover::before {
  left: 100%;
}

.edge-card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 
    0 20px 40px rgba(78, 201, 131, 0.2),
    0 0 0 1px rgba(78, 201, 131, 0.3);
}

.edge-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.edge-number {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  perspective: 1000px;
}

.edge-number .number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  color: var(--chokla-primary);
  z-index: 2;
  text-shadow: 0 0 20px rgba(78, 201, 131, 0.3);
}

.edge-number .number-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: numberPulse 3s ease-in-out infinite;
  transform-style: preserve-3d;
}

.edge-card:hover .number-glow {
  animation-play-state: paused;
  opacity: 0.4;
  transform: rotateY(180deg);
}

.edge-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  animation: iconBounce 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(78, 201, 131, 0.3));
}

.edge-card:hover .edge-icon {
  transform: scale(1.2) rotate(10deg);
  animation-play-state: paused;
}

.edge-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.edge-card:hover h4 {
  color: var(--chokla-primary);
  transform: translateY(-2px);
}

.edge-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
  transition: all 0.3s ease;
}

.edge-card:hover p {
  color: var(--text-primary);
  transform: translateY(-2px);
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    opacity: 0.4;
  }
}

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

@keyframes backgroundFlow {
  0%, 100% {
    transform: translateX(0) translateY(0);
  }
  33% {
    transform: translateX(20px) translateY(-10px);
  }
  66% {
    transform: translateX(-15px) translateY(15px);
  }
}

/* Philosophy Section */
.philosophy-section {
  background: var(--secondary-bg);
  position: relative;
}

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

.philosophy-quote {
  margin-bottom: 60px;
}

.philosophy-quote blockquote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  padding: 0 40px;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.philosophy-quote blockquote::before,
.philosophy-quote blockquote::after {
  content: '"';
  font-size: 4rem;
  color: var(--chokla-primary);
  position: absolute;
  font-family: Georgia, serif;
  animation: quoteFloat 6s ease-in-out infinite;
}

.philosophy-quote blockquote::before {
  top: -20px;
  left: 0;
  animation-delay: 0s;
}

.philosophy-quote blockquote::after {
  bottom: -60px;
  right: 0;
  animation-delay: 3s;
}

.philosophy-quote.visible blockquote {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-vision {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.philosophy-vision.visible {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-vision p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-secondary);
  animation: textPulse 8s ease-in-out infinite;
}

/* Contact Section */
.contact-section {
  text-align: center;
  background: var(--tertiary-bg);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(78, 201, 131, 0.05) 0%, transparent 50%, rgba(78, 201, 131, 0.05) 100%);
  pointer-events: none;
  animation: backgroundShift 10s ease-in-out infinite;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Footer */
.footer {
  background: var(--primary-bg);
  border-top: 1px solid var(--border-color);
  padding: 40px 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-text {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes complexFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-40px) rotate(270deg) scale(1.05);
  }
}

@keyframes titleGlow {
  0% {
    filter: brightness(1) saturate(1);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 10px 30px rgba(78, 201, 131, 0.5);
  }
  50% {
    box-shadow: 0 15px 40px rgba(78, 201, 131, 0.8);
  }
  100% {
    box-shadow: 0 10px 30px rgba(78, 201, 131, 0.5);
  }
}

@keyframes innerGlow {
  0% {
    opacity: 0.2;
    transform: scale(1);
  }
  100% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

@keyframes rotateNumber {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 50%;
  }
  25% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
  75% {
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  }
}

@keyframes textShimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes quoteFloat {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes backgroundShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Scroll Animations */
.vision-card[data-scroll],
.edge-item[data-scroll],
.philosophy-quote[data-scroll],
.philosophy-vision[data-scroll] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.vision-card[data-scroll].visible,
.edge-item[data-scroll].visible,
.philosophy-quote[data-scroll].visible,
.philosophy-vision[data-scroll].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .hero {
    padding: 100px 1rem 60px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 280px;
  }
  
  .section {
    padding: 80px 1rem;
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .edge-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .element-1, .element-2, .element-3 {
    width: 80px !important;
    height: 80px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .vision-card {
    padding: 32px 24px;
  }
  
  .philosophy-quote blockquote {
    font-size: 1.3rem;
    padding: 0 20px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}

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

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="rtl"] .section-header {
  text-align: right;
}

[dir="rtl"] .vision-card,
[dir="rtl"] .edge-item,
[dir="rtl"] .philosophy-content {
  text-align: right;
}

[dir="rtl"] .footer-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .philosophy-quote blockquote::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .philosophy-quote blockquote::after {
  left: 0;
  right: auto;
}

[dir="rtl"] .floating-elements .element {
  animation-direction: reverse;
}

[dir="rtl"] .lang-toggle {
  font-family: 'Arial', sans-serif;
}

/* Arabic font support */
[lang="ar"] {
  font-family: 'Tajawal', 'Amiri', 'Noto Sans Arabic', Arial, sans-serif;
}

[lang="ar"] .hero-title,
[lang="ar"] .section-title {
  font-weight: 600;
  line-height: 1.4;
}

/* Russian font support */
[lang="ru"] {
  font-family: 'Roboto', 'Open Sans', 'PT Sans', Arial, sans-serif;
}