/* ══════════════════════════════════════════════════════════════
   AISHAN TECHNOLOGIES — INFRA SECURITY SOLUTIONS PAGE
   Loaded only on services/infra-solutions.php
   ══════════════════════════════════════════════════════════════ */

/* ─── INTRO SECTION ──────────────────────────────────────────── */
.infra-intro-section {
  background: var(--a-bg);
}

/* ─── INFRA CARDS (4 solution cards) ─────────────────────────── */
.infra-cards-section {
  background: var(--a-bg-elevated);
  border-top: 1px solid var(--a-border);
  border-bottom: 1px solid var(--a-border);
}

.infra-card {
  position: relative;
  background: var(--a-bg);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--a-transition);
  overflow: hidden;
  text-align: center;
}
.infra-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a-red), var(--a-red-dim));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--a-transition);
}
.infra-card:hover {
  border-color: var(--a-red);
  background: var(--a-bg-2);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.infra-card:hover::before { transform: scaleX(1); }

.infra-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--a-radius-sm);
  background: var(--a-red-soft);
  color: var(--a-red-hov);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all var(--a-transition);
}
.infra-card:hover .infra-icon {
  background: var(--a-red);
  color: #fff;
  transform: scale(1.06);
}

.infra-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--a-text);
}
.infra-desc {
  color: var(--a-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── MILESTONE (2010) ───────────────────────────────────────── */
.milestone-section {
  background: var(--a-bg);
}

.milestone-badge {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--a-red) 0%, var(--a-red-dim) 100%);
  border-radius: var(--a-radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(220, 38, 38, 0.35);
}
.milestone-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.milestone-badge > * { position: relative; z-index: 1; }

.milestone-year {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.milestone-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── DEPLOY CHIPS (environments) ────────────────────────────── */
.deploy-strip-section {
  background: var(--a-bg-elevated);
  border-top: 1px solid var(--a-border);
  border-bottom: 1px solid var(--a-border);
}

.deploy-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem 0.75rem;
  background: var(--a-bg);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  text-align: center;
  height: 100%;
  transition: all var(--a-transition);
}
.deploy-chip i {
  font-size: 1.6rem;
  color: var(--a-red-hov);
  transition: all var(--a-transition);
}
.deploy-chip span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--a-text);
  line-height: 1.3;
}
.deploy-chip:hover {
  border-color: var(--a-red);
  background: var(--a-bg-2);
  transform: translateY(-3px);
}
.deploy-chip:hover i {
  color: var(--a-red);
  transform: scale(1.1);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .infra-card { padding: 1.5rem 1.25rem; }
  .infra-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .milestone-badge { padding: 2rem 1.25rem; }
}