:root {
  --primary: #4A72B2;
  --primary-light: #9BBBD9;
  --accent-gold: #FFD700;
  --accent-teal: #5C8D89;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gray-medium: #E9ECEF;
  --gray-dark: #495057;
  --text-dark: #212529;
}

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

html, 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: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

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

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

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

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

header .navbar-brand img {
  height: 40px;
  margin-right: 0.5rem;
}

header .nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header .nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

.section {
  padding: 4rem 0;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  margin-bottom: 0;
}

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

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

.two-column.reverse .text-col {
  order: 2;
}

.two-column.reverse .image-col {
  order: 1;
}

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

.image-col img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(74, 114, 178, 0.15);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(74, 114, 178, 0.2);
}

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

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

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

.btn:hover {
  background-color: #3a5a92;
  text-decoration: none;
  color: var(--white);
}

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

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

.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  margin-bottom: 1rem;
}

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

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

.comparison-table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

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

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

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

footer h3 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

footer p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

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

footer .education-notice {
  background-color: rgba(255,215,0,0.1);
  padding: 1rem;
  border-left: 4px solid var(--accent-gold);
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.95);
}

form {
  max-width: 600px;
  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(--gray-medium);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

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

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

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-medium);
  padding-bottom: 1.5rem;
}

.faq-item h3 {
  color: var(--primary);
  cursor: pointer;
  user-select: none;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--gray-dark);
  margin: 0;
}

.disclaimer-box {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2rem 0;
}

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

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

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

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

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner button {
  padding: 0.5rem 1.5rem;
  background-color: var(--accent-gold);
  color: var(--primary);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

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

  h2 {
    font-size: 1.5rem;
  }

  header .nav-links {
    gap: 1rem;
    font-size: 0.95rem;
  }

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

  .two-column.reverse .text-col,
  .two-column.reverse .image-col {
    order: unset;
  }

  .hero {
    padding: 3rem 0;
  }

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

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

  .section {
    padding: 2.5rem 0;
  }

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

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

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

  .cookie-banner button {
    align-self: flex-end;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
