/* Base Styles */
:root {
  --primary-blue: #3B82F6;
  --primary-blue-100: #DBEAFE;
  --primary-blue-200: #BFDBFE;
  --primary-blue-300: #93C5FD;
  --primary-blue-400: #60A5FA;
  --primary-blue-500: #3B82F6;
  --primary-blue-600: #2563EB;
  --primary-blue-700: #1D4ED8;
  --primary-blue-800: #1E40AF;
  --primary-blue-900: #1E3A8A;
  
  --secondary-green: #10B981;
  --secondary-green-100: #D1FAE5;
  --secondary-green-200: #A7F3D0;
  --secondary-green-300: #6EE7B7;
  --secondary-green-400: #34D399;
  --secondary-green-500: #10B981;
  --secondary-green-600: #059669;
  --secondary-green-700: #047857;
  --secondary-green-800: #065F46;
  --secondary-green-900: #064E3B;
  
  --accent-orange: #F59E0B;
  --accent-orange-100: #FEF3C7;
  --accent-orange-200: #FDE68A;
  --accent-orange-300: #FCD34D;
  --accent-orange-400: #FBBF24;
  --accent-orange-500: #F59E0B;
  --accent-orange-600: #D97706;
  --accent-orange-700: #B45309;
  --accent-orange-800: #92400E;
  --accent-orange-900: #78350F;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

/* Decorative background patterns */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue-700);
  margin-bottom: 3rem;
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue-500), var(--secondary-green-500));
  border-radius: 2px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Language Switcher - now integrated in header */
.language-switcher {
  display: flex;
  gap: 5px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

.lang-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--gray-600);
}

.lang-btn.active {
  background: var(--primary-blue-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.lang-btn:hover:not(.active) {
  background: var(--gray-100);
  color: var(--gray-800);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue-600), var(--secondary-green-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.logo:hover {
  background: linear-gradient(135deg, var(--primary-blue-700), var(--secondary-green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

  .desktop-nav {
    display: flex;
    gap: 2rem;
  margin-right: 2rem;
  }
  
  .desktop-nav a {
    font-weight: 500;
    color: var(--gray-700);
  transition: all 0.3s ease;
  position: relative;
  }
  
  .desktop-nav a:hover {
  color: var(--primary-blue-600);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue-500);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-blue-900) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

/* Додаємо затемнення поверх зображення */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-blue-200), var(--secondary-green-200));
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-shape.shape1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape.shape2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

/* Additional decorative shapes */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--accent-orange-200), var(--primary-blue-200));
  border-radius: 50%;
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-200);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.4s;
}

.hero-experience {
  font-size: 1.1rem;
  color: var(--accent-orange-300);
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.8s;
}

.button-primary, .button-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-blue-500), var(--primary-blue-600));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-600), var(--primary-blue-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.button-secondary {
  background: transparent;
  color: var(--primary-blue-600);
  border-color: var(--primary-blue-500);
  position: relative;
  overflow: hidden;
}

.button-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.button-secondary:hover::before {
  left: 100%;
}

.button-secondary:hover {
  background: var(--primary-blue-500);
  color: var(--white);
  transform: translateY(-2px);
}

/* Services Section */
.services {
  background: var(--white) !important;
  position: relative !important;
  padding: 5rem 0 !important;
  display: block !important;
  visibility: visible !important;
}

/* Services Hero Image */
.services-hero {
  position: relative !important;
  margin: 3rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  height: 400px !important;
  min-height: 400px !important;
}

.services-hero-image {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
  min-height: 400px !important;
}

.services-hero-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
  color: var(--white) !important;
  padding: 3rem 2rem 2rem !important;
  text-align: center !important;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
}

/* Додаємо затемнення поверх services hero зображення */
.services-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.services-hero-overlay h3 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
}

.services-hero-overlay p {
  font-size: 1.3rem !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

/* Fix for 4 cards layout - center the last card */
.services-grid:has(.service-card:nth-child(4):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }

.services-grid:has(.service-card:nth-child(4):last-child) .service-card:nth-child(4) {
  grid-column: 2;
}

/* Alternative approach for better browser support */
.services-grid .service-card:nth-child(4):last-child {
  grid-column: 2;
  justify-self: center;
}

/* Specific fix for exactly 4 service cards */
.services-grid .service-card:nth-child(4):last-child {
  grid-column: 2;
  justify-self: center;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue-500), var(--secondary-green-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
  border-color: var(--primary-blue-200);
  background: rgba(255, 255, 255, 0.95);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue-100), var(--secondary-green-100));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-blue-600);
  position: relative;
  overflow: hidden;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.service-card:hover .service-icon::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Service Examples */
