/* Base Styles and Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #4cc9f0;
  --accent-color: #f72585;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #888888;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #eaeef3;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-code: 'Source Code Pro', 'Courier New', monospace;
}

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

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

html {
  font-size: 62.5%; /* 10px as base so 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-position: inside;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

button, .btn {
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 500;
  border: none;
  transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

h1 {
  font-size: 3.6rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.8rem;
  margin-top: 4rem;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1.6rem;
}

.lead {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Header and Navigation */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 4.5rem;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.6rem;
  padding: 0.8rem 0;
  position: relative;
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.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-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary:hover {
  background-color: #40b5d8;
}

/* Hero Section */
.hero {
  background-color: var(--bg-light);
  text-align: center;
  padding: 8rem 0;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Featured Posts Section */
.featured-posts {
  padding: 6rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.post-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.post-card h3 {
  font-size: 1.8rem;
  margin: 1.5rem 2rem 1rem;
}

.post-card p {
  color: var(--text-light);
  margin: 0 2rem 1.5rem;
  font-size: 1.5rem;
}

.read-more {
  display: inline-block;
  margin: 0 2rem 2rem;
  font-weight: 500;
  color: var(--primary-color);
}

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

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

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

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

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

.course-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.course-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tag.free {
  background-color: #e6f7ff;
  color: #0a8ae6;
}

.course-info h3 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.course-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-info .btn {
  align-self: flex-start;
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
}

.stats-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

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

.chart-image {
  max-width: 600px;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.chart-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

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

.stat-label {
  font-size: 1.5rem;
  color: var(--text-light);
}

/* Newsletter Section */
.newsletter {
  background-color: var(--bg-light);
  text-align: center;
  padding: 6rem 0;
}

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

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

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 2.5rem;
}

/* Fun Facts Section */
.fun-facts {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.fun-facts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.facts-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.fact-card {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.fact-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.fact-card p {
  margin-bottom: 0;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: #2f3b52;
  color: #ffffff;
  padding: 6rem 0 3rem;
}

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

.footer-col h3 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 2rem;
  margin-top: 0;
}

.footer-col p {
  color: #cbd5e0;
  margin-bottom: 2rem;
}

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

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

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

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

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

.footer-col ul li a {
  color: #cbd5e0;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-col address {
  font-style: normal;
  color: #cbd5e0;
}

.footer-col address p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-col address p svg {
  margin-right: 1rem;
  flex-shrink: 0;
}

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

.footer-bottom p {
  color: #cbd5e0;
  margin: 0;
  font-size: 1.4rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
}

.cookie-content {
  padding: 2rem;
}

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

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

.cookie-content a {
  font-size: 1.4rem;
  text-decoration: underline;
}

/* Blog Page */
.page-header {
  background-color: var(--bg-light);
  text-align: center;
  padding: 6rem 0;
}

.page-header h1 {
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.8rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

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

.search-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.search-box {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.search-box input {
  flex-grow: 1;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.6rem;
}

.search-box button {
  width: 5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-box select {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  min-width: 200px;
  background-color: var(--bg-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.blog-card {
  display: flex;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 30%;
  min-width: 250px;
  flex-shrink: 0;
}

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

.blog-details {
  padding: 2rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.blog-details h2 {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

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

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.pagination a:hover, .pagination a.active {
  background-color: var(--primary-color);
  color: white;
}

/* Courses Page */
.courses-filter {
  padding: 2rem 0;
  background-color: var(--bg-light);
}

.filter-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.filter-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-color);
  transition: var(--transition);
}

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

.courses-grid-section {
  padding: 6rem 0;
}

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

.course-content {
  padding: 2rem;
}

.course-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.course-meta span {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.course-meta span svg {
  margin-right: 0.5rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

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

.stars {
  color: #ffb400;
  display: flex;
}

.count {
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.enrollment-stats {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.enrollment-stats h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.chart-explanation {
  background-color: var(--bg-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
}

.chart-explanation h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.chart-explanation ul {
  margin-bottom: 0;
}

/* About Page */
.about-content {
  padding: 6rem 0;
}

.about-story {
  max-width: 800px;
  margin: 0 auto 6rem;
  text-align: center;
}

.about-story h2 {
  margin-bottom: 2rem;
}

.about-mission {
  display: flex;
  gap: 5rem;
  margin-bottom: 6rem;
  align-items: center;
}

.mission-content {
  flex: 1;
}

.mission-content h2 {
  margin-top: 0;
}

.mission-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-values {
  margin-bottom: 6rem;
}

.about-values h2 {
  text-align: center;
  margin-bottom: 4rem;
}

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

.value-card {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.value-icon {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 1.5rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-light);
}

.team-section {
  margin-bottom: 6rem;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.team-member {
  text-align: center;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.team-member h3 {
  margin: 2rem 0 0.5rem;
}

.team-member p {
  margin: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

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

.testimonials {
  background-color: var(--bg-light);
  padding: 6rem 0;
}

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

.testimonials-slider {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--bg-light);
}

.testimonial {
  min-width: 350px;
  max-width: 400px;
  flex: 1;
}

.testimonial-content {
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.6rem;
}

.testimonial-author p {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-lighter);
  font-style: normal;
}

/* Contact Page */
.contact-content {
  padding: 6rem 0;
}

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

.contact-info h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-icon {
  background-color: rgba(67, 97, 238, 0.1);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.info-content p {
  margin-bottom: 0.5rem;
}

.info-note {
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.social-connect h3 {
  margin-bottom: 1.5rem;
}

.contact-form-container h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1.6rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

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

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

.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

.faq-section {
  padding: 6rem 0;
}

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

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

.faq-item {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

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

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: var(--bg-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--text-lighter);
}

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

.success-icon {
  color: var(--success-color);
  width: 6rem;
  height: 6rem;
  margin-bottom: 2rem;
}

.modal-body h3 {
  margin-bottom: 1.5rem;
}

.modal-body p {
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

/* Blog Post Page */
.post-content {
  padding: 6rem 0;
}

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

.post-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.author-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.read-time {
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.post-featured-image {
  margin-bottom: 4rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-body {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.post-image {
  margin: 3rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-image figcaption {
  background-color: var(--bg-light);
  padding: 1rem;
  font-size: 1.4rem;
  color: var(--text-lighter);
  text-align: center;
}

.post-cta {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin: 4rem 0;
  text-align: center;
}

.post-cta h3 {
  margin-top: 0;
}

.post-cta p {
  margin-bottom: 2rem;
}

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

.tags-label {
  font-weight: 500;
  margin-right: 1rem;
}

a.tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--bg-light);
  border-radius: 50px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--text-light);
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.share-label {
  font-weight: 500;
}

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

.share-button {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.share-button.facebook {
  background-color: #3b5998;
  color: white;
}

.share-button.twitter {
  background-color: #1da1f2;
  color: white;
}

.share-button.linkedin {
  background-color: #0077b5;
  color: white;
}

.share-button.link {
  background-color: var(--bg-light);
  color: var(--text-color);
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-author-bio {
  display: flex;
  gap: 2.5rem;
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-bottom: 4rem;
}

.post-author-bio .author-avatar {
  width: 10rem;
  height: 10rem;
}

.author-details h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--text-lighter);
}

.author-details h4 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.author-details p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

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

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

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

.related-posts h3 {
  margin-bottom: 2.5rem;
}

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

.related-post {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.related-post h4 {
  margin: 1.5rem;
  font-size: 1.6rem;
}

.related-post h4 a {
  color: var(--text-color);
}

.related-post h4 a:hover {
  color: var(--primary-color);
}

.post-comments {
  margin-bottom: 4rem;
}

.post-comments h3 {
  margin-bottom: 2.5rem;
}

.comment {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.comment-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content {
  flex-grow: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.comment-header h4 {
  margin: 0;
  font-size: 1.6rem;
}

.comment-date {
  font-size: 1.4rem;
  color: var(--text-lighter);
}

.comment-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.reply-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1.4rem;
  padding: 0;
  cursor: pointer;
}

.reply-btn:hover {
  text-decoration: underline;
}

.comment.reply {
  margin-left: 5rem;
  margin-top: 3rem;
}

.comment-form {
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.comment-form h3 {
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Code Block Styling */
.code-block {
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2.5rem 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: var(--font-code);
  font-size: 1.5rem;
  line-height: 1.6;
  color: #2f3b52;
}

code {
  font-family: var(--font-code);
  background-color: #f0f2f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 1.4rem;
  color: #d43657;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 992px) {
  .about-mission {
    flex-direction: column;
    gap: 3rem;
  }
  
  .blog-card {
    flex-direction: column;
  }
  
  .blog-image {
    width: 100%;
    min-width: auto;
  }
  
  .post-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .post-author-bio .author-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56%;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 3.4rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav ul {
    margin-top: 1.5rem;
  }
  
  nav ul li {
    margin-left: 1.5rem;
  }
  
  .footer-grid {
    gap: 3rem;
  }
  
  .search-filter {
    flex-direction: column;
  }
  
  .search-box, .filter-box {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .comment.reply {
    margin-left: 2.5rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 54%;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  nav ul li {
    margin-left: 0;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-date {
    margin-top: 0.5rem;
  }
}
