/* ABOUT PAGE BASE */
.aboutus {
  background: linear-gradient(to right, #1e3c72, #2a5298);
  color: white;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

.aboutus-header {
  text-align: center;
  padding: 70px 20px 40px;
  max-width: 800px;
  margin: auto;
}

.aboutus-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.aboutus-header p {
  font-size: 1.1rem;
  color: #f1f1f1;
  line-height: 1.6;
}

/* CONTAINER */
.aboutus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px;
}

/* CARD DESIGN */
.aboutus-card {
  position: relative;
  padding: 25px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: white;
  overflow: hidden;
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: left;
}

/* GRADIENT BORDER EFFECT */
.aboutus-card::before {
  content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #00c6ff, #0072ff, #00c6ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

/* ICON */
.aboutus-card .icon {
  font-size: 30px;
  margin-bottom: 15px;
  color: #00c6ff;
}

/* TITLE */
.aboutus-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

/* TEXT */
.aboutus-card p,
.aboutus-card li {
  font-size: 0.95rem;
  opacity: 0.9;
}

.aboutus-card ul {
  padding-left: 18px;
}

/* HOVER EFFECT */
.aboutus-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* GLOW EFFECT ON HOVER */
.aboutus-card:hover::before {
  background: linear-gradient(45deg, #ff6ec4, #7873f5, #00c6ff);
}

/* TEAM GRID */
/* SECTION */

  .aboutus-team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
  }

  .aboutus-team h2 {
    text-align: center;
    margin-bottom: 30px;
  }

  /* Slideshow container */
  .slideshow-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }

  /* Slides wrapper */
  .slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  /* Individual slide */
  .slide {
    flex: 0 0 100%;
    padding: 20px;
  }

  /* Original card design preserved */
  .aboutus-member {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    transition: 0.4s;
    overflow: hidden;
    z-index: 1;
  }

  /* .aboutus-member:hover::before {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  } */
  .aboutus-member::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #00c6ff, #0072ff, #00c6ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
  }

  .aboutus-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00c6ff;
    transition: 0.4s;
  }
  .aboutus-member:hover img {
    box-shadow: 0 0 15px #00c6ff, 0 0 40px #0072ff;
    border-color: transparent;
  }
  .aboutus-member:hover::before{
    opacity: 1;
  }

  .aboutus-member h4 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #120b0b;
  }

  .aboutus-member h5 {
    color: #ff9800;
    margin: 5px 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .aboutus-member p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #eee3e3;
  }

  /* Dots/Indicators */
  .dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dot.active {
    background: #ff9800;
    width: 25px;
    border-radius: 5px;
  }

  .dot:hover {
    background: #e68900;
  }

  /* Slide indicator */
  .slide-indicator {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
  }

  /* Pause indicator */
  .pause-indicator {
    text-align: center;
    margin-top: 10px;
    color: #999;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .slideshow-container:hover ~ .pause-indicator,
  .slideshow-container:hover .pause-indicator {
    opacity: 1;
  }
