:root {
  --primary-color: #1a4332; /* Deep pine green */
  --primary-light: #2c6850;
  --secondary-color: #cda863; /* Soft gold/champagne accent */
  --bg-color: #f7fcf9; /* Very soft mint/white */
  --text-dark: #1f292e;
  --text-light: #64748b;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0; /* For page load animation */
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-color);
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; position: relative; display: inline-block; }
h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* Layout & Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 67, 50, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 67, 50, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-selector {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(10px);
  min-width: 120px;
}

.lang-selector:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: var(--bg-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 120px;
}

.seo-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 600;
  animation: slideUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  animation: slideUp 0.8s ease 0.1s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: slideUp 0.8s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

/* Cards (Programs) */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.program-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.program-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(26, 67, 50, 0.08);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.program-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.program-card ul li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
}

.program-card ul li i {
  color: var(--secondary-color);
}

/* Feature Section (Why Ukraine) */
.features {
  background: var(--white);
  position: relative;
}

.features-wrap {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.features-content {
  flex: 1;
}

.features-image {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.features-image img {
  width: 100%;
  display: block;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-light);
  background: var(--bg-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Process Steps */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: rgba(26, 67, 50, 0.1);
}

.process-step {
  display: flex;
  gap: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--bg-color);
  z-index: 1;
}

.step-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  width: 100%;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Utilities for Scroll Reveal via JS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-heading { font-size: 3rem; }
  .hero-image-wrapper { position: relative; width: 100%; height: 400px; margin-top: 3rem; border-radius: 20px; overflow: hidden; }
  .hero-image-wrapper img { border-radius: 20px; }
  .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
  .hero-btns { justify-content: center; }
  .features-wrap { flex-direction: column; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: left 0.4s ease;
  }
  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: block; }
  .lang-selector { margin-top: 2rem; }
}
