/* ============================================================
   components.css — Hero, Home sections, Feature cards
   ============================================================ */

/* ══════════════════════════════════
   HERO — Gradient Mesh Animation
══════════════════════════════════ */
.hero{
  min-height:100vh;position:relative;overflow:hidden;
  display:flex;align-items:center;
  background:var(--grad-hero);
  padding:80px 0 40px;
}

/* ── Hero Mesh Blobs ── */
.hero-mesh{
  position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;
}
.hero-blob{
  position:absolute;border-radius:50%;
  will-change:transform;
  animation:blobFloat 12s ease-in-out infinite;
  /* blur বাদ — mobile compatible */
}
[data-theme="dark"] .hero-blob{opacity:0.3}

.hero-blob-1{
  width:600px;height:600px;
  background:radial-gradient(circle at center,
    rgba(59,130,246,0.22) 0%,
    rgba(37,99,235,0.10) 40%,
    transparent 70%);
  top:-200px;right:-150px;
  animation-delay:0s;animation-duration:14s;
}
.hero-blob-2{
  width:500px;height:500px;
  background:radial-gradient(circle at center,
    rgba(99,102,241,0.18) 0%,
    rgba(139,92,246,0.08) 40%,
    transparent 70%);
  bottom:-160px;left:-120px;
  animation-delay:-5s;animation-duration:18s;
}
.hero-blob-3{
  width:380px;height:380px;
  background:radial-gradient(circle at center,
    rgba(6,182,212,0.15) 0%,
    rgba(14,165,233,0.06) 40%,
    transparent 70%);
  top:35%;left:30%;
  animation-delay:-9s;animation-duration:16s;
}

@keyframes blobFloat{
  0%,100%{transform:translate(0,0) scale(1)}
  25%{transform:translate(20px,-16px) scale(1.05)}
  50%{transform:translate(-14px,20px) scale(0.96)}
  75%{transform:translate(16px,8px) scale(1.03)}
}

/* Mobile: size কমাও — blur নেই তাই performance ভালো */
@media(max-width:768px){
  .hero-blob-1{width:340px;height:340px;top:-100px;right:-80px}
  .hero-blob-2{width:280px;height:280px;bottom:-90px;left:-70px}
  .hero-blob-3{width:220px;height:220px}
  .hero-blob{animation-duration:10s}
}

.hero-container{
  max-width:1200px;margin:0 auto;padding:0 24px;
  display:grid;grid-template-columns:1fr 1fr;
  align-items:center;gap:60px;position:relative;z-index:2;
}

/* Left content */
.hero-tag{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 16px;border-radius:20px;
  background:rgba(37,99,235,0.1);border:1px solid rgba(37,99,235,0.2);
  font-size:0.72rem;font-weight:600;color:var(--accent);
  letter-spacing:1.5px;text-transform:uppercase;margin-bottom:22px;
}
.hero-tag::before{
  content:'';width:7px;height:7px;background:var(--accent);
  border-radius:50%;animation:tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.7)}}

.hero-title{
  font-family:var(--f-head);font-size:clamp(2.2rem,4.5vw,3.6rem);
  font-weight:800;line-height:1.12;color:var(--tx-1);margin-bottom:20px;
}
.hero-title .highlight{
  background:var(--grad-accent);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  display:block;
}

.hero-subtitle{
  font-size:1.02rem;color:var(--tx-2);line-height:1.75;max-width:480px;margin-bottom:32px;
}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:44px}

/* Stats */
.hero-stats{display:flex;gap:28px}
.hero-stat-num{
  font-family:var(--f-head);font-size:1.7rem;font-weight:800;
  background:var(--grad-accent);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  line-height:1;display:block;
}
.hero-stat-label{font-size:0.72rem;color:var(--tx-3);letter-spacing:0.5px;margin-top:3px}
.hero-stat-sep{width:1px;background:var(--border-2);align-self:stretch;margin:0 4px}

/* Right visual */
.hero-visual{
  position:relative;
  animation:fadeInRight 0.8s 0.2s ease both;
  /* badge গুলো দেখা যাওয়ার জন্য padding */
  padding:20px 20px 26px 20px;
}
@keyframes fadeInRight{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:translateX(0)}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}

