/* ======================
   TESTIMONIALS SECTION - FIGMA EXACT MATCH
   Desktop and Mobile responsive implementation
   ====================== */

/* ======================
   BASE STYLES (ALL DEVICES)
   ====================== */

.testimonials-section .testimonials {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  gap: clamp(24px, 8vw, 80px);
  text-align: left;
  font-size: 16px;
  color: #333f5b;
  font-family: 'Avenir Next', sans-serif;
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0;
}

/* Background blur element - DESKTOP ONLY */
.testimonials-section .testimonialsChild {
  width: 897.7px;
  position: absolute;
  margin: 0 !important;
  top: -113.24px;
  right: -416.01px;
  filter: blur(331.73px);
  border-radius: 50%;
  background-color: #f8d194;
  height: 498.4px;
  opacity: 0.5;
  z-index: 0;
}

/* ======================
   MOBILE/TABLET: Hide desktop background blur
   ====================== */
@media (max-width: 1024px) {
  .testimonials-section .testimonialsChild {
    display: none;
  }
}

/* ======================
   ALL DEVICES: Header Section
   ====================== */

.testimonials-section .eyebrowChild {
  width: 100%;
  position: absolute;
  margin: 0 !important;
  height: 100%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  left: 0%;
  filter: blur(10px);
  border-radius: 50px;
  background: linear-gradient(95.49deg, rgba(52, 148, 253, 0.3), rgba(243, 127, 84, 0.3));
  z-index: 0;
}

.testimonials-section .subheadingWrapper {
  border-radius: 50px;
  background-color: #fcf9f8;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 16px) clamp(18px, 3vw, 24px);
  z-index: 1;
}

.testimonials-section .subheading {
  position: relative;
  line-height: 150%;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
}

/* Main Heading - ALL DEVICES with MOBILE override */
.testimonials-section .heading {
  width: 100%;
  max-width: 1095.6px;
  /* position: relative;
  font-size: clamp(28px, 8vw, 80px);
  letter-spacing: -0.03em;
  line-height: 110%;
  font-weight: 500;
  font-family: 'P22 Mackinac Pro', serif;
  display: flex;
  align-items: center;
  margin: 0; */
}

/* ======================
   MOBILE: Main heading adjustments
   ====================== */
@media (max-width: 767px) {
  .testimonials-section .heading {
    font-size: clamp(24px, 8vw, 34px);
    line-height: 120%;
    text-align: left;
    align-self: flex-start;
    max-width: 100%;
  }
}

/* ======================
   ALL DEVICES: Main slider container
   ====================== */

.testimonials-section .testimonialsInner {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  z-index: 2;
  font-size: 64px;
  font-family: 'P22 Mackinac Pro', serif;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Slider wrapper - ALL DEVICES */
.testimonials-section .slider {
  width: 100%;
  overflow: hidden;
}

/* DESKTOP: Slide transitions */
.testimonials-section .slides {
  gap: 2px;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  will-change: transform;
}

.testimonials-section .slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  justify-content: center;
}

/* ======================
   DESKTOP: Main content frame styles
   ====================== */

.testimonials-section .frameParent {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 80px);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  min-height: auto;
  max-width: 100vw;
}

/* DESKTOP: Image container styles */
.testimonials-section .imageContainer {
  width: clamp(350px, 40vw, 500px);
  height: clamp(350px, 40vw, 500px);
  position: relative;
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
  flex-shrink: 0;
  background: #f8f9fa;
}

.testimonials-section .mainImageWrapper {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
}

.testimonials-section .mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* DESKTOP: Statistics Overlay */
.testimonials-section .statsOverlay {
  position: absolute;
  bottom: clamp(20px, 3vw, 32px);
  left: clamp(20px, 3vw, 32px);
  right: clamp(20px, 3vw, 32px);
  display: flex;
  gap: clamp(12px, 2vw, 16px);
}

.testimonials-section .statCard {
  flex: 1;
  border-radius: clamp(12px, 2vw, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 3vw, 24px);
  position: relative;
  gap: clamp(6px, 1.5vw, 12px);
  min-height: clamp(90px, 12vw, 120px);
}

