:root {
  --primary-dark: #2C3E50;
  --accent-teal: #85A3B3;
  --accent-rose: #C19C9D;
  --light-bg: #F2F2F2;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --border-light: #E0E0E0;
  --spacing-unit: 1rem;
  --transition-smooth: 0.3s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  letter-spacing: -0.3px;
  font-weight: 700;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

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

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

header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.logo a {
  color: var(--white);
}

.logo a:hover {
  color: var(--accent-teal);
}

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

nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-smooth);
}

nav a:hover {
  color: var(--accent-teal);
  border-bottom: 2px solid var(--accent-teal);
  padding-bottom: 0.25rem;
}

footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

footer .container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--white);
  margin-top: 0;
}

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

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

footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.hero {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(133, 163, 179, 0.5)), 
              url('images/img1.jpg') center/cover;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

section {
  padding: 4rem 2rem;
}

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

.section-highlight {
  background-color: var(--light-bg);
}

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

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

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-dark a {
  color: var(--accent-teal);
}

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

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

.content-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

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

.content-panel.highlight {
  background-color: var(--light-bg);
  border-color: var(--accent-teal);
  border-width: 2px;
}

.image-block {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.image-block.large {
  height: 450px;
}

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

.layout-2col-reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.layout-2col-reverse > * {
  direction: ltr;
}

.text-column {
  padding: 0;
}

.image-column {
  padding: 0;
}

.button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--accent-teal);
  color: var(--white);
  border: 2px solid var(--accent-teal);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-smooth);
  cursor: pointer;
  font-size: 0.95rem;
}

.button:hover {
  background-color: transparent;
  color: var(--accent-teal);
}

.button.secondary {
  background-color: transparent;
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.button.secondary:hover {
  background-color: var(--accent-teal);
  color: var(--white);
}

.button.dark {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.button.dark:hover {
  background-color: transparent;
  color: var(--primary-dark);
}

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

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

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

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

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

.disclaimer {
  background-color: #FFF9E6;
  border-left: 4px solid var(--accent-rose);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.disclaimer strong {
  color: var(--primary-dark);
}

.disclaimer p {
  margin: 0.5rem 0;
}

.alert {
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.alert-info {
  background-color: #E8F4F8;
  border-left: 4px solid var(--accent-teal);
  color: var(--primary-dark);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, var(--light-bg), var(--white));
  border-radius: 6px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

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

.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-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--accent-teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--light-bg);
}

.timeline-content {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 4px;
}

.glossary {
  margin: 2rem 0;
}

.glossary-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

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

.glossary-term {
  font-weight: 700;
  color: var(--accent-rose);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.glossary-definition {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.comparison-matrix {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.comparison-matrix th,
.comparison-matrix td {
  padding: 1.5rem;
  text-align: left;
  border: 1px solid var(--border-light);
}

.comparison-matrix th {
  background-color: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
}

.comparison-matrix tr:nth-child(even) {
  background-color: var(--light-bg);
}

.comparison-matrix tr:hover {
  background-color: rgba(133, 163, 179, 0.1);
}

.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
}

.breadcrumb a {
  color: var(--accent-teal);
  margin: 0 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-content {
  flex: 1;
  min-width: 250px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-size: 0.9rem;
}

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

.cookie-btn.accept:hover {
  background-color: rgba(133, 163, 179, 0.8);
}

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

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

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

.cookie-btn.learn:hover {
  background-color: rgba(133, 163, 179, 0.1);
}

.educational-badge {
  display: inline-block;
  background-color: var(--accent-rose);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
  margin: 3rem 0;
}

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

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

.margin-top {
  margin-top: 2rem;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.padding-top {
  padding-top: 2rem;
}

.padding-bottom {
  padding-bottom: 2rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

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

  .layout-2col,
  .layout-2col-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .layout-2col-reverse {
    direction: ltr;
  }

  .layout-2col-reverse > * {
    direction: ltr;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: 400px;
  }

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

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

  .timeline::before {
    left: 30px;
  }

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

  .timeline-dot {
    left: 20px;
  }

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

  .cookie-buttons {
    width: 100%;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 1rem;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .content-panel {
    padding: 1.5rem;
  }

  .image-block {
    height: 200px;
  }

  .image-block.large {
    height: 300px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}