.hero-card{
  background:var(--bg-2);border:1px solid var(--border);
  border-radius:var(--r-xl);padding:26px;box-shadow:var(--shadow-lg);
  position:relative;overflow:hidden;
}
.hero-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--grad-accent);
}
.hero-card-header{display:flex;align-items:center;gap:8px;margin-bottom:18px}
.hero-dots{display:flex;gap:5px}
.hero-dot{width:9px;height:9px;border-radius:50%}
.hero-dot:nth-child(1){background:#ff5f57}
.hero-dot:nth-child(2){background:#ffbd2e}
.hero-dot:nth-child(3){background:#28c840}
.hero-card-title{font-size:0.72rem;color:var(--tx-3);letter-spacing:0.8px;font-weight:500}

.hero-items{display:flex;flex-direction:column;gap:9px}
.hero-item{
  display:flex;align-items:center;gap:12px;
  padding:11px 14px;border-radius:var(--r-md);
  background:var(--bg-3);border:1px solid var(--border);
  font-size:0.85rem;color:var(--tx-2);transition:var(--ease);
}
.hero-item:hover{background:var(--accent-glow);border-color:rgba(37,99,235,0.2);color:var(--tx-1)}
.hero-item-icon{font-size:1.1rem;width:26px;text-align:center;flex-shrink:0}
.hero-item-badge{
  margin-left:auto;font-size:0.65rem;font-weight:600;
  padding:2px 8px;border-radius:5px;
}

/* Floating badges */
.hero-badge{
  position:absolute;background:var(--bg-2);border:1px solid var(--border);
  border-radius:var(--r-md);padding:10px 14px;
  display:flex;align-items:center;gap:10px;box-shadow:var(--shadow-md);z-index:10;
  white-space:nowrap;
}
/* "Secured" badge — উপরে ডানে */
.hero-badge-1{
  top:-14px;
  right:-14px;
  animation:badgeFloat 4s ease-in-out infinite;
}
/* "Fast Setup" badge — নিচে বাঁয়ে, আরও নিচে যাতে card text দেখা যায় */
.hero-badge-2{
  bottom:-18px;
  left:-14px;
  animation:badgeFloat 4s ease-in-out infinite 2s;
}
@keyframes badgeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.hero-badge-icon{font-size:1.3rem}
.hero-badge-txt strong{display:block;font-size:0.8rem;font-weight:600;color:var(--tx-1)}
.hero-badge-txt span{display:block;font-size:0.68rem;color:var(--tx-3)}

/* ══════════════════════════════════
   FEATURES GRID
══════════════════════════════════ */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature-card{
  background:var(--bg-2);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:28px;transition:var(--ease);cursor:pointer;position:relative;overflow:hidden;
}
.feature-card::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:var(--grad-accent);transform:scaleX(0);transition:transform 0.35s ease;
}
.feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--border-2)}
.feature-card:hover::after{transform:scaleX(1)}
.feature-icon-wrap{
  width:48px;height:48px;border-radius:var(--r-md);margin-bottom:16px;
  background:var(--accent-glow);display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;transition:var(--ease);
}
.feature-card:hover .feature-icon-wrap{background:var(--grad-accent);transform:scale(1.08)}
.feature-card h3{
  font-family:var(--f-head);font-size:0.95rem;font-weight:700;
  color:var(--tx-1);margin-bottom:8px;
}
.feature-card p{font-size:0.85rem;color:var(--tx-2);line-height:1.65;margin-bottom:14px}
.feature-link{
  font-size:0.8rem;font-weight:600;color:var(--accent);
  display:inline-flex;align-items:center;gap:4px;transition:gap 0.2s ease;
}
.feature-link:hover{gap:8px}

/* ══════════════════════════════════
   PRODUCT PREVIEW
══════════════════════════════════ */
.prod-preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.prod-preview-card{
  background:var(--bg-2);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:22px 16px;text-align:center;transition:var(--ease);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  text-decoration:none;color:inherit;
}
.prod-preview-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--accent)}
.prod-preview-emoji{font-size:2rem;transition:transform 0.3s ease}
.prod-preview-card:hover .prod-preview-emoji{transform:scale(1.2)}
.prod-preview-name{font-size:0.78rem;font-weight:600;color:var(--tx-2)}

/* ══════════════════════════════════
   WHY US
══════════════════════════════════ */
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.why-content h2{
  font-family:var(--f-head);font-size:clamp(1.7rem,3vw,2.3rem);
  font-weight:700;color:var(--tx-1);line-height:1.3;margin-bottom:14px;
}
.why-content>p{font-size:0.95rem;color:var(--tx-2);line-height:1.75;margin-bottom:28px}
.why-points{display:flex;flex-direction:column;gap:12px}
.why-point{
  display:flex;align-items:flex-start;gap:14px;padding:14px 16px;
  background:var(--bg-2);border:1px solid var(--border);border-radius:var(--r-md);
  transition:var(--ease);
}
.why-point:hover{border-color:rgba(37,99,235,0.2);box-shadow:var(--shadow-sm)}
.why-point-icon{
  width:36px;height:36px;border-radius:var(--r-sm);flex-shrink:0;
  background:var(--accent-glow);display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
}
.why-point h4{font-size:0.88rem;font-weight:600;color:var(--tx-1);margin-bottom:3px}
.why-point p{font-size:0.82rem;color:var(--tx-2);line-height:1.55}

