.csa-slider {
  position: relative;
  overflow: hidden;
  width: 95%;
  height: 85vh; /* Reduced height */
  max-height: 650px; /* Optional for large screens */
  border-radius: 20px; /* Rounded corners */
  background: #75b843;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.csa-slides {
  display: flex;
  transition: transform 0.9s ease;
  height: 100%;
}

.csa-slide {
  min-width: 100%;
  position: relative;
  border-radius: 20px; /* Matches container curve */
  overflow: hidden;
}

.csa-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* Fill the entire area */
  object-position: top center;
  filter: brightness(0.9);
  transition: transform 0.6s ease;
}

.csa-slide:hover img {
  transform: scale(1.03);
}

.csa-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  color: white;
  max-width: 500px;
}

.csa-content h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
}

.csa-content p {
  margin: 15px 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.csa-btn {
  background: #7ecb4e;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.csa-btn:hover {
  background: #5ca63c;
}

.csa-nav {
  position: absolute;
  bottom: 30px;
  right: 60px;
  display: flex;
  gap: 15px;
}

.csa-nav button {
    width: 55px;
    display: flex;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    color: #333;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s;
}
.csa-nav button:active {
color: black !important;
}
.button.csa-prev:focus,
.button.csa-next:focus {
color: black !important;
}
.csa-nav button:hover {
  background: #7ecb4e;
  color: white;
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .csa-slider {
    height: 50vh;
  }

  .csa-content h2 {
    font-size: 1.8rem;
  }

  .csa-content p {
    font-size: 1rem;
  }
}