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

:root {
  --primary: #E0F2F7;
  --accent1: #5DADE2;
  --accent2: #28B463;
  --accent3: #F4D03F;
  --dark: #2C3E50;
  --light-gray: #ECF0F1;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
}

html, body {
  height: 100%;
  font-family: 'Lora', serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Typography */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* Header */
header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent1);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

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

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

/* Main content area with top margin for fixed header */
main {
  margin-top: 80px;
  width: 100%;
}

/* Section styles */
section {
  width: 100%;
  padding: 4rem 2rem;
}

.container-custom {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, rgba(93, 173, 226, 0.1) 100%);
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
  max-height: 400px;
}

/* Benefits section */
.benefits-section {
  background-color: #FFFFFF;
  padding: 4rem 2rem;
}

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

.benefits-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  color: var(--text-dark);
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Cards section */
.cards-section {
  background-color: var(--primary);
  padding: 4rem 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--accent1);
}

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

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

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Table section */
.table-section {
  background-color: #FFFFFF;
  padding: 4rem 2rem;
}

.table-section h2 {
  color: var(--accent2);
  margin-bottom: 2rem;
  text-align: center;
}

.table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
}

.custom-table thead {
  background-color: var(--primary);
}

.custom-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid #E0E0E0;
}

.custom-table td {
  padding: 1rem;
  border: 1px solid #E0E0E0;
  color: var(--text-dark);
}

.custom-table tbody tr:hover {
  background-color: #F9F9F9;
}

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

.two-col img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

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

/* FAQ section */
.faq-section {
  background-color: var(--light-gray);
  padding: 4rem 2rem;
}

.faq-item {
  background-color: #FFFFFF;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  border: none;
  width: 100%;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--primary);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent1);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.show {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-light);
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--accent1) 0%, var(--accent2) 100%);
  color: #FFFFFF;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h2 {
  color: #FFFFFF;
}

.cta-section p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent3);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: #FFFFFF;
  padding: 3rem 2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent1);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: #BDC3C7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent1);
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: #BDC3C7;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 2rem;
  text-align: center;
  color: #BDC3C7;
  font-size: 0.9rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent1);
  box-shadow: 0 0 5px rgba(93, 173, 226, 0.3);
}

.submit-btn {
  background-color: var(--accent1);
  color: #FFFFFF;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #3DAAE6;
  transform: translateY(-2px);
}

/* Cookie banner */
.cookie-banner {
  background-color: var(--dark);
  color: #FFFFFF;
  padding: 1.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 2px solid var(--accent1);
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

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

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

.cookie-reject {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

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

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

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

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

/* Disclaimer section */
.disclaimer-box {
  background-color: var(--primary);
  border-left: 4px solid var(--accent1);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  color: var(--accent1);
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.disclaimer-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Thank you page */
.thank-you-section {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(40, 180, 99, 0.1) 100%);
}

.thank-you-section h1 {
  color: var(--accent2);
  margin-bottom: 1rem;
}

.thank-you-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.back-link {
  display: inline-block;
  background-color: var(--accent1);
  color: #FFFFFF;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: #3DAAE6;
}

/* Blog styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
}

.blog-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent1);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-card a:hover {
  color: var(--accent2);
}

/* Blog post styles */
.blog-post-content {
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.8;
}

.blog-post-meta {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 8px;
}

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

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
  }

  .two-col,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  main {
    margin-top: 120px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

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

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

  main {
    margin-top: 140px;
  }

  header {
    padding: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }
}