.testimonials-section .statBackground {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.9;
}

.testimonials-section .statValue {
  position: relative;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 120%;
  font-weight: 500;
  font-family: 'P22 Mackinac Pro', serif;
  color: #333f5b;
  z-index: 1;
}

.testimonials-section .statDescription {
  position: relative;
  font-size: clamp(12px, 1.8vw, 16px);
  letter-spacing: -0.02em;
  line-height: 140%;
  font-weight: 500;
  font-family: 'Avenir Next', sans-serif;
  color: #333f5b;
  z-index: 2;
}

/* DESKTOP: Content area - right side */
.testimonials-section .contentArea {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 100px 0px 0px;
  gap: clamp(24px, 4vw, 48px);
  min-height: clamp(350px, 40vw, 500px);
  width: 0;
  min-width: 0;
  font-size: medium;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* DESKTOP: Remove top padding on larger screens */
@media (min-width: 1024px) {
  .testimonials-section .contentArea {
    padding: 0px 0px 0px;
  }
}

/* DESKTOP: Quote Text */
.testimonials-section .quoteText {
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -0.02em;
  line-height: 130%;
  font-weight: 500;
  font-family: 'Avenir Next';
  color: #333f5b;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  flex-shrink: 1;
}

/* DESKTOP: Quote text adjustments for larger screens */
@media (min-width: 1024px) {
  .testimonials-section .quoteText {
    font-size: clamp(20px, 2vw, 32px);
    padding: 80px 0px 0px;
    letter-spacing: -0.02em;
    line-height: 130%;
    font-weight: 500;
  }
}

/* DESKTOP: Author Section */
.testimonials-section .authorSection {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  gap: clamp(16px, 3vw, 24px);
  flex-wrap: nowrap;
  min-height: auto;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: auto;
}

/* DESKTOP: Author Info */
.testimonials-section .authorInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2px, 0.5vw, 4px);
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 100px);
  overflow: hidden;
}

