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

:root {
  --primary-light: #E0F2F7;
  --primary-blue: #007BFF;
  --primary-green: #28A745;
  --primary-gray: #6C757D;
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f8f9fa;
  --border-gray: #dee2e6;
  --dark-gray: #495057;
  --text-dark: #212529;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

h2 {
  font-size: 2rem;
  font-weight: 700;
}

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

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

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

a:hover {
  color: var(--dark-gray);
}

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

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue) !important;
  letter-spacing: -0.5px;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
  background-color: rgba(0, 123, 255, 0.05);
  border-radius: 4px;
}

.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(224, 242, 247, 0.7) 100%),
              url('images/hero-bg.jpg') center/cover no-repeat;
  padding: 120px 0;
  text-align: center;
  color: var(--text-dark);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--dark-gray);
}

.section {
  padding: 80px 0;
}

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

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 800;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col-md-6 {
  flex: 0 0 50%;
  padding: 15px;
}

.col-md-4 {
  flex: 0 0 33.333%;
  padding: 15px;
}

.col-md-3 {
  flex: 0 0 25%;
  padding: 15px;
}

.col-12 {
  flex: 0 0 100%;
  padding: 15px;
}

.col-md-5 {
  flex: 0 0 41.667%;
  padding: 15px;
}

.col-md-7 {
  flex: 0 0 58.333%;
  padding: 15px;
}

@media (max-width: 768px) {
  .col-md-6, .col-md-4, .col-md-3, .col-md-5, .col-md-7 {
    flex: 0 0 100%;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 60px 0;
    min-height: 350px;
  }
}

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

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.15);
  transform: translateY(-4px);
  border-color: var(--primary-blue);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-text {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

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

.btn-secondary:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}

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

.two-column {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.two-column-img {
  flex: 1;
}

.two-column-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.two-column-text {
  flex: 1;
}

.two-column-text h2 {
  margin-bottom: 1.5rem;
}

.two-column-text p {
  margin-bottom: 1rem;
}

.two-column-text ul {
  list-style: none;
  padding-left: 0;
}

.two-column-text li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--dark-gray);
}

.two-column-text li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    gap: 2rem;
  }
}

.text-block {
  padding: 3rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-block h2 {
  margin-bottom: 2rem;
}

.text-block p {
  margin-bottom: 1.5rem;
}

.faq-item {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-blue);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background-color: rgba(0, 123, 255, 0.08);
  padding-left: 2rem;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.faq-answer {
  color: var(--dark-gray);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.disclaimer-block {
  background-color: var(--primary-light);
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

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

.educational-badge {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-disclaimer {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-green);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section p {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bbb;
  cursor: pointer;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

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

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-blue);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-gray);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.4s ease;
}

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

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

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

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

.btn-cookie-accept:hover {
  background-color: #218838;
}

.btn-cookie-reject {
  background-color: var(--border-gray);
  color: var(--text-dark);
}

.btn-cookie-reject:hover {
  background-color: #ccc;
}

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

.btn-cookie-learn:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
  
  .btn-cookie {
    flex: 1;
    min-width: 100px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

ul {
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.soft-cta {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(40, 167, 69, 0.1) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
}

.soft-cta h2 {
  margin-bottom: 1.5rem;
}

.soft-cta p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

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

th {
  background-color: var(--primary-light);
  font-weight: 700;
  color: var(--primary-blue);
}

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