/* ===================================
   MCAT Edge Static Site Styles
   =================================== */

/* CSS Variables */
:root {
  /* Colors - Matching MCAT Edge branding */
  --primary: #1766e5;
  --primary-dark: #3570d6;
  --primary-light: #6ba0f5;
  --accent: #356b5e;
  --accent-dark: #28544a;
  
  --text-dark: hsl(222, 47%, 11%);
  --text-light: hsl(215, 16%, 47%);
  --text-white: hsl(0, 0%, 100%);
  
  --bg-white: hsl(0, 0%, 100%);
  --bg-light: hsl(220, 13%, 97%);
  --bg-gray: hsl(218, 11%, 95%);
  
  --border-light: hsl(220, 13%, 91%);
  
  /* Spacing */
  --container-width: 1200px;
  --section-spacing: 5rem;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-brand:hover {
  opacity: 0.8;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

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

.nav-menu a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:not(.btn-primary):hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Navigation Login Button - Enhanced */
.nav-menu .btn-primary {
  background: linear-gradient(135deg, #356b5e 0%, #28544a 100%);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(76, 140, 243, 0.3);
  transition: all 0.3s ease;
}

.nav-menu .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 140, 243, 0.4);
  background: linear-gradient(135deg, #28544a 0%, #356b5e 100%);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 140, 243, 0.3);
}

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

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

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

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

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

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===================================
   SECTIONS
   =================================== */
.intro,
.services,
.testimonials-preview,
.blog-preview,
.newsletter,
.why-choose,
.offerings,
.mission-vision,
.timeline,
.stats-section,
.video-testimonials,
.written-testimonials,
.filter-section,
.learning-modules,
.additional-resources,
.blog-categories,
.featured-post,
.blog-listing,
.contact-section,
.faq-section,
.map-section {
  padding: var(--section-spacing) 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro */
.intro {
  background: var(--bg-light);
  text-align: center;
}

.intro-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid,
.modules-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card,
.module-card,
.resource-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.service-card:hover,
.module-card:hover,
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.service-card h3,
.module-card h3,
.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p,
.resource-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Resource Card Specific Styles */
.resource-kicker {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(53, 107, 94, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.resource-desc {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.resource-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.resource-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* Study Style Selection */
.study-style-selection {
  margin: 2rem 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.study-style-label {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

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

@media (min-width: 1024px) {
  .study-style-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.study-style-option {
  position: relative;
  padding: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--border-light);
  background: var(--bg-white);
  display: block;
}

.study-style-option:hover {
  border-color: rgba(76, 140, 243, 0.5);
  background: rgba(255, 255, 255, 0.8);
}

.study-style-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.study-style-option input[type="radio"]:checked + .study-style-content {
  /* This will be handled by the checked state */
}

.study-style-option.selected {
  border-color: var(--accent);
  background: rgba(53, 107, 94, 0.1);
  box-shadow: 0 10px 30px rgba(53, 107, 94, 0.15);
  transform: scale(1.02);
}

.study-style-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.study-style-icon {
  font-size: 3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.study-style-option.selected .study-style-icon {
  transform: scale(1.1);
}

.study-style-label-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  flex: 1;
  white-space: nowrap;
}

.study-style-check {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.study-style-option.selected .study-style-check {
  opacity: 1;
}

@media (max-width: 640px) {
  .study-style-icon {
    font-size: 2.5rem;
  }
  
  .study-style-label-text {
    font-size: 1.25rem;
  }
  
  .study-style-check {
    width: 20px;
    height: 20px;
  }
}

/* Recommended Study Materials */
.recommended-materials {
  margin: 2rem 0 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.5s ease;
}

.materials-card {
  background: linear-gradient(135deg, rgba(53, 107, 94, 0.1) 0%, rgba(40, 84, 74, 0.1) 100%);
  border: 1px solid rgba(53, 107, 94, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.materials-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.materials-icon-wrapper {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.materials-title-section {
  flex: 1;
  min-width: 0;
}

.materials-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.materials-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.materials-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.material-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(53, 107, 94, 0.1);
  border: 1px solid rgba(53, 107, 94, 0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.material-item:hover {
  background: rgba(53, 107, 94, 0.2);
  transform: translateX(4px);
}

.material-item.pankow-item {
  background: rgba(53, 107, 94, 0.1);
  border-color: rgba(53, 107, 94, 0.3);
}

.material-item.pankow-item:hover {
  background: rgba(53, 107, 94, 0.2);
}

.material-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.material-download-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.material-item.pankow-item .material-download-icon {
  color: var(--primary);
}

.material-text {
  text-align: left;
  min-width: 0;
  flex: 1;
}

.material-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.material-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.material-arrow {
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.material-item:hover .material-arrow {
  transform: translateX(4px);
}

.material-item.pankow-item .material-arrow {
  color: var(--primary);
}

.material-item.comprehensive-item,
.material-item.efficient-item {
  display: none;
}

.material-item.comprehensive-item.show,
.material-item.efficient-item.show {
  display: flex;
}

@media (min-width: 640px) {
  .materials-card {
    padding: 2rem;
  }
  
  .materials-header {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .materials-icon-wrapper {
    width: 56px;
    height: 56px;
  }
  
  .materials-title {
    font-size: 1.75rem;
  }
  
  .materials-subtitle {
    font-size: 1rem;
  }
  
  .material-item {
    padding: 1.25rem;
  }
  
  .material-name {
    font-size: 1rem;
  }
  
  .material-desc {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .materials-card {
    padding: 2.5rem;
  }
  
  .materials-icon-wrapper {
    width: 64px;
    height: 64px;
  }
  
  .materials-title {
    font-size: 2rem;
  }
}

/* Module Card Specific */
.module-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.module-badge.beginner {
  background: hsl(142, 76%, 92%);
  color: hsl(142, 76%, 36%);
}

.module-badge.intermediate {
  background: hsl(48, 96%, 89%);
  color: hsl(35, 91%, 35%);
}

.module-badge.advanced {
  background: hsl(0, 93%, 94%);
  color: hsl(0, 72%, 51%);
}

.module-features {
  list-style: none;
  margin: 1.5rem 0;
  color: var(--text-light);
}

.module-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.resource-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
}

.resource-link:hover {
  color: var(--primary-dark);
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
  text-align: center;
  padding: 2rem;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 4px solid var(--primary);
}

blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

cite {
  font-style: normal;
  color: var(--text-light);
  font-weight: 600;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: var(--primary);
  color: var(--text-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Written Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card h4 {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.testimonial-score {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  word-break: break-word;
}

.testimonial-rating {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: normal;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 12px;
  color: var(--text-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: break-word;
}

.stat-card p {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.4;
  word-break: break-word;
}

/* Video Testimonials */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.video-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.video-score {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===================================
   BLOG
   =================================== */
.blog-grid,
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card,
.blog-post-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

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

.blog-image-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: var(--transition);
}

.blog-image-link:hover {
  opacity: 0.9;
}

.blog-image-link:hover .post-thumbnail {
  transform: scale(1.05);
}

.blog-image,
.post-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-content,
.post-content {
  padding: 1.5rem;
}

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

.blog-date,
.post-date {
  font-weight: 500;
}

.blog-category,
.post-category {
  background: var(--bg-light);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  color: var(--primary);
  font-weight: 600;
}

.blog-content h3,
.post-content h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.post-content h3 a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: block;
}

.post-content h3 a:hover {
  color: var(--primary);
}

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

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
}

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

/* Blog Categories */
.category-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.category-pill {
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  background: var(--bg-light);
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-dark);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* Featured Post */
.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  padding: 2rem;
}

.featured-image {
  position: relative;
}

.featured-image img {
  border-radius: 12px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

.featured-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.featured-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.post-read-time {
  display: inline-block;
  margin-left: auto;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Bootstrap-style Pagination with Theme Colors */
.paging .pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.paging .pagination .page-item {
  margin: 0;
}

.paging .pagination .page-link {
  display: block;
  padding: 0.75rem 1rem;
  min-width: 44px;
  text-align: center;
  color: var(--text-dark);
  background-color: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.paging .pagination .page-link:hover:not(.disabled) {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 102, 229, 0.3);
}

.paging .pagination .page-item.active .page-link {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(23, 102, 229, 0.3);
}

.paging .pagination .page-item.disabled .page-link,
.paging .pagination .page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background-color: var(--bg-light);
  color: var(--text-light);
  border-color: var(--border-light);
}

.paging .pagination .page-item.disabled .page-link:hover,
.paging .pagination .page-link.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===================================
   BLOG POST DETAIL
   =================================== */
.post-header-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

.post-container {
  max-width: 800px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.post-meta-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.post-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

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

.author-info h4 {
  margin-bottom: 0.25rem;
}

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

.social-share {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.social-share a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.post-content-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.post-content-body h2 {
  font-size: 1.875rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.post-content-body h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.post-content-body ul,
.post-content-body ol {
  list-style: disc;
  list-style-position: inside;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

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

.post-content-body blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 8px;
}

.post-content-body .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.info-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.info-box h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.schedule-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.schedule-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
}

.author-bio {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  margin: 3rem 0;
}

.author-bio-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-text h4 {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-bio-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

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

.related-post-card {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.related-post-card h4 {
  padding: 1rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.comments-section {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  text-align: center;
}

.comments-section h3 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

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

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form-container > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.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-dark);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 140, 243, 0.1);
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background: hsl(142, 76%, 92%);
  color: hsl(142, 76%, 36%);
  display: block;
}

.form-message.error {
  background: hsl(0, 93%, 94%);
  color: hsl(0, 72%, 51%);
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

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

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

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

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

.social-icons a:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Map */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.page-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-white);
  padding: 4rem 0;
  text-align: center;
}

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

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
}

.founder-section {
  background: var(--bg-light);
}

.founder-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.founder-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.founder-label {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.founder-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

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

.reason-card,
.offering-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.reason-card:hover,
.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reason-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.reason-card h3,
.offering-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.reason-card p,
.offering-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.mission-vision {
  background: var(--bg-light);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.mission-card,
.vision-card {
  padding: 2.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mission-card h2,
.vision-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.mission-card p,
.vision-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.timeline-content {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.timeline-text p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-white);
  text-align: center;
  padding: 5rem 2rem;
}

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

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.cta-section .btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: none;
}

.cta-section .btn-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter {
  background: var(--bg-light);
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

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

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

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (min-width: 1025px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
  }
}

@media (max-width: 992px) {
  .hero .container,
  .contact-grid,
  .founder-content,
  .mission-vision-grid,
  .featured-content {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 60px);
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .navbar.mobile-menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar.mobile-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar.mobile-menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .services-grid,
  .modules-grid,
  .blog-grid,
  .blog-posts-grid,
  .video-grid,
  .testimonials-grid,
  .resources-grid,
  .reasons-grid,
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-header {
    gap: 0.75rem;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-card h4 {
    font-size: 1rem;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .stat-card p {
    font-size: 0.95rem;
  }

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

  .post-title {
    font-size: 2rem;
  }
}

/* Additional responsive styles for testimonials */
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .testimonial-avatar {
    width: 45px;
    height: 45px;
  }

  .testimonial-card blockquote {
    font-size: 0.9rem;
  }

  .stats-grid {
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card h3 {
    font-size: 1.75rem;
  }

  .stat-card p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 0.875rem;
  }

  .testimonial-card blockquote {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .stats-grid {
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.875rem;
  }

  .stat-card h3 {
    font-size: 1.5rem;
  }

  .stat-card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .timeline-content::before {
    left: 10px;
  }

  .timeline-marker {
    width: 20px;
    height: 20px;
  }

  .timeline-item {
    gap: 1rem;
  }
}

/* ===================================
   UTILITIES
   =================================== */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* ===================================
   FILTER FUNCTIONALITY
   =================================== */
.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-dark);
}

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

.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}