@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #336699;
  --accent-light: #A8C6ED;
  --accent-green: #66CC99;
  --accent-orange: #FFCC66;
  --dark: #1a1a1a;
  --light: #f9f9f9;
  --white: #ffffff;
  --gray: #666666;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: 40px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .header-container {
    padding: 1rem 1.5rem;
  }
}

main {
  min-height: 100vh;
}

section {
  padding: 4rem 2rem;
  max-width: 1320px;
  margin: 0 auto;
}

section:nth-child(even) {
  background-color: var(--light);
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary);
}

h3 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
}

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

.text-balance {
  text-wrap: balance;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 2rem;
}

.hero-content h1 {
  margin-bottom: 2rem;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 2rem;
}

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

.btn:hover {
  background-color: #1d3d5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 102, 153, 0.3);
}

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

.btn-secondary:hover {
  background-color: #4db373;
}

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

.category-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-content {
  padding: 2rem;
}

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

.category-content p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

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

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

.column-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

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

.column-content p {
  margin-bottom: 1.2rem;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

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

.feature-item {
  padding: 1.5rem;
  background-color: #f5f5f5;
  border-left: 4px solid var(--primary);
  border-radius: 4px;
}

.feature-item h4 {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.faq-section {
  max-width: 800px;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5rem;
}

.faq-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-item h4:hover {
  color: var(--accent-green);
}

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

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

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}

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

.footer-section h4 {
  color: var(--accent-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-light);
  cursor: pointer;
}

.footer-disclaimer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.85rem;
}

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

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.close:hover {
  color: var(--dark);
}

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

.modal-content p {
  margin-bottom: 1rem;
}

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

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

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(51, 102, 153, 0.2);
}

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

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

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

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

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

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn-accept:hover {
  background-color: #4db373;
}

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

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

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

.btn-learn:hover {
  background-color: rgba(168, 198, 237, 0.1);
}

.thank-you-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  z-index: 2001;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 400px;
}

.thank-you-message.show {
  display: block;
}

.thank-you-message h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

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

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .two-column.reverse {
    direction: ltr;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 1.5rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .column-image {
    height: 250px;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
