/* =====================================
   TESTIMONIAL SLIDE (SLIDE 6)
===================================== */

.testimonial-section {
  width: 100vw;
  height: 100vh;
  background: #1a0000; /* deep wine */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* main horizontal layout */
.testimonial-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* =====================================
   SIDE IMAGES
===================================== */

.side-image {
  width: 22%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.85);
  opacity: 0.9;
}

.left-image {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.right-image {
  border-left: 1px solid rgba(255,255,255,0.08);
}

/* =====================================
   CENTER CONTAINER
===================================== */

.testimonial-container {
  width: 56%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

/* Header */
.testimonial-header {
 font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 42px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 40px;
  text-decoration: underline;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 10px;
}

/* =====================================
   CARD TRACK
===================================== */

.testimonial-track {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
}

/* =====================================
   TESTIMONIAL CARD BASE
===================================== */

.testimonial-card {
  position: absolute;
  margin-top: 20px;
  width: 320px;
  min-height: 300px;
  background: #e5e5e5;
  border-radius: 18px;
  padding: 10px 30px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: all 0.6s ease;
  opacity: 0;
  transform: scale(0.85);
  z-index: 1;
  /* text-align: center; */
  /* border-top-left-radius: -50px; */
  /* Slanty top */ 
 
  border-right: 6px solid #b11212;
   border-bottom: 6px solid #b11212;
}

/* =====================================
   CARD STATES
===================================== */

/* ACTIVE */
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

/* NEXT (right side) */
.testimonial-card.next {
  opacity: 0.4;
  transform: translateX(240px) scale(0.85);
  filter: blur(2px);
  z-index: 2;
}

/* BLURRED (left side) */
.testimonial-card.blurred {
  opacity: 0.4;
  transform: translateX(-240px) scale(0.85);
  filter: blur(2px);
  z-index: 2;
}

/* =====================================
   CLIENT IMAGE
===================================== */

.client-photo {
  position: absolute;
  top: -45px;
  left: 80%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  background: #fff;
}

.client-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================
   TEXT
===================================== */

.client-name {
  margin-top: 40px;
  text-decoration: underline;
 font-family: 'Libre Caslon Text', Georgia, serif;
  font-size: 20px;
  color: #b11226;
  margin-bottom: 16px;
}

.testimonial-text {
   font-family: 'Aventa', 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

/* =====================================
   ARROW
===================================== */

.testimonial-arrow {
  position: absolute;
  bottom: 60px;
  right: 60px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #b11226;
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-arrow:hover {
  background: #8e0f1f;
  transform: scale(1.1);
}

/* =====================================
   MOBILE (SAFE STACK)
===================================== */

/* @media (max-width: 768px) {

  .testimonial-slide {
    flex-direction: column;
  }

  .side-image {
    display: none;
  }

  .testimonial-container {
    width: 100%;
    padding: 0 20px;
  }

  .testimonial-track {
    height: auto;
  }

  .testimonial-card {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    margin-bottom: 40px;
  }

  .testimonial-arrow {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }
} */


/* =====================================
   TABLET ≤ 1024px
===================================== */

@media (max-width: 1024px) {

  /* Hide decorative side images */
  .side-image {
    display: none;
  }

  /* Center main content */
  .testimonial-container {
    width: 80%;
    max-width: 720px;
  }

  /* Tighten card spacing */
  .testimonial-card.next {
    transform: translateX(180px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-180px) scale(0.85);
  }

  /* Arrow closer to center */
  .testimonial-arrow {
    right: 30px;
    bottom: 60px;
  }
}


/* =====================================
   MOBILE ≤ 768px
===================================== */

@media (max-width: 768px) {

  .testimonial-section {
    height: 100vh;
    padding: 0;
  }

  .testimonial-slide {
    flex-direction: row;
  }

  .side-image {
    display: none;
  }


  .testimonial-container {
    width: 100%;
    padding: 0 20px;
  }

  .testimonial-header {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-decoration-thickness: 2px;
  }


  .testimonial-track {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
  }

 
  .testimonial-card {
    position: absolute;
    width: 90%;
    max-width: 340px;
    min-height: 300px;
  }

 
  .testimonial-card.next {
    transform: translateX(200px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-200px) scale(0.85);
  }

  .client-photo {
    top: -40px;
    left: 75%;
    width: 80px;
    height: 80px;
  }

  .client-name {
    font-size: 1.2rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

 
  .testimonial-arrow {
    bottom: 60px;
    right: 20px;
  }
  


  .testimonial-arrow {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 50px auto 0;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}




/* =========================================================
   LARGE SCREENS (1600px+) — 16-inch laptops
========================================================= */
@media (min-width: 1600px) {

  /* HEADER */
  .testimonial-header {
    font-size: 64px;
    margin-bottom: 60px;
    margin-top: 40px;
  }

  /* CENTER CONTAINER */
  .testimonial-container {
    width: 75%;
    /* justify-content: center; */
  }

  /* CARD TRACK */
  .testimonial-track {
    height: 500px;
    margin-top: 20px;
  }

  /* CARDS */
  .testimonial-card {
    width: 400px;
    min-height: 360px;
    padding: 14px 40px 50px;
  }

  /* NEXT + BLURRED offset */
  .testimonial-card.next {
    transform: translateX(300px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-300px) scale(0.85);
  }

  /* CLIENT PHOTO */
  .client-photo {
    width: 110px;
    height: 110px;
    top: -55px;
  }

  /* CLIENT NAME */
  .client-name {
    font-size: 24px;
    margin-top: 50px;
  }

  /* TESTIMONIAL TEXT */
  .testimonial-text {
    font-size: 16px;
    line-height: 1.8;
  }

  /* SIDE IMAGES */
  .side-image {
    display: block;
    width: 25%;
  }

  /* ARROW */
  .testimonial-arrow {
    width: 64px;
    height: 64px;
    font-size: 26px;
    bottom: 80px;
    right: 80px;
  }
}

/* =========================================================
   EXTRA LARGE (1800px+)
========================================================= */
@media (min-width: 1800px) {

  .testimonial-header {
    font-size: 64px;
  }

  .testimonial-container {
    width: 75% !important;
  }

  .testimonial-track {
    height: 500px;
  }

  .testimonial-card {
    width: 460px;
    min-height: 400px;
  }

  .testimonial-card.next {
    transform: translateX(340px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-340px) scale(0.85);
  }

  .client-name {
    font-size: 26px;
  }

  .testimonial-text {
    font-size: 17px;
  }

  .side-image {
    width: 27%;
  }
}



/* =========================================================
   27-INCH / 2K SCREENS (2560px+)
========================================================= */
@media (min-width: 2560px) {

  .testimonial-header {
    font-size: 90px;
    margin-bottom: 80px;
    margin-top: 60px;
  }

  .testimonial-container {
    width: 56%;
  }

  .testimonial-track {
    height: 640px;
    margin-top: 30px;
  }

  .testimonial-card {
    width: 580px;
    min-height: 500px;
    padding: 20px 55px 70px;
    border-radius: 26px;
    border-right: 8px solid #b11212;
    border-bottom: 8px solid #b11212;
  }

  .testimonial-card.next {
    transform: translateX(440px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-440px) scale(0.85);
  }

  .client-photo {
    width: 140px;
    height: 140px;
    top: -70px;
  }

  .client-name {
    font-size: 32px;
    margin-top: 70px;
  }

  .testimonial-text {
    font-size: 20px;
    line-height: 1.9;
  }

  .side-image {
    width: 22%;
  }

  .testimonial-arrow {
    width: 80px;
    height: 80px;
    font-size: 32px;
    bottom: 100px;
    right: 100px;
  }
}

/* =========================================================
   4K SCREENS (3840px+)
========================================================= */
@media (min-width: 3840px) {

  .testimonial-header {
    font-size: 130px;
    margin-bottom: 100px;
    margin-top: 80px;
  }

  .testimonial-container {
    width: 52%;
  }

  .testimonial-track {
    height: 900px;
    margin-top: 40px;
  }

  .testimonial-card {
    width: 820px;
    min-height: 700px;
    padding: 28px 75px 100px;
    border-radius: 36px;
    border-right: 10px solid #b11212;
    border-bottom: 10px solid #b11212;
  }

  .testimonial-card.next {
    transform: translateX(620px) scale(0.85);
  }

  .testimonial-card.blurred {
    transform: translateX(-620px) scale(0.85);
  }

  .client-photo {
    width: 200px;
    height: 200px;
    top: -100px;
  }

  .client-name {
    font-size: 46px;
    margin-top: 100px;
  }

  .testimonial-text {
    font-size: 28px;
    line-height: 2;
  }

  .side-image {
    width: 20%;
  }

  .testimonial-arrow {
    width: 110px;
    height: 110px;
    font-size: 46px;
    bottom: 140px;
    right: 140px;
  }
}