/* ===== TABLET/MEDIUM SCREEN ADJUSTMENTS ===== */
/* Tablet/medium screen adjustments */
@media (max-width: 1025px) and (min-width: 769px) {
.nav-links {
  margin-right: 80px; /* Space for smaller theme toggle on tablet */
}

.footer-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.cookie-content {
  flex-wrap: wrap;
}

.cookie-buttons {
  flex-wrap: wrap;
}
}

/* Mobile styles */
@media (max-width: 768px) {
.nav-links {
  display: none; /* Hide navigation on mobile anyway */
}

.theme-toggle {
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.hero-section {
  height: 50vh; /* Reduced height on mobile */
  padding: 1rem; /* Reduced padding */
}

.hero-title {
  font-size: 1.5rem;
}

.brain-illustration {
  width: 250px;
  height: 250px;
}

/* Smaller video on mobile */
.video-background {
  width: 90%;
  max-width: 400px;
  max-height: 40vh;
}

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

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

/* Footer responsive styles */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  width: 100px;
}

/* Cookie consent responsive */
.cookie-content {
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-buttons {
  flex-direction: column;
  width: 100%;
}

.cookie-btn {
  width: 100%;
}

.cookie-modal {
  padding: 1rem;
}

.cookie-modal-content {
  margin: 0;
}

.cookie-modal-header {
  padding: 1.5rem 1.5rem 1rem;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
}

.cookie-category-header {
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-section {
  padding: 3rem 1.5rem;
}

.contact-section h2 {
  font-size: 1.8rem;
}

.contact-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 0.95rem;
}

.submit-btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
}