.carousel {
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 85vh;
  }

  .carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
  }

  .carousel-item {
    min-width: 100%;
    position: relative;
  }

  .carousel-img {
    width: 100%;
    height: 85vh;
    object-fit:fill;
    display: block;
  }

  .carousel-caption {
    position: absolute;
    bottom: 0px;
    left: 60px;
    color: #fff;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 0;
    animation: fadeIn 1s ease-in-out;
  }

  .carousel-caption h2 {
    margin: 0 0 10px;
    font-size: 28px;
  }

  .carousel-caption p {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .carousel-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #00c88c;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .carousel-btn:hover {
    background: #00a174;
  }

  .carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
  }

  .prev-btn, .next-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 12px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.3s ease;
  }

  .prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
  }

@media (max-width: 768px) {
  .carousel {
    height: 410px;
  }
  .carousel-img {
    height: 30vh;
  }
  .carousel-caption {
    left: 20px;
    height: 180px;
  }
  .carousel-controls {
    top: 35%;
  }



  .carousel-caption h2 {
    font-size: 20px;
  }
  .carousel-caption p {
    font-size: 14px;
  }
  .carousel-caption {
      bottom: -180px;
      left: 0%;
      width: 100%;
      background: #2F4F4F;
      max-width: none;
  }
}