:root {
  --color-lavender-grey: #B7C0D0;
  --color-soft-peach: #FFD3B6;
  --color-muted-teal: #6B9EA0;
  --color-deep-graphite: #2F2F2F;
  --color-white: #FFFFFF;
  --color-light-grey: #F5F5F5;
  --color-medium-grey: #E8E8E8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-deep-graphite);
  background-color: var(--color-white);
}

h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 3rem;
  color: var(--color-deep-graphite);
  text-align: center;
  text-balance: balance;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-deep-graphite);
  text-balance: balance;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--color-deep-graphite);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-deep-graphite);
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-deep-graphite);
}

a {
  color: var(--color-muted-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-soft-peach);
}

blockquote {
  font-style: italic;
  color: var(--color-muted-teal);
  border-left: 4px solid var(--color-soft-peach);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-deep-graphite);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--color-muted-teal);
}

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

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-deep-graphite);
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-muted-teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-deep-graphite);
}

footer {
  background-color: var(--color-lavender-grey);
  color: var(--color-deep-graphite);
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-deep-graphite);
}

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

footer a {
  color: var(--color-deep-graphite);
  font-weight: 500;
}

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

.footer-bottom {
  border-top: 1px solid rgba(47, 47, 47, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

main {
  margin-top: 80px;
  padding-top: 2rem;
}

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

section {
  padding: 4rem 0;
}

.hero-section {
  padding: 0;
  margin-top: 0;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(183, 192, 208, 0.2) 0%, rgba(255, 211, 182, 0.1) 100%);
  overflow: hidden;
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(47, 47, 47, 0.3) 0%, rgba(183, 192, 208, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 0;
}

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

.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-with-image.reverse {
  direction: rtl;
}

.content-with-image.reverse > * {
  direction: ltr;
}

.content-with-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.content-with-image img:hover {
  transform: translateY(-5px);
}

.image-section {
  width: 100%;
  margin: 2rem 0;
}

.image-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-section img:hover {
  transform: scale(1.02);
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--color-muted-teal), var(--color-lavender-grey));
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(135deg, var(--color-muted-teal) 20%, var(--color-soft-peach) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 158, 160, 0.3);
}

.btn-secondary {
  background-color: var(--color-soft-peach);
  color: var(--color-deep-graphite);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-soft-peach), #FFB86D);
  color: var(--color-deep-graphite);
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(183, 192, 208, 0.1) 0%, rgba(255, 211, 182, 0.1) 100%);
  border-radius: 8px;
}

.cta-section h2 {
  color: var(--color-deep-graphite);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.blog-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--color-medium-grey);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--color-soft-peach);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-deep-graphite);
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--color-deep-graphite);
}

.blog-card a {
  color: var(--color-muted-teal);
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: var(--color-soft-peach);
}

.faq-section {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-medium-grey);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--color-deep-graphite);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  color: var(--color-muted-teal);
}

.faq-toggle {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-toggle.open {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--color-deep-graphite);
  line-height: 1.9;
  font-weight: 300;
}

.faq-answer.open {
  display: block;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--color-light-grey);
  border-radius: 8px;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-muted-teal);
  box-shadow: 0 0 0 3px rgba(107, 158, 160, 0.1);
}

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

.form-disclaimer {
  background-color: var(--color-lavender-grey);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-deep-graphite);
  line-height: 1.6;
}

.disclaimer-section {
  background-color: var(--color-light-grey);
  padding: 2rem;
  border-left: 4px solid var(--color-soft-peach);
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer-section h3 {
  color: var(--color-deep-graphite);
}

.educational-notice {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-muted-teal);
  padding: 2rem;
  background: linear-gradient(135deg, rgba(183, 192, 208, 0.1) 0%, rgba(255, 211, 182, 0.1) 100%);
  border-radius: 8px;
  margin: 2rem 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-medium-grey);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-content {
  flex: 1;
  font-size: 0.95rem;
  color: var(--color-deep-graphite);
  line-height: 1.6;
}

.cookie-content p {
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

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

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--color-muted-teal), var(--color-lavender-grey));
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, var(--color-muted-teal) 20%, var(--color-soft-peach) 100%);
}

.cookie-btn-reject {
  background-color: var(--color-light-grey);
  color: var(--color-deep-graphite);
  border: 1px solid var(--color-medium-grey);
}

.cookie-btn-reject:hover {
  background-color: var(--color-medium-grey);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-muted-teal);
  border: 1px solid var(--color-muted-teal);
}

.cookie-btn-learn:hover {
  background-color: var(--color-muted-teal);
  color: var(--color-white);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-section {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  header .container {
    padding: 0 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .content-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-with-image.reverse {
    direction: ltr;
  }

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

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

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

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

  h2 {
    font-size: 1.35rem;
  }

  .hero-section {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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