
/* ============================================
   THUMBNAILS + NAV BOX (UPDATED FINAL)
============================================ */

.pts-thumbs-area {
    display: flex;
    align-items: flex-start !important;
    flex-direction: column;
    gap: 20px;
}
/* Thumbnail Row */
.pts-thumbs {
  display: flex;
  gap: 15px;
}

/* Thumb Image */
.pts-thumb img {
  width: 95px;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.85;
  cursor: pointer;
  transition: 0.3s ease;
}

.pts-thumb img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ============================================
   NAV BOX STYLE (Same as Employee Slider)
============================================ */

.pts-arrows {
  display: inline-flex;          /* ✅ Prevent full stretch */
  align-items: center;
  gap: 10px;


  padding: 10px 18px;
  border-radius: 50px;

  width: auto;
  flex-shrink: 0;
}

/* Arrow Buttons */
.pts-arrows button {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s ease;
}

/* Hover Effect */
.pts-arrows button:hover {
  transform: scale(1.08);
}

/* Arrow SVG Icon */
.pts-arrows svg {
  width: 22px;
  height: 22px;
  stroke: #333;
  stroke-width: 2;
  fill: none;
  transition: 0.3s ease;
}

/* Hover Arrow Color */
.pts-arrows button:hover svg {
  stroke: #e55b1f;
}

/* ===============================
   FIGMA MAIN WRAPPER
================================ */
.pts-figma-wrapper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 120px 420px 1fr;
  gap: 40px;
  align-items: end;
  background: #ffffff;
  padding: 0px 50px 0px 50px !important;
  border-radius: 20px;
}

/* ===============================
   LEFT SMALL IMAGE
================================ */
.pts-left-small img {
  width: 110px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

/* ===============================
   BIG ACTIVE IMAGE
================================ */
.pts-big-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 18px;
  position: relative;
}

/* ===============================
   RIGHT CONTENT
================================ */
.pts-content {
  position: relative;
}

.pts-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pts-top h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #2f3e2f;
}

.pts-top p {
  margin: 6px 0 0;
  font-size: 14px;
  color: gray;
}

.pts-quote-icon {
  font-size: 80px;
  color: orange;
  margin-left: auto;
}

/* TEXT */
.pts-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  max-width: 400px;
}

/* LINE */
.pts-line {
  margin: 25px 0;
  width: 80%;
  border: none;
  border-top: 1px solid #ddd;
}





@media (min-width: 900px) {
.tomato-overlay{
  position: absolute !important;
    top: 77% !important;
    right: 0% !important;
    width: 250px !important;
}
}
/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {

  .pts-figma-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pts-thumbs-area {
    flex-direction: column;
    gap: 20px;
  }
}


/* IMAGE SLIDE TRANSITION */
#ptsMainPhoto,
#ptsSmallPhoto {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* SLIDE OUT STATE */
.slide-out {
  opacity: 0;
  transform: translateX(-40px);
}

/* SLIDE IN STATE */
.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* TEXT TRANSITION */
#ptsName,
#ptsRole,
#ptsText {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.text-out {
  opacity: 0;
  transform: translateY(10px);
}

.text-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE – MOBILE FIX (FIGMA SAFE)
================================ */

@media (max-width: 900px) {
    .tomato-overlay {
    position: absolute !important;
    top: 37% !important;
    right: 35% !important;
    width: 250px !important;
}

  /* MAIN WRAPPER */
  .pts-figma-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 10px 20px 85px 20px !important;
    align-items: center;
  }

  /* HIDE LEFT SMALL IMAGE */
  .pts-left-small {
    display: none;
  }

  /* BIG IMAGE */
  .pts-big-image img {
    height: 320px;
    border-radius: 16px;
  }

  /* TOMATO OVERLAY */
  .tomato-overlay {
    width: 160px;
    top: auto;
    bottom: -25px;
    right: 50%;
    transform: translateX(50%);
  }

  /* CONTENT */
  .pts-content {
    text-align: center;
            margin-top: 0% !important;
  }

.pts-top {
    display: flex;
    gap: 20px;
    flex-direction: row !important;
    justify-content: center;
}

  .pts-top h2 {
    font-size: 22px;
  }

  .pts-top p {
    font-size: 13px;
  }

  .pts-quote-icon {
    width: 90px;
    margin: 0;
  }

  /* TEXT */
  .pts-text {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 15px;
  }

  /* THUMBS AREA */
  .pts-thumbs-area {
    margin-top: 25px;
    gap: 15px;
  }

  /* HORIZONTAL SCROLL THUMBS */
  .pts-thumbs {
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 12px;
    scrollbar-width: none;
    justify-content: center !important;
  }

  .pts-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pts-thumb img {
    width: 80px;
    height: 110px;
    flex-shrink: 0;
  }

  /* ARROWS CENTERED */
  .pts-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .pts-arrows button {
    font-size: 24px;
  }
}

/* ===============================
   EXTRA SMALL DEVICES
================================ */

@media (max-width: 480px) {

  .pts-big-image img {
    height: 260px;
  }

  .tomato-overlay {
    width: 130px;
    bottom: -20px;
  }

  .pts-top h2 {
    font-size: 20px;
  }

  .pts-text {
    font-size: 13.5px;
  }
}

.pts-big-image {
  position: relative;
}

.tomato-overlay {
  position: absolute;
  right: 40px;
  bottom: -20px;
  max-width: 260px;
  pointer-events: none;
  animation: fadeIn 0.6s ease;
}

@media (max-width: 768px) {
  .tomato-overlay {
    display: none !important;
  }
}
