/* Hero Section Melhorado */
.community-hero-enhanced {
  min-height: 100vh;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.floating-element:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 25px;
  animation: slideInLeft 1s ease;
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: slideInLeft 1s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: slideInLeft 1s ease 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease 0.3s both;
}

.community-illustration {
  position: relative;
  width: 400px;
  height: 400px;
}

.user-avatar {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.user-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.user-2 {
  top: 25%;
  right: 0;
  animation-delay: 0.4s;
}

.user-3 {
  bottom: 25%;
  right: 0;
  animation-delay: 0.8s;
}

.user-4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.2s;
}

.user-5 {
  top: 25%;
  left: 0;
  animation-delay: 1.6s;
}

.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  animation: drawLine 2s ease-in-out infinite;
}

.line-1 {
  top: 20%;
  left: 20%;
  width: 60%;
  transform: rotate(15deg);
}

.line-2 {
  top: 40%;
  left: 15%;
  width: 70%;
  transform: rotate(-15deg);
}

.line-3 {
  top: 60%;
  left: 20%;
  width: 60%;
  transform: rotate(15deg);
}

.line-4 {
  top: 80%;
  left: 15%;
  width: 70%;
  transform: rotate(-15deg);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes drawLine {
  0% {
    width: 0;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Seção de Introdução */
.community-intro {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.intro-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.benefit-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #156e59;
}

.benefit-preview i {
  font-size: 2.5rem;
  color: #156e59;
}

.benefit-preview span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Benefícios Melhorados */
.community-benefits-enhanced {
  padding: 100px 0;
  background: white;
}

.benefits-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.benefit-card-enhanced {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 110, 89, 0.1);
}

.benefit-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #156e59, #3fedca);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card-enhanced:hover::before {
  transform: scaleX(1);
}

.benefit-card-enhanced:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(21, 110, 89, 0.15);
}

.benefit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.benefit-icon-enhanced {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(21, 110, 89, 0.3);
  transition: all 0.3s ease;
}

.benefit-card-enhanced:hover .benefit-icon-enhanced {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 15px 40px rgba(21, 110, 89, 0.4);
}

.benefit-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #156e59;
  background: rgba(21, 110, 89, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.benefit-content p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.benefit-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(21, 110, 89, 0.1);
}

.benefit-tag {
  display: inline-block;
  background: linear-gradient(135deg, #156e59, #1e8973);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mentores Melhorados */
.mentors-section-enhanced {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header-enhanced {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-header-enhanced h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.section-header-enhanced p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 30px;
}

.section-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #156e59, #3fedca);
  margin: 0 auto;
  border-radius: 2px;
}

.mentors-container-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  /* Each mentor card takes full width */
  gap: 60px;
  /* Space between mentor cards */
  max-width: 1200px;
  /* Adjust max-width for the container */
  margin: 0 auto;
}

/* New Mentor Card Styles */
.mentor-card-new {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  /* Use flexbox for two columns */
  align-items: stretch;
  /* Ensure columns stretch to same height */
  border: 1px solid rgba(21, 110, 89, 0.1);
}

.mentor-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(21, 110, 89, 0.15);
}

.mentor-image-wrapper {
  flex-shrink: 0;
  /* Prevent image from shrinking */
  width: 40%;
  /* Adjust width as needed */
  max-width: 400px;
  /* Max width for the image column */
  position: relative;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  /* Background for image area */
}

