/* ============================================================
   KIDVIVE TEACHERS CAROUSEL WIDGET — styles
   টেস্টিমোনিয়াল widget-এর প্রমাণিত ক্যারোসেল ইঞ্জিন reuse করে
   শিক্ষক-উপযোগী কার্ড ডিজাইনে (বড় গোল ছবি, নাম, বিশেষত্ব, অভিজ্ঞতা)
============================================================ */
.kv-tch-w{
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", sans-serif;
  padding: 20px 0;
}
.kv-tch-w *{ box-sizing: border-box; }
.kv-tch-w img{ max-width: none; }

.kv-tch-w-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

/* ---------- Header ---------- */
.kv-tch-w-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.kv-tch-w-title{
  font-size: 22px;
  font-weight: 800;
  color: #5B2A9D;
  margin: 0;
  line-height: 1.3;
}
.kv-tch-w-all{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--kv-tch-accent, #6C3BD1);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.kv-tch-w-all:hover{ opacity: 0.8; }
.kv-tch-w-all svg{ display: block; flex-shrink: 0; }

/* ---------- Carousel ---------- */
.kv-tch-w-viewport{
  overflow: hidden;
  padding: 6px 2px 10px;
}
.kv-tch-w-track{
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.kv-tch-w-card{
  flex: 0 0 calc((100% - 80px) / 5);
  text-align: center;
}

.kv-tch-w-photo{
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #EFE9FB;
  flex-shrink: 0;
}
.kv-tch-w-photo-initial{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kv-tch-accent, #6C3BD1);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  z-index: 1;
}
.kv-tch-w-photo img{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.kv-tch-w-name{
  font-size: 15px;
  font-weight: 800;
  color: #2B2140;
  line-height: 1.35;
  margin: 0 0 4px;
}
.kv-tch-w-designation{
  font-size: 12.5px;
  font-weight: 600;
  color: #6B6180;
  line-height: 1.4;
  margin: 0 0 4px;
}
.kv-tch-w-experience{
  font-size: 12px;
  font-weight: 600;
  color: var(--kv-tch-accent, #6C3BD1);
  line-height: 1.4;
  margin: 0;
}

/* ---------- Arrows ---------- */
.kv-tch-w-arrow{
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E2DAF3;
  background: #FFFFFF;
  color: var(--kv-tch-accent, #6C3BD1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(64,29,115,0.10);
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}
.kv-tch-w-arrow:hover{
  background: var(--kv-tch-accent, #6C3BD1);
  color: #fff;
}
.kv-tch-w-arrow svg{ display: block; pointer-events: none; }
.kv-tch-w-prev{ left: -17px; }
.kv-tch-w-next{ right: -17px; }

/* ---------- Dots ---------- */
.kv-tch-w-dots{
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.kv-tch-w-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #CFC6E8;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.kv-tch-w-dot.is-active{
  background: var(--kv-tch-accent, #6C3BD1);
  width: 20px;
  border-radius: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .kv-tch-w-card{ flex: 0 0 calc((100% - 60px) / 4); }
}
@media (max-width: 900px){
  .kv-tch-w-card{ flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 640px){
  .kv-tch-w-title{ font-size: 19px; }
  .kv-tch-w-all{ font-size: 13px; }
  .kv-tch-w-card{ flex: 0 0 calc((100% - 20px) / 2); }
  .kv-tch-w-photo{ width: 80px; height: 80px; }
  .kv-tch-w-name{ font-size: 13.5px; }
  .kv-tch-w-designation, .kv-tch-w-experience{ font-size: 11.5px; }
  .kv-tch-w-prev{ left: -8px; }
  .kv-tch-w-next{ right: -8px; }
}
