@media screen and (max-width: 424px) {
  .hero {
    background-image: url("../img/testmob.webp");
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    height: 600px;
  }
  .stylecontactherocontent {
    position: absolute;
    max-width: 400px;
    top: 20%;
  }
}

  .styleadmissionbtn{
    background-color: darkblue !important;
    border: 0;
    transition: all 0.3s ease-in-out;
  }
  .styleadmissionbtn:hover{
    transform: translateY(-5px) !important;
  }
@media screen and (min-width: 425px) and (max-width: 426px) {
  .hero {
    background-image: url("../img/testmob.webp");
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    height: 550px;
  }
  .stylecontactherocontent {
    position: absolute;
    max-width: 400px;
    top: 15%;
    left: 10%;
  }
}
@media screen and (min-width: 427px) and (max-width: 768px) {
  .hero {
    background-image: url("../img/testtab.webp");
    background-position: center;
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
    height: 750px;
  }
  .stylecontactherocontent {
    position: absolute;
    max-width: 400px;
    left: 25%;
    /* top: 20%; */
  }
}
@media screen and (min-width: 769px) {
  .hero {
    background-image: url("../img/testdesktop.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 40vh;
  }
  .stylecontactherocontent {
    position: absolute;
    right: 5%;
    /* top: 25%; */
    max-width: 300px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 2000px) {
  .hero {
    background-image: url("../img/testdesktop.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
  }
  .stylecontactherocontent {
    position: absolute;
    right: 5%;
    /* right: 6%; */
    top: 35%;
    max-width: 400px;
  }
}
:root {
  --pink: #fff0f0;
  --card-bg: #ffffff;
  --accent: #ff8a2b;
  --muted: #222;
}

.testimonials-section {
  padding: 60px 0;
}

.sec-title {
  text-align: center;
  margin-bottom: 36px;
  font-weight: 600;
  font-size: 1.6rem;
  color: #111;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 6px;
  position: relative;
  overflow: visible;
  min-height: 210px;
  box-shadow: 0 2px 6px rgba(20, 30, 50, 0.04);
}

/* small decorative icon top-left (change per-card using classes) */
.t-deco {
  position: absolute;
  width: 46px;
  height: 46px;
  left: 50%;
  top: -20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.testimonial-title {
  font-size: 1.125rem;
  margin-top: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #111;
}

/* clipped excerpt — uses line-clamp for 3 lines */
.testimonial-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  color: #444;
  margin-bottom: 14px;
}

.read-more-link {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.read-more-link:hover {
  text-decoration: underline;
}

/* spacing between cards rows */
.card-col {
  padding-bottom: 28px;
}

/* responsive tune */
@media (max-width: 575px) {
  .testimonial-card {
    padding: 18px;
  }
  .t-deco {
    left: 18px;
    top: -16px;
    width: 40px;
    height: 40px;
  }
}
