/* ============================ */
/*    Armed Security (Page Specific) */
/* ============================ */

/* ============================ */
/*    Armed Hero (HUD Overlay) */
/* ============================ */

#armed-security.individual-hero-container {
  padding-top: 10rem;
  padding-bottom: 10rem;
  background-image:
    linear-gradient(90deg, rgba(20, 19, 27, 0.92) 0%, rgba(20, 19, 27, 0.72) 55%, rgba(20, 19, 27, 0.92) 100%),
    linear-gradient(180deg, #14131b 15%, #004aad10 100%),
    url("../assets/photos/service-armed-security-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.armed-hero-visual-section {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem 4rem 2rem;
  color: white;
  background: linear-gradient(180deg, #14131b 0%, #004aad10 100%);
}
@media (max-width: 700px) {
  .armed-hero-visual-section {
    padding: 2.5rem 1rem 4rem 1rem;
  }
}

.armed-hero-visual-section-wrap {
  width: 100%;
  max-width: 1225px;
}

.armed-hero-visual-section .armed-hero-visual-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  gap: 1.5rem;
}

.armed-grid-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding-bottom: 1rem;
  gap: 1rem;
}
.armed-grid-title h2 {
  font-size: 2.5rem;
}
.armed-grid-title h2 span {
  color: #4c98ff;
}
.armed-grid-title p {
  font-size: 1.2rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}
.armed-grid-title a {
  font-size: 1.15rem;
  font-family: "Quicksand", sans-serif;
  color: #4c98ff90;
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}
.armed-grid-title a:hover {
  color: #4c98ff;
}
.armed-grid-title .text-divider {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: #004aad;
}

.armed-hero-visual-section .armed-hero-image {
  position: relative;
  overflow: hidden;
}

.armed-hero-visual-section .armed-hero-image img {
  transform: scale(1.02);
}

.armed-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.armed-hero-logo {
  position: absolute;
  width: 35%;
  height: auto;
  z-index: 500;
}

.armed-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.armed-hero-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 74, 173, 0.08) 0px,
      rgba(0, 74, 173, 0.08) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 74, 173, 0.08) 0px,
      rgba(0, 74, 173, 0.08) 1px,
      transparent 1px,
      transparent 18px
    );
  opacity: 0.55;
  mix-blend-mode: screen;
}

.armed-hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.armed-hero-route path {
  fill: none;
  stroke: rgba(76, 152, 255, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2.2 3.4;
  animation: armedHeroRoute 10s linear infinite;
}

.armed-hero-markers {
  position: absolute;
  inset: 0;
}

.armed-hero-marker {
  position: absolute;
  display: inline-flex;
  justify-content: start;
  align-items: center;
  gap: 0.45rem;
  transform: translate(-50%, -50%);
}

.armed-hero-marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4c98ff;
  box-shadow: 0 0 0 0 rgba(76, 152, 255, 0.35);
  animation: armedHeroMarkerPulse 2.8s ease-in-out infinite;
}

.armed-hero-marker-label {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  border-color: #004aad50;
  background: linear-gradient(135deg, #14131bd0 0%, #0d1629cc 100%);
  font-size: 0.95rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.armed-hero-marker.m1 {
  left: 22%;
  top: 28%;
}
.armed-hero-marker.m2 {
  left: 73.5%;
  top: 28%;
}
.armed-hero-marker.m3 {
  left: 79.5%;
  top: 72%;
}
.armed-hero-marker.m4 {
  left: 25%;
  top: 72%;
}

.armed-hero-marker.m1 .armed-hero-marker-dot {
  animation-delay: 0.2s;
}
.armed-hero-marker.m2 .armed-hero-marker-dot {
  animation-delay: 1.1s;
}
.armed-hero-marker.m3 .armed-hero-marker-dot {
  animation-delay: 1.8s;
}
.armed-hero-marker.m4 .armed-hero-marker-dot {
  animation-delay: 0.6s;
}

.armed-hero-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: rgba(76, 152, 255, 0.55);
  border-style: solid;
  opacity: 0.9;
}

.armed-hero-corner.tl {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}
.armed-hero-corner.tr {
  top: 12px;
  right: 12px;
  border-width: 2px 2px 0 0;
}
.armed-hero-corner.bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2px 2px;
}
.armed-hero-corner.br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.armed-hero-card-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.armed-hero-card {
  display: flex;
  justify-content: start;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 15px;
  border-width: 1.5px;
  border-style: solid;
  border-color: #004aad50;
  background: linear-gradient(135deg, #14131b75 0%, #004aad25 100%);
}

/* Stagger hero card entrances */
.armed-hero-visual-section .armed-hero-card[data-animate="fade-left"] {
  transition-delay: 0s;
}
.armed-hero-visual-section .armed-hero-card-wrap .armed-hero-card:nth-child(1) {
  transition-delay: 0.05s;
}
.armed-hero-visual-section .armed-hero-card-wrap .armed-hero-card:nth-child(2) {
  transition-delay: 0.15s;
}
.armed-hero-visual-section .armed-hero-card-wrap .armed-hero-card:nth-child(3) {
  transition-delay: 0.25s;
}
.armed-hero-visual-section .armed-hero-card-wrap .armed-hero-card:nth-child(4) {
  transition-delay: 0.35s;
}

.armed-hero-card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  padding: 10px;
  background: #14131b;
  border-width: 1px;
  border-style: solid;
  border-color: #004aad50;
}

.armed-hero-card-icon img {
  width: 100%;
  height: 100%;
}

.armed-hero-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.armed-hero-card-text h4 {
  font-size: 1.35rem;
  font-family: "Montserrat", sans-serif;
  color: white;
}

.armed-hero-card-text p {
  font-size: 1.05rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes armedHeroRoute {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -26;
  }
}

