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

:root {
  --primary-color: #2c5aa0;
  --secondary-color: #4a90e2;
  --accent-color: #f39c12;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-secondary: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

[data-theme="dark"] {
  --primary-color: #4a90e2;
  --secondary-color: #6badef;
  --accent-color: #f39c12;
  --text-color: #e0e0e0;
  --text-light: #b0b0b0;
  --bg-color: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --border-color: #404040;
  --shadow: 0 2px 10px rgba(0,0,0,0.5);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.6);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-navigation {
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo img {
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active-link {
  color: var(--primary-color);
}

.theme-switcher {
  background: none;
  border: 2px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.theme-switcher:hover {
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

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

.features-section {
  background-color: var(--bg-secondary);
}

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

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

.feature-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.services-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-item {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.service-item.reverse-layout {
  flex-direction: row-reverse;
}

.service-item img {
  width: 45%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.service-details {
  flex: 1;
}

.service-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.testimonials-section {
  background-color: var(--bg-secondary);
}

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

.testimonial-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.lead-form-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 4rem 2rem;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.consultation-form,
.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(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

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

.submit-btn {
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.site-footer {
  background-color: var(--bg-secondary);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid var(--border-color);
}

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

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

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

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  padding: 2rem;
  z-index: 2000;
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.cookie-content a {
  color: var(--primary-color);
}

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

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

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

.decline-btn {
  background-color: var(--border-color);
  color: var(--text-color);
}

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

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 3000;
  display: none;
}

.modal-overlay.active {
  display: block;
}

.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  z-index: 3001;
  text-align: center;
  max-width: 500px;
  width: 90%;
  opacity: 0;
  transition: all 0.3s ease;
}

.success-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.success-modal h3 {
  color: var(--success-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-close-btn {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background-color: var(--secondary-color);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.story-section,
.team-section,
.values-section {
  padding: 4rem 2rem;
}

.story-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.story-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.team-card {
  background-color: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.team-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.team-role {
  padding: 0 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
}

.team-card p:last-child {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--text-light);
}

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

.value-item {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

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

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

.cta-section .cta-button {
  background-color: white;
  color: var(--primary-color);
}

.cta-section .cta-button:hover {
  background-color: var(--bg-secondary);
}

.courses-section {
  padding: 4rem 2rem;
}

.course-detailed {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 2px solid var(--border-color);
}

.course-detailed:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.course-image {
  flex: 1;
}

.course-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.course-info {
  flex: 1;
}

.course-info h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.course-description {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.course-info h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.course-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.course-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.course-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.course-details-box {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 5px;
  margin: 1.5rem 0;
}

.course-details-box p {
  margin-bottom: 0.5rem;
}

.enroll-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.enroll-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.process-section {
  background-color: var(--bg-secondary);
  padding: 4rem 2rem;
}

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

.process-step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

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

.faq-section {
  padding: 4rem 2rem;
}

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

.faq-item {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

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

.blog-grid-section {
  padding: 4rem 2rem;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.blog-content {
  padding: 1.5rem;
}

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

.blog-category {
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
}

.blog-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.newsletter-section {
  background-color: var(--bg-secondary);
  padding: 4rem 2rem;
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

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

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.newsletter-btn {
  padding: 0.75rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--secondary-color);
}

.contact-main-section {
  padding: 4rem 2rem;
}

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

.contact-info-card,
.hours-card {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.contact-info-card h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
}

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

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

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.map-placeholder img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-container {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.post-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.back-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--secondary-color);
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-author-info {
  display: flex;
  gap: 2rem;
  color: var(--text-light);
}

.post-featured-image {
  margin-bottom: 3rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.post-body {
  line-height: 1.8;
}

.post-body h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.post-tags {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--bg-secondary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

@media (max-width: 968px) {
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 1rem 2rem;
    display: none;
  }

  .hero-section,
  .story-content,
  .service-item,
  .course-detailed,
  .contact-layout {
    flex-direction: column;
  }

  .service-item.reverse-layout {
    flex-direction: column;
  }

  .service-item img {
    width: 100%;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .features-grid,
  .testimonials-grid,
  .values-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

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

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