.testimonials-section .authorName {
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: -0.02em;
  line-height: 130%;
  font-weight: 600;
  font-family: 'Avenir Next', sans-serif;
  color: #333f5b;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonials-section .authorRole {
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: -0.01em;
  line-height: 140%;
  font-weight: 500;
  color: #6d717b;
  font-family: 'Avenir Next', sans-serif;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile Stats - Hidden on DESKTOP */
.testimonials-section .mobileStats {
  display: none;
}

/* DESKTOP: Fixed Navigation Buttons */
.testimonials-section .fixedNavigationButtons {
  position: absolute;
  bottom: clamp(4px, 3vw, 0px);
  right: clamp(0px, 4vw, 1px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  flex-shrink: 0;
  z-index: 10;
  pointer-events: auto;
}

.testimonials-section .prevButton,
.testimonials-section .nextButton {
  width: clamp(44px, 4.5vw, 52px);
  height: clamp(44px, 4.5vw, 52px);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}

.testimonials-section .prevButton {
  background: #3495ff;
}

.testimonials-section .prevButton:hover {
  opacity: 1;
  background: #2980e3;
  transform: scale(1.05);
}

.testimonials-section .nextButton {
  background: #3495ff;
}

.testimonials-section .nextButton:hover {
  background: #2980e3;
  transform: scale(1.05);
}

.testimonials-section .buttonIcon {
  width: clamp(18px, 2vw, 22px);
  height: clamp(18px, 2vw, 22px);
}

.testimonials-section .prevButton .buttonIcon {
  filter: brightness(0) invert(1);
}

.testimonials-section .nextButton .buttonIcon {
  filter: brightness(0) invert(1);
}

.testimonials-section .prevButton:disabled,
.testimonials-section .nextButton:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* MOBILE: Content area overrides */
@media (max-width: 768px) {
  .testimonials-section .contentArea {
    width: 100%;
    padding: 0;
    gap: 40px;
    min-height: auto;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    height: auto;
    flex-direction: column;
    background: transparent;
  }
}

/* MOBILE: Content area overrides for smaller tablets */
@media (max-width: 820px) {
  .testimonials-section .contentArea {
    width: 100%;
    padding: 0;
    gap: 40px;
    min-height: auto;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    height: auto;
    flex-direction: column;
    background: transparent;
  }
}

/* DESKTOP: Mid-range laptop heading adjustments */
@media (min-width: 1032px) and (max-width: 1132px) {
  .testimonials-section .heading {
    font-size: clamp(28px, 7vw, 70px);  
  }  
}

/* ===============================
   MOBILE & TABLET: HORIZONTAL SCROLLER LAYOUT
   =============================== */
@media (max-width: 1024px) {

  /* MOBILE & TABLET: Horizontal scroller configuration */
  .testimonials-section .testimonialsInner {
    width: 100vw;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
  }

  .testimonials-section .testimonialsInner::-webkit-scrollbar {
    display: none;
  }

  /* MOBILE & TABLET: Spacing and peek variables */
  .testimonials-section .testimonials {
    --gap: 16px;
    --peek: 68px;
    gap: clamp(24px, 6vw, 80px)
  }

  .testimonials-section .testimonialsInner {
    position: relative;
    z-index: 1;
  }

  .testimonials-section .slider {
    overflow: visible;
    width: 100%;
  }

  /* MOBILE & TABLET: Slide layout with gap and padding */
  .testimonials-section .slides {
    display: flex;
    gap: 16px;
    padding: 0 16px 0 0;
    width: max-content;
    transition: none;
  }

  /* MOBILE & TABLET: Peek effect at the end */
  .testimonials-section .slides::after {
    content: "";
    flex: 0 0 68px;
  }

  .testimonials-section .slide {
    flex: 0 0 calc(100vw - 32px - 68px);
    min-width: calc(100vw - 32px - 68px);
    max-width: calc(100vw - 32px - 68px);
    scroll-snap-align: start;
  }

  /* MOBILE & TABLET: Hide desktop content area */
  .testimonials-section .contentArea {
    display: none !important;
  }

  /* MOBILE & TABLET: Blur effects for inactive slides */
  .testimonials-section .isNext .imageContainer {
    filter: blur(6px);
    opacity: .65;
    transform: translateX(4px) scale(.985);
    transform-origin: left center;
    transition: filter .24s ease, opacity .24s ease, transform .24s ease;
  }

  .testimonials-section .isActive .imageContainer {
    filter: none;
    opacity: 1;
    transform: none;
  }

  .testimonials-section .slide.isNext .imageContainer {
    filter: blur(6px) !important;
    opacity: 0.65 !important;
    transform: translateX(4px) scale(0.985) !important;
    transform-origin: left center;
    transition: filter 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
  }

  .testimonials-section .slide.isActive .imageContainer {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: filter 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
  }

  .testimonials-section .slide:not(.isActive) .imageContainer {
    filter: blur(6px);
    opacity: 0.65;
    transform: translateX(4px) scale(0.985);
    transform-origin: left center;
    transition: filter 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
  }

  /* MOBILE & TABLET: Mobile details section */
  .testimonials-section .mobileDetails {
    --peek: 68px;
    width: auto;
    margin: 0px 16px 0;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
  }

  /* MOBILE & TABLET: Quote typography */
  .testimonials-section .mobileQuote {
    margin: 0 0 40px 0;
    font-family: 'P22 Mackinac Pro', serif;
    font-size: clamp(19px, 2.5vw, 20px);
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: #6d717b;
    font-weight: 500;
  }

  .testimonials-section .mobileQuote::before {
    content: "“";
    position: absolute;
    left: -14px;
    top: -2px;
    font-family: 'P22 Mackinac Pro', serif;
    font-size: clamp(28px, 4vw, 32px);
    line-height: 1;
    color: #eaa07a;
  }

  .testimonials-section .mobilePerson {
    display: grid;
    gap: 2px;
  }

  .testimonials-section .mobileName {
    font: 600 clamp(18px, 2.5vw, 20px)/1.3 'Avenir Next', sans-serif;
    letter-spacing: -0.02em;
    color: #333f5b;
  }

  .testimonials-section .mobileRole {
    font: 500 clamp(14px, 2vw, 16px)/1.3 'Avenir Next', sans-serif;
    letter-spacing: -0.01em;
    color: #6d717b;
  }

  /* MOBILE: Frame parent adjustments */
  .testimonials-section .frameParent {
    width: 100%;
    max-width: clamp(350px, 60vw, 450px);
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  /* MOBILE: Image container adjustments */
  .testimonials-section .imageContainer {
    width: 100%;
    height: clamp(280px, 35vw, 350px);
    border-radius: 16px;
    margin: 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
  }

  /* MOBILE: Stats overlay adjustments */
  .testimonials-section .statsOverlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
  }

  .testimonials-section .statCard {
    flex: 1;
    border-radius: 12px;
    padding: clamp(12px, 2vw, 16px);
    gap: 20px;
    min-height: auto;
    backdrop-filter: blur(10px);
  }

  .testimonials-section .statValue {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.1;
    margin-bottom: 2px;
  }

  .testimonials-section .statDescription {
    font-size: clamp(12px, 1.8vw, 14px);
    line-height: 1.2;
  }

  /* MOBILE & TABLET: Hide desktop navigation */
  .testimonials-section .fixedNavigationButtons {
    display: none;
  }
}

/* ===============================
   IPAD: Specific layout adjustments (768px - 1024px)
   =============================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* IPAD: Frame parent to horizontal layout */
  .testimonials-section .frameParent {
    max-width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 40px);
    justify-content: flex-start;
  }

  /* IPAD: Larger image container */
  .testimonials-section .imageContainer {
    width: clamp(320px, 95vw, 644px);
    height: clamp(612px, 50vw, 480px);
    flex-shrink: 0;
    order: 1;
    border-radius: 20px;
  }

  /* IPAD: Adjust slide width */
  .testimonials-section .slide {
    flex: 0 0 calc(100vw - 32px - 40px);
    min-width: calc(100vw - 32px - 40px);
    max-width: calc(100vw - 32px - 40px);
  }

  /* IPAD: Adjust stats overlay for larger image */
  .testimonials-section .statsOverlay {
    bottom: 24px;
    left: 24px;
    right: 24px;
    gap: 16px;
  }

  .testimonials-section .statCard {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 20px;
    min-height: clamp(180px, 12vw, 140px);
    gap: clamp(8px, 4.5vw, 25px);
  }

  .testimonials-section .statValue {
    font-size: clamp(28px, 6vw, 45px);
    line-height: 1.1;
    margin-bottom: 4px;
  }

  .testimonials-section .statDescription {
    font-size: clamp(14px, 4.2vw, 25px);
    line-height: 1.3;
    font-weight: 500;
  }

  /* IPAD: Mobile details positioning */
  .testimonials-section .mobileDetails {
    margin: 24px 32px 0;
    max-width: calc(100vw - 64px);
  }

  .testimonials-section .mobileQuote {
    font-size: clamp(21px, 4.8vw, 30px);
    line-height: 1.4;
  }

  .testimonials-section .mobileName {
    font-size: clamp(19px, 3.8vw, 29px);
  }

  .testimonials-section .mobileRole {
    font-size: clamp(15px, 3.2vw, 22px);
  }
}

