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

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 9999;
  transition: width 0.2s ease;
}

.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

.brand-logo img {
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--primary-color);
}

.hero-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.hero-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.features-section,
.courses-overview,
.testimonials-section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.feature-card {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

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

.course-item {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.course-item:hover {
  box-shadow: var(--shadow-md);
}

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

.course-details {
  padding: 1.5rem;
}

.course-details h3 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.course-highlights {
  list-style: none;
  margin-top: 1rem;
}

.course-highlights li {
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}

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

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

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

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.lead-form-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.form-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

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

.summary-box {
  padding: 3rem 0;
  background: var(--bg-light);
}

.summary-box h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.summary-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.summary-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.summary-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

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

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

.footer-column h4 {
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.registration-info {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 1rem;
}

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

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

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

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

.cookie-content h4 {
  margin-bottom: 0.75rem;
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

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

.cookie-btn.decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-btn:hover {
  opacity: 0.9;
}

.cookie-link {
  color: white;
  text-decoration: underline;
  margin-left: 1rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.modal-close-btn {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.page-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.mission-section,
.values-section,
.team-section,
.stats-section {
  padding: 4rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.value-item {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
}

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

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

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

.team-member img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0.5rem 0;
}

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

.stat-box {
  text-align: center;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

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

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

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

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

.blog-posts-grid {
  display: grid;
  gap: 3rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

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

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

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

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

.blog-card h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-card h2 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

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

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

.newsletter-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

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

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

.newsletter-form input {
  flex: 1;
  padding: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.newsletter-form button {
  padding: 0.875rem 2rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.contact-main {
  padding: 4rem 0;
}

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

.contact-form-wrapper h2 {
  margin-bottom: 1rem;
}

.contact-info-sidebar {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  height: fit-content;
}

.info-block {
  margin-bottom: 2rem;
}

.info-block:last-child {
  margin-bottom: 0;
}

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

.info-item {
  margin-bottom: 1rem;
}

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

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

.quick-links a {
  color: var(--text-dark);
  text-decoration: none;
}

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

.location-section {
  padding: 3rem 0;
  background: var(--bg-light);
}

.map-placeholder {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  border: 2px dashed var(--border-color);
}

.post-content {
  padding: 3rem 0;
}

.post-header {
  max-width: 900px;
  margin: 0 auto 3rem;
}

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

.post-featured-image {
  width: 100%;
  border-radius: 12px;
  margin-top: 2rem;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.post-summary {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.post-summary h3 {
  margin-bottom: 1rem;
}

.post-summary ul {
  list-style: none;
}

.post-summary li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.post-summary li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.post-navigation {
  max-width: 800px;
  margin: 3rem auto;
}

.back-to-blog {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-grid,
  .mission-grid,
  .blog-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 1.75rem;
  }
}