/* Stats grid */
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.stat-box{
  background:var(--bg-2);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:24px 20px;text-align:center;transition:var(--ease);
}
.stat-box:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.stat-num{
  font-family:var(--f-head);font-size:2rem;font-weight:800;
  background:var(--grad-accent);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  display:block;margin-bottom:6px;
}
.stat-label{font-size:0.8rem;color:var(--tx-2);font-weight:500}

/* ══════════════════════════════════
   RESPONSIVE — COMPONENTS
   সব breakpoint সুনির্দিষ্টভাবে সাজানো
══════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media(max-width:1024px){
  /* Hero */
  .hero-container{
    grid-template-columns:1fr;
    text-align:center;
    gap:32px;
    padding:0 20px;
  }
  .hero-subtitle{max-width:560px;margin-left:auto;margin-right:auto}
  .hero-buttons{justify-content:center}
  .hero-stats{justify-content:center}
  .hero-visual{
    max-width:480px;
    margin:0 auto;
    padding:22px 18px 28px;
  }

  /* Sections */
  .features-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .prod-preview-grid{grid-template-columns:repeat(4,1fr);gap:12px}
  .why-grid{grid-template-columns:1fr;gap:40px}
  .why-content{text-align:center}
  .why-points{max-width:560px;margin:0 auto}
  .stats-grid{max-width:480px;margin:0 auto}
}

/* ── Mobile (≤768px) ── */
@media(max-width:768px){
  /* Hero — compact ও organized */
  .hero{min-height:auto;padding:20px 0 36px}
  .hero-container{padding:0 16px;gap:20px}
  .hero-tag{font-size:0.68rem;padding:5px 13px;margin-bottom:16px}
  .hero-title{
    font-size:clamp(1.85rem,6.5vw,2.4rem);
    margin-bottom:14px;
  }
  .hero-subtitle{
    font-size:0.9rem;
    margin-bottom:20px;
    max-width:100%;
  }
  .hero-buttons{
    gap:10px;
    margin-bottom:24px;
    justify-content:center;
  }
  .hero-stats{
    gap:0;
    justify-content:center;
    background:var(--bg-2);
    border:1px solid var(--border);
    border-radius:var(--r-lg);
    padding:16px 20px;
    display:inline-flex;
  }
  .hero-stat{padding:0 16px}
  .hero-stat-num{font-size:1.35rem}
  .hero-stat-label{font-size:0.67rem}
  .hero-stat-sep{margin:0}

  /* Hero card — mobile তে compact */
  .hero-visual{
    max-width:100%;
    padding:0 0 20px 0; /* badge এর জন্য নিচে space */
  }
  .hero-badge-1{display:none} /* top badge ছোট স্ক্রিনে সরাও */
  .hero-badge-2{
    display:flex;
    bottom:-16px;
    left:50%;
    transform:translateX(-50%);
    animation:none;
    /* centered নিচে */
  }
  .hero-card{border-radius:var(--r-lg)}
  .hero-items{gap:7px}
  .hero-item{padding:9px 12px;font-size:0.82rem}
  .hero-item-icon{font-size:1rem;width:22px}
  .hero-item-badge{display:none} /* mobile তে badge সরাও — জায়গা বাঁচাও */

  /* Features — single column, software-like */
  .features-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .feature-card{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:18px 20px;
    border-radius:var(--r-md);
  }
  .feature-card::after{
    bottom:auto;top:0;left:0;right:auto;
    width:3px;height:0;
    transform:scaleX(1);
    transition:height 0.35s ease;
  }
  .feature-card:hover::after{height:100%}
  .feature-icon-wrap{
    width:42px;height:42px;min-width:42px;
    margin-bottom:0;flex-shrink:0;
    border-radius:var(--r-sm);font-size:1.2rem;
  }
  .feature-card h3{font-size:0.88rem;margin-bottom:4px}
  .feature-card p{font-size:0.8rem;margin-bottom:8px}
  .feature-link{font-size:0.76rem}

  /* Product preview — 2 per row, clean */
  .prod-preview-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  .prod-preview-card{
    padding:16px 12px;
    border-radius:var(--r-md);
  }
  .prod-preview-emoji{font-size:1.7rem}
  .prod-preview-name{font-size:0.74rem}

  /* Why us */
  .why-grid{gap:28px}
  .why-content{text-align:center}
  .why-content h2{font-size:1.6rem}
  .why-point{
    padding:12px 14px;
    gap:12px;
    border-radius:var(--r-md);
  }
  .why-point-icon{width:32px;height:32px;font-size:1rem}
  .why-point h4{font-size:0.84rem}
  .why-point p{font-size:0.78rem}

  /* Stats grid */
  .stats-grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
    max-width:100%;
  }
  .stat-box{padding:18px 14px;border-radius:var(--r-md)}
  .stat-num{font-size:1.65rem}
  .stat-label{font-size:0.75rem}

  /* CTA */
  .cta-section{padding:36px 20px;border-radius:var(--r-lg)}
  .cta-section h2{font-size:1.4rem;margin-bottom:10px}
  .cta-section p{font-size:0.88rem;margin-bottom:24px}
}