/* ===============================
   DESKTOP: 1280px Range (1025px - 1280px)
   =============================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  .testimonials-section .testimonials {
    max-width: 1200px;
    padding: clamp(60px, 8vw, 80px) 0;
  }

  .testimonials-section .frameParent {
    gap: clamp(50px, 6vw, 70px);
    max-width: 100%;
  }

  .testimonials-section .imageContainer {
    width: clamp(420px, 42vw, 480px);
    height: clamp(420px, 42vw, 480px);
    border-radius: clamp(24px, 3vw, 28px);
  }

  .testimonials-section .statsOverlay {
    bottom: clamp(24px, 3vw, 28px);
    left: clamp(24px, 3vw, 28px);
    right: clamp(24px, 3vw, 28px);
    gap: clamp(14px, 2vw, 18px);
  }

  .testimonials-section .statCard {
    padding: clamp(18px, 3vw, 22px);
    border-radius: clamp(14px, 2vw, 18px);
    min-height: clamp(100px, 12vw, 110px);
    gap: clamp(8px, 1.5vw, 10px);
  }

  .testimonials-section .statValue {
    font-size: clamp(30px, 4vw, 36px);
    line-height: 120%;
  }

  .testimonials-section .statDescription {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 140%;
  }

  .testimonials-section .contentArea {
    gap: clamp(32px, 4vw, 40px);
    min-height: clamp(420px, 42vw, 480px);
    padding: 0;
  }

  .testimonials-section .quoteText {
    font-size: clamp(24px, 2.5vw, 28px);
    line-height: 130%;
    padding: 60px 0px 0px;
  }

  .testimonials-section .authorName {
    font-size: clamp(20px, 2.5vw, 22px);
    line-height: 130%;
  }

  .testimonials-section .authorRole {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 140%;
  }

  .testimonials-section .fixedNavigationButtons {
    bottom: clamp(8px, 3vw, 4px);
    right: clamp(4px, 4vw, 8px);
    gap: clamp(10px, 1.5vw, 14px);
  }

  .testimonials-section .prevButton,
  .testimonials-section .nextButton {
    width: clamp(48px, 4.5vw, 50px);
    height: clamp(48px, 4.5vw, 50px);
  }

  .testimonials-section .buttonIcon {
    width: clamp(20px, 2vw, 22px);
    height: clamp(20px, 2vw, 22px);
  }
}

/* ===============================
   DESKTOP: Specific 1195px Layout
   =============================== */
