:root {
  --primary-color: #1a3a5c;
  --primary-dark: #0f2438;
  --secondary-color: #2c5f8d;
  --accent-color: #4a90c2;
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dee2e6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

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

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

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: relative;
  min-height: 500px;
}

.hero-image img {
  object-fit: cover;
  height: 500px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 92, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.content-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-box {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.value-card,
.lifestyle-card,
.nutrient-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.list-styled li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.list-styled li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.faq-item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.page-header {
  background: var(--bg-light);
  border-bottom: 3px solid var(--primary-color);
}

.contact-info h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 58, 92, 0.25);
}

footer {
  margin-top: auto;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

footer a {
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 0;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner .btn-light {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
}

.cookie-banner .btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

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

.approach-item,
.habit-section,
.food-choice-section,
.vitamin-section,
.mineral-section,
.myth-section,
.disclaimer-box {
  margin-bottom: 1.5rem;
}

.approach-item h5,
.habit-section h5,
.food-choice-section h5,
.myth-section h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.alert-info {
  background-color: #e3f2fd;
  border-color: #2196f3;
  color: #0d47a1;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #dc3545;
}

.table {
  margin-top: 1rem;
}

.table thead th {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-color);
}

@media (max-width: 768px) {
  .hero-image img {
    height: 300px;
  }

  .hero-overlay {
    min-height: 300px;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cookie-banner .text-lg-right {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
}
