@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Lato:wght@400;700&display=swap');

:root {
  --primary-blue: #1A2E44;
  --accent-green: #6B8E23;
  --warm-beige: #F5F5DC;
  --gold-ochre: #CC9900;
  --dark-gray: #333333;
  --light-gray: #f9f9f9;
  --border-gray: #eee;
}

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

html, body {
  font-family: 'Lato', sans-serif;
  color: var(--dark-gray);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 0.8rem;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: sticky;
  top: 0;
  background-color: var(--primary-blue);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 4px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--gold-ochre);
}

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

section {
  padding: 5rem 0;
}

section.full-width {
  padding: 5rem 0;
  width: 100%;
}

.section-bg-beige {
  background-color: var(--warm-beige);
}

.section-bg-blue {
  background-color: var(--primary-blue);
}

.section-bg-blue h2,
.section-bg-blue h3,
.section-bg-blue p {
  color: #ffffff;
}

.section-bg-blue a {
  color: var(--gold-ochre);
}

.hero {
  background: linear-gradient(135deg, rgba(26, 46, 68, 0.8), rgba(26, 46, 68, 0.8)), url('images/hero.jpg') center/cover;
  color: #ffffff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.hero h1 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

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

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: 1fr 1fr;
}

.two-column.reverse > div:first-child {
  order: 2;
}

.two-column.reverse > div:last-child {
  order: 1;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--accent-green);
  color: #ffffff;
  border: 1px solid var(--accent-green);
}

.btn-primary:hover {
  background-color: #5a7a1f;
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-text {
  background-color: transparent;
  color: var(--primary-blue);
  border: none;
  padding: 0;
  display: inline;
  text-decoration: underline;
}

.btn-text:hover {
  color: var(--accent-green);
}

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

.card {
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

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

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

.faq {
  margin-top: 2rem;
}

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

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

.faq-question {
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.faq-answer.active {
  max-height: 500px;
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-blue);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-style: italic;
}

footer {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

footer h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

footer a {
  color: var(--gold-ochre);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}

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

.copyright {
  margin-bottom: 1rem;
}

.educational-notice {
  font-style: italic;
  color: var(--gold-ochre);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-blue);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: var(--accent-green);
}

.modal img {
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-content {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold-ochre);
  cursor: pointer;
  text-decoration: underline;
}

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

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

.cookie-accept {
  background-color: var(--accent-green);
  color: #ffffff;
}

.cookie-accept:hover {
  background-color: #5a7a1f;
}

.cookie-reject {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

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

.thank-you-modal {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.thank-you-modal.active {
  display: flex;
}

.thank-you-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.thank-you-content h2 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.thank-you-close {
  background-color: var(--accent-green);
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.thank-you-close:hover {
  background-color: #5a7a1f;
}

.restriction-block {
  background-color: var(--warm-beige);
  border-left: 4px solid var(--gold-ochre);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.restriction-block h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.restriction-block ul {
  list-style-position: inside;
  color: var(--dark-gray);
}

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

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column.reverse > div:first-child {
    order: 0;
  }

  .two-column.reverse > div:last-child {
    order: 0;
  }

  nav a {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

  .cookie-content {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    justify-content: flex-start;
  }

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

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

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

  h2 {
    font-size: 1.2rem;
  }

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

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

  header .container {
    padding: 0 1rem;
  }

  nav a {
    margin-left: 0.5rem;
    font-size: 0.75rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .modal-content {
    padding: 1.5rem;
    max-height: 90vh;
  }
}
