/* =============================== */
/* SECTION WRAPPER                 */
/* =============================== */
section.employee-testimonials-section {
  max-width: 1100px;
  margin: 10px auto;
  padding: 50px 40px;

  background-image: url("/wp-content/uploads/2026/05/Employee-1.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;

  border-radius: 16px;
  box-sizing: border-box;
}
.employee-testimonials-quote-img{
    max-width:34px !important;
}
/* =============================== */
/* LAYOUT (30 / 70)                */
/* =============================== */
.employee-testimonials-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: center;
  gap: 20px;
}

/* =============================== */

/* IMAGE COLUMN                    */
/* =============================== */
.employee-testimonials-image-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E7E7E7 !important;
  border-radius: 20px 100px 20px 20px;
  padding-top: 20px;
  padding-bottom: 0px;
  max-width: 264px !important;
}

/* EMPLOYEE IMAGE POSITION CONTROL */
.employee-testimonials-image {

  max-width: 293px !important;
  height: 260px;
  object-fit: cover;
  object-position: center top;  
  border-radius: 16px;
  position: relative;       
  top: 0%;
  left: 6%;           
}

/* =============================== */
/* CONTENT COLUMN                  */
/* =============================== */
.employee-testimonials-content-col {
  text-align: left;
}

.employee-testimonials-quote {
  font-size: 42px;
  color: #f59e0b;
  margin-bottom: 12px;
}

.employee-testimonials-message {
    font-size: 15px;
    height:140px;
    line-height: 1.6;
    color: #000000c2;
    margin-bottom: 20px;
    font-weight: 700;
}

.employee-testimonials-author {
font-weight: 700;
    color: #D45F1A;
    font-size: 22px;
}

.employee-testimonials-designation {
 font-size: 15px;
    color: #9B9B9B;
    margin-top: 4px;
    font-weight: 600;
}
/* =============================== */
/* NAVIGATION WRAPPER              */
/* =============================== */

.employee-testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(20px, 4vw, 30px);
    padding-bottom: clamp(15px, 3vw, 25px);
    width: 100%;
}

/* Pill Background */
.employee-testimonials-nav-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 20px);
    background: #f3f0ea;
    border-radius: 50px;
    padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
    box-shadow: inset 0 0 0 1px #e0dbd3;
}

/* =============================== */
/* BUTTONS                         */
/* =============================== */

.employee-testimonials-nav-box button {
    width: clamp(36px, 8vw, 48px);
    height: clamp(36px, 8vw, 48px);
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hover Effect */
.employee-testimonials-nav-box button:hover:not(.disabled) {
    background: rgba(0, 0, 0, 0.05);
}

/* Disabled State */
.employee-testimonials-nav-box button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* =============================== */
/* SVG ICONS                       */
/* =============================== */

.employee-testimonials-nav-box svg {
    width: clamp(20px, 5vw, 26px);
    height: clamp(20px, 5vw, 26px);
    pointer-events: none;
    display: block;
}

.employee-testimonials-nav-box svg path {
    fill: none;
    stroke: #8a8f99;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

/* Active / Hover */
.employee-testimonials-nav-box button.active svg path,
.employee-testimonials-nav-box button:hover:not(.disabled) svg path {
    stroke: orange;
    stroke-width: 3;
}

/* Disabled Arrow Color */
.employee-testimonials-nav-box button.disabled svg path {
    stroke: #ccc;
}
/* =============================== */
/* TABLET (=900px)                 */
/* =============================== */
@media (max-width: 900px) {


  section.employee-testimonials-section {
    padding: 40px 24px;
    background-position: top 20px center;
    background-size: 300px auto;
  
  }

  .employee-testimonials-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .employee-testimonials-image-col {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px 60px 20px 20px;
  }

  .employee-testimonials-image {
    max-width: 240px !important;
    height: 240px;
    left: 0;
    top: 0;
  }

  .employee-testimonials-content-col {
    text-align: center;
  }

  .employee-testimonials-quote-img {
    margin: 0 auto 12px;
    display: block;
  }
}


/* =============================== */
/* MOBILE (=480px)                 */
/* =============================== */
@media (max-width: 480px) {

  section.employee-testimonials-section {
    padding: 16px 16px 12px;
    border-radius: 12px;
    background-image: none !important;
  }

  .employee-testimonials-layout {
    gap: 12px;
  }

  /* Fix: constrain the grey card to the image width so it
     wraps the photo instead of stretching full-column */
  .employee-testimonials-image-col {
    width: 150px;
    max-width: 150px;
    margin: 0 auto;
    padding-top: 10px;
    border-radius: 14px 44px 14px 14px;
  }

  /* Fix: image fills the card; reduced height shrinks overall section */
  .employee-testimonials-image {
    width: 150px;
    max-width: 150px !important;
    height: 145px;
    object-fit: cover;
    object-position: center top;
    left: 0;
    top: 0;
  }

  .employee-testimonials-quote-img {
    margin: 0 auto 8px;
    display: block;
  }

  .employee-testimonials-message {
    font-size: 14px;
    line-height: 1.5;
    height: auto;
    margin-bottom: 10px;
  }

  .employee-testimonials-author {
    font-size: 17px;
  }

  .employee-testimonials-designation {
    font-size: 13px;
  }

  /* Reduce gap so nav stays visible without scrolling */
  .employee-testimonials-nav {
    margin-top: 8px;
    padding-bottom: 10px;
  }

  .employee-testimonials-nav-box {
    padding: 6px 14px;
    gap: 10px;
  }

  .employee-testimonials-nav-box button {
    width: 44px;
    height: 44px;
  }
}