* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #0D121F;
}
.space{
  margin-top: 90px;
  color: white;
  width: 100%;
  justify-content: center;
  display: flex;
}
section:nth-child(even) {
    background-color: white; 
  }
  section:nth-child(odd) h2{
    color: white;
  }
/* General styling for the testimonials section */
.testimonials {
    display: block;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  width: 100%;
  padding: 10px;
   
}
.test{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

/* Container for the testimonial cards */
.testimonial-cards {
    
    display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  white-space: nowrap;
  margin-top: 40px;
  margin-bottom: 20px;

  
}

/* Individual testimonial card styling */
.card {
    width: 200px;
    min-height: 200px;
    max-height: 250px;
    
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    display: flex;
   
    flex: 0 0 calc(33.33% - 1.35rem);
    
    
}

.card img {
    width: 100%;
    border-radius: 10px;
   
}

.arrow-container{
    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    
    
}
.arrow-left,.arrow-right{
    display: flex; /* Ensures flexbox behavior for alignment */
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    background-color: #1A202C; /* Background color */
    width: 40px; /* Width of the arrow container */
    height: 40px; /* Height of the arrow container */
    border-radius: 50%; /* Makes the container circular */
    cursor: pointer; /* Adds pointer cursor on hover */
}
.arrow-left{
    margin-right: 10px;
}
.arrow-right{
    margin-left: 10px;
}
.arrow-left:hover,.arrow-right:hover{
    background-color: #7C5CFC;
    box-shadow: 0 0 10px 3px rgba(124, 92, 252, 0.6);
}
@media (max-width: 1000px){
    .card{
        min-height: 150px;
    }
}

@media (max-width: 750px) {
    .card {
        flex: 0 0 calc(50% - 1.35rem); /* Adjust width for 2 cards */
    }
}
@media (max-width: 550px) {
    .card {
        flex: 0 0 100%; /* Single card layout */
    }
}
@media (max-width: 768px) {
    h2 {
      font-size: 1.5rem;
    }
  }
  
  /* Further reduce size for mobile */
  @media (max-width: 480px) {
    h2 {
      font-size: 1.2rem;
    }
  }
  @media (max-width: 350px) {
    h2 {
      font-size: 1rem;
    }
  }
