:root {
  --neutral-grey: #8D8D8D;
  --equilibrium-blue: #4A90E2;
  --equilibrium-green: #50C878;
  --warm-beige: #F0EDE4;
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --dark-grey: #333333;
  --border-grey: #E0E0E0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-grey);
  background-color: var(--white);
  line-height: 1.8;
  font-weight: 400;
}

h1 {
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

a {
  color: var(--equilibrium-blue);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--equilibrium-green);
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-grey);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-grey);
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--equilibrium-blue);
}

@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  header .container {
    padding: 1rem 1.5rem;
  }
}

/* Section Spacing */
section {
  padding: 4rem 0;
}

section.hero {
  padding: 5rem 0;
  background-color: var(--light-grey);
  text-align: center;
}

section.intro {
  background-color: var(--white);
}

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

/* Hero Section */
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.compliance-message {
  font-size: 0.9rem;
  color: var(--neutral-grey);
  font-weight: 500;
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--light-grey);
  border-radius: 4px;
  text-align: center;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > div {
  direction: ltr;
}

.content-grid img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

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

.card img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background-color: var(--equilibrium-blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--equilibrium-green);
  transform: scale(1.05);
  text-decoration: none;
  color: var(--white);
}

.btn.secondary {
  background-color: transparent;
  color: var(--equilibrium-blue);
  border: 2px solid var(--equilibrium-blue);
}

.btn.secondary:hover {
  background-color: var(--equilibrium-blue);
  color: var(--white);
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-grey);
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--equilibrium-blue);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.faq-answer {
  color: var(--dark-grey);
  line-height: 1.8;
}

/* Disclaimer Box */
.disclaimer-box {
  background-color: var(--light-grey);
  border-left: 4px solid var(--equilibrium-blue);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box h4 {
  color: var(--equilibrium-blue);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.disclaimer-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--light-grey);
  padding: 2rem;
  border-radius: 8px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-grey);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--equilibrium-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer Styles */
footer {
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--warm-beige);
  font-size: 1rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #B0B0B0;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--equilibrium-blue);
}

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

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

@media (max-width: 768px) {
  footer .container {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 1.5rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;
}

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

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn.accept {
  background-color: var(--equilibrium-blue);
  color: var(--white);
}

.cookie-btn.accept:hover {
  background-color: var(--equilibrium-green);
}

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

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

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

.cookie-btn.learn:hover {
  background-color: var(--equilibrium-blue);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-blue {
  color: var(--equilibrium-blue);
}

.text-green {
  color: var(--equilibrium-green);
}

.text-grey {
  color: var(--neutral-grey);
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* Print Styles */
@media print {
  header, footer, .cookie-consent {
    display: none;
  }
}
