:root {
  --primary: #2D3E50;
  --accent-teal: #6BB5C1;
  --accent-warm: #F7C59F;
  --accent-gray: #A6A6A6;
  --white: #FFFFFF;
  --light-bg: #F5F5F5;
  --border-color: #E0E0E0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
  line-height: 1.3;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

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

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

nav.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary) !important;
  font-family: 'Poppins', sans-serif;
}

.nav-link {
  color: var(--primary) !important;
  font-size: 1rem;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-teal) !important;
}

.nav-link.active {
  color: var(--accent-teal) !important;
}

.section-hero {
  background: linear-gradient(135deg, rgba(45, 62, 80, 0.7) 0%, rgba(107, 181, 193, 0.5) 100%), url('images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

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

.hero-content p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section {
  padding: 100px 20px;
  background-color: var(--white);
}

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

.section-content {
  max-width: 1300px;
  margin: 0 auto;
}

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

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

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

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

.text-block h2 {
  margin-top: 0;
}

.image-block {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.highlight-box {
  background-color: rgba(107, 181, 193, 0.08);
  border-left: 4px solid var(--accent-teal);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.highlight-box h3 {
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-teal);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-teal);
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
}

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

.footer-section h3 {
  color: var(--accent-warm);
  margin-top: 0;
  font-size: 1.2rem;
}

.footer-section p, .footer-section a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-warm);
}

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

.disclaimer {
  background-color: rgba(247, 197, 159, 0.1);
  border-left: 4px solid var(--accent-warm);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--primary);
}

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

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

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

.faq-item h3 {
  color: var(--accent-teal);
  margin-top: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-item h3:hover {
  color: var(--primary);
}

.faq-answer {
  color: #555;
  margin-top: 1rem;
  line-height: 1.8;
}

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

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

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--primary);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(107, 181, 193, 0.1);
}

.form-disclaimer {
  background-color: rgba(107, 181, 193, 0.08);
  border-left: 4px solid var(--accent-teal);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-button {
  background-color: var(--accent-teal);
  color: var(--white);
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-button:hover {
  background-color: var(--accent-warm);
}

.cookie-button-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 10px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.breadcrumb-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.breadcrumb-nav a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.editorial-panel {
  background: linear-gradient(135deg, rgba(107, 181, 193, 0.05) 0%, rgba(247, 197, 159, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
}

.editorial-panel h2 {
  color: var(--primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: start;
}

.feature-item {
  display: flex;
  gap: 2rem;
}

.feature-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.feature-text h3 {
  margin-top: 0;
  color: var(--primary);
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
  background-color: var(--light-bg);
}

@media (max-width: 992px) {
  .two-column, .cards-grid, .footer-grid, .feature-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

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

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    border: none;
  }

  .navbar-toggler span {
    background-color: var(--primary);
  }

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

  .section-hero {
    padding: 80px 20px;
    min-height: 400px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

  p {
    font-size: 0.95rem;
  }

  .cards-grid {
    gap: 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .editorial-panel {
    padding: 2rem;
  }

  .feature-grid {
    gap: 2rem;
  }

  .feature-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 15px;
  }

  .section-hero {
    padding: 60px 15px;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .cookie-banner {
    padding: 15px;
    gap: 1rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}
