:root {
  --primary-color: #007bff;
  --primary-hover-color: #0056b3;
  --secondary-color: #6c757d;
  --secondary-hover-color: #5a6268;
  --background-color: #ffffff;
  --surface-color: #f8f9fa;
  --surface-hover-color: #e9ecef;
  --text-color: #212529;
  --text-muted-color: #6c757d;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --font-family-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Poppins", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spacing-unit: 8px;
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #0d8bff;
    --primary-hover-color: #3f9fff;
    --secondary-color: #8e96a0;
    --secondary-hover-color: #acb3ba;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --surface-hover-color: #2c2c2c;
    --text-color: #e8e6e3;
    --text-muted-color: #8e96a0;
    --border-color: #3a3a3a;
    --success-color: #20c997;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  max-width: 75ch;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

section {
  padding: calc(var(--spacing-unit) * 10) 0;
}

.section-header {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.section-title {
  margin-bottom: var(--spacing-unit);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted-color);
  max-width: 600px;
  margin: 0 auto;
}

.button-primary,
.button-secondary {
  display: inline-block;
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: center;
}

.button-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.button-primary:hover {
  background-color: var(--primary-hover-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.button-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.button-large {
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  font-size: 1.125rem;
}

.button-full-width {
  width: 100%;
}

.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: calc(var(--spacing-unit) * 2) 0;
  background-color: color-mix(
    in srgb,
    var(--background-color) 80%,
    transparent
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-speed);
}

.main-header.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-unit);
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

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

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: var(--spacing-unit) 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-speed);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-unit);
  z-index: 1010;
}

.mobile-menu-button .icon-menu,
.mobile-menu-button .icon-close {
  width: 28px;
  height: 28px;
  color: var(--text-color);
}

.mobile-menu-button .icon-close {
  display: none;
}
body.mobile-menu-open .mobile-menu-button .icon-menu {
  display: none;
}
body.mobile-menu-open .mobile-menu-button .icon-close {
  display: block;
}

.hero-section {
  padding: calc(var(--spacing-unit) * 12) 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-color);
  margin: 0 auto calc(var(--spacing-unit) * 5) auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: calc(var(--spacing-unit) * 2);
  flex-wrap: wrap;
}

.grid-three-columns,
.grid-four-columns {
  display: grid;
  gap: calc(var(--spacing-unit) * 4);
}

.grid-three-columns {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-four-columns {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
  background-color: var(--surface-color);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary-color) 15%, transparent);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.feature-title {
  margin-bottom: var(--spacing-unit);
}

.feature-description {
  color: var(--text-muted-color);
}

.benefits-section {
  background-color: var(--surface-color);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 5);
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--primary-color);
}

.benefit-title {
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.benefit-description {
  color: var(--text-muted-color);
}

.mission-vision-section {
  background-color: var(--background-color);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-unit) * 5);
}

.mission-card,
.vision-card {
  padding: calc(var(--spacing-unit) * 4);
}

.mission-card {
  border-right: 2px solid var(--primary-color);
}

.mission-title,
.vision-title {
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.team-section {
  background-color: var(--surface-color);
}

.team-member-card {
  text-align: center;
  padding: calc(var(--spacing-unit) * 3);
}

.team-member-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto calc(var(--spacing-unit) * 2) auto;
  border-radius: 50%;
  background-color: var(--surface-hover-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-icon svg {
  width: 60px;
  height: 60px;
  color: var(--secondary-color);
}

.team-member-name {
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.team-member-role {
  color: var(--text-muted-color);
  font-size: 0.9rem;
}

.testimonial-card {
  background-color: var(--surface-color);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.testimonial-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  color: var(--secondary-color);
}

.author-name {
  font-weight: 600;
  margin: 0;
}

.author-info {
  font-size: 0.9rem;
  color: var(--text-muted-color);
  margin: 0;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-muted-color);
  border-left: 3px solid var(--primary-color);
  padding-left: calc(var(--spacing-unit) * 2);
  margin: 0;
}

.cta-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--spacing-unit) * 8);
  align-items: center;
}

.cta-title {
  color: #ffffff;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
}

.cta-form-wrapper {
  background-color: var(--background-color);
  color: var(--text-color);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-title {
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 2.5);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-unit);
}

.form-input {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1.5);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--surface-color);
  color: var(--text-color);
  font-size: 1rem;
  transition: border-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--primary-color) 25%, transparent);
}

.form-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--spacing-unit) * 3);
}

.success-icon {
  width: 80px;
  height: 80px;
  color: var(--success-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.success-title {
  color: var(--success-color);
}
.success-text {
  color: var(--text-muted-color);
}

.faq-section {
  background-color: var(--surface-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--spacing-unit) * 3) 0;
  text-align: left;
  font-family: var(--font-family-heading);
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-color);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted-color);
  transition: transform var(--transition-speed);
  flex-shrink: 0;
  margin-left: var(--spacing-unit);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed),
    padding var(--transition-speed);
}

.faq-answer p {
  padding: 0 0 calc(var(--spacing-unit) * 3) 0;
  color: var(--text-muted-color);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-more-link {
  text-align: center;
  margin-top: calc(var(--spacing-unit) * 5);
}

.main-footer {
  background-color: var(--surface-color);
  color: var(--text-muted-color);
  padding: calc(var(--spacing-unit) * 8) 0 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: calc(var(--spacing-unit) * 5);
  padding-bottom: calc(var(--spacing-unit) * 6);
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-links li {
  margin-bottom: var(--spacing-unit);
}

.footer-links a {
  color: var(--text-muted-color);
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-email {
  color: var(--text-muted-color);
  word-break: break-all;
}

.footer-bottom {
  text-align: center;
  padding: calc(var(--spacing-unit) * 3) 0;
  border-top: 1px solid var(--border-color);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface-color);
  color: var(--text-color);
  padding: calc(var(--spacing-unit) * 2);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--spacing-unit) * 3);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transform: translateY(100%);
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.cookie-text {
  font-size: 0.9rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .mission-card {
    border-right: none;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: calc(var(--spacing-unit) * 4);
  }
  .cta-content {
    grid-template-columns: 1fr;
  }
  .cta-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-menu-button {
    display: block;
  }
  .main-navigation {
    position: relative;
  }
  body.mobile-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + var(--spacing-unit) * 2);
    left: 0;
    right: 0;
    background-color: var(--background-color);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    gap: var(--spacing-unit);
  }
  body.mobile-menu-open .nav-links li {
    width: 100%;
  }
  body.mobile-menu-open .nav-links a {
    display: block;
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: calc(var(--border-radius) / 2);
  }
  body.mobile-menu-open .nav-links a:hover {
    background-color: var(--surface-color);
  }
  body.mobile-menu-open .nav-cta {
    display: block;
    margin-top: var(--spacing-unit);
    width: 100%;
  }
  body.mobile-menu-open .nav-cta a {
    display: block;
  }
  section {
    padding: calc(var(--spacing-unit) * 8) 0;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }
  .button-large {
    width: 100%;
  }
}