@media (min-width: 1195px) and (max-width: 1195px) {
  .testimonials-section .testimonials {
    max-width: 1150px;
    padding: clamp(70px, 8vw, 85px) 0;
  }

  .testimonials-section .frameParent {
    gap: clamp(55px, 6vw, 75px);
    max-width: 100%;
  }

  .testimonials-section .imageContainer {
    width: 440px;
    height: 440px;
    border-radius: 26px;
  }

  .testimonials-section .statsOverlay {
    bottom: 26px;
    left: 26px;
    right: 26px;
    gap: 16px;
  }

  .testimonials-section .statCard {
    padding: 20px;
    border-radius: 16px;
    min-height: 105px;
    gap: 9px;
  }

  .testimonials-section .statValue {
    font-size: 34px;
    line-height: 120%;
  }

  .testimonials-section .statDescription {
    font-size: 15px;
    line-height: 140%;
  }

  .testimonials-section .contentArea {
    gap: 36px;
    min-height: 440px;
    padding: 0;
  }

  .testimonials-section .quoteText {
    font-size: 26px;
    line-height: 130%;
    padding: 70px 0px 0px;
  }

  .testimonials-section .authorName {
    font-size: 21px;
    line-height: 130%;
  }

  .testimonials-section .authorRole {
    font-size: 17px;
    line-height: 140%;
  }

  .testimonials-section .fixedNavigationButtons {
    bottom: 6px;
    right: 6px;
    gap: 12px;
  }

  .testimonials-section .prevButton,
  .testimonials-section .nextButton {
    width: 49px;
    height: 49px;
  }

  .testimonials-section .buttonIcon {
    width: 21px;
    height: 21px;
  }
}

/* ===============================
   DESKTOP: Specific 1198px Layout
   =============================== */