/* ── Small Mobile (≤480px) ── */
@media(max-width:480px){
  .hero-buttons{
    flex-direction:column;
    align-items:center;
  }
  .hero-buttons .btn{
    width:100%;
    max-width:300px;
    min-height:48px;
    font-size:0.92rem;
  }
  .hero-stats{
    width:100%;
    justify-content:space-around;
    padding:14px 12px;
  }
  .hero-stat{padding:0 10px}

  /* Hero card আরও compact */
  .hero-card{padding:18px 14px}
  .hero-items{gap:6px}
  .hero-item{padding:8px 10px;font-size:0.8rem;gap:9px}

  /* Feature cards */
  .features-grid{gap:8px}
  .feature-card{padding:14px 16px;gap:12px}
  .feature-icon-wrap{width:38px;height:38px;min-width:38px;font-size:1.1rem}

  /* Product preview */
  .prod-preview-grid{gap:8px}
  .prod-preview-card{padding:14px 10px;gap:6px}

  /* Why points single column */
  .stats-grid{grid-template-columns:1fr 1fr}

  /* CTA buttons stacked */
  .cta-buttons{flex-direction:column;align-items:center}
  .cta-buttons .btn{width:100%;max-width:280px}

  /* Section spacing */
  .section{padding:48px 0}
  .section-sm{padding:40px 0}
  .section-header{margin-bottom:32px}
  .section-title{font-size:1.55rem}
}

/* ══════════════════════════════════
   CUSTOMER REVIEWS SLIDER
   Infinite auto-slide, arrow controls
   dot indicators, multilingual support
══════════════════════════════════ */

/* ── Hindi font preload ── */

/* ── Overall rating bar ── */
.rev-overall {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 24px;
}
.rev-overall-num {
  font-family: var(--f-head);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rev-overall-right { display: flex; flex-direction: column; gap: 5px; }
.rev-overall-label {
  font-size: 0.78rem;
  color: var(--tx-3);
  font-weight: 500;
}

/* ── Stars ── */
.rev-stars-row { display: flex; gap: 2px; }
.rev-star {
  font-size: 1rem;
  line-height: 1;
  transition: var(--ease);
}
.rev-star.full  { color: #f59e0b; }
.rev-star.half  {
  color: #f59e0b;
  /* half star — clip trick */
  background: linear-gradient(90deg, #f59e0b 50%, var(--bg-3) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Slider wrapper ── */
.rev-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Arrow buttons */
.rev-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--tx-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease);
  z-index: 10;
  font-family: var(--f-body);
  box-shadow: var(--shadow-sm);
}
.rev-arrow:hover {
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-accent);
}

/* Outer clip container */
.rev-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-lg);
}

/* Inner scrollable track */
.rev-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Review Card ── */
.rev-card {
  flex-shrink: 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}

/* Subtle accent top border */
.rev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.rev-card:hover::before { opacity: 1; }
.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

/* Quote mark decoration */
.rev-card::after {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Card top row */
.rev-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* Avatar circle */
.rev-avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2), 0 0 0 5px var(--bg-2);
  flex-shrink: 0;
}
.rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.rev-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
}

/* Meta (name, location, stars) */
.rev-meta { flex: 1; min-width: 0; }
.rev-name {
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tx-1);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rev-location {
  font-size: 0.76rem;
  color: var(--tx-3);
  margin-bottom: 5px;
}

