/* ================= TESTIMONIALS PAGE - MOBILE FIRST ================= */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #4cc9f0;
  --warning: #ffd166;
  --danger: #ef476f;
  --dark: #121826;
  --light: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-800: #343a40;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Safe area insets for modern mobile browsers */
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
}

/* Base styles for mobile */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
  padding-bottom: 60px; /* Space for mobile nav */
}

.testimonials-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 80px;
  position: relative;
}

/* ================= MOBILE HERO SECTION ================= */
.testimonials-hero {
  margin-bottom: 40px;
  padding: 20px 0;
}

.hero-badge {
  margin-bottom: 20px;
}

.badge-text {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(114, 9, 183, 0.1));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-800);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-graphic {
  margin: 30px 0;
}

.quote-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-size: 48px;
  color: var(--primary);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
}

.quote-content {
  margin: 30px 0 24px;
}

.quote-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
  font-weight: 500;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

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

.author-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-info span {
  font-size: 13px;
  color: var(--gray-800);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-ornament {
  display: none; /* Hide on mobile for performance */
}

/* ================= MOBILE FILTERS ================= */
.filters-section {
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 90;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-200);
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.section-header {
  margin-bottom: 20px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 14px;
  color: var(--gray-800);
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

.filter-tabs-container {
  position: relative;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  scroll-padding: 0 16px;
  scroll-snap-type: x mandatory;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  font-size: 14px;
  min-height: 44px; /* Minimum touch target size */
}

.filter-tab:hover {
  background: white;
  border-color: var(--gray-200);
}

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.filter-tab__icon {
  font-size: 16px;
  flex-shrink: 0;
}

.filter-scroll-indicator {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-scroll-indicator.left {
  left: 8px;
}

.filter-scroll-indicator.right {
  right: 8px;
}

.filter-scroll-indicator.show {
  opacity: 1;
}

/* ================= MOBILE TESTIMONIALS GRID ================= */
.testimonials-grid-section {
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  position: relative;
  transition: var(--transition);
  break-inside: avoid;
}

.testimonial-card:hover {
  border-color: var(--primary);
}

.testimonial-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(114, 9, 183, 0.05));
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-card__content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-quote .quote-mark {
  position: static;
  font-size: 32px;
  margin-bottom: 8px;
}

.testimonial-quote p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-800);
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

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

.author-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tag-church { background: rgba(67, 97, 238, 0.1); color: var(--primary); }
.tag-youth { background: rgba(247, 37, 133, 0.1); color: var(--accent); }
.tag-study { background: rgba(76, 201, 240, 0.1); color: var(--success); }
.tag-media { background: rgba(114, 9, 183, 0.1); color: var(--secondary); }
.tag-family { background: rgba(255, 209, 102, 0.1); color: #d4a200; }

.load-more-container {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* ================= MOBILE SHARE STORY ================= */
.share-story-section {
  margin-bottom: 40px;
}

.share-story-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.share-story__content {
  margin-bottom: 24px;
}

.share-story__icon {
  width: 60px;
  height: 60px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.share-story__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.share-story__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--dark);
}

.share-story__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  margin-bottom: 24px;
  opacity: 0.9;
}

.mobile-form-toggle {
  display: block;
}

.mobile-form-btn {
  width: 100%;
}

.share-story__form {
  display: none; /* Hidden by default on mobile */
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.share-story__form.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.form-intro {
  margin-bottom: 20px;
}

.form-intro h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--dark);
}

.form-intro p {
  font-size: 14px;
  color: var(--gray-800);
  opacity: 0.8;
  margin: 0;
}

.testimony-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: white;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.character-counter {
  font-size: 12px;
  color: var(--gray-800);
  opacity: 0.7;
  text-align: right;
  margin-top: 4px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex: 1;
  min-width: calc(50% - 8px);
  font-size: 14px;
}

.checkbox-label:hover {
  border-color: var(--primary);
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 12px;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-actions .btn {
  flex: 1;
  min-width: 120px;
}

.mobile-form-close {
  display: none;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-800);
  opacity: 0.8;
  margin: 0;
  line-height: 1.4;
}

