/* ========================================
   Cyber Security Service Page Enhancement
   Quantique Minds - Enterprise Security Excellence
   ======================================== */

/* Security-themed color variables */
:root {
  --color-security-primary: #0F172A;
  --color-security-danger: #DC2626;
  --color-security-success: #059669;
  --color-security-warning: #F59E0B;
  --color-security-info: #0891B2;
  --gradient-security: linear-gradient(135deg, #0F172A, #1E293B, #374151);
  --gradient-alert: linear-gradient(135deg, #DC2626, #EF4444);
  --gradient-safe: linear-gradient(135deg, #059669, #10B981);
}

/* Professional Security Service Cards */
.cyber-security-theme .service-detail-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(220, 38, 38, 0.15);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cyber-security-theme .service-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-alert);
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-security-theme .service-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.02) 0%,
    rgba(239, 68, 68, 0.04) 50%,
    rgba(248, 113, 113, 0.02) 100%
  );
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cyber-security-theme .service-detail-card:hover {
  transform: translateY(-12px);
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 
    0 20px 64px rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(220, 38, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cyber-security-theme .service-detail-card:hover::before {
  opacity: 1;
}

.cyber-security-theme .service-detail-card:hover::after {
  opacity: 1;
}

/* Professional Security Icons */
.cyber-security-theme .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-alert);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  float: left;
  margin-right: 1.5rem;
  margin-top: 0.5rem;
}

.cyber-security-theme .service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-security-theme .service-detail-card:hover .service-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.cyber-security-theme .service-detail-card:hover .service-icon::before {
  opacity: 1;
}

/* Professional Icon Symbols */
.cyber-security-theme .service-icon .icon-symbol {
  font-size: 2rem;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Enhanced Typography */
.cyber-security-theme .service-detail-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  overflow: hidden;
}

.cyber-security-theme .service-price {
  display: inline-block;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
  color: var(--color-security-danger);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(220, 38, 38, 0.2);
  margin-bottom: 1rem;
}

.cyber-security-theme .service-detail-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
  font-weight: 400;
  clear: both;
}

.cyber-security-theme .service-detail-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 1.5rem 0 1rem 0;
  clear: both;
}

/* Professional Feature List */
.cyber-security-theme .feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}

.cyber-security-theme .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--neutral-600);
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(220, 38, 38, 0.05);
}

.cyber-security-theme .feature-list li:last-child {
  border-bottom: none;
}

.cyber-security-theme .feature-list li::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--gradient-safe);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.cyber-security-theme .feature-list li::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: -20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cyber-security-theme .feature-list li:hover {
  color: var(--neutral-700);
  transform: translateX(4px);
  background: rgba(5, 150, 105, 0.02);
  border-radius: 8px;
  margin: 0 -0.5rem;
  padding-left: 1.25rem;
}

/* Specific Icon Colors for Security Services */
.cyber-security-theme .service-detail-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, #7C2D12, #EA580C); /* Assessment - Orange */
}

.cyber-security-theme .service-detail-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #DC2626, #EF4444); /* SOC - Red */
}

.cyber-security-theme .service-detail-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #1D4ED8, #3B82F6); /* Zero Trust - Blue */
}

.cyber-security-theme .service-detail-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #059669, #10B981); /* Compliance - Green */
}

.cyber-security-theme .service-detail-card:nth-child(5) .service-icon {
  background: linear-gradient(135deg, #7C3AED, #A855F7); /* Incident Response - Purple */
}

/* Staggered Animation */
.cyber-security-theme .service-detail-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpSecurity 0.8s ease-out forwards;
}

.cyber-security-theme .service-detail-card:nth-child(1) { animation-delay: 0.1s; }
.cyber-security-theme .service-detail-card:nth-child(2) { animation-delay: 0.2s; }
.cyber-security-theme .service-detail-card:nth-child(3) { animation-delay: 0.3s; }
.cyber-security-theme .service-detail-card:nth-child(4) { animation-delay: 0.4s; }
.cyber-security-theme .service-detail-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUpSecurity {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Benefits Grid */
.cyber-security-theme .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cyber-security-theme .benefit-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(220, 38, 38, 0.12);
  box-shadow: 
    0 6px 25px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(220, 38, 38, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cyber-security-theme .benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-alert);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-security-theme .benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(220, 38, 38, 0.25);
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(220, 38, 38, 0.15);
}

.cyber-security-theme .benefit-card:hover::before {
  opacity: 1;
}

.cyber-security-theme .benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cyber-security-theme .benefit-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-600);
  margin: 0;
  font-weight: 400;
}

/* Enhanced Stats Grid */
.cyber-security-theme .stats-grid .stat-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.cyber-security-theme .stats-grid .stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.2);
}

