:root {
  --primary-green: #7eb88c;
  --primary-green-dark: #5a9a6a;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.7;
  font-size: 16px;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

a:hover {
  color: var(--primary-green-dark);
  text-decoration: none;
}

.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.edu-notice {
  background-color: var(--light-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.hero-section {
  background: linear-gradient(135deg, #e8f5ec 0%, #d4edda 50%, #c3e6cb 100%);
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.content-section {
  padding: 4rem 0;
}

.content-section:nth-child(even) {
  background-color: var(--white);
}

.content-section:nth-child(odd) {
  background-color: var(--light-bg);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.btn-read {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-read:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.context-block {
  background-color: #f0f7f2;
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

.context-block h3 {
  color: var(--primary-green-dark);
  margin-bottom: 0.75rem;
}

.context-block p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.page-header {
  background: linear-gradient(135deg, #e8f5ec 0%, #d4edda 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-content {
  padding: 3rem 0;
  background-color: var(--white);
}

.page-content p {
  margin-bottom: 1.25rem;
}

.contact-form {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(126, 184, 140, 0.2);
  outline: none;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

footer h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.policy-content h2 {
  margin-top: 2rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .content-section {
    padding: 3rem 0;
  }

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

  .image-grid img {
    height: 180px;
  }

  footer {
    text-align: center;
  }

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

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .btn-read {
    width: 100%;
    text-align: center;
  }
}
