
/* =========================================
   TESTIMONIALS SLIDER
========================================= */
.testi-slider-wrap {
  margin-top: 44px;
  position: relative;
}

/* Main video display */
.testi-main-vid {
  background: var(--dark3);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.testi-main-vid::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--cyan), rgba(0,220,225,0.2));
  z-index: 2;
}
.testi-main-frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}
.testi-main-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none;
}
.testi-main-info {
  padding: 16px 20px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.testi-main-name {
  font-size: 15px; font-weight: 600; color: var(--cyan);
  display: flex; align-items: center; gap: 8px;
}
.testi-main-name i { font-size: 13px; }
.testi-counter {
  font-size: 12px; color: var(--text2);
  letter-spacing: 1px;
}
.testi-counter b { color: var(--cyan); }

/* Nav arrows */
.testi-nav {
  display: flex; gap: 10px;
}
.testi-arrow {
  width: 38px; height: 38px;
  background: var(--dark4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); font-size: 13px;
  border-radius: 4px; transition: all 0.25s;
}
.testi-arrow:hover {
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Thumbnail strip */
.testi-thumbs {
  display: flex; gap: 10px;
  margin-top: 14px; overflow-x: auto;
  padding-bottom: 4px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--cyan) var(--dark3);
}
.testi-thumbs::-webkit-scrollbar { height: 3px; }
.testi-thumbs::-webkit-scrollbar-track { background: var(--dark3); }
.testi-thumbs::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }

.testi-thumb {
  flex-shrink: 0;
  width: 120px;
  background: var(--dark3);
  border: 1px solid var(--border);
  cursor: pointer; overflow: hidden;
  transition: all 0.25s;
  scroll-snap-align: start;
  border-radius: 3px;
}
.testi-thumb:hover { border-color: rgba(0,220,225,0.4); }
.testi-thumb.active {
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.testi-thumb-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; display: block;
  background: var(--dark4);
}
.testi-thumb-name {
  padding: 6px 8px;
  font-size: 10.5px; color: var(--text2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 500;
}
.testi-thumb.active .testi-thumb-name { color: var(--cyan); }

















/* =========================================
   IMAGE GALLERY
========================================= */
.gallery-controls {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 12px; margin-bottom: 28px;
}
.gallery-filter-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.gf-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px; font-weight: 600;
  padding: 6px 16px; border-radius: 4px;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 0.5px;
}
.gf-btn:hover, .gf-btn.active {
  border-color: var(--cyan); color: var(--cyan);
  background: var(--cyan-dim);
}
.gallery-count {
  font-size: 13px; color: var(--text2);
}
.gallery-count b { color: var(--cyan); }

/* Masonry-style responsive grid */
.gallery-grid {
  columns: 4 200px;
  column-gap: 10px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  background: var(--dark3);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
}
.gallery-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0,220,225,0.15);
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* overlay on hover */
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,12,18,0.85) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 12px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-size: 12px; color: var(--cyan); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.gallery-item-label i { font-size: 11px; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(4,8,16,0.96);
  backdrop-filter: blur(12px);
  z-index: 3000;
  align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox.open { display: flex; }
.lb-inner {
  position: relative;
  max-width: min(92vw, 1000px);
  max-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center;
}
.lb-img-wrap {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0,220,225,0.2);
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain; display: block;
}
.lb-close {
  position: fixed; top: 18px; right: 18px;
  width: 40px; height: 40px;
  background: rgba(14,26,34,0.9);
  border: 1px solid var(--border);
  color: var(--text2); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 4px; transition: all 0.25s;
  z-index: 10;
}
.lb-close:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-caption {
  margin-top: 12px;
  font-size: 13px; color: var(--text2);
  text-align: center;
}
.lb-caption b { color: var(--cyan); }
.lb-nav-prev, .lb-nav-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(14,26,34,0.9);
  border: 1px solid var(--border);
  color: var(--text2); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 4px; transition: all 0.25s;
}
.lb-nav-prev { left: 14px; }
.lb-nav-next { right: 14px; }
.lb-nav-prev:hover, .lb-nav-next:hover {
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Empty gallery state */
.gallery-empty {
  text-align: center; padding: 60px 20px;
  border: 1px dashed var(--border);
  background: var(--dark3);
}
.gallery-empty i { font-size: 44px; color: rgba(0,220,225,0.2); margin-bottom: 14px; }
.gallery-empty p { font-size: 14px; color: var(--text2); margin-bottom: 6px; }
.gallery-empty span { font-size: 12px; color: rgba(0,220,225,0.5); }

/* Upload hint */
.gallery-upload-hint {
  background: rgba(0,220,225,0.04);
  border: 1px solid var(--border);
  padding: 12px 18px; margin-bottom: 24px;
  font-size: 13px; color: var(--text2);
  display: flex; align-items: center; gap: 10px;
}
.gallery-upload-hint i { color: var(--cyan); flex-shrink: 0; }
.gallery-upload-hint b { color: var(--cyan); }

@media (max-width: 768px) {
  .gallery-grid { columns: 2 140px; }
  .lb-nav-prev { left: 6px; }
  .lb-nav-next { right: 6px; }
}
@media (max-width: 420px) {
  .gallery-grid { columns: 2 100px; }
}



