.course-sec {
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 30px 0px;
  border: 3px solid #ed9792;
  width: 80%;
  border-radius: 20px;
  padding: 20px 10px 40px 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 18px, rgba(0, 0, 0, 0.22) 0px 5px 5px;
}
.course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.course-item {
  text-align: center;
  /*padding: 20px;*/
  /* clip-path: polygon(29.3% 0%, 70.7% 0%, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0% 70.7%, 0% 29.3%); */
  /* clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 50% 100%, 0% 25%); */
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); */
  /* transition: transform 0.2s, box-shadow 0.2s; */
  width: 150px;
}
/* .course-item:hover {
    transform: scale(1.05);
    
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
} */
.course-item img {
  width: 150px;
  height: 150px;
  /* clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 50% 100%, 0% 25%); */
  /* clip-path: polygon(52% 0%, 100% 42.8%, 85.5% 100%, 14.5% 100%, 0% 42.8%); */
}
.course-item p {
  margin-top: 10px;
  font-weight: bold;
  color: #ff0000;
}
.bg-banner {
  background-image: url(../img/bg-banner.png);
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.about-image img {
  width: 60%;
  height: auto;
}
.about-content {
  padding-left: 30px;
}
.about-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-content .btn-read-more {
  background-color: #ff0000;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  .about-content {
    padding-left: 0;
    padding-top: 20px;
  }
}
/* Style the select box */
.role {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
  appearance: none; /* Remove default dropdown arrow */
  -webkit-appearance: none; /* Remove default dropdown arrow in Safari */
  -moz-appearance: none; /* Remove default dropdown arrow in Firefox */
}

/* Add a custom arrow for the dropdown */
.role::after {
  content: "▼";
  position: absolute;
  right: 10px;
  pointer-events: none;
}

/* Focus styles */
.role:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  outline: none;
}

/* Optional - Add hover effect */
.role:hover {
  background-color: #e6e6e6;
}

.slider-sec {
  /* background-color: #fdf1e9; */
  font-family: Arial, sans-serif;
}
.mentor-card {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.mentor-card img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.mentor-card h5 {
  margin-top: 15px;
  font-weight: bold;
}
.mentor-card p {
  color: #666;
}
.read-more-btn {
  margin-top: 20px;
  padding: 10px 20px;
  border: 2px solid #e74c3c;
  border-radius: 25px;
  color: #e74c3c;
  background-color: transparent;
  text-transform: uppercase;
  font-weight: bold;
}
.read-more-btn:hover {
  background-color: #e74c3c;
  color: white;
}

/* .team-slider {
  display: flex;
  animation: scroll-left 20s linear infinite;
  padding: 10px 0; 
}

.team-member {
  flex: 0 0 calc(25% - 20px); 
  margin: 0 10px; 
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  background: #fff;
  border-radius: 8px; 
  overflow: hidden;
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
}




 <section class="slider-sec ">
            <div class="container text-center  pt-1">
                <h2 class="mb-2 mt-5">
                    <b> <i>DSA</i></b>
                </h2>
                <h3 class="mb-2">
                    <b>OUR TOP RANKERS</b>
                </h3>
                <div class="row">



                    <div class="slider-container overflow-hidden">
                        <div class="team-slider" id="teamSlider2">
                            <!-- Original set -->
                            <?php
               $path="admin/";
               require 'gallery/dbc.php';
               $stmt = $dbc->query("SELECT * FROM slider_two ORDER by img_id ASC LIMIT 6;");
               foreach ($stmt as $img) {
               ?>
                            <div class="team-member team-member2">
                                <img src="<?= $path.$img['img_path']; ?>" alt="img">

                            </div>
                            <?php } ?>
                            

                            </div>
                        </div>
                    </div>
                    <div class="mb-5">
                        <a href="./gallery/index.html" class="read-more-btn ">
                            SEE MORE
                        </a>
                    </div>
                </div>
            </div>
        </section>












@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      -33.3333%
    ); 
  }
} */


.slider-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.team-slider {
  display: flex;
  animation: scroll 10s linear infinite;
  width: fit-content;
}

/* Pause animation on hover */
.team-slider:hover {
  animation-play-state: running;
}

.team-member {
  flex: 0 0 300px;
  margin: 0 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  border-radius: 8px;
  height: 400px;
  object-fit: fill;
  display: block;
}

/* .team-member h3 {
  padding: 15px;
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
} */

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-315px * 4));  /* (Card width + margin) * number of unique cards */
  }
}



