:root {
  --primary: #4A6E8A;
  --accent1: #8DCB9E;
  --accent2: #E8A87C;
  --accent3: #D4DCE8;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

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

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

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

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

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

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

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--accent3);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--primary);
  transition: color 0.3s ease;
}

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

/* Footer Styles */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 20px 2rem;
  margin-top: 4rem;
}

footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer p, footer a {
  color: #c8d7e6;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Main Content */
main {
  min-height: 60vh;
}

section {
  padding: 3rem 0;
}

section.full-width {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent1);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: #7ab88a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--primary);
}

.btn-secondary:hover {
  background-color: #385a74;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/img1.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  max-width: 900px;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

/* Grid Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

.two-column-image img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* Accent Section */
.accent-section {
  background-color: var(--accent1);
  color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.accent-section h2 {
  color: var(--white);
}

.accent-section ul {
  color: rgba(255, 255, 255, 0.95);
}

.accent-section li {
  margin-bottom: 0.8rem;
}

/* Three Image Pairings */
.image-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.image-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.image-pair img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Accordion Styles */
.accordion {
  border-top: 1px solid var(--accent3);
}

.accordion-item {
  border-bottom: 1px solid var(--accent3);
  padding: 1.5rem 0;
}

.accordion-header {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--accent1);
}

.accordion-content {
  display: none;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent1);
}

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

.accordion-item.active .accordion-header {
  color: var(--accent1);
}

/* Table Styles */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
}

.styled-table thead {
  background-color: var(--primary);
  color: var(--white);
}

.styled-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.styled-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--accent3);
}

.styled-table tbody tr:hover {
  background-color: var(--light);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--accent3);
  border-radius: 4px;
  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(--accent1);
  box-shadow: 0 0 0 3px rgba(141, 203, 158, 0.1);
}

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

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: none;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

#cookieBanner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-message {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

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

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

.cookie-accept:hover {
  background-color: #7ab88a;
}

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

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

.cookie-learn {
  color: var(--accent1);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}

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

/* Disclaimer Box */
.disclaimer-box {
  background-color: var(--light);
  border-left: 4px solid var(--accent1);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box h3 {
  color: var(--primary);
  margin-top: 0;
}

/* Educational Banner */
.educational-banner {
  background-color: var(--accent3);
  color: var(--primary);
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  font-weight: 600;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 350px;
    padding: 3rem 1rem;
  }

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

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

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

  .image-trio {
    grid-template-columns: 1fr;
  }

  nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

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

  #cookieBanner.show {
    flex-direction: column;
    align-items: stretch;
  }

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

  section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .container,
  .container-lg {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  nav {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.5rem;
  }
}
