/* =============================================
   pages/hardware-networking.css — Hardware & Networking Service Page
   ============================================= */
/* =============================
   HARDWARE & NETWORKING SERVICE
   ============================= */
/* ============================= */
/* HARDWARE & NETWORKING HERO    */
/* ============================= */

.hw-hero {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}

/* Background */
.hw-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, #091228 0%, #122246 45%, #193264 100%);
}

.hw-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Orbs */
.hw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: hwOrbDrift 14s ease-in-out infinite;
}
.hw-orb-1 {
  width: 320px;
  height: 320px;
  background: #1e4fd8;
  opacity: 0.13;
  top: -80px;
  right: 80px;
}
.hw-orb-2 {
  width: 200px;
  height: 200px;
  background: #f19839;
  opacity: 0.09;
  bottom: -50px;
  right: 20px;
  animation-delay: -7s;
}
@keyframes hwOrbDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-16px, 12px);
  }
}

/* Layout */
.hw-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  width: 100%;
}

/* ---- LEFT ---- */
.hw-hero-text {
  color: #fff;
}

.hw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f19839;
  margin-bottom: 16px;
  opacity: 0;
  animation: hwFadeUp 0.5s ease forwards;
  animation-delay: 0.1s;
}

.hw-eyebrow-dot {
  width: 10px;
  height: 10px;
  background: #f19839;
  border-radius: 50%;
  flex-shrink: 0;
  animation: hwBlink 1.6s ease-in-out infinite;
}

@keyframes hwBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.hw-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  opacity: 0;
  animation: hwFadeUp 0.55s ease forwards;
  animation-delay: 0.2s;
}
.hw-hero-title span {
  color: #f19839;
}

.hw-hero-sub {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 26px;
  opacity: 0;
  animation: hwFadeUp 0.55s ease forwards;
  animation-delay: 0.3s;
}

.hw-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
  animation: hwFadeUp 0.55s ease forwards;
  animation-delay: 0.4s;
}

.hw-stats {
  display: flex;
  gap: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: hwFadeUp 0.5s ease forwards;
  animation-delay: 0.88s;
}

.hw-stat {
  display: flex;
  flex-direction: column;
  padding: 0 20px 0 0;
}
.hw-stat + .hw-stat {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hw-stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f19839;
  letter-spacing: -0.02em;
}
.hw-stat-lbl {
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 2px;
}

@keyframes hwFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- RIGHT — DIAGRAM ---- */
.hw-hero-viz {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: hwFadeUp 0.7s ease forwards;
  animation-delay: 0.55s;
  width: 100%;
}

.hw-diagram {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* SVG overlay */
.hw-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Tiers */
.hw-tier {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 20px 0 0;
}

.hw-tier-1 {
  padding-top: 8px;
}

/* End devices row */
.hw-tier-end {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 0 8px;
}

/* Device node */
.hw-dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: hwDevIn 0.4s ease forwards;
  animation-delay: calc(var(--d) * 0.09s + 0.7s);
}

@keyframes hwDevIn {
  to {
    opacity: 1;
  }
}

