/* ==========================================================================
   JH WEB SOLUTIONS - 9-BOX SPECIALIZED WEB SOLUTIONS GRID
   Color-aligned with JH Web Solutions Logo & Home Page Branding:
   - Primary Brand Blue: #0256d3 & #2563eb
   - Midnight Navy: #0f172a
   - Accent Emerald: #10b981
   - Clean hover states and card elevation
   ========================================================================== */

.jh-solutions-section {
  padding: 70px 0 80px 0;
  background: #ffffff;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.jh-solutions-section .container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

.jh-solutions-header {
  max-width: 780px;
  margin: 0 auto 46px auto;
  text-align: center;
  padding: 0 15px;
}

.jh-solutions-eyebrow {
  display: inline-block;
  background: rgba(2, 86, 211, 0.08);
  color: #0256d3;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.jh-solutions-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 14px 0;
}

.jh-solutions-subtitle {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* 9 Box Grid Container */
.jh-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 0;
  padding: 0;
}

/* Individual Card Styling */
.jh-solution-card {
  background: #fcfcfd;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-sizing: border-box;
}

.jh-solution-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: rgba(2, 86, 211, 0.3);
  box-shadow: 0 18px 40px rgba(2, 86, 211, 0.08);
}

/* Top Action Row: Brand Icon Box + Pill Badge */
.jh-solution-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.jh-solution-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background-color: #197db3;
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(2, 86, 211, 0.28);
  transition: transform 0.2s ease;
}

.jh-solution-card:hover .jh-solution-icon-box {
  transform: scale(1.06);
}

.jh-solution-icon-box i,
.jh-solution-icon-box svg {
  color: #ffffff !important;
  font-size: 18px;
}

.jh-solution-pill {
  background: rgba(2, 86, 211, 0.07);
  color: #0256d3;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Card Body */
.jh-solution-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jh-solution-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.jh-solution-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.58;
  color: #64748b;
  margin: 0 0 22px 0;
  flex-grow: 1;
}

/* Bottom Action Link */
.jh-solution-footer {
  margin-top: auto;
}

.jh-solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0256d3;
  text-decoration: none !important;
  transition: color 0.2s ease;
  cursor: pointer;
}

.jh-solution-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.jh-solution-card:hover .jh-solution-link {
  color: #1d4ed8;
}

.jh-solution-card:hover .jh-solution-link svg {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jh-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .jh-solutions-title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .jh-solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .jh-solutions-section {
    padding: 45px 0 55px 0;
  }

  .jh-solutions-title {
    font-size: 24px;
  }
}