/* Platform badge (Google) */
.rev-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.rev-platform-name {
  font-size: 0.62rem;
  color: var(--tx-3);
  font-weight: 500;
}

/* Verified badge */
.rev-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #059669;
  font-weight: 600;
}
.rev-verified-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* Review text */
.rev-text {
  font-size: 0.88rem;
  color: var(--tx-2);
  line-height: 1.75;
  flex: 1;
  quotes: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Date */
.rev-date {
  font-size: 0.72rem;
  color: var(--tx-3);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 2px;
}

/* ── Dot indicators ── */
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.rev-dot-item {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  padding: 0;
  font-family: var(--f-body);
}
.rev-dot-item.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
.rev-dot-item:hover { background: var(--accent-light); }

/* ── Responsive ── */
@media(max-width:1024px) {
  .rev-card { padding: 22px 20px; }
}
@media(max-width:768px) {
  .rev-slider-wrap { gap: 8px; }
  .rev-arrow { width: 38px; height: 38px; }
  .rev-arrow svg { width: 16px; height: 16px; }
  .rev-card { padding: 20px 16px; gap: 12px; }
  .rev-avatar { width: 46px; height: 46px; min-width: 46px; }
  .rev-name { font-size: 0.88rem; }
  .rev-text { font-size: 0.84rem; }
  .rev-overall { padding: 12px 16px; gap: 12px; }
  .rev-overall-num { font-size: 2rem; }
}
@media(max-width:480px) {
  /* মোবাইলে arrow সরাও — swipe দিয়ে scroll */
  .rev-arrow { display: none; }
  .rev-track-outer { border-radius: var(--r-md); }
  .rev-card { padding: 18px 14px; }
  .rev-card::after { font-size: 4rem; }
}
/* ══════════════════════════════════
   CUSTOMER REVIEWS — Infinite Marquee
   Arrow নেই, সবসময় screen ভরা থাকে
   CSS marquee + JS pause-on-hover
   Arabic RTL সম্পূর্ণ fix করা
══════════════════════════════════ */

/* Hindi + Chinese font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500&family=Noto+Sans+SC:wght@400;500&display=swap');

/* ── Overall rating ── */
.rev-overall {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 24px;
}
.rev-overall-num {
  font-family: var(--f-head);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rev-overall-right { display: flex; flex-direction: column; gap: 5px; }
.rev-overall-label { font-size: 0.78rem; color: var(--tx-3); font-weight: 500; }

/* Stars */
.rev-stars-row { display: flex; gap: 2px; }
.rev-star { font-size: 1rem; line-height: 1; }
.rev-star.full { color: #f59e0b; }
.rev-star.half {
  background: linear-gradient(90deg,#f59e0b 55%,var(--bg-3) 55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Marquee wrapper ── */
.rev-marquee-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  padding: 16px 0 24px;
  direction: ltr !important;
  cursor: grab;
}
.rev-marquee-wrap:active { cursor: grabbing; }

/* ── Marquee inner — CSS animation ── */
.rev-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  /* RTL page হলেও marquee সবসময় LTR direction এ চলে */
  direction: ltr !important;
}

/* Pause on hover */
.rev-marquee:hover,
.rev-marquee.paused {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Review Card ── */
.rev-card {
  flex-shrink: 0;
  width: 360px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  /* সব card সবসময় LTR — Arabic content আলাদাভাবে RTL */
  direction: ltr;
  text-align: left;
}
.rev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.rev-card:hover::before { opacity: 1; }

/* Decorative quote */
.rev-card::after {
  content: '\201C';
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Card top row */
.rev-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Avatar */
.rev-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2), 0 0 0 5px var(--bg-2);
  flex-shrink: 0;
}
.rev-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.rev-avatar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
}

/* Meta */
.rev-meta { flex: 1; min-width: 0; }
.rev-name {
  font-family: var(--f-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--tx-1);
  margin-bottom: 2px;
}
.rev-location { font-size: 0.73rem; color: var(--tx-3); margin-bottom: 4px; }

/* Platform */
.rev-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.rev-platform-name { font-size: 0.6rem; color: var(--tx-3); font-weight: 500; }

/* Verified */
.rev-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #059669;
  font-weight: 600;
}
.rev-verified-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* Review text — default LTR */
.rev-text {
  font-size: 0.86rem;
  color: var(--tx-2);
  line-height: 1.75;
  flex: 1;
  quotes: none;
  margin: 0;
  direction: ltr;
  text-align: left;
}

/* Arabic text — RTL, আলাদা font, আলাদা direction */
.rev-text-ar {
  font-family: 'Tajawal', sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.9 !important;
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: embed;
}

/* Hindi text */
.rev-text-hi {
  font-family: 'Noto Sans Devanagari', 'Mangal', sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.9 !important;
}

/* Chinese text */
.rev-text-zh {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.85 !important;
}

/* Date */
.rev-date {
  font-size: 0.7rem;
  color: var(--tx-3);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* ── Dot indicators ── */
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}
.rev-dot-item {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-2);
  border: none;
  cursor: pointer;
  transition: var(--ease);
  padding: 0;
  font-family: var(--f-body);
}
.rev-dot-item.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}
.rev-dot-item:hover { background: var(--accent-light); }

