:root {
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-graphite: #2a2a2a;
  --dark-green: #1a5f3f;
  --blue-gray: #5a6f7f;
  --weak-shadow: rgba(0, 0, 0, 0.05);
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--white);
  color: var(--dark-graphite);
  line-height: 1.6;
  font-size: 16px;
}

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--dark-graphite);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--dark-green);
}

.hero {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 2rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
}

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

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--blue-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--dark-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(26, 95, 63, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue-gray);
  border-color: var(--blue-gray);
}

.btn-secondary:hover {
  background-color: rgba(90, 111, 127, 0.05);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(90, 111, 127, 0.1);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-graphite);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--weak-shadow);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
  font-weight: 600;
}

.card p {
  color: var(--dark-graphite);
  line-height: 1.7;
}

.card-small {
  padding: 1.5rem;
  background-color: var(--light-gray);
}

.card-small h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--dark-green);
  font-weight: 600;
}

.card-small p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--light-gray);
  padding: 2rem;
  border-left: 4px solid var(--dark-green);
  border-radius: 4px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
}

.testimonial-author {
  font-weight: 600;
  color: var(--blue-gray);
  font-size: 0.9rem;
}

.programs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.program-card:hover {
  border-color: var(--dark-green);
  box-shadow: 0 4px 12px var(--weak-shadow);
}

.program-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
  font-weight: 600;
}

.program-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.program-card .btn {
  margin-top: 1rem;
}

.content-section {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.content-text {
  flex: 1;
  min-width: 300px;
}

.content-text h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--dark-graphite);
  font-weight: 700;
}

.content-text p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: var(--dark-graphite);
}

.content-image {
  flex: 1;
  min-width: 300px;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--weak-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dark-green);
  box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

footer {
  background-color: var(--light-gray);
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-top: 1px solid #d0d0d0;
}

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

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--dark-graphite);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #d0d0d0;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--blue-gray);
}

.disclaimer {
  background-color: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #5f4f00;
}

.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-message h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.thank-you-message p {
  font-size: 1.1rem;
  color: var(--dark-graphite);
  margin-bottom: 2rem;
  max-width: 500px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-graphite);
  color: var(--white);
  padding: 1.5rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--dark-green);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--dark-green);
  color: var(--white);
}

.cookie-btn-accept:hover {
  opacity: 0.9;
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-section {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
