:root {
  --primary: #2C3E50;
  --accent1: #F39C12;
  --accent2: #1ABC9C;
  --accent3: #E74C3C;
  --light: #ECF0F1;
  --dark: #34495E;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 80px 0;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

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

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disclaimer {
  background-color: var(--light);
  padding: 1.5rem;
  border-left: 4px solid var(--accent2);
  margin-bottom: 2rem;
  border-radius: 4px;
  font-style: italic;
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-content {
  padding: 2rem;
}

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

.product-card p {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

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

.two-column-reverse > :first-child {
  order: 2;
}

.two-column-reverse > :last-child {
  order: 1;
}

.column-image {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 8px;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-content h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.column-content h3 {
  color: var(--accent2);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.column-content li {
  margin-bottom: 0.8rem;
  color: var(--dark);
}

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

.box-item {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--accent2);
}

.box-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.box-item p {
  color: var(--dark);
}

.table-section {
  overflow-x: auto;
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  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 #ddd;
}

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

.form-section {
  background-color: var(--light);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin-top: 3rem;
}

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

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

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
}

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

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

button {
  background-color: var(--accent2);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

button:hover {
  background-color: var(--accent1);
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h4 {
  color: var(--accent2);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--light);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light);
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--accent2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--light);
  font-size: 0.9rem;
}

.educational-notice {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
  border: 2px solid var(--accent2);
  font-weight: 600;
  color: var(--primary);
}

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

.modal.show {
  display: block;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--light);
  padding-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0;
  width: auto;
}

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

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

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

.cookie-text {
  flex: 1;
}

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

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

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

.cookie-accept:hover {
  background-color: #0b9f89;
}

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

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

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

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

.thank-you-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #28a745;
}

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

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

  h2 {
    font-size: 1.8rem;
  }

  header .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  section {
    padding: 50px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 300px;
  }

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

  .two-column-reverse > :first-child {
    order: 0;
  }

  .two-column-reverse > :last-child {
    order: 0;
  }

  .three-box-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .column-image {
    height: 250px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }

  .product-card-image {
    height: 200px;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  section {
    padding: 30px 0;
  }

  .container {
    padding: 0 1rem;
  }

  header .navbar {
    padding: 0 1rem;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 1.5rem;
  }
}
