.card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.card-img-top {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Arrows rich look */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 40%, 40%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}



  /* Base Card Styles */
  .uni-elite-card {
    background: #ffffff;
    border: 1px solid #f1f1f1 !important;
    transition: all 0.4s ease;
    height: 100%;
  }

  /* Logo Frame - Ensures all logos look equal */
  .uni-logo-frame {
    height: 120px; /* Fixed height for mobile & desktop consistency */
    width: 100%;
    padding: 15px;
    overflow: hidden;
  }

  .uni-fit-img {
    max-height: 90px;
    max-width: 100%;
    object-fit: contain; /* Ensures logo fits without stretching */
    transition: 0.4s ease;
  }

  /* Fixed Height for University Name - Fixes your Error */
  .uni-name-wrapper {
    height: 3rem; /* Allows 2 lines of text but stays consistent */
    overflow: hidden;
    text-align: center;
  }

  .uni-name-wrapper h6 {
    font-size: 0.95rem;
    line-height: 1.3;
    display: block;
  }

  /* Mobile Specific Adjustments */
  @media (max-width: 576px) {
    .uni-logo-frame {
      height: 100px;
    }
    .uni-fit-img {
      max-height: 70px;
    }
    .uni-name-wrapper h6 {
      font-size: 0.85rem;
    }
  }

  /* Hover Effects */
  .uni-elite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.15) !important;
    border-color: #0d6efd !important;
  }

  .btn-custom-glow {
    font-size: 0.85rem;
    background: #0d6efd;
    border: none;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
  }

  .uniSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
  }

