/* AI Mashinani - Minified CSS with African Theme & Dropdown Fixes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-green: #16a34a;
  --primary-green-dark: #15803d;
  --accent-red: #dc2626;
  --accent-red-dark: #b91c1c;
  --text-black: #111827;
  --text-black-dark: #1f2937;
  --background-white: #ffffff;
  --background-light: #f9fafb;
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  --gradient-dark: linear-gradient(135deg, var(--text-black), var(--text-black-dark));
  --gradient-hero: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-red) 100%);
  --gradient-kenyan-flag: linear-gradient(
    to bottom,
    #000000 0%,
    #000000 30%,
    #ffffff 30%,
    #ffffff 35%,
    #dc2626 35%,
    #dc2626 65%,
    #ffffff 65%,
    #ffffff 70%,
    #16a34a 70%,
    #16a34a 100%
  );
  --font-primary: "Upwork", "Orbitron", monospace;
  --font-secondary: "Upwork", "Inter", sans-serif;
  --shadow-glow: 0 0 20px rgba(22, 163, 74, 0.3);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-accent: #333333;
  --border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
  font-family: "Upwork", var(--font-secondary);
  background: var(--background-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-green);
  text-shadow: none;
}
.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(1.2) saturate(1.4) hue-rotate(15deg);
  transition: var(--transition-smooth);
}
.logo-image:hover {
  filter: brightness(1.4) saturate(1.6) hue-rotate(25deg);
  transform: scale(1.05);
}
.logo-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
  text-shadow: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-signup .signup-btn {
  background: var(--primary-green);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 2px solid var(--primary-green);
}
.nav-signup .signup-btn:hover {
  background: transparent;
  color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}
.nav-signup .signup-btn::after {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-green);
  transition: var(--transition-smooth);
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 75%, rgba(34, 139, 34, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.neural-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(34, 139, 34, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  animation: neuralPulse 4s ease-in-out infinite alternate;
}
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(34, 139, 34, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 107, 53, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(220, 20, 60, 0.15), transparent);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
  animation: particleFloat 20s linear infinite;
}
.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-left: 20px;
}
.hero-title {
  font-family: var(--font-primary);
  margin-bottom: 20px;
}
.title-main {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow: none;
}
.title-sub {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-green);
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: none;
}
.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  text-shadow: none;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.hero-buttons {
  display: flex;
  gap: 20px;
}
.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: 2px solid var(--primary-green-dark);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}
.btn-primary:hover {
  background: var(--gradient-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 36, 36, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}
.btn-secondary:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.3);
  transform: translateY(-3px);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-visual::after {
  content: "☀️";
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 3rem;
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}
.ai-brain {
  position: relative;
  width: 300px;
  height: 300px;
}
.brain-core {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: relative;
  animation: africanPulse 3s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(46, 125, 50, 0.3), inset 0 0 50px rgba(34, 139, 34, 0.2);
}
.brain-core::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: innerPulse 2s ease-in-out infinite alternate;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--primary-green);
  position: relative;
  animation: scrollBounce 2s infinite;
}
.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--primary-green);
  border-bottom: 2px solid var(--primary-green);
  transform: rotate(45deg);
}
section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 80px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.2rem;
  color: var(--primary-green);
}
.about {
  background: rgba(248, 249, 250, 0.5);
}
.about::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      transparent 30%,
      rgba(34, 139, 34, 0.02) 30%,
      rgba(34, 139, 34, 0.02) 70%,
      transparent 70%
    ),
    linear-gradient(
      -45deg,
      transparent 30%,
      rgba(255, 107, 53, 0.02) 30%,
      rgba(255, 107, 53, 0.02) 70%,
      transparent 70%
    );
  background-size: 60px 60px;
  pointer-events: none;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.about-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-green);
}
.about-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-green);
}
.vision-mission {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vm-card {
  background: rgba(34, 139, 34, 0.05);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid var(--primary-green);
}
.vm-card h4 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.values-grid h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-green);
}
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid #e0e0e0;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-green);
  position: relative;
}
.value-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-green-dark)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.value-card:hover .value-icon::after {
  opacity: 1;
}
.value-card h4 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 10px;
}
.ubuntu-quote {
  font-style: italic;
  color: var(--primary-green);
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  border-left: 4px solid var(--primary-green);
  background: rgba(34, 139, 34, 0.05);
  border-radius: 10px;
  position: relative;
  z-index: 3;
}
.programs {
  background: rgba(248, 249, 250, 0.3);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.program-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-red) 0%,
    var(--primary-green) 25%,
    var(--primary-green-dark) 50%,
    var(--accent-red-dark) 75%,
    var(--accent-red) 100%
  );
  border-radius: 20px 20px 0 0;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.card-header .card-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  text-shadow: none;
}
.card-header h3 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  font-size: 1.3rem;
}
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.feature {
  background: rgba(34, 139, 34, 0.1);
  color: var(--primary-green);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(34, 139, 34, 0.2);
}
.curriculum {
  background: rgba(248, 249, 250, 0.8);
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(34, 139, 34, 0.02) 10px,
      rgba(34, 139, 34, 0.02) 20px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 107, 53, 0.02) 10px,
      rgba(255, 107, 53, 0.02) 20px
    );
}
.curriculum-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.level-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  transition: var(--transition-smooth);
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.level-1 {
  border-color: var(--primary-green);
}
.level-1 .level-number {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: white;
  border-color: var(--primary-green);
}
.level-2 {
  border-color: var(--accent-red);
}
.level-2 .level-number {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: white;
  border-color: var(--accent-red);
}
.level-3 {
  border-color: var(--accent-red-dark);
}
.level-3 .level-number {
  background: linear-gradient(135deg, var(--accent-red-dark), var(--text-black-dark));
  color: white;
  border-color: var(--accent-red-dark);
}
.level-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.level-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.level-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  color: white;
  text-shadow: none;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 10px;
  border: 2px solid;
}
.level-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--primary-green);
  margin: 0;
  text-shadow: none;
}
.level-content h4 {
  font-family: var(--font-primary);
  margin-bottom: 15px;
  color: var(--primary-green);
}
.level-features {
  list-style: none;
  margin-top: 20px;
}
.level-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 25px;
}
.level-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}
.impact {
  background: rgba(248, 249, 250, 0.5);
  background-attachment: fixed;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.impact-stat {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.impact-stat:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-red);
}
.stat-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-green);
  position: relative;
}
.stat-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-red), var(--primary-green)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.impact-stat:hover .stat-icon::after {
  opacity: 1;
}
.impact-stat .stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  display: block;
  margin-bottom: 10px;
  text-shadow: none;
}
.impact-stat .stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}
.who-we-serve {
  text-align: center;
}
.who-we-serve h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-green);
}
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}
.serve-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 15px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.serve-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.serve-card i {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 15px;
}
.serve-card h4 {
  font-family: var(--font-primary);
  margin-bottom: 10px;
  color: var(--primary-green);
}
.gallery {
  background: rgba(248, 249, 250, 0.5);
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--primary-green);
  border-radius: 25px;
  color: var(--primary-green);
  font-family: var(--font-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.gallery-item {
  transition: var(--transition-smooth);
}
.gallery-item.hidden {
  display: none;
}
.gallery-card {
  background: rgba(45, 45, 45, 0.95);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  position: relative;
  height: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.gallery-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-green);
}
.gallery-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.placeholder-image {
  width: 100%;
  height: 100%;
  background: var(--gradient-kenyan-flag);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  transition: var(--transition-smooth);
}
.placeholder-image span {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
  font-family: var(--font-secondary);
}
.gallery-overlay {
  padding: 20px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gallery-overlay h4 {
  font-family: var(--font-primary);
  color: white;
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.gallery-date {
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 500;
}
.gallery-load-more {
  text-align: center;
}
.events {
  background: rgba(248, 249, 250, 0.3);
}
.events-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.event-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e0e0e0;
  transition: var(--transition-smooth);
  display: flex;
  gap: 25px;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}
.event-card.featured {
  border: 2px solid var(--primary-green);
  background: rgba(34, 139, 34, 0.05);
  box-shadow: 0 8px 25px rgba(34, 139, 34, 0.1);
}
.event-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
}
.event-date {
  background: var(--gradient-primary);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  min-width: 80px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  color: white;
  font-family: var(--font-primary);
}
.event-date .day {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.event-date .month {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 5px 0;
}
.event-date .year {
  font-size: 0.8rem;
  opacity: 0.8;
}
.event-details {
  flex: 1;
}
.event-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}
.event-details h3 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.event-details p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.meta-item i {
  color: var(--primary-green);
  width: 16px;
}
.event-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tag {
  background: rgba(34, 139, 34, 0.1);
  color: var(--primary-green);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(34, 139, 34, 0.2);
}
.events-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.calendar-widget,
.newsletter-signup,
.past-events {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.calendar-widget h4,
.newsletter-signup h4,
.past-events h4 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 20px;
  text-align: center;
}
.calendar {
  width: 100%;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.calendar-nav {
  background: var(--gradient-primary);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.calendar-nav:hover {
  transform: scale(1.1);
}
.calendar-title {
  font-family: var(--font-primary);
  color: var(--primary-green);
  font-weight: 600;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: var(--transition-smooth);
  cursor: pointer;
}
.calendar-day.header {
  background: rgba(34, 139, 34, 0.1);
  color: var(--primary-green);
  font-weight: 600;
  cursor: default;
}
.calendar-day:not(.header):hover {
  background: rgba(34, 139, 34, 0.1);
}
.calendar-day.event-day {
  background: var(--primary-green);
  color: white;
  font-weight: 600;
}
.calendar-day.featured-day {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  animation: pulse 2s infinite;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.newsletter-form input {
  padding: 12px;
  background: rgba(248, 249, 250, 0.8);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-secondary);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(34, 139, 34, 0.2);
}
.newsletter-form input::placeholder {
  color: var(--text-secondary);
}
.newsletter-signup p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: center;
}
.past-events {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.past-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(248, 249, 250, 0.5);
  border-radius: 8px;
  transition: var(--transition-smooth);
}
.past-event:hover {
  background: rgba(34, 139, 34, 0.05);
}
.past-date {
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 600;
}
.past-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.view-all-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
  transition: var(--transition-smooth);
}
.view-all-link:hover {
  color: var(--text-primary);
}
.partnerships {
  background: rgba(248, 249, 250, 0.5);
  padding: 80px 0;
}
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.partnership-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  transition: var(--transition-smooth);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.partnership-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.partnership-card .card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-green);
}
.partnership-card h3 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 15px;
}
.founder-quote {
  background: var(--gradient-primary);
  background-attachment: fixed;
  position: relative;
}
.founder-quote::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 100px;
  height: 150px;
  background: rgba(139, 69, 19, 0.3);
  clip-path: polygon(50% 0%, 60% 35%, 100% 35%, 100% 70%, 60% 70%, 60% 100%, 40% 100%, 40% 70%, 0% 70%, 0% 35%, 40% 35%);
  pointer-events: none;
}
.quote-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.quote-text {
  position: relative;
}
.quote-text i {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
  opacity: 0.7;
}
.quote-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.quote-author {
  border-left: 4px solid white;
  padding-left: 20px;
}
.quote-author strong {
  display: block;
  font-family: var(--font-primary);
  color: white;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.quote-author span {
  color: rgba(255, 255, 255, 0.8);
}
.quote-visual {
  display: flex;
  justify-content: center;
}
.founder-avatar {
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: var(--shadow-glow);
}
.contact {
  background: rgba(248, 249, 250, 0.8);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.contact-info h3 {
  font-family: var(--font-primary);
  color: var(--primary-green);
  margin-bottom: 30px;
  font-size: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.contact-item:hover {
  background: rgba(34, 139, 34, 0.05);
}
.contact-item i {
  color: var(--primary-green);
  font-size: 1.2rem;
  width: 20px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.social-link {
  width: 45px;
  height: 45px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}
.social-link:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 36, 36, 0.3);
}
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.form-group {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}
.form-group:focus-within {
  z-index: 10;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(248, 249, 250, 0.8);
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  transition: var(--transition-smooth);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(34, 139, 34, 0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}
.form-select,
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 40px 12px 15px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  background-color: rgba(248, 249, 250, 0.8);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 44px;
}
.form-select::after,
select::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-green);
  pointer-events: none;
  font-size: 12px;
}
.form-select:hover,
select:hover {
  border-color: var(--primary-green);
}
.form-select:focus,
select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.1);
  background-color: rgba(248, 249, 250, 0.8);
}
.form-select option,
select option {
  background-color: white;
  color: black;
  padding: 10px 15px;
  border: none;
  font-size: 14px;
  line-height: 1.4;
  min-height: 40px;
}
.form-select option:hover,
select option:hover {
  background-color: var(--primary-green);
  color: white;
}
.form-select option:checked,
.form-select option:focus,
select option:checked,
select option:focus {
  background-color: var(--primary-green);
  color: white;
}
.form-select[size],
select[size] {
  height: auto;
  min-height: 44px;
}
.form-select::-ms-expand,
select::-ms-expand {
  display: none;
}
.footer {
  background: var(--text-black-dark);
  padding: 60px 0 20px;
  border-top: 3px solid var(--accent-red);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand {
  max-width: 350px;
  text-align: left;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.footer-logo-image {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}
.footer-logo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand-text .logo-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-green);
  line-height: 1.2;
}
.footer-brand-text .brand-tagline {
  font-size: 0.875rem;
  color: var(--accent-red);
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.5px;
}
.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-top: 16px;
  font-size: 0.95rem;
}
.footer-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-green);
  border-radius: 1px;
}
.footer-brand .footer-heading::after {
  left: 50%;
  transform: translateX(-50%);
}
.features-heading {
  color: var(--primary-green);
}
.support-heading {
  color: var(--accent-red);
}
.company-heading {
  color: var(--accent-red);
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 12px;
}
.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 400;
}
.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.875rem;
}
.kenya-flag {
  margin-left: 8px;
  font-size: 1rem;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.footer-bottom-links a:hover {
  color: var(--primary-green);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@keyframes africanPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.3);
    transform: scale(1) rotate(0deg);
  }
  50% {
    box-shadow: 0 0 30px rgba(46, 125, 50, 0.5), 0 0 40px rgba(34, 139, 34, 0.3);
    transform: scale(1.05) rotate(1deg);
  }
}
@keyframes neuralPulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}
@keyframes particleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(360deg);
  }
}
@keyframes titleGlow {
  0% {
    text-shadow: 0 0 20px rgba(46, 125, 50, 0.5);
  }
  100% {
    text-shadow: 0 0 30px rgba(46, 125, 50, 0.8);
  }
}
@keyframes brainPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(1deg);
  }
}
@keyframes innerPulse {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}
@keyframes scrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .partnerships-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .curriculum-levels {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .events-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .partnerships-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 3px 0;
    transition: var(--transition-smooth);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-green);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
    display: flex;
  }

  .nav-menu.active {
    left: 0;
    display: flex;
  }

  .nav-item {
    margin: 15px 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 15px 20px;
    display: block;
    border-radius: 8px;
    margin: 0 20px;
    transition: var(--transition-smooth);
  }

  .nav-link:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
  }

  .nav-signup .signup-btn {
    margin: 10px 20px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    background: var(--primary-green);
    color: white;
    border: 2px solid var(--primary-green);
  }

  .nav-signup .signup-btn:hover {
    background: transparent;
    color: var(--primary-green);
  }

  .title-main {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .title-sub {
    font-size: 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-logo {
    justify-content: flex-start;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .gallery-filters {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 25px;
  }

  .event-date {
    align-self: center;
  }

  .event-meta {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .calendar-grid {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .title-main {
    font-size: 2rem;
    line-height: 1.1;
  }

  .title-sub {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-logo {
    justify-content: center;
  }

  .logo-image {
    width: 35px;
    height: 35px;
  }

  .footer-logo-image {
    width: 40px;
    height: 40px;
  }

  .nav-logo .logo-text,
  .footer-logo .logo-text {
    font-size: 1.3rem;
  }

  .brand-tagline {
    font-size: 0.8rem;
  }

  .program-card,
  .value-card,
  .partnership-card,
  .serve-card {
    padding: 20px 15px;
  }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .card-features {
    flex-wrap: wrap;
    gap: 8px;
  }

  .feature {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 80px 0 40px;
  }

  .hero-content {
    gap: 30px;
  }

  .title-main {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .btn {
    width: auto;
    min-width: 140px;
  }
}
@media (prefers-contrast: high) {
  :root {
    --primary-green: #006400;
    --accent-red: #ff4500;
    --text-primary: #000000;
    --text-secondary: #333333;
  }

  .btn {
    border: 2px solid currentColor;
  }

  .nav-link:hover,
  .nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-brain .brain-core,
  .particles,
  .hero-visual::after,
  .neural-network,
  .scroll-indicator {
    animation: none;
  }

  .program-card:hover,
  .value-card:hover,
  .partnership-card:hover,
  .serve-card:hover {
    transform: none;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .navbar,
  .hamburger,
  .chatbot,
  .chatbot-toggle,
  .hero-visual,
  .scroll-indicator {
    display: none !important;
  }

  .hero {
    padding-top: 0;
  }

  .section {
    page-break-inside: avoid;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

.hero-assistant {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.hero-chatbot {
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(34, 139, 34, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-chatbot-header {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-red));
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-chatbot-header h4 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-primary);
  font-weight: 600;
}

.hero-chatbot-status {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 10px;
}

.hero-chatbot-body {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.9), rgba(255, 255, 255, 0.9));
}

.hero-chatbot-messages {
  height: 100%;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-chatbot-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid rgba(34, 139, 34, 0.15);
  background: rgba(255, 255, 255, 0.9);
  gap: 10px;
}

.hero-chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid rgba(34, 139, 34, 0.2);
  border-radius: 20px;
  outline: none;
  font-size: 0.9rem;
  background: rgba(249, 250, 251, 0.8);
}

.hero-chatbot-input input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(34, 139, 34, 0.1);
}

.hero-chatbot-input button {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-red));
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-chatbot-input button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}

@media (max-width: 768px) {
  .hero-assistant {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 30px;
  }

  .hero-chatbot {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}