/* ── Mobile ── */
@media(max-width:768px) {
  .rev-card { width: 300px; padding: 20px 16px; gap: 10px; }
  .rev-avatar { width: 44px; height: 44px; min-width: 44px; }
  .rev-name { font-size: 0.86rem; }
  .rev-text { font-size: 0.82rem; }
  .rev-text-ar { font-size: 0.9rem !important; }
  .rev-overall { padding: 12px 16px; gap: 12px; }
  .rev-overall-num { font-size: 2rem; }
  /* মোবাইলে edge fade কম */
  .rev-marquee-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  }
}
@media(max-width:480px) {
  .rev-card { width: 264px; padding: 16px 14px; }
  .rev-card::after { font-size: 3.5rem; }
}

/* ══════════════════════════════════
   TARGETED FIXES — index.html updates
   1. PNG icon background (blue) fix
   2. Product preview card fixed size
   3. Arabic RTL hero section fix
══════════════════════════════════ */

/* ── Fix 1: PNG icon — blue background সরানো ──
   mix-blend-mode দিয়ে PNG এর solid background
   transparent দেখাবে। Dark mode তে আলাদা treatment। */
.hero-item-icon-img {
  background: transparent !important;
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-item-icon-img img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  /* Light mode: multiply দিয়ে white background মিশিয়ে দাও */
  mix-blend-mode: multiply;
  filter: none;
}
[data-theme="dark"] .hero-item-icon-img img {
  /* Dark mode: invert + saturate দিয়ে দেখাও */
  mix-blend-mode: normal;
  filter: brightness(0) invert(1) opacity(0.85);
}

/* Feature icon wrap — PNG ছবির জন্য */
.feature-icon-img {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  padding: 10px;
}
.feature-icon-img img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .feature-icon-img img {
  mix-blend-mode: normal;
  filter: brightness(0) invert(1) opacity(0.85);
}
.feature-card:hover .feature-icon-img img {
  /* hover এ white দেখাবে */
  mix-blend-mode: normal;
  filter: brightness(0) invert(1);
}

/* ── Fix 2: Product preview card — fixed size ──
   ছবি যত বড়ই হোক, card size অপরিবর্তিত থাকবে */
.prod-preview-card {
  height: 110px !important;  /* fixed height */
  overflow: hidden;
}
.prod-preview-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  display: block;
  line-height: 1;
}
/* Preview card img — light mode: background blend করো */
.prod-preview-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  /* Light mode: PNG এর সাদা bg invisible করো */
  mix-blend-mode: multiply;
  filter: none;
}
/* Hover — light mode */
.prod-preview-card:hover img {
  transform: scale(1.15);
  mix-blend-mode: multiply;
}
/* Dark mode: multiply কাজ করে না dark bg তে
   তাই normal mode, slightly bright করো — সাদা করবে না */
[data-theme="dark"] .prod-preview-card img {
  mix-blend-mode: normal;
  filter: brightness(1.1) saturate(1.2) drop-shadow(0 0 6px rgba(59,130,246,0.2));
}
[data-theme="dark"] .prod-preview-card:hover img {
  filter: brightness(1.25) saturate(1.3) drop-shadow(0 0 10px rgba(59,130,246,0.35));
  transform: scale(1.15);
}

/* ── Fix 3: Arabic RTL — Hero section ──
   [dir="rtl"] mode এ hero items সঠিকভাবে সাজাবে */
