/* ==========================================================================
   JH WEB SOLUTIONS - FEATURED E-COMMERCE & RETAIL CLIENT PROJECTS
   (Modern Showcase Table & Grid System)
   ========================================================================== */

.jh-projects-section {
  padding: 85px 20px 90px;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(2, 86, 211, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.jh-projects-section *,
.jh-projects-section *::before,
.jh-projects-section *::after {
  box-sizing: border-box;
}

.jh-projects-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------------------
   Section Header
   -------------------------------------------------------------------------- */
.jh-projects-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 48px;
}

.jh-projects-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 86, 211, 0.08);
  color: #0256d3;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 9999px;
  margin-bottom: 16px;
  border: 1px solid rgba(2, 86, 211, 0.15);
}

.jh-projects-title {
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.jh-projects-subtitle {
  font-size: 15.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Interactive Table Card Wrapper
   -------------------------------------------------------------------------- */
.jh-table-showcase-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}

/* Mobile Scroll Hint Banner */
.jh-table-mobile-hint {
  display: none;
  padding: 11px 18px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid #dbeafe;
  align-items: center;
  gap: 8px;
}

.jh-table-mobile-hint i {
  color: #0256d3;
  font-size: 14px;
}

/* Responsive Table Horizontal Scroll */
.jh-table-scroll-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jh-table-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.jh-table-scroll-container::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.jh-table-scroll-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.jh-table-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --------------------------------------------------------------------------
   The Table Itself
   -------------------------------------------------------------------------- */
.jh-ecommerce-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  text-align: left;
}

/* Table Head */
.jh-ecommerce-table thead th {
  background: #f8fafc;
  padding: 16px 22px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  border-bottom: 1.5px solid #e2e8f0;
  white-space: nowrap;
}

/* Table Body Cells */
.jh-ecommerce-table tbody td {
  padding: 22px 22px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.jh-ecommerce-table tbody tr:last-child td {
  border-bottom: none;
}

.jh-ecommerce-table tbody tr {
  transition: background-color 0.2s ease;
}

.jh-ecommerce-table tbody tr:hover {
  background-color: rgba(2, 86, 211, 0.025);
}

/* --------------------------------------------------------------------------
   Column 1: Project & Brand Cell
   -------------------------------------------------------------------------- */
.jh-tbl-project {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jh-tbl-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.jh-ecommerce-table tbody tr:hover .jh-tbl-icon {
  transform: scale(1.08) rotate(3deg);
}

/* Industry Specific Icon Colors */
.jh-icon-orange {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.jh-icon-pink {
  background: rgba(236, 72, 153, 0.12);
  color: #db2777;
}

.jh-icon-blue {
  background: rgba(2, 86, 211, 0.12);
  color: #0256d3;
}

.jh-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.jh-icon-purple {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.jh-icon-cyan {
  background: rgba(8, 145, 178, 0.12);
  color: #0891b2;
}

.jh-icon-amber {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

.jh-tbl-info {
  display: flex;
  flex-direction: column;
}

.jh-tbl-name {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.jh-tbl-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #10b981;
}

.jh-proj-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: jhPulseDot 2s infinite ease-in-out;
}

@keyframes jhPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Column 2: Category Badge
   -------------------------------------------------------------------------- */
.jh-proj-cat-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Column 3: "What it Demonstrates"
   -------------------------------------------------------------------------- */
.jh-tbl-demo-box {
  background: #f8fafc;
  border-left: 3.5px solid #0256d3;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  max-width: 380px;
}

.jh-tbl-demo-box strong {
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Column 4: Capabilities Chips
   -------------------------------------------------------------------------- */
.jh-tbl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 240px;
}

.jh-tbl-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.jh-tbl-chip i {
  color: #0256d3;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Column 5: Action Button
   -------------------------------------------------------------------------- */
.jh-tbl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: #0256d3;
  border: 1.5px solid rgba(2, 86, 211, 0.35);
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(2, 86, 211, 0.05);
}

.jh-tbl-btn:hover {
  background: #0256d3;
  color: #ffffff;
  border-color: #0256d3;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(2, 86, 211, 0.28);
}

.jh-tbl-btn i {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Bottom Takeaway Banner
   -------------------------------------------------------------------------- */
.jh-projects-takeaway {
  background: #0b1120;
  border: 1px solid rgba(2, 86, 211, 0.3);
  border-radius: 20px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(11, 17, 32, 0.18);
  position: relative;
  overflow: hidden;
}

.jh-projects-takeaway::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(2, 86, 211, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.jh-takeaway-left {
  max-width: 740px;
  position: relative;
  z-index: 1;
}

.jh-takeaway-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 186, 19, 0.18);
  color: #F5BA13;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.jh-takeaway-heading {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.jh-takeaway-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jh-takeaway-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.jh-takeaway-points li i {
  color: #10b981;
  font-size: 12px;
}

.jh-takeaway-right {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.jh-takeaway-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #0256d3 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 86, 211, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.jh-takeaway-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0256d3 100%);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(2, 86, 211, 0.5);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jh-table-mobile-hint {
    display: flex;
  }
  .jh-projects-section {
    padding: 60px 15px 70px;
  }
  .jh-projects-header {
    margin-bottom: 34px;
  }
}

@media (max-width: 768px) {
  .jh-projects-section {
    padding: 50px 12px 60px;
  }
  .jh-projects-takeaway {
    padding: 24px 20px;
  }
  .jh-takeaway-heading {
    font-size: 17px;
  }
  .jh-takeaway-right {
    width: 100%;
  }
  .jh-takeaway-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .jh-projects-section {
    padding: 38px 8px 46px;
  }
  .jh-projects-pill {
    font-size: 10px;
    padding: 5px 14px;
  }
  .jh-projects-title {
    font-size: 21px;
  }
  .jh-projects-subtitle {
    font-size: 13.5px;
  }
  .jh-takeaway-points {
    flex-direction: column;
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   Post-Section Portfolio Highlight Banner
   -------------------------------------------------------------------------- */
.jh-portfolio-cta-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #091325 0%, #0f1d38 50%, #08214d 100%);
  border: 1px solid rgba(2, 86, 211, 0.28);
  border-radius: 20px;
  padding: 34px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(2, 86, 211, 0.12);
}

.jh-portfolio-cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(2, 86, 211, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.jh-portfolio-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.jh-portfolio-cta-text {
  max-width: 700px;
}

.jh-portfolio-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 186, 19, 0.15);
  color: #f5ba13;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid rgba(245, 186, 19, 0.3);
}

.jh-portfolio-cta-title {
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.jh-portfolio-cta-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

.jh-portfolio-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.jh-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.38);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.jh-btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.5);
  color: #ffffff !important;
  text-decoration: none;
}

.jh-btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.jh-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff !important;
  text-decoration: none;
}

@media (max-width: 991px) {
  .jh-portfolio-cta-banner {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .jh-portfolio-cta-banner {
    padding: 22px 18px;
  }
  .jh-portfolio-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .jh-btn-gold,
  .jh-btn-outline-light {
    width: 100%;
    justify-content: center;
  }
}
