/* About Section Styles */
.about-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content > p {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 30px;
  text-align: center;
}

.team-structure {
  margin-bottom: 40px;
}

.team-structure h3 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

/* Team Members Carousel */
.team-members-carousel {
  position: relative;
  margin: 40px 0;
}

.team-members-wrapper {
  overflow: hidden;
  margin: 0 70px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-members-wrapper::-webkit-scrollbar {
  display: none;
}

.team-members-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s ease;
}

/* Team Member Cards */
.team-member-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.25);
}

.team-member-card.team-lead {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.15));
  border: 2px solid rgba(37, 99, 235, 0.35);
}

.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid rgba(37, 99, 235, 0.35);
  transition: all .3s ease;
}

.team-member-card.team-lead .member-photo {
  width: 160px;
  height: 160px;
  border: 4px solid rgba(37, 99, 235, 0.5);
}

.team-member-card:hover .member-photo {
  transform: scale(1.05);
  border-color: rgba(37, 99, 235, 0.6);
}

.team-member-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.team-member-card.team-lead h4 {
  font-size: 22px;
  font-weight: 700;
}

.member-role {
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 12px;
}

.team-member-card.team-lead .member-role {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  user-select: none;
}

.carousel-nav:hover:not(.disabled) {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.carousel-nav:active:not(.disabled) {
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav.disabled {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  cursor: not-allowed;
  opacity: 0.4;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
}

.carousel-prev {
  left: 5px;
}

.carousel-next {
  right: 5px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

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

.carousel-dot:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #2563eb;
  width: 32px;
  border-radius: 6px;
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-top: 10px;
}

.contact-section h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #1e3a8a;
}

.contact-section p {
  color: #475569;
  margin-bottom: 28px;
  font-size: 16px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 20px;
  }

  .team-member-card {
    width: 240px;
  }

  .member-photo {
    width: 120px;
    height: 120px;
  }

  .team-member-card.team-lead .member-photo {
    width: 140px;
    height: 140px;
  }

  .carousel-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .team-members-wrapper {
    margin: 0 50px;
  }

  .carousel-prev {
    left: 2px;
  }

  .carousel-next {
    right: 2px;
  }

  .contact-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 20px 16px;
  }

  .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .team-members-wrapper {
    margin: 0 45px;
  }
}