:root {
  --primary: #A7C7E7;
  --primary-dark: #7F9CC9;
  --light: #E0FFFF;
  --accent: #C5E1A5;
  --dark: #1a1a1a;
  --gray: #f8f9fa;
  --border: #e0e0e0;
  --text: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

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

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

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

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

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-dark);
}

footer {
  background-color: var(--gray);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-section a {
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-dark);
}

.footer-disclaimer {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  max-width: 600px;
}

.section {
  padding: 4rem 0;
}

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

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

.section-alt {
  background-color: #fafafa;
}

.section h2 {
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.section h3 {
  color: var(--primary-dark);
}

.section p {
  color: var(--text);
}

.img-section {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 350px;
  object-fit: cover;
}

.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card-header {
  background-color: var(--primary);
  border: none;
  padding: 1.5rem;
}

.card-header h3 {
  color: var(--dark);
  margin: 0;
}

.card-body {
  padding: 1.5rem;
}

.btn-primary {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  text-decoration: none;
}

.btn-outline-primary {
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  background-color: transparent;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

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

.two-column.reverse {
  flex-direction: row-reverse;
}

.cta-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--light) 0%, rgba(197, 225, 165, 0.3) 100%);
  border-radius: 8px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: var(--primary-dark);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-dark);
  padding-left: 1.5rem;
}

.faq-item h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

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

.form-control {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.2rem rgba(127, 156, 201, 0.25);
}

.form-disclaimer {
  background-color: #fffacd;
  border-left: 4px solid #ffa500;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
}

.modal-content {
  border: none;
  border-radius: 8px;
}

.modal-header {
  background-color: var(--primary);
  border: none;
  padding: 1.5rem;
}

.modal-header .close {
  color: var(--dark);
  opacity: 0.7;
}

.modal-header h5 {
  color: var(--dark);
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
  line-height: 1.8;
}

.modal-body h3 {
  color: var(--primary-dark);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body ul, .modal-body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gray);
  padding: 1.5rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  z-index: 999;
  border-top: 2px solid var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

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

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

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

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.cookie-accept:hover {
  background-color: var(--primary);
  color: var(--dark);
}

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

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

.cookie-learn {
  background-color: white;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

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

.thank-you-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
  z-index: 2000;
}

.thank-you-message.show {
  display: block;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.thank-you-message h2 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.thank-you-message p {
  color: var(--text);
}

.thank-you-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1999;
}

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

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 4rem 0;
  }

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

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

  .two-column {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

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

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-buttons button {
    flex: 1;
    min-width: 80px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-nav .nav-link {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.9rem;
  }
}
