/* ========================================
   Testimonials: Faculty, Students, Team
   ======================================== */

/* ---------- Faculty Spotlight ---------- */
.facultySection {
  padding: clamp(64px, 5.208vw, 100px) 0;
  background:
    linear-gradient(180deg, #ffe8d4 0%, rgba(255, 232, 212, 0) 55%),
    #ffffff;
}

.facultyInner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.125vw, 60px);
}

.facultySwiper {
  overflow: hidden;
  padding-bottom: 8px;
}

.facultySwiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.facultyCard {
  background: var(--color-white);
  border-radius: 31px;
  box-shadow: var(--shadow-soft);
  padding: 32px 12px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: auto;
  min-height: clamp(420px, 29.48vw, 566px);
  box-sizing: border-box;
  overflow: visible;
}

.facultyQuote {
  font-family: var(--font-sans);
  font-weight: 400; /* Figma Polymath Demo Regular */
  font-size: clamp(15px, 0.938vw, 18px);
  line-height: 24px;
  color: var(--color-gray);
  flex: 1 1 auto;
}

.facultyProfile {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
  margin-top: auto;
  padding-bottom: 4px;
}

.facultyPhoto {
  width: clamp(160px, 15.52vw, 298px);
  height: clamp(120px, 10.94vw, 210px);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  overflow: visible;
}

.facultyPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  display: block;
}

.facultyIdentity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-transform: capitalize;
}

.facultyName {
  font-family: var(--font-serif); /* DM Serif 32 */
  font-weight: 400;
  font-size: clamp(24px, 1.667vw, 32px);
  line-height: 1.4;
  color: var(--color-brown);
}

.facultyRole {
  font-family: var(--font-serif); /* DM Serif 20 — Figma same family as name */
  font-weight: 400;
  font-size: clamp(16px, 1.042vw, 20px);
  line-height: 1.4;
  color: var(--color-gray);
}

/* ---------- Student Testimonials ---------- */
.testimonialsSection {
  position: relative;
  padding: clamp(64px, 5.208vw, 100px) 0;
  overflow: hidden;
}

.testimonialsBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.testimonialsOverlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 120, 0, 0) 32.3%, #ff7800 100%),
    linear-gradient(180deg, #890100 2.36%, rgba(137, 1, 0, 0) 89.95%);
  pointer-events: none;
}

.testimonialsInner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.125vw, 60px);
}

.testimonialsSection .sectionHeadTitle,
.testimonialsSection .sectionHeadTitle span {
  color: var(--color-white);
}

.testimonialCard {
  background: var(--color-white);
  border-radius: 31px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
}

.testimonialText {
  font-family: var(--font-sans);
  font-weight: 400; /* Figma Polymath Demo Regular */
  font-size: clamp(15px, 0.938vw, 18px);
  line-height: 24px;
  color: var(--color-gray);
  min-height: 150px;
}

.testimonialIdentity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-transform: capitalize;
}

.testimonialName {
  font-family: var(--font-serif); /* DM Serif 32 */
  font-weight: 400;
  font-size: clamp(24px, 1.667vw, 32px);
  line-height: 1.4;
  color: var(--color-brown);
}

.testimonialyr
{
  font-size: 18px;
  font-family: var(--font-serif); /* DM Serif 32 */
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-brown);
}

.testimonialProgram {
  font-family: var(--font-serif); /* DM Serif 20 */
  font-weight: 400;
  font-size: clamp(16px, 1.042vw, 20px);
  line-height: 1.4;
  color: var(--color-gray);
}

.testimonialPhoto {
  width: 100%;
  aspect-ratio: 496 / 289;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-peach-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.testimonialPhoto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

/* ---------- Meet The Team (Figma 113:2752 + 309:235) ---------- */
.teamSection {
  background: var(--color-white);
  padding: clamp(48px, 5.208vw, 100px) 0;
  overflow: hidden;
}

.teamInner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.125vw, 60px);
}

.teamHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1vw, 16px);
  width: 100%;
  min-height: clamp(72px, 6.042vw, 116px);
  padding-block: clamp(8px, 0.625vw, 12px);
}

.teamTitle .line1 {
  display: block;
  font-family: var(--font-serif); /* DM Serif Display */
  font-weight: 400;
  font-size: clamp(28px, 2.604vw, 50px);
  line-height: clamp(32px, 2.604vw, 50px);
  color: var(--color-black);
  text-transform: capitalize;
}

.teamTitle .line2 {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.125vw, 60px);
  line-height: clamp(38px, 3.438vw, 66px);
  color: var(--color-orange);
  text-transform: capitalize;
}

/* Team nav uses global Figma 113:2612 scroller styles */

.teamSwiper {
  width: 100%;
  overflow: visible;
}

.teamSwiper .swiper-slide {
  height: auto;
}

.teamCard {
  position: relative;
  border-radius: clamp(16px, 1.25vw, 24px);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 406 / 534;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(10px, 0.833vw, 16px) clamp(10px, 0.833vw, 16px) clamp(6px, 0.417vw, 8px);
  background: #000;
  box-sizing: border-box;
}

.teamCardMedia {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.teamCardMedia img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.teamCardShade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 69.007%,
    rgba(0, 0, 0, 0.6) 82.863%
  );
  pointer-events: none;
  border-radius: inherit;
}

.teamCardName {
  position: relative;
  z-index: 2;
  padding: clamp(12px, 1.042vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  border-radius: 10px;
}

.teamCardName p {
  font-family: var(--font-serif); /* DM Serif Display */
  font-weight: 400;
  font-size: clamp(18px, 1.667vw, 32px);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  text-transform: capitalize;
  width: 100%;
  margin: 0;
}

.teamCardName img {
  width: 31px;
  height: 1px;
  max-width: none;
}
.gallerysec {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 50px 0 0 0;
}

.gallerysec .sectionHeadTitle
{
  justify-content: center;
}
.testPic
{
  width: 100%;
  height: auto;
  margin: 30px 0 0;
  text-align: center;
}
.testPic img 
{
  width: auto;
  max-width: 100%;
  margin: 0px auto;
  border-radius: 30px;
}






@media (max-width: 1350px) {

  .testimonialText {
     min-height: 200px;
  }

}

@media (max-width: 1200px) {

  .testimonialText {
     min-height: 150px;
  }

}




@media (max-width: 767px) {
  .teamHead {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .teamSection .sliderNav {
    margin-left: auto;
  }

  .teamCard {
    aspect-ratio: 320 / 420;
  }

  .teamCardName p {
    font-size: clamp(18px, 5vw, 22px);
  }
  .testPic img 
  {
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .facultyProfile {
    flex-direction: column;
  }

  .facultyPhoto {
    width: 100%;
    max-width: 298px;
    height: auto;
    aspect-ratio: 298 / 210;
  }
}
