/* =============================================
   pages/services.css — Services Overview Page, Services Hero, Dashboard Visual
   ============================================= */
/* =============================
   SERVICES OVERVIEW PAGE
   ============================= */

/* Hero section */
.hero-section.bg-services {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  padding: 90px 0;
}

.hero-section.bg-services .hero-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-section.bg-services .hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-section.bg-services .hero-buttons {
  gap: 16px;
}

/* Icon circle */
.hero-section.bg-services .services-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 3rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Page heading */
.services-overview h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 30px;
}

/* Service cards */
.services-overview .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;
}

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

/* .services-overview .card-title / .card-text — duplicate removed.
   Canonical definition below (font-size: 1.3rem / line-height: 1.7 version). */

/* Buttons */
.services-overview .hero-btn-primary {
  background: linear-gradient(135deg, #f19839, #f58220);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.services-overview .hero-btn-primary:hover {
  background: linear-gradient(135deg, #f58220, #ff7b00);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(241, 152, 57, 0.3);
}

/* =============================
   CYBERSECURITY SERVICE PAGE
   ============================= */

/* Hero section (same gradient as rest of site) */
.hero-section.bg-cyber {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  padding: 90px 0;
}

.hero-section.bg-cyber .hero-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-section.bg-cyber .hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero-section.bg-cyber .hero-buttons {
  gap: 16px;
}

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

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

/* Service cards on Cybersecurity page */
.cyber-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;
}

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

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

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

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

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

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

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

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

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

.cyber-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);
}

/* Service Overview page */

/* ============================= */
/* SERVICES OVERVIEW GRID */
/* ============================= */

.services-overview {
  padding: 120px 0;
  background: #f8fafc;
}

.services-overview h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

.services-overview h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #f19839, #f58220);
  border-radius: 2px;
}

.service-icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f19839, #f58220);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}
/* ============================= */
/* SERVICES HERO SECTION */
/* ============================= */

.hero-section.bg-services {
  padding: 120px 0 120px;
  background: linear-gradient(135deg, #0f1c3f 0%, #1e293b 100%);
  color: #fff;
}

.hero-section .hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-section .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 550px;
}

/* Hero Buttons */
.hero-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #f19839, #f58220);
  color: #fff;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(241, 152, 57, 0.4);
  color: #fff;
}

.hero-btn-secondary {
  display: inline-block;
  margin-left: 15px;
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ============================= */
/* HERO DASHBOARD VISUAL         */
/* ============================= */

.hero-dashboard-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-dashboard {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  max-width: 460px;
  width: 100%;
  animation: dashFloat 7s ease-in-out infinite;
}

@keyframes dashFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scan line */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(241, 152, 57, 0.85) 50%,
    transparent 100%
  );
  animation: scanDown 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes scanDown {
  0% {
    top: 54px;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 76px);
    opacity: 0;
  }
}

/* Header */
.db-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hdots {
  display: flex;
  gap: 5px;
}

.hdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hdot-r {
  background: #ff5f57;
}
.hdot-a {
  background: #ffbd2e;
}
.hdot-g {
  background: #28c840;
}

.db-title {
  flex: 1;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: liveBlink 1.4s ease-in-out infinite;
}

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

/* Service rows */
.svc-list {
  padding: 4px 0;
}

.svc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(16px);
  animation: rowSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.1s + 0.25s);
  transition: background 0.2s ease;
}

.svc-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.svc-item.managed {
  background: rgba(241, 152, 57, 0.07);
  border-left: 2px solid #f19839;
  border-bottom: none;
}

@keyframes rowSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: dotGlow 2.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.35s);
}

.managed .svc-dot {
  background: #f19839;
  animation-name: dotGlowGold;
}

@keyframes dotGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  60% {
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0);
  }
}

@keyframes dotGlowGold {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(241, 152, 57, 0.6);
  }
  60% {
    box-shadow: 0 0 0 5px rgba(241, 152, 57, 0);
  }
}

.svc-name {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.managed .svc-name {
  color: rgba(255, 255, 255, 0.95);
}

.svc-bar-wrap {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.svc-bar {
  height: 100%;
  width: 80%;
  background: linear-gradient(90deg, #4ade80, #22d3ee);
  border-radius: 2px;
  animation: barBreath 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.4s);
}

.managed .svc-bar {
  background: linear-gradient(90deg, #f19839, #f58220);
}

@keyframes barBreath {
  0%,
  100% {
    width: 72%;
  }
  50% {
    width: 100%;
  }
}

.svc-tag {
  font-size: 0.62rem;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc-tag.gold {
  background: rgba(241, 152, 57, 0.15);
  color: #f19839;
}

/* Footer */
.db-footer {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.db-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  animation: rowSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.05s;
}

.db-metric:last-child {
  border-right: none;
}

.metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f19839;
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  text-align: center;
}

@media (max-width: 991px) {
  .hero-dashboard {
    margin-top: 50px;
  }
}
/* Technology Platforms */
/* =================================
 /* =================================
   TRUSTED TECHNOLOGY PLATFORMS
   (DARK VERSION - FIXED)
================================= */

.technology-platforms {
  background: #0f1c2e; /* KEEP DARK */
  color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

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

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

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

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

  min-width: 140px; /* 🔥 FIXED (not max-width) */
  height: 70px;

  background: #ffffff;
  border-radius: 6px;
  padding: 8px 14px;

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

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

/* Logos */
.logo-item img {
  max-height: 55px;
  max-width: 140px;
  object-fit: contain;
}

/* Hover (FIXED - no clipping, smooth) */
.logo-item:hover {
  transform: translateY(-3px); /* 🔥 reduced movement */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

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

.services-overview .card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  transition: all 0.35s ease;
  padding: 10px;
}

.services-overview .card-body {
  padding: 35px 25px;
}

.services-overview .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 15px;
}

.services-overview .card-text {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Hover effect */
.services-overview .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* Highlighted Managed Services Card */
.services-overview .card[style] {
  border: 2px solid #f19839 !important;
  box-shadow: 0 20px 45px rgba(241, 152, 57, 0.15);
}

@media (max-width: 992px) {
  .hero-section.bg-services {
    padding: 140px 0 100px;
    text-align: center;
  }

  .services-overview {
    padding: 90px 0;
    text-align: center;
  }
}
