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

:root {
  --deep-teal: #00796B;
  --soft-gold: #D4AF37;
  --muted-coral: #FF7F50;
  --light-grey: #E0E0E0;
  --dark-grey: #333333;
  --white: #FFFFFF;
  --border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', 'Open Sans', sans-serif;
  color: var(--dark-grey);
  background-color: var(--white);
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--deep-teal);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

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

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

header {
  background-color: var(--white);
  border-bottom: 2px solid var(--light-grey);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep-teal);
  text-decoration: none;
}

.logo:hover {
  opacity: 0.85;
}

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

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

nav a:hover {
  color: var(--deep-teal);
}

main {
  margin-top: 80px;
}

section {
  padding: 4rem 1.5rem;
  margin-bottom: 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(rgba(0, 121, 107, 0.75), rgba(0, 121, 107, 0.75)), url('images/hero.jpg') center/cover;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
  margin-top: 80px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin: 2rem auto;
  max-width: 800px;
  color: var(--white);
  text-align: center;
}

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

.two-col-section.reverse {
  direction: rtl;
}

.two-col-section.reverse > * {
  direction: ltr;
}

.col-text {
  padding-right: 2rem;
}

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

.col-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 121, 107, 0.15);
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  overflow: hidden;
}

table thead {
  background-color: var(--deep-teal);
  color: var(--white);
}

table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--light-grey);
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

table tbody tr:hover {
  background-color: rgba(0, 121, 107, 0.05);
}

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1.5rem;
  background-color: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-teal);
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  background-color: rgba(0, 121, 107, 0.05);
}

.accordion-button.active {
  background-color: var(--deep-teal);
  color: var(--white);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: rgba(0, 121, 107, 0.02);
  border-top: 1px solid var(--light-grey);
  color: var(--dark-grey);
  line-height: 1.8;
}

.accordion-content.active {
  display: block;
}

.form-section {
  background-color: rgba(212, 175, 55, 0.08);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

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

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

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

button {
  background-color: var(--deep-teal);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #006058;
  transform: scale(1.02);
}

button:active {
  transform: scale(0.98);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--dark-grey);
  margin-top: 1rem;
  line-height: 1.6;
  background-color: rgba(0, 121, 107, 0.05);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--soft-gold);
}

.disclaimer-block {
  background-color: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--soft-gold);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.disclaimer-block h3 {
  color: var(--deep-teal);
}

footer {
  background-color: var(--deep-teal);
  color: var(--white);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

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

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

.footer-section h4 {
  color: var(--soft-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

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

.footer-links a:hover {
  color: var(--soft-gold);
}

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

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

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

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-grey);
  border: none;
  background: none;
  padding: 0;
  width: auto;
}

.modal-close:hover {
  color: var(--deep-teal);
}

.modal-content h2 {
  margin-top: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-teal);
  color: var(--white);
  padding: 1.5rem;
  z-index: 1500;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
}

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

.cookie-button {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--soft-gold);
  color: var(--dark-grey);
}

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

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

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

.cookie-learn {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.educational-message {
  background-color: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--soft-gold);
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 600;
  color: var(--deep-teal);
  margin: 2rem 0;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

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

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

  .two-col-section.reverse {
    direction: ltr;
  }

  .col-text {
    padding-right: 0;
  }

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

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

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
    text-align: center;
  }

  .modal-content {
    max-width: 95%;
    padding: 1.5rem;
  }

  table {
    font-size: 0.85rem;
  }

  table th, table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  button {
    width: 100%;
  }
}