.form-note svg {
  stroke: var(--gray-800);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= MOBILE CTA SECTION ================= */
.testimonials-cta-section {
  margin-top: 40px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.2;
}

.cta-banner__description {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  width: 100%;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

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

.btn-primary:hover,
.btn-primary:active {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-white:hover,
.btn-white:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

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

.btn-lg {
  padding: 16px 28px;
  font-size: 17px;
  min-height: 56px;
}

.cta-banner__graphic {
  display: none;
}

/* ================= MOBILE BOTTOM NAVIGATION ================= */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  padding-bottom: calc(12px + var(--safe-area-inset-bottom));
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mobile-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--gray-800);
  padding: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.mobile-nav__btn.active {
  color: var(--primary);
  background: rgba(67, 97, 238, 0.1);
}

.mobile-nav__btn svg {
  stroke: currentColor;
}

.mobile-nav__btn span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= TABLET STYLES (min-width: 768px) ================= */
@media screen and (min-width: 768px) {
  .testimonials-container {
    padding: 30px 24px 60px;
  }
  
  .testimonials-hero {
    margin-bottom: 60px;
    padding: 30px 0;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-stats {
    justify-content: flex-start;
    gap: 30px;
  }
  
  .stat-item {
    flex: none;
    min-width: auto;
  }
  
  .hero-cta {
    flex-direction: row;
    gap: 16px;
  }
  
  .hero-cta .btn {
    width: auto;
  }
  
  .quote-preview {
    padding: 30px;
  }
  
  .quote-mark {
    font-size: 56px;
  }
  
  .quote-content p {
    font-size: 20px;
  }
  
  .filters-section {
    position: static;
    background: none;
    border-bottom: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  
  .filter-tab {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .load-more-container {
    display: none; /* Hide load more on tablet/desktop */
  }
  
  .share-story-card {
    padding: 40px;
  }
  
  .share-story__icon {
    width: 70px;
    height: 70px;
  }
  
  .share-story__title {
    font-size: 28px;
  }
  
  .share-story__description {
    font-size: 17px;
  }
  
  .mobile-form-toggle {
    display: none;
  }
  
  .share-story__form {
    display: block;
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
  }
  
  .form-row {
    flex-direction: row;
  }
  
  .checkbox-label {
    min-width: calc(33.333% - 8px);
  }
  
  .cta-banner {
    padding: 40px;
  }
  
  .cta-banner__title {
    font-size: 32px;
  }
  
  .cta-banner__actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-banner__actions .btn {
    width: auto;
    min-width: 200px;
  }
  
  .mobile-nav {
    display: none;
  }
}

/* ================= DESKTOP STYLES (min-width: 1024px) ================= */
@media screen and (min-width: 1024px) {
  .testimonials-container {
    padding: 40px 32px 80px;
  }
  
  .testimonials-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
  }
  
  .hero-content {
    animation: fadeInUp 0.6s ease-out;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-graphic {
    animation: float 6s ease-in-out infinite;
  }
  
  .quote-preview {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  }
  
  .quote-preview:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  }
  
  .hero-ornament {
    display: block;
    position: absolute;
    font-size: 48px;
    animation: floatElement 20s infinite ease-in-out;
  }
  
  .ornament-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
  }
  
  .ornament-2 {
    top: 50%;
    right: -30px;
    animation-delay: 5s;
  }
  
  .ornament-3 {
    bottom: -20px;
    left: 30%;
    animation-delay: 10s;
  }
  
  .filters-section {
    margin-bottom: 50px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .filter-tabs-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .filter-scroll-indicator {
    display: flex;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .testimonial-card {
    padding: 30px;
  }
  
  .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .share-story-card {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  
  .share-story__content {
    margin-bottom: 0;
    padding-right: 20px;
  }
  
  .share-story__icon {
    width: 80px;
    height: 80px;
  }
  
  .share-story__title {
    font-size: 32px;
  }
  
  .share-story__form {
    margin-top: 0;
    padding: 40px;
  }
  
  .form-actions {
    flex-direction: row;
  }
  
  .mobile-form-close {
    display: none;
  }
  
  .cta-banner {
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
  }
  
  .cta-banner__content {
    text-align: left;
    flex: 1;
  }
  
  .cta-banner__title {
    font-size: 42px;
  }
  
  .cta-banner__actions {
    justify-content: flex-start;
  }
  
  .cta-banner__actions .btn {
    min-width: auto;
  }
  
  .cta-banner__graphic {
    display: block;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }
  
  .banner-icon {
    font-size: 120px;
    animation: bounce 2s infinite ease-in-out;
  }
}

/* ================= LARGE DESKTOP (min-width: 1280px) ================= */
@media screen and (min-width: 1280px) {
  .testimonials-container {
    max-width: 1200px;
    padding: 60px 0 100px;
  }
  
  .hero-title {
    font-size: 56px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px);
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(20px, -20px) rotate(10deg);
  }
  66% {
    transform: translate(-15px, 15px) rotate(-5deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

/* ================= UTILITY CLASSES ================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= TOUCH DEVICE OPTIMIZATIONS ================= */
@media (hover: none) and (pointer: coarse) {
  .testimonial-card:hover {
    transform: none;
  }
  
  .filter-tab:hover {
    background: var(--light);
    border-color: transparent;
  }
  
  .filter-tab.active:hover {
    background: var(--primary);
  }
  
  .btn:hover,
  .btn:active {
    transform: none;
  }
  
  .btn:active {
    opacity: 0.8;
  }
  
  /* Increase touch target sizes for mobile */
  .filter-tab,
  .btn,
  .checkbox-label {
    min-height: 44px;
  }
  
  .mobile-nav__btn {
    min-height: 56px;
  }
}

/* ================= DARK MODE SUPPORT ================= */
@media (prefers-color-scheme: dark) {
  :root {
    --dark: #f8f9fa;
    --light: #121826;
    --gray-100: #1a1f36;
    --gray-200: #2d3349;
    --gray-300: #3e445e;
    --gray-800: #e9ecef;
  }
  
  body {
    background: #0d1117;
    color: var(--dark);
  }
  
  .testimonial-card,
  .quote-preview,
  .share-story-card,
  .cta-banner {
    background: var(--gray-100);
    border-color: var(--gray-200);
  }
  
  .hero-subtitle,
  .section-subtitle,
  .stat-label,
  .author-info span,
  .form-intro p,
  .form-note {
    color: var(--gray-800);
  }
  
  .filter-tab:not(.active) {
    background: var(--gray-100);
    color: var(--gray-800);
  }
  
  .share-story__form {
    background: var(--gray-100);
  }
  
  .form-group input,
  .form-group textarea,
  .checkbox-label {
    background: var(--light);
    border-color: var(--gray-200);
    color: var(--dark);
  }
  
  .mobile-nav {
    background: var(--gray-100);
    border-color: var(--gray-200);
  }
}

/* ================= PRINT STYLES ================= */
@media print {
  .testimonials-container {
    padding: 0;
  }
  
  .hero-cta,
  .filters-section,
  .mobile-nav,
  .share-story-section,
  .testimonials-cta-section,
  .load-more-container {
    display: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}