.service-examples {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue-500);
}

.service-examples h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.service-examples h4::before {
  content: '💡';
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.service-examples ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-examples li {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  position: relative;
  font-size: 0.95rem;
}

.service-examples li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-blue-500);
  font-size: 0.8rem;
}

.service-examples li:last-child {
  margin-bottom: 0;
}

/* About Section */
.about {
  background: var(--white) !important;
  position: relative !important;
  padding: 5rem 0 !important;
  display: block !important;
  visibility: visible !important;
}

/* About Hero Image */
.about-hero {
  position: relative !important;
  margin: 3rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  height: 400px !important;
  min-height: 400px !important;
}

.about-hero-image {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
  min-height: 400px !important;
}

.about-hero-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
  color: var(--white) !important;
  padding: 3rem 2rem 2rem !important;
  text-align: center !important;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
}

/* Додаємо затемнення поверх about hero зображення */
.about-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.about-hero-overlay h3 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
}

.about-hero-overlay p {
  font-size: 1.3rem !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

.about-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-blue-100), var(--secondary-green-100));
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.about-shape-1 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.about-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 30%;
  left: 10%;
  animation-delay: 4s;
}

/* Additional decorative elements */
.about::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--accent-orange-200), var(--primary-blue-200));
  border-radius: 50%;
  opacity: 0.1;
  animation: rotate 20s linear infinite;
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-intro, .about-approach {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue-100), var(--accent-orange-100));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue-600);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Capital Funding Section */
.capital-funding {
  background: var(--white) !important;
  position: relative !important;
  padding: 5rem 0 !important;
  min-height: 100vh !important;
  display: block !important;
  visibility: visible !important;
}

/* Funding Hero Image */
.funding-hero {
  position: relative !important;
  margin: 3rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  height: 400px !important;
  min-height: 400px !important;
}

.funding-hero-image {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
  min-height: 400px !important;
}

.funding-hero-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
  color: var(--white) !important;
  padding: 3rem 2rem 2rem !important;
  text-align: center !important;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
}

/* Додаємо затемнення поверх funding hero зображення */
.funding-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.funding-hero-overlay h3 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
}

.funding-hero-overlay p {
  font-size: 1.3rem !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

.capital-funding::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.funding-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.funding-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.funding-intro p {
  font-size: 1.2rem;
  color: var(--gray-700);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.funding-benefits {
  margin-bottom: 4rem;
}

.funding-benefits h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* For benefits grid */
.benefits-grid .benefit-item:nth-child(4):last-child {
  grid-column: 2;
  justify-self: center;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-blue-100), var(--secondary-green-100));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-blue-600);
}

.benefit-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--gray-600);
  line-height: 1.6;
}

.funding-process {
  margin-top: 4rem;
}

.funding-process h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  text-align: center;
  margin-bottom: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* For process steps */
.process-steps .step:nth-child(4):last-child {
  grid-column: 2;
  justify-self: center;
}

.step {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue-500), var(--secondary-green-500));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.step p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-blue-900) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue-300);
  margin-bottom: 1rem;
}

.footer-info p {
  color: var(--gray-300);
  line-height: 1.6;
}

.footer-contact h3,
.footer-links h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-contact ul,
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
}

.footer-contact svg {
  color: var(--primary-blue-400);
}

.footer-links a {
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue-300);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-400);
  position: relative;
  z-index: 2;
}

/* Floating Action Button */
.floating-action-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue-500), var(--secondary-green-500));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.floating-action-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-action-button:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.floating-action-button svg {
  transition: transform 0.3s ease;
}

.floating-action-button:hover svg {
  transform: translateY(-2px);
}

/* Section Reveal Animation */
.section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.section.section-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .button-primary, .button-secondary {
    width: 100%;
    max-width: 300px;
  text-align: center;
}

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .floating-action-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .language-switcher {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .language-switcher {
    padding: 3px;
  }
  
  .lang-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .desktop-nav {
    margin-right: 1rem;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 1s ease forwards;
}

/* Additional hover effects */
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
}

.step:hover .step-number {
  transform: scale(1.1);
}

