.testimonial-container {
  width: 100%;
  max-width: 56rem;
  padding: 2rem;
  margin: 0 auto;
}
.button{
  background-color: #14264e !important;
  color: #ecb44b !important;
}
.testimonial-grid {
  display: grid;
  gap: 2rem;
}

/* Image container */
.image-container {
  position: relative;
  width: 100%;
  height: 24rem; /* default desktop */
  perspective: 1000px;
}

.testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Content */
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.25rem;
}
.designation {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}
.quote {
  font-size: 1.125rem;
  color: #95a6bd;
  line-height: 1.75;
}

/* Arrows */
.arrow-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 2rem;
}
.arrow-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  color: #eb451b;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.arrow-button i {
  font-size: 28px;
}
.arrow-button:hover {
  color: #00a6fb;
}

/* 🔹 Responsive Breakpoints */

/* Small screens (mobile) */
@media (max-width: 575px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Image + buttons ek block me */
  .image-container {
    height: 16rem;
    margin-bottom: 1rem;
  }

  /* Buttons ko image ke niche lao */
  .arrow-buttons {
    justify-content: center;
    padding-top: 1rem;
    order: 2; /* neeche shift */
  }

  /* Content (text) ko arrows ke upar rakho */
  .testimonial-content {
    display: flex;
    flex-direction: column;
  }
  .testimonial-content > div:first-child {
    order: 1;
  }
  .arrow-buttons {
    order: 2;
  }
}

/* Medium screens (tablet) */
@media (min-width: 576px) and (max-width: 991px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .image-container {
    height: 20rem;
  }
  .quote {
    font-size: 1.05rem;
  }
}

/* Large screens (desktop) */
@media (min-width: 992px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .image-container {
    height: 24rem;
  }
}