@media (min-width: 1190px) and (max-width: 1198px) {
  .testimonials-section .testimonials {
    max-width: 1155px;
    padding: 72px 0;
  }

  .testimonials-section .frameParent {
    gap: 58px;
    max-width: 100%;
  }

  .testimonials-section .imageContainer {
    width: 442px;
    height: 442px;
    border-radius: 26px;
  }

  .testimonials-section .statsOverlay {
    bottom: 26px;
    left: 26px;
    right: 26px;
    gap: 16px;
  }

  .testimonials-section .statCard {
    padding: 20px;
    border-radius: 16px;
    min-height: 106px;
    gap: 9px;
  }

  .testimonials-section .statValue {
    font-size: 34px;
    line-height: 120%;
  }

  .testimonials-section .statDescription {
    font-size: 15px;
    line-height: 140%;
  }

  .testimonials-section .contentArea {
    gap: 36px;
    min-height: 442px;
    padding: 0;
  }

  .testimonials-section .quoteText {
    font-size: 26px;
    line-height: 130%;
    padding: 71px 0px 0px;
  }

  .testimonials-section .authorName {
    font-size: 21px;
    line-height: 130%;
  }

  .testimonials-section .authorRole {
    font-size: 17px;
    line-height: 140%;
  }

  .testimonials-section .fixedNavigationButtons {
    bottom: 6px;
    right: 6px;
    gap: 12px;
  }

  .testimonials-section .prevButton,
  .testimonials-section .nextButton {
    width: 49px;
    height: 49px;
  }

  .testimonials-section .buttonIcon {
    width: 21px;
    height: 21px;
  }
}

/* ===============================
   DESKTOP: Specific 1360px Layout
   =============================== */
@media (min-width: 1360px) and (max-width: 1360px) {
  .testimonials-section .testimonials {
    max-width: 1300px;
    padding: 76px 0;
  }

  .testimonials-section .frameParent {
    gap: 62px;
    max-width: 100%;
  }

  .testimonials-section .imageContainer {
    width: 462px;
    height: 462px;
    border-radius: 28px;
  }

  .testimonials-section .statsOverlay {
    bottom: 28px;
    left: 28px;
    right: 28px;
    gap: 18px;
  }

  .testimonials-section .statCard {
    padding: 22px;
    border-radius: 18px;
    min-height: 111px;
    gap: 10px;
  }

  .testimonials-section .statValue {
    font-size: 36px;
    line-height: 120%;
  }

  .testimonials-section .statDescription {
    font-size: 16px;
    line-height: 140%;
  }

  .testimonials-section .contentArea {
    gap: 38px;
    min-height: 462px;
    padding: 0;
  }

  .testimonials-section .quoteText {
    font-size: 28px;
    line-height: 130%;
    padding: 76px 0px 0px;
  }

  .testimonials-section .authorName {
    font-size: 22px;
    line-height: 130%;
  }

  .testimonials-section .authorRole {
    font-size: 18px;
    line-height: 140%;
  }

  .testimonials-section .fixedNavigationButtons {
    bottom: 2px;
    right: 2px;
    gap: 13px;
  }

  .testimonials-section .prevButton,
  .testimonials-section .nextButton {
    width: 51px;
    height: 51px;
  }

  .testimonials-section .buttonIcon {
    width: 22px;
    height: 22px;
  }
}

/* ===============================
   DESKTOP: Range 1195px - 1360px Layout
   =============================== */