/* Smooth transitions for all interactive elements */
.service-card,
.feature-item,
.benefit-item,
.step,
.button-primary,
.button-secondary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus states for accessibility */
.button-primary:focus,
.button-secondary:focus,
.lang-btn:focus {
  outline: 2px solid var(--primary-blue-500);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .language-switcher,
  .floating-action-button,
  .mobile-menu-btn {
    display: none !important;
  }
  
  .header {
    position: static;
    background: var(--white) !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* Projects Section */
.projects {
  background: var(--white) !important;
  padding: 5rem 0 !important;
  min-height: 100vh !important;
  position: relative !important;
  display: block !important;
  visibility: visible !important;
}

.projects-gallery {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  margin-top: 3rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.project-item {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 3rem !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(59, 130, 246, 0.1) !important;
  position: relative !important;
  z-index: 2 !important;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.project-image {
  position: relative !important;
  border-radius: 15px !important;
  overflow: hidden !important;
  height: 250px !important;
  min-height: 250px !important;
  display: block !important;
}

.project-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-item:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  text-align: center;
  color: var(--white);
}

.project-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 1rem;
  opacity: 0.9;
}

.project-content h3 {
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  color: var(--primary-blue-600) !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

.project-content p {
  color: var(--gray-600) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
  display: block !important;
}

.project-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.8rem !important;
  position: relative !important;
  z-index: 2 !important;
}

.detail-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.8rem !important;
  background: rgba(59, 130, 246, 0.05) !important;
  border-radius: 8px !important;
  border-left: 3px solid var(--primary-blue-500) !important;
  position: relative !important;
  z-index: 2 !important;
}

.detail-label {
  font-weight: 600 !important;
  color: var(--gray-700) !important;
  display: block !important;
}

.detail-value {
  font-weight: 500 !important;
  color: var(--primary-blue-600) !important;
  display: block !important;
}

/* Contact Section */
.contact {
  background: var(--white) !important;
  position: relative !important;
  padding: 5rem 0 !important;
  display: block !important;
  visibility: visible !important;
}

/* Team Hero Image */
.team-hero {
  position: relative !important;
  margin: 3rem 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  height: 400px !important;
  min-height: 400px !important;
}

.team-hero-image {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
  min-height: 400px !important;
}

.team-hero-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
  color: var(--white) !important;
  padding: 3rem 2rem 2rem !important;
  text-align: center !important;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
}

/* Додаємо затемнення поверх team hero зображення */
.team-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.team-hero-overlay h3 {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
}

.team-hero-overlay p {
  font-size: 1.3rem !important;
  opacity: 0.9 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro p {
  font-size: 1.2rem;
  color: var(--gray-700);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue-500), var(--secondary-green-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.team-member:hover::before {
  transform: scaleX(1);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12);
  border-color: var(--primary-blue-200);
}

.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--primary-blue-100);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-photo {
  border-color: var(--primary-blue-300);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.team-member:hover .member-photo img {
  transform: scale(1.1);
}

/* Center the 4th team member (José Vicente Espino) */
.team-member:nth-child(4) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 400px;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.member-title {
  font-size: 1rem;
  color: var(--primary-blue-600);
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-bio {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: left;
}

.member-contact {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.85rem;
  text-align: left;
}

.member-contact a {
  color: var(--primary-blue-600);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.member-contact a:hover {
  color: var(--primary-blue-700);
  text-decoration: underline;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
  .team-grid {
  grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
  }
  
  .member-name {
    font-size: 1.2rem;
  }
  
  .member-title {
    font-size: 0.9rem;
  }
  
  .member-bio {
    font-size: 0.85rem;
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .services-grid .service-card:nth-child(4):last-child,
  .benefits-grid .benefit-item:nth-child(4):last-child,
  .process-steps .step:nth-child(4):last-child,
  .team-grid .team-member:nth-child(3):last-child,
  .types-grid .type-item:nth-child(4):last-child,
  .sources-grid .source-category:nth-child(4):last-child {
    grid-column: 1;
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .benefits-grid,
  .process-steps,
  .team-grid,
  .types-grid,
  .sources-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid .service-card:nth-child(4):last-child,
  .benefits-grid .benefit-item:nth-child(4):last-child,
  .process-steps .step:nth-child(4):last-child,
  .team-grid .team-member:nth-child(3):last-child,
  .types-grid .type-item:nth-child(4):last-child,
  .sources-grid .source-category:nth-child(4):last-child {
    grid-column: 1;
    justify-self: stretch;
  }
}

/* Types of Capital Funding */
.funding-types {
  margin-top: 4rem;
}

.funding-types h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  text-align: center;
  margin-bottom: 3rem;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.type-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.type-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-blue-600);
  margin-bottom: 1rem;
}

.type-item p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.type-item ul {
  list-style: none;
  padding: 0;
}

.type-item li {
  color: var(--gray-600);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.type-item li:last-child {
  border-bottom: none;
}

/* Key Sources */
.funding-sources {
  margin-top: 4rem;
}

.funding-sources h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  text-align: center;
  margin-bottom: 3rem;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.source-category {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.source-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.source-category h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue-600);
  margin-bottom: 1rem;
  text-align: center;
}

.source-category ul {
  list-style: none;
  padding: 0;
}

.source-category li {
  color: var(--gray-600);
  padding: 0.4rem 0;
  font-size: 0.9rem;
  text-align: center;
}

/* Understanding Section */
.funding-understanding {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.funding-understanding h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  margin-bottom: 2rem;
  text-align: center;
}

.funding-understanding h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue-600);
  margin: 2rem 0 1rem 0;
}

.funding-understanding p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.funding-understanding ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.funding-understanding li {
  color: var(--gray-600);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.funding-understanding li::before {
  content: '•';
  color: var(--primary-blue-500);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* BattMan Partnership */
.battman-partnership {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--primary-blue-50), var(--secondary-green-50));
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.battman-partnership h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-blue-700);
  margin-bottom: 2rem;
}