@keyframes armedHeroMarkerPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(76, 152, 255, 0.25);
    opacity: 0.85;
  }
  55% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(76, 152, 255, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(76, 152, 255, 0);
    opacity: 0.75;
  }
}

@media (max-width: 1000px) {
  .armed-hero-visual-section .armed-hero-visual-wrap {
    grid-template-columns: 1fr;
  }
  .armed-hero-marker-label {
    font-size: 0.9rem;
  }

  /* Reduce visual noise on smaller screens */
  .armed-hero-marker-dot {
    display: none;
  }
  .armed-hero-marker {
    gap: 0;
  }
}

@media (max-width: 700px) {
  .armed-hero-card {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .armed-hero-route path,
  .armed-hero-marker-dot {
    animation: none;
  }
}

/* ============================ */
/*    Perimeter Monitoring / Radar Section */
/* ============================ */

.armed-radar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2rem 4rem 2rem;
  color: white;
  background: linear-gradient(180deg, #004aad10 0%, #004aad10 100%);
  overflow: hidden;
}

.armed-radar-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 1225px;
  z-index: 50;
}

.armed-radar-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.armed-radar-screen {
  position: relative;
  width: min(400px, 85vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border-width: 2px;
  border-style: solid;
  border-color: #004aad75;
  background: radial-gradient(
    circle at center,
    #14131b 0%,
    #0d1629 55%,
    #14131b 100%
  );
  overflow: hidden;
  filter: saturate(1.05);
}

.armed-radar-rings {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      transparent 0 17%,
      #004aad35 17.5% 18%,
      transparent 18.5% 34%,
      #004aad25 34.5% 35%,
      transparent 35.5% 50%,
      #004aad20 50.5% 51%,
      transparent 51.5% 66%,
      #004aad15 66.5% 67%,
      transparent 67.5% 100%
    ),
    radial-gradient(circle at center, #4c98ff10 0%, transparent 60%);
  opacity: 0.9;
}

.armed-radar-cross {
  position: absolute;
  inset: 0;
}
.armed-radar-cross::before,
.armed-radar-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #004aad60 35%,
    #4c98ff40 50%,
    #004aad60 65%,
    transparent 100%
  );
  transform: translate(-50%, -50%);
}
.armed-radar-cross::after {
  width: 1px;
  height: 130%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #004aad60 35%,
    #4c98ff40 50%,
    #004aad60 65%,
    transparent 100%
  );
}

.armed-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(76, 152, 255, 0) 260deg,
    rgba(76, 152, 255, 0.05) 285deg,
    rgba(76, 152, 255, 0.35) 330deg,
    rgba(76, 152, 255, 0) 360deg
  );
  animation: armedRadarSweep 3.5s linear infinite;
  mix-blend-mode: screen;
  will-change: transform;

  /* Prevent the sweep from brightening the outer border */
  -webkit-mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 88%,
    transparent 94%
  );
  mask-image: radial-gradient(
    circle at center,
    #000 0%,
    #000 88%,
    transparent 94%
  );
}

.armed-radar-blips {
  position: absolute;
  inset: 0;
}

.armed-radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4c98ff;
  box-shadow: 0 0 0 0 rgba(76, 152, 255, 0.35);
  opacity: 0.9;
  animation: armedRadarPing 2.6s ease-in-out infinite;
}

.armed-radar-blip.b1 {
  left: 22%;
  top: 28%;
  animation-delay: 0.2s;
}
.armed-radar-blip.b2 {
  left: 64%;
  top: 22%;
  animation-delay: 0.9s;
}
.armed-radar-blip.b3 {
  left: 72%;
  top: 58%;
  animation-delay: 1.5s;
}
.armed-radar-blip.b4 {
  left: 38%;
  top: 68%;
  animation-delay: 2.1s;
}
.armed-radar-blip.b5 {
  left: 49%;
  top: 44%;
  animation-delay: 1.1s;
}

.armed-radar-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 65% 70%,
      rgba(76, 152, 255, 0.08) 0%,
      transparent 45%
    );
  pointer-events: none;
}

.armed-radar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
}

.armed-radar-content h2 {
  font-size: 2.5rem;
}

.armed-radar-content h2 span {
  color: #4c98ff;
}

.armed-radar-content p {
  font-size: 1.2rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
}

.armed-radar-content .text-divider {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: #004aad;
}

.armed-radar-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.5rem 0rem 0rem 0rem;
  padding: 0;
  width: 100%;
}

@media (min-width: 1001px) {
  .armed-radar-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.armed-radar-points li {
  display: flex;
  justify-content: start;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: #004aad35;
  background: linear-gradient(135deg, #14131b75 0%, #004aad15 100%);
}

.armed-radar-points img {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
  opacity: 0.9;
}

.armed-radar-points span {
  font-size: 1.1rem;
  font-family: "Quicksand", sans-serif;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes armedRadarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes armedRadarPing {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(76, 152, 255, 0.25);
    opacity: 0.9;
  }
  55% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(76, 152, 255, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(76, 152, 255, 0);
    opacity: 0.75;
  }
}

@media (max-width: 1000px) {
  .armed-radar-container {
    padding: 3.5rem 1rem;
  }
  .armed-radar-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .armed-radar-content h2 {
    font-size: 2.25rem;
  }
  .armed-radar-screen {
    width: min(420px, 88vw);
  }
}

@media (max-width: 600px) {
  .armed-radar-content h2 {
    font-size: 2rem;
  }
  .armed-radar-points li {
    padding: 0.75rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .armed-radar-sweep {
    animation: none;
  }
  .armed-radar-blip {
    animation: none;
    opacity: 0.85;
    box-shadow: 0 0 0 10px rgba(76, 152, 255, 0.08);
  }
}
