* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: #c62828;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8e0000;
  text-decoration: none;
}

.header-main {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.navbar-brand.logo:hover {
  color: #c62828;
}

.nav-link {
  color: #2c2c2c;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #c62828;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.hero-content .lead {
  font-size: 1.3rem;
  color: #4a4a4a;
  margin-bottom: 2rem;
}

.page-hero {
  background-color: #f5f5f5;
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 3px solid #c62828;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: #666;
  font-size: 1.1rem;
}

.section-light {
  background-color: #ffffff;
}

.section-dark {
  background-color: #f5f5f5;
}

.section-formats {
  background-color: #fafafa;
}

.section-testimonials {
  background-color: #f0f0f0;
}

.section-faq {
  background-color: #ffffff;
}

.section-cta {
  background: linear-gradient(135deg, #c62828 0%, #8e0000 100%);
  color: #ffffff;
}

.section-cta h2,
.section-cta .lead {
  color: #ffffff;
}

.section-instructor {
  background-color: #fafafa;
}

.btn-primary {
  background-color: #c62828;
  border-color: #c62828;
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #8e0000;
  border-color: #8e0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: #c62828;
  border-color: #c62828;
  background-color: transparent;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #c62828;
  border-color: #c62828;
  color: #ffffff;
}

.btn-secondary {
  background-color: #666;
  border-color: #666;
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
}

.btn-secondary:hover {
  background-color: #4a4a4a;
  border-color: #4a4a4a;
}

.feature-box {
  padding: 2rem;
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  border-color: #c62828;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.1);
  transform: translateY(-4px);
}

.feature-box h3 {
  color: #c62828;
  margin-bottom: 1rem;
}

.format-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.format-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.format-card h3 {
  color: #c62828;
  margin-top: 1rem;
}

.format-card .duration {
  color: #666;
  font-weight: 600;
  margin-bottom: 0;
}

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

.check-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c62828;
  font-weight: bold;
  font-size: 1.2rem;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-card p:first-child {
  font-style: italic;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.testimonial-card .author {
  color: #c62828;
  font-weight: 600;
  margin-bottom: 0;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.faq-item h3 {
  color: #c62828;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.principle-card {
  padding: 2rem;
  background-color: #ffffff;
  border-left: 4px solid #c62828;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.principle-card h3 {
  color: #c62828;
  margin-bottom: 1rem;
}

.contact-info {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: #c62828;
  margin-bottom: 1rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #c62828;
  box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.15);
}

.form-check-input:checked {
  background-color: #c62828;
  border-color: #c62828;
}

.policy-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.policy-content h2 {
  color: #c62828;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
}

.policy-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-content h3 {
  color: #4a4a4a;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.policy-content ul {
  margin-bottom: 1rem;
}

.footer {
  background-color: #2c2c2c;
  color: #ffffff;
}

.footer h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer p {
  color: #cccccc;
  line-height: 1.8;
}

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

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

.footer-links a {
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c62828;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c2c2c;
  color: #ffffff;
  padding: 1.5rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 0;
  color: #ffffff;
}

.cookie-banner a {
  color: #c62828;
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: #ffffff;
}

@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .lead {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero-content {
    background: rgba(255, 255, 255, 0.95);
  }
}

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

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 400px;
  }

  .policy-content {
    padding: 1.5rem;
  }

  .cookie-banner .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .cookie-banner .btn:last-child {
    margin-bottom: 0;
  }
}