.battman-partnership p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .types-grid,
  .sources-grid {
    grid-template-columns: 1fr;
  }
  
  .funding-understanding,
  .battman-partnership {
    padding: 2rem;
  }
  
  .funding-understanding h3,
  .battman-partnership h3 {
    font-size: 1.5rem;
  }
  
  .type-item,
  .source-category {
    padding: 1.5rem;
  }
}

/* Redesigned Benefits Section - Timeline Style */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
  border-radius: 20px;
  border-left: 4px solid var(--primary-blue-500);
  transition: all 0.3s ease;
  position: relative;
}

.benefit-item:hover {
  transform: translateX(10px);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue-100), var(--secondary-green-100));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue-600);
  flex-shrink: 0;
}

.benefit-content {
  flex: 1;
}

.benefit-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Redesigned Process Steps - Vertical Timeline */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.1);
}


.step:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue-500), var(--secondary-green-500));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.step-content {
  flex: 1;
}

.step h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* Redesigned Sources Section - Infographic Style */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.source-category {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.source-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue-500), var(--secondary-green-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.source-category:hover::before {
  transform: scaleX(1);
}

.source-category:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue-200);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.source-category h4 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-blue-600);
  margin-bottom: 1.5rem;
  position: relative;
}

.source-category h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue-500), var(--secondary-green-500));
  border-radius: 2px;
}

.source-category ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.source-category li {
  color: var(--gray-600);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.source-category li:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
  color: var(--gray-800);
}

/* Redesigned Types Section - Tab Style */
.types-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.type-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.type-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-blue-500), var(--secondary-green-500));
}

.type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.type-item h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.type-item h4::before {
  content: '📊';
  font-size: 1.2rem;
}

.type-item p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.type-item ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.type-item li {
  color: var(--gray-600);
  padding: 0.8rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
  border-left: 3px solid var(--primary-blue-300);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sources-grid {
    grid-template-columns: 1fr;
  }
  
  .type-item ul {
    grid-template-columns: 1fr;
  }
  
  .benefit-item,
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  
  .project-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .project-image {
    height: 250px;
  }
  
  .funding-hero-overlay h3,
  .about-hero-overlay h3,
  .services-hero-overlay h3,
  .team-hero-overlay h3 {
    font-size: 1.5rem;
  }
  
  .funding-hero-overlay p,
  .about-hero-overlay p,
  .services-hero-overlay p,
  .team-hero-overlay p {
    font-size: 1rem;
  }
  
  /* Мобільні стилі для hero зображень */
  .services-hero-image, .about-hero-image, .funding-hero-image, .team-hero-image {
    height: 300px !important;
  }
  
  .services-hero, .about-hero, .funding-hero, .team-hero {
    height: 300px !important;
    min-height: 300px !important;
  }
  
  .services-hero-overlay h3, .about-hero-overlay h3, .funding-hero-overlay h3, .team-hero-overlay h3 {
    font-size: 1.8rem !important;
  }
  
  .services-hero-overlay p, .about-hero-overlay p, .funding-hero-overlay p, .team-hero-overlay p {
    font-size: 1.1rem !important;
  }
  
  .capital-funding, .projects {
    min-height: auto !important;
    padding: 3rem 0 !important;
  }
  
  .project-item {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .project-image {
    height: 250px !important;
  }
}
