:root {
  --primary: #3498DB;
  --accent-green: #2ECC71;
  --accent-orange: #F39C12;
  --accent-grey: #95A5A6;
  --light-grey: #ECF0F1;
  --dark-grey: #34495E;
  --white: #FFFFFF;
  --black: #2C3E50;
}

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

html, body {
  font-family: 'Lato', 'Roboto', sans-serif;
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--dark-grey);
}

header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent-green);
}

.navbar-nav .nav-link {
  color: var(--black);
  font-weight: 500;
  margin-left: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent-green);
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
}

footer {
  background: var(--dark-grey);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

footer h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

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

footer p {
  color: var(--light-grey);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.hero-block {
  min-height: 500px;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero-landscape.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-block h1 {
  color: var(--white);
  font-size: 2.8rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
}

.hero-block h2 {
  color: var(--white);
  font-size: 1.4rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  max-width: 700px;
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--black);
}

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

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

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

.concept-list {
  list-style: none;
}

.concept-list li {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
}

.concept-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--light-grey);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.card p {
  font-size: 0.95rem;
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
}

.card.card-green {
  background: rgba(46, 204, 113, 0.1);
  border-left: 4px solid var(--accent-green);
}

.card.card-orange {
  background: rgba(243, 156, 18, 0.1);
  border-left: 4px solid var(--accent-orange);
}

.card.card-primary {
  background: rgba(52, 152, 219, 0.1);
  border-left: 4px solid var(--primary);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  margin-right: 50%;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  margin-right: 0;
  text-align: left;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--white);
}

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

.grid-4 .card {
  background: var(--light-grey);
}

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

.grid-4.with-image .image-cell {
  grid-column: span 2;
  overflow: hidden;
  border-radius: 8px;
}

.grid-4.with-image .image-cell img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
}

table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

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

table tbody tr:nth-child(even) {
  background: var(--light-grey);
}

table tbody tr:hover {
  background: rgba(52, 152, 219, 0.05);
}

.accordion {
  margin: 2rem 0;
}

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

.accordion-header {
  background: var(--light-grey);
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--black);
  user-select: none;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: rgba(52, 152, 219, 0.1);
}

.accordion-header.active {
  background: var(--primary);
  color: var(--white);
}

.accordion-content {
  padding: 1.5rem;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--light-grey);
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.info-box {
  background: var(--light-grey);
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
}

.info-box h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.info-box p {
  font-size: 0.9rem;
}

.disclaimer {
  background: rgba(243, 156, 18, 0.05);
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.disclaimer h4 {
  color: var(--accent-orange);
  margin-bottom: 0.5rem;
}

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

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

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

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-grey);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

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

.message-full {
  text-align: center;
  padding: 3rem;
  color: var(--primary);
}

.message-full h2 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.message-full p {
  color: var(--dark-grey);
  font-size: 1.05rem;
}

.section-bg-primary {
  background: rgba(52, 152, 219, 0.05);
}

.section-bg-green {
  background: rgba(46, 204, 113, 0.05);
}

.educational-note {
  background: var(--light-grey);
  padding: 2rem;
  border-radius: 4px;
  margin: 2rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--dark-grey);
}

.educational-note strong {
  color: var(--primary);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

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

  h2 {
    font-size: 1.6rem;
  }

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

  .two-column.reverse {
    direction: ltr;
  }

  .pillar-cards,
  .info-boxes {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: 0;
    transform: translateX(-50%);
  }

  .grid-4,
  .grid-4.with-image {
    grid-template-columns: 1fr;
  }

  .grid-4.with-image .image-cell {
    grid-column: span 1;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .hero-block h1 {
    font-size: 1.8rem;
  }

  .hero-block h2 {
    font-size: 1.1rem;
  }

  section {
    padding: 2rem 0;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-grey);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--white);
  font-size: 0.95rem;
}

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

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

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

.cookie-accept:hover {
  background: #27ae60;
}

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

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

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

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

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

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

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