[dir="rtl"] .hero-container {
  direction: rtl;
}
[dir="rtl"] .hero-content {
  text-align: right;
}
[dir="rtl"] .hero-buttons {
  justify-content: flex-end;
}
[dir="rtl"] .hero-stats {
  direction: rtl;
  justify-content: flex-end;
}
[dir="rtl"] .hero-item {
  flex-direction: row-reverse;
  text-align: right;
}
[dir="rtl"] .hero-item-badge {
  margin-right: auto;
  margin-left: 0;
}
[dir="rtl"] .hero-tag {
  direction: rtl;
}
[dir="rtl"] .hero-title {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .hero-subtitle {
  direction: rtl;
  text-align: right;
}
/* Badge position RTL */
[dir="rtl"] .hero-badge-1 {
  right: auto;
  left: -8px;
}
[dir="rtl"] .hero-badge-2 {
  left: auto;
  right: -8px;
}
/* Hero stat label RTL */
[dir="rtl"] .hero-stat {
  text-align: center;
}

/* Tablet & Mobile RTL */
@media(max-width:1024px) {
  [dir="rtl"] .hero-buttons { justify-content: center; }
  [dir="rtl"] .hero-stats { justify-content: center; }
  [dir="rtl"] .hero-content { text-align: center; }
  [dir="rtl"] .hero-title { text-align: center; }
  [dir="rtl"] .hero-subtitle { text-align: center; }
}

/* ── PNG Icon Fixes — সম্পূর্ণ সঠিক version ──
   Light mode: ছবি স্বাভাবিক দেখাবে, blue background উঠে যাবে
   Dark mode: ছবি সাদাটে দেখাবে
   Hover: ছবি স্বাভাবিক থাকবে — সাদা হবে না */

/* hero-item এ img */
.hero-item-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  /* Light mode: PNG এর সাদা/নীল background blend out করো */
  mix-blend-mode: multiply;
  filter: none;
  transition: filter 0.2s ease;
}
/* Dark mode: multiply কাজ করে না, তাই slightly brighten করো */
[data-theme="dark"] .hero-item-icon img {
  mix-blend-mode: normal;
  filter: brightness(1.1) saturate(1.2);
}
/* Hover: কোনো পরিবর্তন নয় — ছবি যেমন আছে তেমনই থাকবে */
.hero-item:hover .hero-item-icon img {
  mix-blend-mode: multiply;
  filter: none;
}
[data-theme="dark"] .hero-item:hover .hero-item-icon img {
  mix-blend-mode: normal;
  filter: brightness(1.1) saturate(1.2);
}

/* feature-icon-wrap এ img */
.feature-icon-wrap img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: none;
  transition: filter 0.25s ease, transform 0.25s ease;
}
[data-theme="dark"] .feature-icon-wrap img {
  mix-blend-mode: normal;
  filter: brightness(1.1) saturate(1.2);
}
/* Hover: scale মাত্র, রঙ পরিবর্তন নয় */
.feature-card:hover .feature-icon-wrap img {
  mix-blend-mode: multiply;
  filter: none;
  transform: scale(1.12);
}
[data-theme="dark"] .feature-card:hover .feature-icon-wrap img {
  mix-blend-mode: normal;
  filter: brightness(1.2) saturate(1.3);
  transform: scale(1.12);
}

/* feature-icon-wrap background — img থাকলে সাদা bg */
.feature-icon-wrap:has(img) {
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid var(--border) !important;
}
[data-theme="dark"] .feature-icon-wrap:has(img) {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid var(--border) !important;
}
/* Hover: background accent color এ যাবে */
.feature-card:hover .feature-icon-wrap:has(img) {
  background: rgba(37,99,235,0.1) !important;
  border-color: rgba(37,99,235,0.25) !important;
}
[data-theme="dark"] .feature-card:hover .feature-icon-wrap:has(img) {
  background: rgba(37,99,235,0.15) !important;
  border-color: rgba(59,130,246,0.3) !important;
}

/* ── Product preview cards with real PNG images ──
   Light mode: card bg সাদা → multiply blend কাজ করে
   Dark mode: card bg dark → normal mode, রঙ রাখো */
.prod-preview-img {
  background: #ffffff !important; /* light mode: সাদা bg — multiply এর জন্য */
}
[data-theme="dark"] .prod-preview-img {
  background: var(--bg-2) !important; /* dark mode: আগের মতো */
}
[data-theme="dark"] .prod-preview-img:hover {
  background: var(--accent-glow) !important;
}