.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cover the area, crop if necessary */
  display: block;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.mentor-details-new {
  flex-grow: 1;
  /* Allow details to take remaining space */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mentor-details-new h3 {
  font-size: 2.2rem;
  /* Larger font size for name */
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
}

.mentor-title-new {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 25px;
}

.mentor-description-new {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.mentor-description-new strong {
  font-weight: 700;
  color: #156e59;
}

.mentor-companies {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.company-logo-item {
  background: #f0f2f5;
  /* Light background for logos */
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  /* Fixed height for logo containers */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.company-logo-item img {
  max-height: 100%;
  max-width: 100px;
  /* Max width for the logo image itself */
  object-fit: contain;
}


/* Depoimentos Melhorados */
.testimonials-section-enhanced {
  padding: 100px 0;
  background: white;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.testimonial-card-enhanced {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s ease;
  border: 1px solid rgba(21, 110, 89, 0.1);
}

.testimonial-card-enhanced.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-quote {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-quote i {
  font-size: 3rem;
  color: rgba(21, 110, 89, 0.2);
}

.testimonial-content-enhanced {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  text-align: center;
  margin-bottom: 40px;
}

.testimonial-author-enhanced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.author-avatar-enhanced {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(21, 110, 89, 0.3);
}

.author-details h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.author-details p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.author-rating {
  display: flex;
  gap: 3px;
}

.author-rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.testimonial-nav {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #156e59, #1e8973);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(21, 110, 89, 0.3);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(21, 110, 89, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #156e59;
  transform: scale(1.2);
}

/* CTA Final Melhorado */
.community-cta-enhanced {
  padding: 100px 0;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1s;
}

.particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 3s;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-30px) scale(1.2);
    opacity: 1;
  }
}

.cta-content-enhanced {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.cta-icon {
  font-size: 4rem;
  margin-bottom: 30px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.cta-content-enhanced h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta-content-enhanced p {
  font-size: 1.3rem;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-cta-primary {
  background: white;
  color: #156e59;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-5px);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.cta-guarantee i {
  font-size: 1.2rem;
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .community-illustration {
    width: 300px;
    height: 300px;
  }

  .benefits-grid-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .mentors-container-enhanced {
    grid-template-columns: 1fr;
    /* Stack mentor cards vertically */
    gap: 40px;
    /* Adjust gap for stacked cards */
  }

  .mentor-card-new {
    flex-direction: column;
    /* Stack image and details vertically */
  }

  .mentor-image-wrapper {
    width: 100%;
    /* Full width for image on smaller screens */
    max-width: none;
    /* Remove max-width constraint */
    height: 300px;
    /* Fixed height for image on mobile */
    border-radius: 24px 24px 0 0;
    /* Adjust border radius for top */
  }

  .mentor-photo {
    border-radius: 24px 24px 0 0;
    /* Adjust border radius for top */
  }

  .mentor-details-new {
    padding: 30px;
    /* Adjust padding for mobile */
    text-align: center;
    /* Center text on mobile */
  }

  .mentor-companies {
    justify-content: center;
    /* Center logos on mobile */
  }
}

@media (max-width: 768px) {
  .community-hero-enhanced {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 2.2rem;
  }

  .benefits-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card-enhanced {
    padding: 30px;
  }

  .section-header-enhanced h2 {
    font-size: 2.2rem;
  }

  .testimonial-card-enhanced {
    padding: 30px;
  }

  .testimonial-content-enhanced {
    font-size: 1.1rem;
  }

  .cta-content-enhanced h2 {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    gap: 15px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .benefit-card-enhanced {
    padding: 25px;
  }

  .benefit-icon-enhanced {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .mentor-card-new {
    margin: 0 10px;
  }

  .mentor-details-new h3 {
    font-size: 1.8rem;
  }

  .mentor-title-new {
    font-size: 0.95rem;
  }

  .mentor-description-new {
    font-size: 0.9rem;
  }

  .company-logo-item {
    padding: 10px 20px;
    height: 50px;
  }

  .testimonial-card-enhanced {
    padding: 25px;
  }

  .testimonial-content-enhanced {
    font-size: 1rem;
  }

  .cta-content-enhanced h2 {
    font-size: 1.8rem;
  }

  .cta-content-enhanced p {
    font-size: 1.1rem;
  }
}

/* Animações adicionais */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Focus states for accessibility */
.btn-cta-primary:focus,
.btn-cta-secondary:focus,
.testimonial-nav:focus {
  outline: 3px solid rgba(21, 110, 89, 0.5);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  .benefit-card-enhanced,
  .mentor-card-new,
  .testimonial-card-enhanced {
    border: 2px solid #333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Testimonials Vertical Carousel */
.testimonials-section-vertical {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/><circle cx="10" cy="60" r="1" fill="%23000" opacity="0.02"/><circle cx="90" cy="40" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.testimonials-vertical-container {
  max-width: 800px;
  margin: 0 auto;
  height: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonials-vertical-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  will-change: transform;
}

.testimonial-card-vertical {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.testimonial-card-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  border-radius: 16px 16px 0 0;
}

.testimonial-card-vertical:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote-vertical {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.testimonial-content-vertical {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-top: 10px;
}

.testimonial-author-vertical {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-avatar-vertical {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.author-details-vertical h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 5px 0;
}

.author-details-vertical p {
  font-size: 14px;
  color: #718096;
  margin: 0 0 8px 0;
}

.author-rating-vertical {
  display: flex;
  gap: 2px;
}

.author-rating-vertical i {
  color: #ffd700;
  font-size: 12px;
}

.testimonials-scroll-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 200px;
  background:#1e8973;
  border-radius: 2px;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  border-radius: 2px;
  transition: transform 0.1s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials-vertical-container {
    height: 500px;
    margin: 0 20px;
  }

  .testimonials-vertical-track {
    padding: 20px;
    gap: 15px;
  }

  .testimonial-card-vertical {
    padding: 20px;
    min-height: 200px;
  }

  .testimonial-content-vertical {
    font-size: 14px;
  }

  .author-avatar-vertical {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .testimonials-scroll-indicator {
    right: 10px;
    height: 150px;
  }

  .scroll-thumb {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .testimonials-section-vertical {
    padding: 60px 0;
  }

  .testimonials-vertical-container {
    height: 400px;
    margin: 0 15px;
  }

  .testimonial-card-vertical {
    padding: 15px;
    min-height: 180px;
  }

  .testimonial-content-vertical {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .author-details-vertical h4 {
    font-size: 14px;
  }

  .author-details-vertical p {
    font-size: 12px;
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card-vertical {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling effect */
.testimonials-vertical-track {
  transition: transform 0.1s linear;
}

/* Hover effects */
.testimonials-vertical-container:hover .scroll-thumb {
  background: linear-gradient(135deg, #156e59 0%, #1e8973 50%, #3fedca 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.6);
}

.testimonials-vertical-container:hover .testimonial-card-vertical {
  transform: scale(1.02);
}

.testimonials-vertical-container:hover .testimonial-card-vertical:hover {
  transform: scale(1.05) translateY(-5px);
}