/* ==========================================================================
   HARDWARE & NETWORKING PAGE STYLES (Matching Reference Design)
   ========================================================================== */
/* 1. Hero Section */
.hw-hero-section {
  position: relative;
  padding: 160px 24px 80px;
  background-color: #ffffff;
  background-image: url('../img/hardware-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hw-hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hw-hero-content {
  text-align: left;
  max-width: 530px;
  z-index: 2;
}

.hw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 105, 255, 0.08);
  color: #1769ff;
  border: 1px solid rgba(23, 105, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hw-hero-title {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hw-hero-title .hw-highlight {
  color: #1769ff;
}

.hw-hero-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  max-width: 400px;
  margin-bottom: 28px;
}

.hw-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1769ff;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(23, 105, 255, 0.28);
  border: none;
  cursor: pointer;
}

.hw-btn-primary:hover {
  background: #0f52d6;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.38);
}

.hw-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1e293b;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.25s ease;
  cursor: pointer;
}

.hw-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. CORE SERVICES (3 Large Premium Cards)
   ========================================================================== */
.hw-services-section {
  padding: 85px 24px;
  background: #ffffff;
}

.hw-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hw-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.hw-section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1769ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hw-section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hw-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hw-service-card {
  background: #ffffff;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hw-service-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(23, 105, 255, 0.09);
}

.hw-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.hw-icon-blue {
  background: #eff6ff;
  color: #1d4ed8;
}

.hw-icon-purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.hw-icon-green {
  background: #ecfdf5;
  color: #047857;
}

.hw-service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.hw-service-card p {
  font-size: 0.93rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 26px;
  flex-grow: 1;
}

.hw-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1769ff;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.hw-card-link:hover {
  color: #0f52d6;
  gap: 10px;
}

/* ==========================================================================
   3. INFRASTRUCTURE CAPABILITIES (12 Icons Grid)
   ========================================================================== */
.hw-capabilities-section {
  padding: 70px 24px;
  background: #f8fbff;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.hw-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.hw-capability-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.hw-capability-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 105, 255, 0.08);
}

.hw-cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.hw-capability-card:hover .hw-cap-icon-box {
  background: #1769ff;
  color: #ffffff;
}

.hw-capability-card span {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

/* ==========================================================================
   4. HOW WE SUPPORT YOUR INFRASTRUCTURE (7 Connected Steps)
   ========================================================================== */
.hw-process-section {
  padding: 85px 24px;
  background: #ffffff;
}

.hw-timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
  margin-top: 40px;
}

.hw-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hw-step-circle-box {
  position: relative;
  margin-bottom: 16px;
}

.hw-step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1769ff;
  box-shadow: 0 4px 12px rgba(23, 105, 255, 0.08);
  transition: all 0.3s ease;
}

.hw-timeline-step:hover .hw-step-circle {
  border-color: #1769ff;
  background: #1769ff;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(23, 105, 255, 0.25);
}

.hw-timeline-step strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.hw-timeline-step span {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
  max-width: 140px;
}

/* ==========================================================================
   5. WHY CHOOSE IT WAYS? (Split Layout with Image)
   ========================================================================== */
.hw-why-section {
  padding: 85px 24px;
  background: #f8fbff;
  border-top: 1px solid #edf2f7;
}

.hw-why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hw-why-img-box {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.hw-why-img-box img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.hw-why-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hw-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.hw-why-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.08);
}

.hw-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hw-why-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.hw-why-card p {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.55;
}

/* ==========================================================================
   6. FINAL CTA BANNER (Deep Blue Glowing Tech Bar)
   ========================================================================== */
.hw-cta-section {
  padding: 70px 24px;
  background: #ffffff;
}

.hw-cta-box {
  background: radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.2) 0%, transparent 60%),
    linear-gradient(135deg, #0b2265 0%, #0d389a 50%, #1769ff 100%);
  border-radius: 20px;
  padding: 42px 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(11, 34, 101, 0.25);
  position: relative;
  overflow: hidden;
}

.hw-cta-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hw-cta-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 6px 0 8px;
}

.hw-cta-text p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.hw-cta-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0b2265;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.hw-cta-btn-white:hover {
  background: #f0f6ff;
  color: #1769ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .hw-hero-section {
    background-image:
      linear-gradient(to right, rgba(248, 251, 255, 0.96) 0%, rgba(248, 251, 255, 0.9) 100%),
      url('../img/hardware-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 130px 20px 60px;
    min-height: auto;
  }

  .hw-hero-container {
    justify-content: center;
    text-align: center;
  }

  .hw-hero-content {
    text-align: center;
    max-width: 700px;
  }

  .hw-hero-desc {
    margin: 0 auto 30px;
  }

  .hw-hero-actions {
    justify-content: center;
  }

  .hw-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hw-capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hw-timeline-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .hw-why-split {
    grid-template-columns: 1fr;
  }

  .hw-cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .hw-hero-title {
    font-size: 2.2rem;
  }

  .hw-services-grid {
    grid-template-columns: 1fr;
  }

  .hw-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hw-timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .hw-why-cards-grid {
    grid-template-columns: 1fr;
  }

  .hw-cta-box {
    padding: 30px 20px;
  }

  .hw-cta-text h2 {
    font-size: 1.5rem;
  }
}