:root {
  scroll-padding-top: 6rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
}

.gradient-bg {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }
.fade-in-delay-5 { animation-delay: 1s; }
.fade-in-delay-6 { animation-delay: 1.2s; }

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.4);
}

.btn-elegant {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-elegant:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-elegant::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.6s;
}

.btn-elegant:hover::before {
  left: 100%;
}

.section-padding {
  padding: 6rem 0;
}

.container-elegant {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur-elegant {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

.problem-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  transition: left 0.6s;
}

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

.impact-cards-container {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 0;
  margin: 0 -2rem;
}

.impact-cards-wrapper {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  min-width: max-content;
}

.impact-card {
  background: white;
  color: black;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  min-width: 280px;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
  transition: left 0.6s;
}

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

.impact-card-circle {
  width: 80px;
  height: 80px;
  background: black;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 2rem auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card:hover .impact-card-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.impact-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.impact-card-description {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
}

.impact-cards-container::-webkit-scrollbar { height: 8px; }
.impact-cards-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 4px; }
.impact-cards-container::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.impact-cards-container::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .impact-card { min-width: 240px; max-width: 240px; padding: 2.5rem 1.5rem; }
  .impact-card-circle { width: 70px; height: 70px; font-size: 1.75rem; }
  .impact-card-title { font-size: 1.25rem; }
  .impact-card-description { font-size: 0.9rem; }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
  border-radius: 999px;
}
