/* About Us page css - Light Theme */

/* Override hero-fullscreen to match reduced carousel height */
#about-hero.hero-fullscreen {
  height: 50vh !important;
  min-height: 50vh !important;
}

.hero-slide {
  position: relative;
  height: 50vh; /* Reduced from 100vh to 50vh */
}

.hero-slide img {
  height: 50vh; /* Reduced from 100vh to 50vh */
  width: 100%;
  object-fit: cover;
}

.hero-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  text-align: center;
  padding: 0 15px;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  line-height: 1.3;
}

/* Different gradients and glow per card for high visual appeal */
#differenceCarousel .carousel-item:nth-child(1) .why-card {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(124, 92, 255, 0.1));
  box-shadow: 0 8px 25px rgba(124, 92, 255, 0.3);
}

#differenceCarousel .carousel-item:nth-child(2) .why-card {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(45, 212, 191, 0.1));
  box-shadow: 0 8px 25px rgba(45, 212, 191, 0.3);
}

#differenceCarousel .carousel-item:nth-child(3) .why-card {
  background: linear-gradient(135deg, rgba(255, 184, 108, 0.25), rgba(255, 184, 108, 0.1));
  box-shadow: 0 8px 25px rgba(255, 184, 108, 0.3);
}

#differenceCarousel .carousel-item:nth-child(4) .why-card {
  background: linear-gradient(135deg, rgba(255, 85, 255, 0.25), rgba(255, 85, 255, 0.1));
  box-shadow: 0 8px 25px rgba(255, 85, 255, 0.3);
}

#differenceCarousel .carousel-item:nth-child(5) .why-card {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 123, 255, 0.1));
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Optional: neon-ish hover pop */
#differenceCarousel .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.5), 0 0 15px rgba(2, 230, 255, 0.35);
}

/* =========================
   Our Edge — Light Theme
   ========================= */
#our-edge .why-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.9rem;
  border-left: 3px solid transparent;
  padding: 1rem 1.2rem;
  color: #1a1a1a;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 1.45;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 230, 230, 0.6);
}

/* Hover lift */
#our-edge .why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Icon badge */
#our-edge .why-card .icon-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  display: grid;
  place-items: center;
  background: rgba(245, 245, 245, 0.8);
  border: 1px solid rgba(210, 210, 210, 0.8);
  border-radius: 8px;
  color: #333;
}

/* Heading */
#our-edge .why-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #111;
  letter-spacing: -0.2px;
}

/* Paragraph */
#our-edge .why-card p {
  font-size: 0.9rem;
  color: #444;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Accent borders */
section#our-edge .why-card:nth-child(1) {
  border-left-color: #7c5cff !important;
}

section#our-edge .why-card:nth-child(2) {
  border-left-color: #2dd4bf !important;
}

section#our-edge .why-card:nth-child(3) {
  border-left-color: #ffb347 !important;
}

section#our-edge .why-card:nth-child(4) {
  border-left-color: #ff69b4 !important;
}
/* Platform Section Image Sizing */
#platform .col-lg-6 img {
  max-width: 75%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  
  .hero-slide,
  .hero-slide img {
    height: 40vh; /* Slightly smaller on mobile */
  }

   #platform .col-lg-6 img {
    max-width: 100%; /* Full width on mobile */
  }
}

/* Team slider wrapper */

.team-slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 1rem;
}

.team-slider {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Horizontal Card Layout */
.team-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 1000px;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  transition: transform .3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}
.team-slider-wrapper:hover .team-slider {
  animation-play-state: paused;
  transition: animation-play-state 0.3s ease;
}
/* Image */
.team-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

/* Text */
.team-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info h5 {
  margin: 0 0 0.2rem;
}

.role {
  font-size: .9rem;
  opacity: 0.7;
  margin-bottom: .4rem;
}

.desc {
  font-size: .9rem;
  line-height: 1.4rem;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .team-card {
    flex-direction: column; /* Stack vertically */
    align-items: center;
    text-align: center;
    flex: 0 0 85vw;
    padding: 1rem;
    height: auto;
  }

  .team-img {
    margin-bottom: 1rem;
  }

  .team-img img {
    width: 100px;
    height: 100px;
  }

  .team-info {
    align-items: center;
  }

  .desc {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

}