:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #059669;
  --accent: #dc2626;
  --light: #ffffff;
  --dark: #1e293b;
  --gray: #64748b;
  --light-bg: rgba(255, 255, 255, 0.95);
  --dark-bg: rgba(30, 41, 59, 0.9);
  --border-radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  touch-action: pan-y;
}

.rain-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

.raindrop {
  position: absolute;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #60a5fa);
  opacity: 0.4;
  animation: rain-fall 1.5s linear infinite;
}

@keyframes rain-fall {
  0% {
    transform: translateY(-100px) rotate(15deg);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(100vh) rotate(15deg);
    opacity: 0;
  }
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.float-element {
  position: absolute;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
}

h4 {
  font-size: 1.1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.6;
}

.header {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
  color: white;
  padding: 4rem 0 3rem;
  position: relative;
  text-align: center;
  backdrop-filter: blur(10px);
}

.header-content {
  position: relative;
  z-index: 2;
}

.title-animate {
  animation: title-glow 2s ease-in-out infinite alternate;
}

@keyframes title-glow {
  from {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  to {
    text-shadow: 0 4px 30px rgba(96, 165, 250, 0.6);
  }
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin: 1rem 0 2rem;
}

.slide-in {
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.stat {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(96, 165, 250, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.4);
  }
}

.navigation {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  text-align: center;
  padding: 0.5rem;
}

.navigation ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.content-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin: 1rem 0;
  border-radius: 0;
}

.section-dark {
  background: rgba(30, 41, 59, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.slide-up {
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.reversed > * {
  direction: ltr;
}

.text-content {
  padding: 1rem 0;
}

.fade-in {
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.flip-in {
  animation: flipIn 1s ease-out;
}

@keyframes flipIn {
  from {
    opacity: 0;
    transform: rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: rotateY(0);
  }
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.feature h4 {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.feature p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.impact-list {
  margin: 2rem 0;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.impact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-hover);
}

.impact-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
}

.impact-text {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.solution-cards {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.solution-card {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--secondary);
}

.glow {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: var(--shadow);
  }
  to {
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.3);
  }
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.solution-card h4 {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.solution-card p {
  color: var(--gray);
  margin: 0;
  font-size: 0.9rem;
}

.image-card {
  background: var(--light-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.float-animation {
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.image-card:hover img {
  transform: scale(1.05);
}

.caption {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  line-height: 1.4;
}

.footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0;
  text-align: center;
  backdrop-filter: blur(10px);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer .note {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .header {
    padding: 6rem 0 4rem;
  }
  
  .header-stats {
    flex-direction: row;
    gap: 2rem;
  }
  
  .stat {
    width: auto;
  }
  
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .content-section {
    padding: 4rem 0;
  }
  
  .navigation ul {
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  .header {
    padding: 8rem 0 6rem;
  }
  
  .content-grid {
    gap: 5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .header-stats {
    gap: 3rem;
  }
  
  .feature:hover {
    transform: translateY(-10px) scale(1.02);
  }
  
  .impact-item:hover {
    transform: translateX(10px) scale(1.02);
  }
  
  .solution-card:hover {
    transform: translateY(-8px) scale(1.03);
  }
  
  .image-card:hover {
    transform: translateY(-15px) scale(1.05) rotate(2deg);
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  .navigation ul {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  
  .navigation ul.active {
    display: flex;
  }
  
  .nav-link {
    display: block;
    text-align: center;
    padding: 0.8rem;
  }
  
  .impact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .feature {
    padding: 1.2rem;
  }
  
  .impact-item {
    padding: 1.2rem;
  }
  
  .solution-card {
    padding: 1.2rem;
  }
  
  .image-card img {
    height: 200px;
  }
}