.cyber-security-theme .stats-grid .stat-number {
  background: var(--gradient-alert);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Security Badge Styling */
.cyber-security-theme .security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-alert);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Enhanced CTA Section */
.cyber-security-theme .cta-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
  position: relative;
  overflow: hidden;
}

.cyber-security-theme .cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(220, 38, 38, 0.2) 0%,
    transparent 50%
  );
}

/* Responsive Design */
@media (max-width: 768px) {
  .cyber-security-theme .service-detail-card {
    padding: 2rem;
  }
  
  .cyber-security-theme .service-icon {
    width: 70px;
    height: 70px;
    float: none;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cyber-security-theme .service-icon .icon-symbol {
    font-size: 1.75rem;
  }
  
  .cyber-security-theme .service-detail-card h3 {
    font-size: 1.5rem;
    clear: both;
  }
  
  .cyber-security-theme .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cyber-security-theme .benefit-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .cyber-security-theme .service-detail-card {
    padding: 1.5rem;
  }
  
  .cyber-security-theme .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .cyber-security-theme .service-icon .icon-symbol {
    font-size: 1.5rem;
  }
  
  .cyber-security-theme .service-detail-card:hover {
    transform: translateY(-8px);
  }
  
  .cyber-security-theme .benefit-card {
    padding: 1.5rem;
  }
}

/* High Contrast and Accessibility */
@media (prefers-contrast: high) {
  .cyber-security-theme .service-detail-card {
    background: white;
    border: 2px solid var(--color-primary);
  }
  
  .cyber-security-theme .service-icon {
    background: var(--color-primary);
  }
  
  .cyber-security-theme .benefit-card {
    background: white;
    border: 2px solid var(--color-primary);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cyber-security-theme .service-detail-card,
  .cyber-security-theme .service-icon,
  .cyber-security-theme .benefit-card {
    animation: none;
    transition: none;
  }
  
  .cyber-security-theme .service-detail-card:hover,
  .cyber-security-theme .benefit-card:hover {
    transform: none;
  }
}

/* Animated Decorative Elements */
.cyber-security-theme .service-detail-card .decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.cyber-security-theme .service-detail-card:hover .decoration {
  opacity: 1;
  transform: scale(1);
  animation: securityPulse 2s ease-in-out infinite;
}

@keyframes securityPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* ========================================
   Enhanced Footer Styling for Security Theme
   ======================================== */

/* Professional Security Footer */
.cyber-security-theme .footer {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    #1e293b 25%,
    #374151 50%,
    var(--color-security-primary) 100%
  );
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.cyber-security-theme .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(220, 38, 38, 0.1) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 75% 75%,
    rgba(5, 150, 105, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Professional Footer Content Grid */
.cyber-security-theme .footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

/* Enhanced Footer Sections */
.cyber-security-theme .footer-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cyber-security-theme .footer-section:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateY(-4px);
}

/* Enhanced Footer Typography */
.cyber-security-theme .footer-section h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-alert);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyber-security-theme .footer-section h4 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.cyber-security-theme .footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-alert);
}

.cyber-security-theme .footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Professional Contact Info */
.cyber-security-theme .contact-info {
  margin-top: 1.5rem;
}

.cyber-security-theme .contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.cyber-security-theme .contact-info p:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--color-security-danger);
  transform: translateX(4px);
}

/* Enhanced Footer Lists */
.cyber-security-theme .footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cyber-security-theme .footer-section ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.cyber-security-theme .footer-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-security-danger);
  font-weight: 600;
  transition: all 0.2s ease;
}

.cyber-security-theme .footer-section ul li:hover::before {
  transform: translateX(4px);
  color: var(--color-security-success);
}

/* Professional Footer Links */
.cyber-security-theme .footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.cyber-security-theme .footer-section a:hover {
  color: white;
  background: rgba(220, 38, 38, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin: -0.25rem -0.5rem;
}

.cyber-security-theme .footer-section a:hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--gradient-alert);
  border-radius: 1px;
}

/* Enhanced Footer Bottom */
.cyber-security-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cyber-security-theme .footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cyber-security-theme .footer-bottom p:last-child {
  background: var(--gradient-alert);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 1rem;
}

/* Security Badge in Footer */
.cyber-security-theme .footer-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsive Footer Design */
@media (max-width: 1024px) {
  .cyber-security-theme .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .cyber-security-theme .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .cyber-security-theme .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cyber-security-theme .footer-section {
    padding: 1.5rem;
  }
  
  .cyber-security-theme .footer-section h3 {
    font-size: 1.25rem;
  }
  
  .cyber-security-theme .contact-info p {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .cyber-security-theme .footer-section {
    padding: 1rem;
  }
  
  .cyber-security-theme .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .cyber-security-theme .footer-section h4 {
    font-size: 1rem;
  }
  
  .cyber-security-theme .contact-info p {
    padding: 0.5rem;
  }
}