/* Testimonies Section Styles */
.testimonies-section {
  min-height: 100vh;
  background: white;
  padding: 80px 0;
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
}

/* Header Styles */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Profile Selector Styles */
.profiles-container {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  height: 900px;
  position: relative;
  top: 20px;
  display: flex;
  flex-direction: column;
}


.profiles-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.profiles-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.profiles-list::-webkit-scrollbar {
  width: 6px;
}

.profiles-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.profiles-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.profiles-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.profile-card {
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #f8fafc;
}

.profile-card:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-card.active {
  background: #dbeafe;
  border-color: #3b82f6;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.profile-card-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-job {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-years {
  display: inline-block;
  background: #e2e8f0;
  color: #475569;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Testimony Content Styles */
.testimony-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimony-content {
  display: none;
}

.testimony-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

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

.testimony-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f1f5f9;
}

.testimony-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #dbeafe;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimony-info {
  flex: 1;
}

.testimony-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.testimony-job {
  font-size: 1.1rem;
  color: #3b82f6;
  font-weight: 500;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.testimony-period {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
}

/* Experiences Section */
.experiences-section {
  margin-bottom: 35px;
}

.experiences-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.experiences-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experiences-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #475569;
  line-height: 1.5;
}

.experiences-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
}

.experiences-list li strong {
  color: #1e293b;
}

/* Testimony Text */
.testimony-text {
  position: relative;
  margin-bottom: 40px;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 4rem;
  color: #dbeafe;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimony-text blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  margin: 0;
  padding-left: 30px;
  position: relative;
}

/* Navigation */
.testimony-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 2px solid #f1f5f9;
}

.nav-btn {
  background: transparent;
  border: 2px solid #e2e8f0;
  padding: 12px 20px;
  border-radius: 25px;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #f8fafc;
}

.nav-btn span {
  font-size: 1.2rem;
}

.nav-dots {
  display: flex;
  gap: 10px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot:hover {
  background: #94a3b8;
}

.nav-dot.active {
  background: #3b82f6;
}

/* Responsive Design */
@media (max-width: 991px) {
  .profiles-container {
    position: static;
    margin-bottom: 30px;
    height: auto;
    max-height: 400px;
  }

  .testimony-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .testimony-name {
    font-size: 1.6rem;
  }

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

@media (max-width: 767px) {
  .testimonies-section {
    padding: 40px 0;
  }

  .profiles-container,
  .testimony-container {
    padding: 25px;
  }

  .profile-card-content {
    gap: 12px;
  }

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

  .testimony-avatar {
    width: 80px;
    height: 80px;
  }

  .testimony-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .nav-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}
