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

:root {
  --color-primary: #dc2626;
  --color-primary-dark: #b91c1c;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-background: #ffffff;
  --color-background-alt: #f9fafb;
  --color-border: #e5e7eb;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  font-size: 16px;
}

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

.site-header {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 3px 0;
  transition: 0.3s;
}

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

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

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

.hero {
  position: relative;
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

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

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.features {
  padding: 4rem 0;
  background-color: var(--color-background-alt);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-text);
}

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

.feature-card {
  background-color: var(--color-background);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.feature-card h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-preview {
  padding: 4rem 0;
}

.blog-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.blog-card {
  background-color: var(--color-background-alt);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

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

.blog-card h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1.25rem;
}

.blog-card p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.cta {
  padding: 4rem 0;
  background-color: var(--color-primary);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.site-footer {
  background-color: var(--color-text);
  color: white;
  padding: 3rem 0 1rem;
}

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

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

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header {
  background-color: var(--color-background-alt);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.content-section {
  padding: 4rem 0;
}

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

.content-wrapper h2 {
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.content-wrapper h3 {
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

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

.content-wrapper p {
  margin-bottom: 1rem;
}

.contact-info-box {
  background-color: var(--color-background-alt);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  border: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.courses-grid {
  display: grid;
  gap: 2rem;
}

.course-card {
  background-color: var(--color-background-alt);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--color-border);
}

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

.course-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.courses-info {
  margin-top: 3rem;
}

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

.info-item {
  background-color: var(--color-background-alt);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.info-item h3 {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.cta-box {
  background-color: var(--color-primary);
  color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.cta-box h2 {
  margin-bottom: 1rem;
}

.blog-card-full {
  background-color: var(--color-background-alt);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

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

.blog-card-full h2 a {
  color: var(--color-text);
  text-decoration: none;
}

.blog-card-full h2 a:hover {
  color: var(--color-primary);
}

.blog-meta {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-article {
  padding: 2rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-meta {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

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

.article-content h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.article-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.article-content p {
  margin-bottom: 1rem;
}

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

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.article-table th,
.article-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--color-border);
}

.article-table th {
  background-color: var(--color-background-alt);
  font-weight: 600;
}

.article-footer {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

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

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.legal-content p {
  margin-bottom: 1rem;
}

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

.thank-you-section {
  padding: 4rem 0;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.thank-you-content p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

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

.contact-hours {
  margin-top: 2rem;
}

.contact-hours h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav a {
    display: block;
    padding: 1rem;
  }

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

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

  .features h2,
  .blog-preview h2,
  .cta h2 {
    font-size: 2rem;
  }

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .article-header h1 {
    font-size: 2rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-footer {
    flex-direction: column;
  }

  .thank-you-actions {
    flex-direction: column;
  }
}
