:root {
  --color-sandstone: #d9b38c;
  --color-myrtle: #2d6a4f;
  --color-ochre: #e8c39e;
  --color-bronze: #8c7853;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--color-dark);
  background-color: var(--color-white);
}

h1 {
  font-family: 'Bitter', serif;
  font-weight: bold;
  font-size: 5.2rem;
  letter-spacing: -0.6px;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

h2 {
  font-family: 'Bitter', serif;
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Bitter', serif;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  word-wrap: break-word;
}

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

a:hover {
  color: var(--color-myrtle);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

header.scrolled {
  background-color: var(--color-sandstone);
}

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

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 30px;
  }
}

.logo {
  font-family: 'Bitter', serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-bronze);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

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

nav {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

nav a {
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  color: var(--color-dark);
  font-size: 0.95rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--color-myrtle);
  border-bottom: 2px solid var(--color-bronze);
}

main {
  margin-top: 80px;
  width: 100%;
}

section {
  width: 100%;
  padding: 170px 130px;
  margin: 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 30px;
  }
}

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-sandstone), var(--color-ochre));
  overflow: hidden;
  padding: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 60px;
  animation: slideUpStagger 0.8s ease forwards;
}

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

.hero-content h1 {
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.3rem;
  color: var(--color-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

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

.content-section:nth-child(even) {
  background: linear-gradient(180deg, rgba(217, 179, 140, 0.08) 0%, rgba(232, 195, 158, 0.06) 100%);
}

.section-container {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.row-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .row-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.row-content img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.row-text {
  padding: 2rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.card {
  background-color: var(--color-white);
  border: 1px solid rgba(217, 179, 140, 0.3);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--color-bronze);
  box-shadow: 0 12px 50px rgba(140, 120, 83, 0.2);
  transform: translateY(-14px);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--color-bronze);
}

.card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.card-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}

.card-list li:before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--color-bronze);
  font-size: 0.7rem;
}

.disclaimer-section {
  background-color: rgba(217, 179, 140, 0.1);
  border-left: 4px solid var(--color-bronze);
  padding: 2rem;
  border-radius: 4px;
  margin-top: 3rem;
}

.disclaimer-section h3 {
  color: var(--color-myrtle);
  margin-bottom: 1rem;
}

.disclaimer-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-dark);
}

.button {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 2rem;
  border: 2px solid var(--color-bronze);
  color: var(--color-bronze);
  background-color: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.button:hover {
  background: linear-gradient(135deg, var(--color-ochre), rgba(232, 195, 158, 0.8));
  color: var(--color-dark);
  box-shadow: 0 8px 20px rgba(140, 120, 83, 0.25);
}

.button:active {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 var(--color-myrtle);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(45, 106, 79, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 106, 79, 0);
  }
}

.divider {
  height: 1px;
  background-color: var(--color-bronze);
  margin: 2rem 0;
  opacity: 0.3;
}

footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 130px;
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 30px;
  }
}

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

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-section h4 {
  font-family: 'Bitter', serif;
  font-size: 1.1rem;
  color: var(--color-sandstone);
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-section p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-top: 1px solid rgba(217, 179, 140, 0.3);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.cookie-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--color-bronze);
  color: var(--color-white);
}

.cookie-accept:hover {
  background-color: var(--color-myrtle);
}

.cookie-reject {
  background-color: transparent;
  color: var(--color-ochre);
  border: 1px solid var(--color-bronze);
}

.cookie-reject:hover {
  background-color: rgba(140, 120, 83, 0.1);
}

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

.cookie-learn:hover {
  background-color: rgba(217, 179, 140, 0.1);
}

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

.form-group label {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(217, 179, 140, 0.5);
  border-radius: 2px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-bronze);
  box-shadow: 0 0 0 3px rgba(140, 120, 83, 0.1);
}

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

.text-center {
  text-align: center;
}

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

.mt-3 {
  margin-top: 3rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.py-4 {
  padding: 4rem 0;
}

.color-bronze {
  color: var(--color-bronze);
}

.color-myrtle {
  color: var(--color-myrtle);
}

.educational-badge {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.5rem 1rem;
  background-color: rgba(217, 179, 140, 0.2);
  color: var(--color-bronze);
  border-radius: 2px;
  margin-bottom: 1rem;
}
