:root {
  --primary-color: #007bff;
  --primary-dark: #0056b3;
  --primary-light: #e6f2ff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --body-color: #f5f7fa;
  --text-color: #212529;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --border-radius: 0.375rem;
  --box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
  --transition: all 0.3s ease-in-out;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Poppins', var(--font-family);
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--body-color);
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

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

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

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
}

.btn-text:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--primary-dark);
  transform: none;
}

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

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

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

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.feature-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
}

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

/* Courses Preview Section */
.courses-preview {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.courses-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.course-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.course-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
}

.course-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.course-card .btn {
  margin: 0 1.5rem 1.5rem;
}

/* Blog Preview Section */
.blog-preview {
  padding: 5rem 0;
}

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

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

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.post-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
}

.post-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.post-card .btn {
  margin: 0 1.5rem 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

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

.testimonial-content h4 {
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-contact address {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
}

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

.cookie-content a {
  font-size: 0.875rem;
}

/* Blog Posts Page */
.blog-posts {
  padding: 5rem 0;
}

.post {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .post {
    flex-direction: row;
  }
  
  .post-image {
    flex: 0 0 40%;
  }
}

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

.post-content {
  padding: 2rem;
  flex: 1;
}

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

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

/* Courses Page */
.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.filter-options {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.course-image {
  position: relative;
}

.course-level {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.course-details {
  padding: 1.5rem;
}

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

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-price {
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price-now {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.course-bundle {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.bundle-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .bundle-card {
    flex-direction: row;
  }
  
  .bundle-image {
    flex: 0 0 40%;
  }
}

.bundle-content {
  padding: 2.5rem;
  flex: 1;
}

.bundle-content h2 {
  margin-bottom: 1rem;
}

.bundle-content p {
  margin-bottom: 1.5rem;
}

.bundle-content ul {
  margin-bottom: 2rem;
}

.bundle-content li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.bundle-content li svg {
  color: var(--success-color);
}

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

.faq {
  padding: 5rem 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.faq-question {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.faq-toggle svg {
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 0 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Page */
.contact {
  padding: 5rem 0;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-wrapper {
    flex-direction: row;
  }
  
  .contact-info {
    flex: 0 0 40%;
  }
}

.contact-info {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.social-contact h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-form-container {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
}

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

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

.form-group label {
  font-weight: 500;
}

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

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

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
}

.form-submit {
  margin-top: 1rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.map-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder p {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 0.5rem;
  margin-bottom: 0;
}

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

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-icon svg {
  width: 60px;
  height: 60px;
  color: var(--success-color);
}

/* About Us Page */
.about-story {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
  }
  
  .about-image {
    flex: 0 0 40%;
  }
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.mission-values {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.mission, .vision, .values {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.mission .icon, .vision .icon, .values .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission .icon svg, .vision .icon svg, .values .icon svg {
  color: var(--primary-color);
}

.values ul {
  text-align: left;
  list-style: disc;
  padding-left: 1.5rem;
}

.values li {
  margin-bottom: 0.75rem;
}

.team {
  padding: 5rem 0;
}

.team h2, .team .section-intro {
  text-align: center;
  margin-bottom: 1rem;
}

.team .section-intro {
  margin-bottom: 3rem;
}

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

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.member-info {
  padding: 1.5rem;
}

.member-position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  gap: 1rem;
}

.member-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.achievements {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.achievement-label {
  font-size: 1.25rem;
}

.partners {
  padding: 5rem 0;
}

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

.partners p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-item {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-item img {
  max-height: 60px;
  width: auto;
}

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  text-align: center;
}

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

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Blog Post */
.blog-post {
  padding: 5rem 0;
}

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

.post-header h1 {
  margin-bottom: 1rem;
}

.post-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-tags {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.post-tags span {
  font-weight: 500;
}

.post-tags a {
  background-color: var(--light-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-author-bio {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.author-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  margin-bottom: 0.5rem;
}

.author-info p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.author-social {
  display: flex;
  gap: 0.75rem;
}

.author-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.author-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-navigation {
  margin-bottom: 3rem;
}

.back-to-blog {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

.prev-post, .next-post {
  flex: 0 0 48%;
}

.prev-post a, .next-post a {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: block;
  transition: var(--transition);
}

.prev-post a:hover, .next-post a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.prev-post span, .next-post span {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.prev-post h4, .next-post h4 {
  margin-bottom: 0;
  color: var(--text-color);
}

.prev-post.empty, .next-post.empty {
  visibility: hidden;
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.related-post {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--text-color);
}

.related-post p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: .15em solid var(--primary-color);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--primary-color) }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .post-nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prev-post, .next-post {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .feature-grid, .course-grid, .post-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}
