/* Updated CSS variables to match Next.js Tailwind design tokens */
:root {
  --primary: #059669;
  --accent: #10b981;
  --background: #ffffff;
  --foreground: #1f2937;
  --card: #ffffff;
  --card-foreground: #1f2937;
  --muted: #f9fafb;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --primary-foreground: #ffffff;
}

/* Updated body and typography to match Next.js styling */
body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.font-sans {
  font-family: "Open Sans", sans-serif;
}

.font-black {
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
}

.fixed {
  position: fixed;
}

.top-4 {
  top: 1rem;
}

.left-1\/2 {
  left: 50%;
}

.transform {
  transform: translateX(-50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.z-50 {
  z-index: 50;
}

.bg-background\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.border {
  border-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.rounded-full {
  border-radius: 9999px;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--primary), var(--accent));
}

.from-primary {
  --tw-gradient-from: var(--primary);
}

.to-accent {
  --tw-gradient-to: var(--accent);
}

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

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(5, 150, 105, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.8);
  }
}

.text-white {
  color: white;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-foreground {
  color: var(--foreground);
}

.text-primary {
  color: var(--primary);
}

.font-medium {
  font-weight: 500;
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.transition-colors {
  transition: color 0.15s ease-in-out;
}

.bg-primary {
  background-color: var(--primary);
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(5, 150, 105, 0.9);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
}

/* Updated main content spacing */
.min-h-screen {
  min-height: 100vh;
}

.bg-background {
  background-color: var(--background);
}

/* Updated footer styling to match Next.js design */
.bg-foreground {
  background-color: var(--foreground);
}

.text-background {
  color: var(--background);
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
}

.md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gap-12 {
  gap: 3rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-background\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.leading-relaxed {
  line-height: 1.625;
}

.font-bold {
  font-weight: 700;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.border-t {
  border-top-width: 1px;
}

.border-background\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.pt-8 {
  padding-top: 2rem;
}

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

.text-background\/60 {
  color: rgba(255, 255, 255, 0.6);
}

/* Added floating animations for geometric shapes */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

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

/* Added comprehensive mobile responsiveness */
/* Mobile Navigation Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-top: 0.5rem;
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  display: flex;
}

/* Enhanced responsive breakpoints */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  .space-x-8 > * + * {
    margin-left: 0.5rem;
  }

  .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .py-3 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  /* Mobile typography scaling */
  .text-2xl {
    font-size: 1.25rem;
  }

  .text-lg {
    font-size: 1rem;
  }

  /* Mobile grid adjustments */
  .md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .gap-12 {
    gap: 2rem;
  }

  .py-16 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .px-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .text-sm {
    font-size: 0.8rem;
  }

  .w-8 {
    width: 1.5rem;
  }

  .h-8 {
    height: 1.5rem;
  }

  .space-x-2 > * + * {
    margin-left: 0.25rem;
  }
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .space-x-8 > * + * {
    margin-left: 1.5rem;
  }

  .px-6 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Added sophisticated hero section styling to match Next.js design */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.floating-shape {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 5rem;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  animation-delay: 0s;
}

.shape-2 {
  top: 10rem;
  right: 5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.shape-3 {
  bottom: 10rem;
  left: 5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  max-width: 96rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-gradient-text {
  background: linear-gradient(to right, #fcd34d, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-hero-primary {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-hero-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hero-outline:hover {
  background-color: white;
  color: var(--primary);
  text-decoration: none;
}

.hero-scroll {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.hero-scroll i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

/* Added stories section styling with interactive elements */
.stories-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

.stories-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 150, 105, 0.05), rgba(16, 185, 129, 0.05));
}

.stories-container {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
}

.stories-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.story-card {
  padding: 2rem;
  border: 2px solid rgba(5, 150, 105, 0.2);
  background: linear-gradient(135deg, var(--card), rgba(5, 150, 105, 0.05));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 2rem;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-avatar {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
}

.story-name {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--card-foreground);
  margin: 0;
}

.story-role {
  color: var(--muted-foreground);
  margin: 0;
}

.story-quote {
  font-size: 1.125rem;
  color: var(--card-foreground);
  margin-bottom: 1rem;
  font-style: italic;
}

.story-impact {
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.story-indicators {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.story-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot.active {
  background-color: var(--primary);
  transform: scale(1.25);
}

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

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
}

.stat-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.stat-secondary {
  background-color: var(--card);
  border: 2px solid rgba(5, 150, 105, 0.2);
}

.stat-accent {
  background-color: var(--card);
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.stat-gradient {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-primary .stat-number,
.stat-gradient .stat-number {
  color: white;
}

.stat-secondary .stat-number {
  color: var(--primary);
}

.stat-accent .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Added services section with hover effects and animations */
.services-section {
  padding: 6rem 0;
  background-color: var(--muted);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, var(--card), rgba(5, 150, 105, 0.05));
  border: none;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.5s ease;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.service-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(5, 150, 105, 0.1);
  border-radius: 50%;
  transform: translate(4rem, -4rem);
  transition: transform 0.5s ease;
}

.service-card:hover .service-bg-shape {
  transform: translate(4rem, -4rem) scale(1.5);
}

.service-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
}

.service-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: rotate(12deg);
}

.service-icon-1 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-icon-2 {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.service-icon-3 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-icon i {
  color: white;
  font-size: 2.5rem;
}

.service-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.service-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.service-card-1:hover .service-btn {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.service-card-2:hover .service-btn {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.service-card-3:hover .service-btn {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Added sponsors section with carousel functionality */
.sponsors-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.sponsors-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sponsors-carousel-container {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}

.sponsors-carousel {
  overflow: hidden;
}

.sponsor-slide {
  display: none;
  transition: opacity 0.5s ease;
}

.sponsor-slide.active {
  display: block;
}

.sponsor-card {
  background: white;
  border: 2px solid rgba(5, 150, 105, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sponsor-card:hover {
  transform: scale(1.05);
  border-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sponsor-tier {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sponsor-tier-platinum {
  background: linear-gradient(to right, #a855f7, #ec4899);
  color: white;
}

.sponsor-tier-gold {
  background: linear-gradient(to right, #f59e0b, #f97316);
  color: white;
}

.sponsor-tier-silver {
  background: linear-gradient(to right, #6b7280, #4b5563);
  color: white;
}

.sponsor-logo {
  height: 5rem;
  width: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
  transform: scale(1.1);
}

.sponsor-name {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
}

.sponsor-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.sponsor-placeholder {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sponsor-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.sponsor-nav:hover {
  background-color: var(--primary);
  color: white;
}

.sponsor-nav-prev {
  left: -1rem;
}

.sponsor-nav-next {
  right: -1rem;
}

.sponsor-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.sponsor-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sponsor-dot:hover {
  background-color: rgba(5, 150, 105, 0.5);
}

.sponsor-dot.active {
  background-color: var(--primary);
  transform: scale(1.25);
}

/* Added CTA section with gradient background */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  color: white;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.cta-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 1.5rem;
}

.cta-highlight {
  color: #fcd34d;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  text-decoration: none;
}

.btn-cta-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background-color: white;
  color: var(--primary);
  text-decoration: none;
}

/* Added mobile responsive adjustments for all new sections */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 3rem;
  }

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

  .sponsor-nav {
    display: none;
  }

  .cta-title {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 1rem;
  }

  .stories-section,
  .services-section,
  .sponsors-section,
  .cta-section {
    padding: 3rem 0;
  }

  .service-content,
  .sponsor-card {
    padding: 1.5rem;
  }
}
