/* ==========================================================================
   COMPUTER NETWORKING PAGE STYLES
   ========================================================================== */

/* 1. Hero Section (Left Clean Copy / Right Half Background View) */
.net-hero-section {
  position: relative;
  padding: 160px 24px 80px;
  background-color: #ffffff;
  background-image: linear-gradient(to right, #ffffff 40%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0) 75%), url('../img/networking-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.net-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;
}

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

.net-hero-title .net-highlight {
  color: #1769ff;
  background: linear-gradient(135deg, #1769ff 0%, #7657f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.net-hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 500px;
  margin-bottom: 30px;
}

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

.net-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1769ff;
  color: #ffffff;
  padding: 14px 28px;
  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;
}

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

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

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

/* 50% Right Visual: Network Topology & Equipment Stack */
.net-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.net-visual-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(23, 105, 255, 0.18);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(23, 105, 255, 0.08);
  position: relative;
  z-index: 2;
}

.net-rack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.net-rack-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.net-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: netPulse 2s infinite;
}

@keyframes netPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.net-rack-unit {
  background: #0f172a;
  border-radius: 14px;
  padding: 16px;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.08);
}

.net-unit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 10px;
}

.net-ports-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.net-port {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 4px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.net-port.active::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.net-port.amber::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.net-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.net-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.net-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1769ff;
}

.net-metric-lbl {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

/* Common Container & Sections */
.net-container {
  max-width: 1280px;
  margin: 0 auto;
}

.net-section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}

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

.net-section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.net-section-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-top: 12px;
}

/* 2. Services / Workflow Grid */
.net-services-section {
  padding: 90px 24px;
  background: #f8faff;
}

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

.net-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 34px 28px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.net-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 105, 255, 0.4);
  box-shadow: 0 20px 40px rgba(23, 105, 255, 0.1);
}

.net-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.net-icon-blue { background: rgba(23, 105, 255, 0.1); color: #1769ff; }
.net-icon-purple { background: rgba(118, 87, 245, 0.1); color: #7657f5; }
.net-icon-green { background: rgba(19, 183, 121, 0.1); color: #13b779; }
.net-icon-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.net-icon-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.net-icon-rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }

.net-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.net-card p {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.net-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.net-card-features li {
  font-size: 0.86rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 500;
}

.net-card-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* 3. Split Feature Showcase (Planning -> Security) */
.net-showcase-section {
  padding: 90px 24px;
  background: #ffffff;
}

.net-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.net-showcase-row.reverse {
  direction: rtl;
}

.net-showcase-row.reverse > * {
  direction: ltr;
}

.net-showcase-text h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.net-showcase-text p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

.net-points-list {
  display: grid;
  gap: 12px;
}

.net-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: 12px;
}

.net-point-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(23, 105, 255, 0.1);
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.net-point-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.net-point-item span {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
}

.net-showcase-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 36px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.net-showcase-box h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #60a5fa;
}

.net-showcase-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 4. Why Choose IT Ways (Benefits Grid) */
.net-why-section {
  padding: 90px 24px;
  background: #f8faff;
}

.net-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.net-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.net-why-card:hover {
  transform: translateY(-4px);
  border-color: #1769ff;
  box-shadow: 0 16px 32px rgba(23, 105, 255, 0.08);
}

.net-why-card .net-why-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(23, 105, 255, 0.08);
  color: #1769ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

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

.net-why-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* 5. Final CTA Banner */
.net-cta-section {
  padding: 0 24px 90px;
  background: #f8faff;
}

.net-cta-box {
  background: linear-gradient(135deg, #1769ff 0%, #4338ca 100%);
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(23, 105, 255, 0.3);
}

.net-cta-text h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.net-cta-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

.net-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1769ff;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.net-cta-btn:hover {
  transform: translateY(-3px);
  background: #f8faff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .net-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .net-hero-content {
    text-align: center;
  }
  .net-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .net-hero-actions {
    justify-content: center;
  }
  .net-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .net-showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .net-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .net-hero-title {
    font-size: 2.1rem;
  }
  .net-services-grid {
    grid-template-columns: 1fr;
  }
  .net-why-grid {
    grid-template-columns: 1fr;
  }
  .net-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}
