:root {
  --primary: #4A90E2;
  --accent-orange: #F5A623;
  --accent-teal: #50E3C2;
  --gray: #9B9B9B;
  --white: #FFFFFF;
  --black: #000000;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
}

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

html, body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 2px;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

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

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

main {
  margin-top: 80px;
}

section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, rgba(74,144,226,0.8), rgba(80,227,194,0.8)), url('images/hero-nutrients.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 150px 20px;
  margin-top: 0;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.disclaimer-footer {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 20px;
  font-style: italic;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 30px;
  color: var(--primary);
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.section-intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--gray);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

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

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

.two-column-text {
  padding: 20px;
}

.two-column-image {
  width: 100%;
}

.two-column-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(74,144,226,0.2);
}

.card-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.text-section {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.text-section h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--primary);
}

.text-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.text-section li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.faq-item {
  background-color: var(--light-gray);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-teal);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(80,227,194,0.2);
}

.faq-question {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 15px;
  color: var(--gray);
  display: none;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  color: var(--white);
  padding: 60px 40px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 40px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--white);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #E89500;
  transform: translateY(-2px);
}

.form-container {
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(74,144,226,0.2);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
  background-color: var(--white);
  padding: 15px;
  border-radius: 4px;
}

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 15px;
  color: var(--accent-teal);
  font-size: 16px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--accent-teal);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-orange);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

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

.modal.active {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 40px;
  border-radius: 8px;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 15px;
}

.modal-header h2 {
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.3s ease;
}

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

.modal-content h3 {
  margin-top: 25px;
  margin-bottom: 15px;
}

.modal-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--gray);
}

.modal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.modal-content li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: var(--gray);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 20px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-height: 150px;
  border-top: 3px solid var(--accent-teal);
}

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

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--accent-teal);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: #3dd4b4;
}

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

.cookie-decline:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 8px 16px;
  font-size: 11px;
}

.cookie-learn:hover {
  background-color: rgba(80,227,194,0.1);
}

.success-message {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-teal);
  color: var(--white);
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2001;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.success-message.active {
  display: block;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  section {
    padding: 50px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-height: none;
  }

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

  .form-container {
    padding: 25px;
  }

  .modal-content {
    margin: 20% auto;
    padding: 25px;
  }

  .footer-policies {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .logo {
    font-size: 18px;
  }

  h2 {
    font-size: 22px;
  }

  .two-column {
    gap: 20px;
  }

  section {
    padding: 30px 10px;
  }

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

  .cookie-banner {
    padding: 15px;
  }

  .cookie-text {
    font-size: 12px;
  }

  .cookie-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}
