/* =========================
   General InfoBox Styles
========================= */
.showcase-infobox {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.showcase-infobox .infobox-item {
  flex: 1 1 250px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.showcase-infobox .infobox-icon i,
.showcase-infobox .infobox-image img {
  font-size: 40px;
  width: 60px;
  height: 60px;
  display: inline-block;
  margin-bottom: 15px;
}

.showcase-infobox .infobox-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.showcase-infobox .infobox-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.showcase-infobox .infobox-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 5px;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.showcase-infobox .infobox-btn:hover {
  background: #005bb5;
}

/* =========================
   Layout Variations
========================= */

/* Card */
.showcase-card .infobox-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Minimal */
.showcase-minimal .infobox-item {
  background: none;
  border: none;
  padding: 10px 5px;
}

/* Bordered */
.showcase-bordered .infobox-item {
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

/* Shadowed */
.showcase-shadowed .infobox-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.showcase-shadowed .infobox-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}



/* ===================================================================
   COMPLETE CSS - Team Grid + Testimonial Grid + Both Sliders
   ALL CONTENT STYLES + PERFECT AUTOPLAY + NO CONFLICTS
====================================================================== */

/* ===== 1. TEAM CONTENT STYLES ===== */
.sa-member {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sa-showcase-card .sa-member { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.sa-showcase-bordered .sa-member { border: 1px solid #e5e7eb; }
.sa-showcase-shadowed .sa-member { box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.sa-showcase-minimal .sa-member { 
  background: transparent; 
  padding: 10px; 
}
.sa-showcase-minimal .sa-member-photo img { border: 3px solid #f3f4f6; }

.sa-member-photo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.sa-member-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: #333;
}

.sa-member-role {
  font-size: 14px;
  color: #4a6cf7;
  font-weight: 500;
  margin-bottom: 10px;
}

.sa-member-bio {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.sa-social-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.sa-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sa-social-icons a:hover {
  background: #4a6cf7;
  color: #fff;
  transform: translateY(-2px);
}

/* ===== 2. TESTIMONIAL CONTENT STYLES ===== */
.testimonial-wrapper { width: 100%; }

.testimonial-item {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-wrapper.layout-layout1 .testimonial-item { text-align: center; }
.testimonial-wrapper.layout-layout2 .testimonial-item {
  background: linear-gradient(135deg, #f6f9fc 0%, #e9f2fa 100%);
  border-left: 4px solid #4a6cf7;
}
.testimonial-wrapper.layout-layout3 .testimonial-item {
  border: 1px solid #e2e8f0;
  box-shadow: none;
}
.testimonial-wrapper.layout-layout4 .testimonial-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}
.testimonial-wrapper.layout-layout5 .testimonial-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}
.testimonial-wrapper.layout-layout6 .testimonial-item {
  background: transparent;
  box-shadow: none;
  padding: 20px 0;
  text-align: center;
}
.testimonial-wrapper.layout-layout6 .testimonial-author img { margin: 0 auto 15px; }

.content-position-above .testimonial-content { order: 1; }
.content-position-above .testimonial-author { order: 2; margin-top: auto; }
.content-position-above .testimonial-social { order: 3; }
.content-position-below .testimonial-author { order: 1; }
.content-position-below .testimonial-content { order: 2; margin-top: 20px; }
.content-position-below .testimonial-social { order: 3; margin-top: 20px; }

.image-position-top .testimonial-author {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.image-position-left .testimonial-author {
  flex-direction: row;
  align-items: center;
  text-align: left;
}
.image-position-left .testimonial-author img { margin-right: 15px; margin-bottom: 0; }
.image-position-right .testimonial-author {
  flex-direction: row-reverse;
  align-items: center;
  text-align: right;
}
.image-position-right .testimonial-author img { margin-left: 15px; margin-bottom: 0; }

.quote-icon {
  position: absolute;
  font-size: 40px;
  color: #f3f3f3;
  z-index: 1;
}
.quote-icon svg { width: 40px; height: 40px; }
.quote-top-left { top: 20px; left: 20px; }
.quote-top-right { top: 20px; right: 20px; }
.quote-bottom-left { bottom: 20px; left: 20px; }
.quote-bottom-right { bottom: 20px; right: 20px; }

.testimonial-content { position: relative; z-index: 2; margin-bottom: 20px; }
.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.testimonial-author { 
  display: flex; 
  margin-bottom: 15px; 
}
.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #f3f3f3;
}
.author-details { display: flex; flex-direction: column; }
.testimonial-author h4 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
.testimonial-author .designation {
  font-size: 14px;
  color: #4a6cf7;
  font-weight: 500;
  margin-bottom: 3px;
}
.testimonial-author .company { font-size: 13px; color: #777; }

.testimonial-rating {
  display: flex;
  margin-top: 10px;
  justify-content: center;
}
.image-position-left .testimonial-rating,
.image-position-right .testimonial-rating { justify-content: flex-start; }
.testimonial-rating .star {
  color: #ddd;
  font-size: 16px;
  margin: 0 2px;
}
.testimonial-rating .star.filled { color: #ffc107; }

.testimonial-social {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}
.testimonial-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  transition: all 0.3s ease;
}
.testimonial-social a:hover {
  background: #4a6cf7;
  color: #fff;
  transform: translateY(-3px);
}
.testimonial-social svg { width: 16px; height: 16px; }

/* ===== 3. GRID LAYOUTS ===== */
.sa-team-grid {
  display: grid;
  gap: 20px;
}
@media (max-width: 1024px) { 
  .sa-team-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 767px) { 
  .sa-team-grid { grid-template-columns: 1fr; } 
}

.testimonial-grid {
  display: grid;
  gap: 30px;
}
.testimonial-grid.columns-1 { grid-template-columns: 1fr; }
.testimonial-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.testimonial-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.testimonial-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }
.testimonial-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
  .testimonial-grid.columns-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .testimonial-grid.columns-4,
  .testimonial-grid.columns-5,
  .testimonial-grid.columns-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .testimonial-grid.columns-3,
  .testimonial-grid.columns-4,
  .testimonial-grid.columns-5,
  .testimonial-grid.columns-6 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-item { padding: 20px; }
}
@media (max-width: 576px) {
  .testimonial-grid.columns-2,
  .testimonial-grid.columns-3,
  .testimonial-grid.columns-4,
  .testimonial-grid.columns-5,
  .testimonial-grid.columns-6 { grid-template-columns: 1fr; }
}

/* ===== 4. UNIFIED SLIDER SYSTEM (SINGLE DEFINITIONS) ===== */
.sa-testimonial-slider, 
.sa-team-slider {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sa-slider-wrapper {
  display: flex !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform !important;
  width: 100% !important;
  height: 100% !important;
  flex-wrap: nowrap !important;
}

/* DISABLE ALL GRIDS IN SLIDER MODE */
.sa-testimonial-slider .testimonial-grid,
.sa-testimonial-slider .sa-team-grid,
.sa-team-slider .testimonial-grid,
.sa-team-slider .sa-team-grid {
  display: contents !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

/* SINGLE .sa-slide DEFINITION */
.sa-slide {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
  min-width: 0 !important;
  float: none !important;
  height: auto !important;
}

/* SINGLE NAVIGATION DEFINITION */
.sa-prev, .sa-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  cursor: pointer !important;
  background: #4a6cf7 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 45px !important;
  height: 45px !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3) !important;
  transition: all 0.3s ease !important;
}
.sa-prev { left: 15px !important; }
.sa-next { right: 15px !important; }
.sa-prev:hover, .sa-next:hover {
  background: #3a5ce5 !important;
  transform: translateY(-50%) scale(1.05) !important;
}

/* SINGLE PAGINATION DEFINITION */
.sa-pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 25px !important;
  padding: 10px 0 !important;
}
.sa-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: #ddd !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.sa-dot:hover { 
  background: #bbb !important; 
  transform: scale(1.1) !important; 
}
.sa-dot.active {
  background: #4a6cf7 !important;
  transform: scale(1.3) !important;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2) !important;
}

/* ===== 5. RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sa-member-photo img { width: 80px; height: 80px; }
  .sa-slide { padding: 15px !important; }
  .sa-member { padding: 15px; }
}

@media (max-width: 768px) {
  .sa-prev, .sa-next {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
  .sa-prev { left: 10px !important; }
  .sa-next { right: 10px !important; }
  .sa-slide { padding: 12px !important; }
  
  .image-position-left .testimonial-author,
  .image-position-right .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  .image-position-left .testimonial-author img,
  .image-position-right .testimonial-author img {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 15px;
  }
  .image-position-left .testimonial-rating,
  .image-position-right .testimonial-rating { justify-content: center; }
}

/* ===== 6. UTILITIES ===== */
.sa-slide.cloned { pointer-events: none !important; }
.no-arrows .sa-prev, .no-arrows .sa-next { display: none !important; }

/* REMOVE GRID PROPS FROM SLIDER */
.sa-team-slider, .sa-testimonial-slider,
.sa-slider-wrapper, .sa-slide {
  grid-template-columns: none !important;
  grid-auto-flow: unset !important;
  grid-column: unset !important;
  grid-row: unset !important;
}

/* HOVER EFFECTS */
.sa-hover-lift .sa-member:hover,
.sa-hover-shadow .sa-member:hover,
.sa-hover-scale .sa-member:hover,
.sa-hover-border .sa-member:hover,
.sa-hover-fade .sa-member:hover {
  transition: all 0.3s ease;
}