/* ══ Home Page — Latest News Section ══ */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.home-news-card {
  background: var(--bg-1);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.home-news-img {
  height: 120px;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-news-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.home-news-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home-news-cat {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(37,99,235,0.1);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}
.home-news-date {
  font-size: 0.7rem;
  color: var(--tx-3);
}
.home-news-title {
  font-family: var(--f-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--tx-1);
  line-height: 1.4;
}
.home-news-exc {
  font-size: 0.78rem;
  color: var(--tx-2);
  line-height: 1.55;
}
/* Loading skeleton */
.home-news-skeleton {
  height: 220px;
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-lg);
}
@keyframes shimmer {
  0% { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}
/* Responsive */
@media(max-width: 1024px) {
  .home-news-grid { grid-template-columns: repeat(3, 1fr) }
}
@media(max-width: 640px) {
  .home-news-grid { grid-template-columns: repeat(2, 1fr) }
}
@media(max-width: 420px) {
  .home-news-grid { grid-template-columns: 1fr }
}

/* ══ Home News Cards ══ */
.home-news-marquee-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding:8px 0 28px;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,black 6%,black 94%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,black 6%,black 94%,transparent 100%);
  cursor:grab;
  user-select:none;
  direction:ltr;
}
.home-news-marquee-wrap::-webkit-scrollbar{display:none}
.home-news-marquee-wrap:active{cursor:grabbing}

.home-news-track{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:20px;
  padding:8px 40px;
  width:max-content;
  min-width:100%;
}

/* News card */
.hn-card{
  width:300px;
  min-width:300px;
  flex-shrink:0;
  background:var(--bg-1);
  border-radius:var(--r-xl);
  border:1px solid var(--border);
  overflow:hidden;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow-sm);
  transition:transform 0.25s ease,box-shadow 0.25s ease;
}
.hn-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 48px rgba(37,99,235,0.14);
}

/* Image */
.hn-img{
  height:170px;
  overflow:hidden;
  flex-shrink:0;
  background:linear-gradient(135deg,#2563eb,#0891b2);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hn-img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 0.35s ease;
}
.hn-card:hover .hn-img img{transform:scale(1.05)}

/* Body */
.hn-body{
  padding:18px;
  display:flex;flex-direction:column;
  gap:8px;flex:1;
}
.hn-top{
  display:flex;justify-content:space-between;
  align-items:center;gap:8px;
}
.hn-cat{
  font-size:0.68rem;font-weight:700;
  padding:3px 9px;border-radius:12px;
  letter-spacing:0.3px;white-space:nowrap;
}
.hn-date{font-size:0.7rem;color:var(--tx-3);white-space:nowrap}
.hn-title{
  font-family:var(--f-head);font-size:0.92rem;
  font-weight:700;color:var(--tx-1);
  line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;
}
.hn-exc{
  font-size:0.8rem;color:var(--tx-2);
  line-height:1.6;flex:1;
  display:-webkit-box;-webkit-line-clamp:3;
  -webkit-box-orient:vertical;overflow:hidden;
}
.hn-footer{
  display:flex;justify-content:space-between;
  align-items:center;margin-top:auto;
  padding-top:10px;border-top:1px solid var(--border);
}
.hn-read{font-size:0.72rem;color:var(--tx-3)}
.hn-more{
  font-size:0.78rem;font-weight:600;color:var(--accent);
}
.hn-card:hover .hn-more{letter-spacing:0.5px}

/* Skeleton */
.home-news-skel{
  width:300px;
  min-width:300px;
  height:340px;
  flex-shrink:0;
  border-radius:var(--r-xl);
  background:linear-gradient(90deg,var(--bg-2) 25%,var(--bg-3) 50%,var(--bg-2) 75%);
  background-size:400% 100%;
  animation:skelShimmer 1.5s ease-in-out infinite;
}
@keyframes skelShimmer{
  0%{background-position:100% 0}
  100%{background-position:-100% 0}
}

/* ══════════════════════════════════════
   Home Page News Cards — Image Size Fix v3
   Card image সম্পূর্ণ দেখাবে — crop হবে না
   ══════════════════════════════════════ */

/* Card image container — fixed height with dark background */
.home-news-track .hn-card .hn-img,
.hn-card .hn-img,
.hn-img {
  height: 180px !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #0a1628 !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  flex-shrink: 0 !important;
  display: block !important;
  padding: 0 !important;
}

/* Image — contain instead of cover (no crop) */
.home-news-track .hn-card .hn-img img,
.hn-card .hn-img img,
.hn-img img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

/* Emoji fallback */
.hn-img > span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 2.2rem !important;
  z-index: 1 !important;
}

.hn-card:hover .hn-img img {
  transform: scale(1.04) !important;
}

/* Card uniform structure */
.hn-card {
  display: flex !important;
  flex-direction: column !important;
}
.hn-body {
  flex: 1 !important;
}

/* Mobile */
@media(max-width: 640px) {
  .hn-img {
    height: 160px !important;
  }
}