@media (min-width: 1195px) and (max-width: 1360px) {
  .testimonials-section .testimonials {
    max-width: clamp(1150px, 95vw, 1305px);
    padding: clamp(70px, 8vw, 76px) 0;
  }

  .testimonials-section .frameParent {
    gap: clamp(55px, 6vw, 62px);
    max-width: 100%;
  }

  .testimonials-section .imageContainer {
    width: clamp(440px, 40vw, 462px);
    height: clamp(440px, 40vw, 462px);
    border-radius: clamp(26px, 3vw, 28px);
  }

  .testimonials-section .statsOverlay {
    bottom: clamp(26px, 3vw, 28px);
    left: clamp(26px, 3vw, 28px);
    right: clamp(26px, 3vw, 28px);
    gap: clamp(16px, 2vw, 18px);
  }

  .testimonials-section .statCard {
    padding: clamp(20px, 3vw, 22px);
    border-radius: clamp(16px, 2vw, 18px);
    min-height: clamp(105px, 12vw, 111px);
    gap: clamp(9px, 1.5vw, 10px);
  }

  .testimonials-section .statValue {
    font-size: clamp(34px, 4vw, 36px);
    line-height: 120%;
  }

  .testimonials-section .statDescription {
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 140%;
  }

  .testimonials-section .contentArea {
    gap: clamp(36px, 4vw, 38px);
    min-height: clamp(440px, 40vw, 462px);
    padding: 0;
  }

  .testimonials-section .quoteText {
    font-size: clamp(26px, 2.5vw, 28px);
    line-height: 130%;
    padding: clamp(70px, 8vw, 76px) 0px 0px;
  }

  .testimonials-section .authorName {
    font-size: clamp(21px, 2.5vw, 22px);
    line-height: 130%;
  }

  .testimonials-section .authorRole {
    font-size: clamp(17px, 2vw, 18px);
    line-height: 140%;
  }

  .testimonials-section .fixedNavigationButtons {
    bottom: clamp(2px, 3vw, 6px);
    right: clamp(2px, 4vw, 6px);
    gap: clamp(12px, 1.5vw, 13px);
  }

  .testimonials-section .prevButton,
  .testimonials-section .nextButton {
    width: clamp(49px, 4.5vw, 51px);
    height: clamp(49px, 4.5vw, 51px);
  }

  .testimonials-section .buttonIcon {
    width: clamp(21px, 2vw, 22px);
    height: clamp(21px, 2vw, 22px);
  }
}

/* ===============================
   IPAD PRO: 11-inch and 12.9-inch Specific Layouts
   iPad Pro 11": 834px × 1194px (portrait), 1194px × 834px (landscape)
   iPad Pro 12.9": 1024px × 1366px (portrait), 1366px × 1024px (landscape)
   =============================== */

/* IPAD PRO: Portrait Mode (834px - 1024px) */
@media (min-width: 834px) and (max-width: 1024px) and (orientation: portrait) {
  .testimonials-section .testimonials {
    max-width: 90vw;
    padding: clamp(64px, 8vw, 88px) 0;
    gap: clamp(48px, 8vw, 72px);
  }

  .testimonials-section .eyebrowParent {
    max-width: 100%;
    gap: clamp(40px, 6vw, 56px);
  }

  .testimonials-section .heading {
    font-size: clamp(36px, 7vw, 54px);
    line-height: 115%;
    max-width: 100%;
  }

  /* IPAD PRO Portrait: Horizontal scroller still applies */
  .testimonials-section .testimonialsInner {
    width: 100vw;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
  }

  .testimonials-section .slides {
    gap: 24px;
    padding: 0 24px 0 0;
  }

  .testimonials-section .slides::after {
    content: "";
    flex: 0 0 80px; /* Larger peek for iPad Pro */
  }

  .testimonials-section .slide {
    flex: 0 0 calc(100vw - 48px - 80px);
    min-width: calc(100vw - 48px - 80px);
    max-width: calc(100vw - 48px - 80px);
  }

  .testimonials-section .frameParent {
    max-width: 100%;
    flex-direction: column;
    align-items: left;
    gap: 0;
    justify-content: center;
  }

  .testimonials-section .imageContainer {
    width: clamp(450px, 60vw, 520px);
    height: clamp(450px, 60vw, 520px);
    border-radius: 24px;
  }

  .testimonials-section .statsOverlay {
    bottom: 32px;
    left: 32px;
    right: 32px;
    gap: 20px;
  }

  .testimonials-section .statCard {
    padding: clamp(24px, 4vw, 32px);
    border-radius: 20px;
    min-height: clamp(120px, 22vw, 222px);
    gap: clamp(12px, 4vw, 48px);
  }

  .testimonials-section .statValue {
    font-size: clamp(32px, 5vw, 42px);
    line-height: 1.1;
  }

  .testimonials-section .statDescription {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.3;
    font-weight: 500;
  }

  .testimonials-section .mobileDetails {
    margin: 32px 40px 0;
    max-width: calc(100vw - 80px);
  }

  .testimonials-section .mobileQuote {
    font-size: clamp(24px, 3.5vw, 32px);
    line-height: 1.4;
    margin-bottom: 32px;
  }

  .testimonials-section .mobileQuote::before {
    left: -18px;
    top: -4px;
    font-size: clamp(36px, 5vw, 44px);
  }

  .testimonials-section .mobileName {
    font-size: clamp(22px, 5vw, 43px);
    line-height: 1.3;
  }

  .testimonials-section .mobileRole {
    font-size: clamp(18px, 4.5vw, 31px);
    line-height: 1.3;
  }

  .testimonials-section .contentArea {
    display: none !important;
  }

  .testimonials-section .fixedNavigationButtons {
    display: none;
  }
}

