:root {
  --primary: #008080;
  --primary-dark: #006666;
  --secondary: #408A71;
  --accent: #008080;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg: #F8F3E1;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.12);
  --footer-bg: #B0E4CC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background: var(--bg-white);
  box-shadow: 0 2px 16px var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: var(--primary);
  padding: 8px 0;
}

.header-top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header-contact:hover {
  opacity: 0.85;
}

.header-contact svg {
  width: 16px;
  height: 16px;
}

.header-main {
  background: var(--bg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--primary);
  padding: 12px 0;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: 0.3s;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  color: var(--primary);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: var(--primary);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.main {
  flex: 1;
  padding: 60px 24px;
}

.main-wide {
  padding: 40px 24px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}

.page-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.page-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.info-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-lg);
}

.info-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.info-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.info-card-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

.content-section {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 32px;
}

.content-section h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.content-section h3 {
  color: var(--secondary);
  font-size: 1.2rem;
  margin: 32px 0 16px;
}

.content-section p {
  margin-bottom: 16px;
  color: var(--text);
}

.content-section ul {
  list-style: none;
  margin: 16px 0;
}

.content-section li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.content-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
}

.contact-section {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-top: 48px;
}

.contact-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 32px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.contact-item {
  padding: 24px;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.contact-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value a:hover {
  color: var(--secondary);
}

.funding-details {
  background: var(--bg);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.funding-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.funding-row:last-child {
  border-bottom: none;
}

.funding-label {
  flex: 0 0 200px;
  font-weight: 600;
  color: var(--text);
}

.funding-value {
  flex: 1;
  color: var(--text-light);
}

.footer {
  background: var(--footer-bg);
  color: #2c3e50;
  padding: 40px 24px 24px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-section p,
.footer-section a {
  color: #2c3e50;
  font-size: 0.9rem;
  line-height: 1.8;
  text-decoration: none;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(0, 128, 128, 0.2);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.eu-badge {
  display: inline-block;
  background: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  margin-top: 16px;
}

.eu-badge img {
  height: 60px;
  width: auto;
}

@media (max-width: 900px) {
  .header-top-container {
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 16px;
  }

  .header-contact {
    font-size: 0.85rem;
  }

  .nav-list {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

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

  .content-section {
    padding: 32px 24px;
  }

  .funding-row {
    flex-direction: column;
    gap: 4px;
  }

  .funding-label {
    flex: none;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 48px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    font-size: 0.7rem;
  }

  .hero {
    padding: 48px 16px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .main {
    padding: 32px 16px;
  }

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

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