.hw-dev-box {
  border-radius: 10px;
  background: rgba(10, 20, 52, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px;
  min-width: 58px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
  cursor: default;
}

.hw-dev:hover .hw-dev-box {
  border-color: rgba(241, 152, 57, 0.5);
  transform: scale(1.06);
}

.hw-dev-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-dev-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hw-dev-name {
  font-size: 0.48rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
  margin-top: 2px;
}

/* Device type colors */
.hw-dev-cloud .hw-dev-box {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
}
.hw-dev-cloud .hw-dev-icon svg {
  stroke: #60a5fa;
}

.hw-dev-router .hw-dev-box {
  background: rgba(241, 152, 57, 0.08);
  border-color: rgba(241, 152, 57, 0.3);
}
.hw-dev-router .hw-dev-icon svg {
  stroke: #f19839;
}

.hw-dev-firewall .hw-dev-box {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.hw-dev-firewall .hw-dev-icon svg {
  stroke: #ef4444;
}

/* Switch — featured, pulsing */
.hw-dev-switch .hw-dev-box {
  background: rgba(241, 152, 57, 0.1);
  border-color: rgba(241, 152, 57, 0.45);
  padding: 12px 18px;
  min-width: 80px;
  animation: hwSwitchPulse 3s ease-in-out infinite;
}
.hw-dev-switch .hw-dev-icon svg {
  stroke: #f19839;
}
@keyframes hwSwitchPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(241, 152, 57, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(241, 152, 57, 0.05);
  }
}

/* End device colors */
.hw-dev-wifi .hw-dev-icon svg {
  stroke: #34d399;
}
.hw-dev-server .hw-dev-icon svg {
  stroke: #60a5fa;
}
.hw-dev-nas .hw-dev-icon svg {
  stroke: #a78bfa;
}
.hw-dev-endpoint .hw-dev-icon svg {
  stroke: rgba(255, 255, 255, 0.65);
}

/* Status strip */
.hw-status-strip {
  display: flex;
  gap: 0;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
}

.hw-ss-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.hw-ss-item:last-child {
  border-right: none;
}

.hw-ss-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #f19839;
  letter-spacing: -0.01em;
}
.hw-ss-lbl {
  font-size: 0.48rem;
  color: rgba(255, 255, 255, 0.32);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 3px;
  text-align: center;
}

/* =================================
   TECHNOLOGY PARTNERS (HARDWARE PAGE FIX)
   ================================= */

/* Keep your light background */
.hardware-partners {
  background: #f8f9fa; /* same as bg-light */
}

/* Slider wrapper */
.hardware-partners .logo-slider {
  overflow: hidden;
  width: 100%;
  padding: 12px 0; /* 🔥 prevents hover clipping */
}

/* Track */
.hardware-partners .logo-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: tech-scroll 40s linear infinite;
}

/* Pause on hover */
.hardware-partners .logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* Logo cards */
.hardware-partners .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;
  height: 65px;

  padding: 6px 10px;
  background: #ffffff;
  border-radius: 6px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Logos */
.hardware-partners .logo-item img {
  max-height: 36px;
  max-width: 80%;
  object-fit: contain;
}

/* Hover fix (NO merging / clipping) */
.hardware-partners .logo-item:hover {
  transform: translateY(-2px); /* 🔥 reduced */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes tech-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ============================= */
/* RESPONSIVE                    */
/* ============================= */

@media (max-width: 992px) {
  .hw-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hw-hero-sub {
    max-width: 100%;
  }
  .hw-diagram {
    max-width: 340px;
    margin: 0 auto;
  }
  .hw-status-strip {
    max-width: 340px;
  }
}

@media (max-width: 576px) {
  .hw-hero-buttons {
    flex-direction: column;
  }
  .hw-stats {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hw-diagram {
    max-width: 300px;
  }
  .hw-status-strip {
    max-width: 300px;
  }
  .hw-dev-box {
    padding: 8px 9px;
    min-width: 50px;
  }
  .hw-dev-switch .hw-dev-box {
    padding: 10px 14px;
    min-width: 68px;
  }
  .hw-dev-name {
    font-size: 0.42rem;
  }
}

/* Problem → Solution section */
.hardware-problem-solution h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 16px;
}

.hardware-problem-solution p {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

/* Service Cards (identical system) */
.hardware-service-cards .card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hardware-service-cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.hardware-service-cards .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 8px;
}

.hardware-service-cards .card-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Benefits */
.hardware-benefits li {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 12px;
}

.hardware-benefits li strong {
  color: #0f1c3f;
}

/* CTA */
.hardware-cta {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.hardware-cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hardware-cta .lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hardware-cta .hero-btn-primary {
  background: linear-gradient(135deg, #f19839, #f58220);
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hardware-cta .hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(241, 152, 57, 0.35);
  background: linear-gradient(135deg, #f58220, #ff7b00);
}

/* =============================
HARDWARE HOW IT WORKS
============================= */

.hero-section.bg-hardware-howitworks {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  padding: 90px 0;
}

.process-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
}

.process-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0f1c3f;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: 700;
  font-size: 20px;
}

.stack-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.monitor-icon {
  font-size: 70px;
  background: #0f1c3f;
  color: white;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: auto;
}

.monitor-list {
  list-style: none;
  padding: 0;
}

.monitor-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.monitor-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}