/* IPAD PRO: 11-inch Specific Optimizations */
@media (width: 834px) and (height: 1194px), 
       (width: 1194px) and (height: 834px) {
  
  /* Portrait specific */
  @media (orientation: portrait) {
    .testimonials-section .heading {
      font-size: clamp(38px, 7vw, 50px);
    }
    
    .testimonials-section .imageContainer {
      width: 480px;
      height: 480px;
    }
    
    .testimonials-section .mobileQuote {
      font-size: 26px;
    }
  }

}

/* IPAD PRO: 12.9-inch Specific Optimizations */
@media (width: 1024px) and (height: 1366px), 
       (width: 1366px) and (height: 1024px) {
  
  /* Portrait specific */
  @media (orientation: portrait) {
    .testimonials-section .heading {
      font-size: clamp(42px, 6vw, 56px);
    }
    
    .testimonials-section .imageContainer {
      width: 820px;
      height: 820px;
    }
    
    .testimonials-section .mobileQuote {
      font-size: 42px;
      margin-bottom: 100px;
    }
    
    .testimonials-section .statValue {
      font-size: 52px;
    }
    
    .testimonials-section .statDescription {
      font-size: 31px;
    }
  }
}

/* IPAD PRO: Enhanced touch interactions */
@media (min-width: 834px) and (max-width: 1366px) and (pointer: coarse) {
  .testimonials-section .slide {
    scroll-snap-align: center; /* Better centering for touch */
  }
  
  .testimonials-section .testimonialsInner {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Enhanced blur transitions for touch interactions */
  .testimonials-section .slide.isNext .imageContainer,
  .testimonials-section .slide:not(.isActive) .imageContainer {
    filter: blur(4px) !important; /* Slightly less blur for larger screens */
    opacity: 0.7 !important;
    transform: translateX(2px) scale(0.99) !important;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }
  
  .testimonials-section .slide.isActive .imageContainer {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  }
}

/* Loading, Error, and Empty States */
.testimonials-section .loading,
.testimonials-section .error,
.testimonials-section .empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  font-size: 18px;
  color: #666;
  background-color: #f8f9fa;
  border-radius: 16px;
  margin: 20px 0;
  min-height: 200px;
}

.testimonials-section .error {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

.testimonials-section .loading {
  color: #007bff;
  background-color: #d4edff;
}

.testimonials-section .empty {
  color: #6c757d;
  background-color: #f8f9fa;
}



.testimonials-section .navButton {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #3495ff;
  padding: 0;
}

.mobileDetailsWrapper{
  display: none;
}

/* Hide navigation buttons on iPad and smaller devices */
@media (max-width: 1024px) {
  .testimonials-section .navButton {
    display: none;
  }

  .mobileDetailsWrapper{
    display: flex;
  }
}

.testimonials-section .navButton:hover {
  background-color: #2980e9;
  transform: translateY(-2px);
}

.testimonials-section .navButtonActive {
  background-color: #3495ff;
}

/* Hide active navigation buttons on iPad and smaller devices */
@media (max-width: 1024px) {
  .testimonials-section .navButtonActive {
    display: none;
  }
}

.testimonials-section .navButtonActive:hover {
  background-color: #2980e9;
}

.testimonials-section .navButtonActive .navIcon {
  filter: brightness(0) saturate(100%) invert(100%);
}