/* ============================================================
   work.css — HoneyBedger Solutions
============================================================ */

/* ── STATS STRIP ── */
.stats-strip { background: var(--slate-900); padding: 3rem 1.25rem; }
.stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 56rem; margin: 0 auto; text-align: center; }
.stat-strip-num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; color: #fff; font-size: 2.5rem; }
.stat-strip-num span { color: #60a5fa; }
.stat-strip-label { color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ── CLIENT LOGOS ── */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.logo-box { border: 1px solid var(--slate-200); border-radius: .75rem; padding: 1rem .75rem; display: flex; align-items: center; justify-content: center; text-align: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .75rem; color: var(--slate-500); transition: var(--transition); line-height: 1.3; }
.logo-box:hover { border-color: var(--brand-300); color: var(--brand-600); background: var(--brand-50); }

/* ── PORTFOLIO FILTER ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn { padding: .5rem 1.25rem; border-radius: 9999px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .875rem; border: 1px solid var(--slate-200); color: var(--slate-600); background: #fff; cursor: pointer; transition: var(--transition); }
.filter-btn:hover  { background: var(--brand-50); }
.filter-btn.active { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.port-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; position: relative; min-height: 300px; }
.port-card { background: #fff; border: 1.5px solid var(--slate-100); border-radius: var(--radius-3xl); overflow: hidden; transition: var(--transition); }
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.port-thumb { height: 12rem; display: flex; align-items: center; justify-content: center; font-size: 3.75rem; }
.thumb-brand   { background: linear-gradient(135deg, var(--brand-100),   var(--brand-200)); }
.thumb-emerald { background: linear-gradient(135deg, var(--emerald-100), #a7f3d0); }
.thumb-rose    { background: linear-gradient(135deg, var(--rose-100),    #fecdd3); }
.thumb-violet  { background: linear-gradient(135deg, var(--violet-100),  #ddd6fe); }
.thumb-amber   { background: linear-gradient(135deg, var(--amber-100),   #fde68a); }
.thumb-slate   { background: linear-gradient(135deg, var(--slate-100),   var(--slate-200)); }
.port-info { padding: 1.5rem; }
.port-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.port-meta span:last-child { color: var(--slate-400); font-size: .75rem; }
.port-card h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--slate-800); margin-bottom: .5rem; }
.port-card p  { color: var(--slate-500); font-size: .875rem; line-height: 1.65; }
.port-client  { display: flex; align-items: center; gap: .75rem; padding-top: .75rem; border-top: 1px solid var(--slate-100); margin-top: 1rem; }
.port-avatar  { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .75rem; flex-shrink: 0; }
.port-client span { color: var(--slate-600); font-size: .75rem; font-weight: 600; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.testi-card { border-radius: var(--radius-3xl); padding: 2rem; transition: var(--transition); }
.testi-card:hover { transform: translateY(-4px); }
.testi-light { background: var(--slate-50); border: 1.5px solid var(--slate-100); }
.testi-dark  { background: var(--brand-500); }
.testi-stars { font-size: 1.125rem; margin-bottom: 1rem; }
.testi-text  { line-height: 1.75; margin-bottom: 1.5rem; font-size: .875rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .875rem; flex-shrink: 0; }
.testi-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .875rem; }
.testi-role { font-size: .75rem; }

@media (min-width: 640px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .logo-grid   { grid-template-columns: repeat(4, 1fr); }
  .port-grid   { grid-template-columns: repeat(2, 1fr); }
  .testi-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .testi-grid  { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .port-grid   { grid-template-columns: repeat(3, 1fr); }
  .logo-grid   { grid-template-columns: repeat(8, 1fr); }
}

/* ── VIDEO GRID ── */
/* Tablet */
@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sec-title{
text-align: center;
justify-content: center;
}
/* ── VIDEO CARD ── */
.video-card {
  position: relative; /* ✅ IMPORTANT (missing before) */
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* VIDEO */
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover video {
  transform: scale(1.1);
}

/* OVERLAY */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 15px;
}

/* TEXT */
.video-overlay h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 18px;
  cursor: pointer;

  transition: 0.3s ease;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn:hover {
  background: #000;
  color: #fff;
}

/* ── MOBILE FIX ── */
@media (max-width: 640px) {
  .video-card {
    border-radius: 15px;
  }

  .video-overlay h4 {
    font-size: 14px;
  }

  .play-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}


@media (max-width: 640px) {
  .video-card {
    height: 70vh;  /* 🔥 big vertical card */
    aspect-ratio: unset; /* remove ratio */
  }
}



.video-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1300px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-card {
    aspect-ratio: 16 / 10; /* slightly taller = looks bigger */
  }
}
/* 🔥 MAKE VIDEO BIGGER ON LAPTOP */
 @media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* bigger cards */
     max-width: 1400px; 
  } 

   .video-card {
    aspect-ratio: 16 / 9;
    /* height: 420px; increase size */
   } 
} 

/* 🔥 BETTER MOBILE FULL SIZE */
@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .video-card {
    width: 100%;
    height: 75vh; /* full screen feel */
    border-radius: 12px;
  }
}

/* CENTER PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* click goes to card */
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

/* POPUP */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-box {
  width: 390px;
  height: 600px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 22px;
  border: none;
  pointer-events: none;
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background: #fff;
}

.logo-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 20s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 60px;
}

.logo-box {
  width: 180px;
  height: 90px;
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-box img {
  max-width: 160px;
  max-height: 72px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 1;
  transition: 0.3s;
}

.logo-box img.logo-pink {
  width: auto;
  height: 120px;
  max-width: none;
  max-height: none;
}

.logo-box img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 30px));
  }
}

.logo-marquee {
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 60px;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused; /* pause on hover */
}


/* ── WORK SHOWCASE ── */
.work-showcase {
  padding: 80px 0;
  background: #f8fafc;
  overflow: clip;
}

.work-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* IMAGE */
.work-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  animation: floatImage 4s ease-in-out infinite;
}

/* TEXT */
.work-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #0f172a;
}

.work-content p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.work-points {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.work-points li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #1e293b;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

/* FLOAT ANIMATION */
@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* MOBILE */
@media (max-width: 768px) {
  .work-flex {
    flex-direction: column;
    text-align: center;
  }

  .work-content h2 {
    font-size: 26px;
  }
}

.work-alt {
  padding: 80px 0;
  background: #ffffff;
  overflow: clip;
}

.reverse {
  flex-direction: row-reverse;
}
