/* Testimonials Section */
.testimonials-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
  position: relative;
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.testimonials-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #000000;
}

.testimonials-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #666;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: auto;
  border: 2px solid #000000;
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: #000000;
  opacity: 0.2;
  font-size: 2rem;
  line-height: 1;
}

.quote-icon.end {
  position: absolute;
  top: auto;
  bottom: 1.5rem;
  left: auto;
  right: 1.5rem;
  transform: rotate(180deg);
}

.testimonial-class {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #000000;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 0.75rem;
}

.testimonial-text:last-child {
  margin-bottom: 0;
}

/* Navigation Arrows */
.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.testimonial-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 1rem;
}

.testimonial-nav:hover {
  background-color: #000;
  color: #fff;
}

.testimonial-indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ddd;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.indicator.active {
  background-color: #000;
  width: 10px;
  height: 10px;
}

.testimonials-cta {
  margin-top: 2rem;
}

.testimonials-button {
  display: inline-block;
  background-color: #000000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}

.testimonials-button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .testimonials-section {
    padding: 3rem 0;
    overflow: hidden;
  }
  
  .testimonials-title {
    font-size: 2.2rem;
  }
  
  .testimonials-intro {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .testimonials-grid {
    display: flex;
    grid-template-columns: unset;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.5rem 1rem -1.5rem;
    padding: 0 1.5rem;
  }
  
  .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 1.25rem;
    margin-right: 0.5rem;
    width: 85%;
    min-width: 85%;
  }

  .testimonial-card:last-child {
    margin-right: 1.5rem;
  }

  .testimonial-class {
    font-size: 1.1rem;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
  }
  
  /* Mobile navigation */
  .testimonial-nav {
    width: 40px;
    height: 40px;
  }
  
  .testimonial-indicators {
    gap: 0.4rem;
  }
  
  .indicator {
    width: 6px;
    height: 6px;
  }
  
  .indicator.active {
    width: 8px;
    height: 8px;
  }
  
  /* Scrollbar styling */
  .testimonials-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .testimonials-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .testimonials-grid::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 10px;
  }
} 