/* ============================================
   STRATEGIC DEFENCE - MAIN STYLESHEET
   Organized with CSS Variables for maintainability
   ============================================ */

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.cap-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(61, 95, 58, 0.1);
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.cap-card i {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cap-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.cap-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.cap-link:hover {
  color: var(--color-accent);
  gap: var(--space-3);
}

.cap-link i {
  font-size: 12px;
  color: inherit;
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-title .line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: var(--text-xl);
  }
  
  .section-title .line {
    width: 40px;
  }
}

/* ============================================
   PRODUCT GRID - IMAGES
   ============================================ */
.img-card-link {
  cursor: pointer !important;
}

.img-card {
  cursor: pointer !important;
}

.img-card img {
  cursor: pointer !important;
}

.overlay {
  cursor: pointer !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* ============================================
   WEAPONS CAROUSEL - PISTOLS PAGE
   ============================================ */
.weapons-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--container-padding);
}

.weapons-category-nav {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.weapon-tab {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: #f5f5dc;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.weapon-tab h2 {
  margin: 0;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weapon-tab .arrow-icon {
  font-size: var(--text-xl);
  color: var(--color-accent);
  transition: transform var(--transition-normal);
}

.weapon-tab:hover,
.weapon-tab.active {
  background: var(--color-accent);
}

.weapon-tab:hover h2,
.weapon-tab.active h2 {
  color: #000;
}

.weapon-tab:hover .arrow-icon,
.weapon-tab.active .arrow-icon {
  color: #000;
  transform: translateX(5px);
}

/* Carousel Wrapper */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Carousel Content Overlay */
.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  color: white;
  z-index: 2;
}

.carousel-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.carousel-content li {
  background: var(--color-accent);
  color: #000;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dots .dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .weapons-category-nav {
    flex-direction: column;
  }
  
  .weapon-tab {
    width: 100%;
    justify-content: center;
  }
  
  .carousel-slide img {
    height: 300px;
  }
  
  .carousel-content {
    padding: var(--space-4);
  }
  
  .carousel-content h3 {
    font-size: var(--text-xl);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(61, 95, 58, 0.3); }
  50% { box-shadow: 0 0 40px rgba(61, 95, 58, 0.6); }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { 
    filter: drop-shadow(0 0 5px rgba(244, 196, 48, 0.3));
  }
  50% { 
    filter: drop-shadow(0 0 20px rgba(244, 196, 48, 0.6));
  }
}

/* Hero Animations */
.hero-content {
  animation: fadeInUp 1s ease-out forwards;
}

/* Button Hover Effects */
.primary-btn, .btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.primary-btn::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.primary-btn:hover::before, .btn-primary:hover::before {
  left: 100%;
}

.primary-btn:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(61, 95, 58, 0.4);
}

.btn-outline {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-outline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline:hover {
  color: white;
  border-color: var(--color-primary-light);
}

/* Card Hover Effects */
.product-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 95, 58, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::before {
  opacity: 1;
}

/* Product Grid Staggered Animation */
.product-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.product-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s forwards; opacity: 0; }
.product-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s forwards; opacity: 0; }
.product-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s forwards; opacity: 0; }
.product-card:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s forwards; opacity: 0; }
.product-card:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s forwards; opacity: 0; }
.product-card:nth-child(7) { animation: fadeInUp 0.6s ease-out 0.7s forwards; opacity: 0; }
.product-card:nth-child(8) { animation: fadeInUp 0.6s ease-out 0.8s forwards; opacity: 0; }

/* Visible state for scroll animations */
.product-card.visible {
  opacity: 1;
}

/* Serve Card Animation */
.serve-card {
  animation: scaleIn 0.8s ease-out forwards;
}

.serve-card h3 {
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.serve-card p {
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
  opacity: 0;
}

/* Floating Animation for Icons */
.feature i, .adv-box i {
  /* Static - no animation */
}

.feature:nth-child(2) i, .adv-box:nth-child(2) i {
  /* No animation delay needed */
}

.feature:nth-child(3) i, .adv-box:nth-child(3) i {
  /* No animation delay needed */
}

/* Architecture Cards Tilt Effect */
.arch-card {
  transition: all 0.4s ease;
  transform-style: preserve-3d;
}

.arch-card:hover {
  transform: translateY(-5px) rotateX(2deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.arch-card img {
  transition: transform 0.4s ease;
}

.arch-card:hover img {
  transform: scale(1.05);
}

/* Drone Card Hover */
.drone-card {
  transition: all 0.4s ease;
}

.drone-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.drone-img {
  transition: transform 0.5s ease;
}

.drone-card:hover .drone-img {
  transform: scale(1.03);
}

/* Icon Box Pulse */
.icon-box {
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: var(--color-accent);
  color: var(--bg-dark);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(244, 196, 48, 0.3);
}

/* Vision/Mission Cards */
.vision-mission {
  transition: all 0.4s ease;
}

.vision-mission:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Counter Animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Gradient Text Animation */
.gradient-text {
  background: linear-gradient(90deg, var(--color-accent), #fff, var(--color-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

/* Loading Shimmer for Images */
.img-loading {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Glow Effect on Hover */
.glow-on-hover:hover {
  animation: pulse-glow 2s infinite;
}

/* Parallax Background for Hero */
.hero {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

/* Number Counter */
.counter-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.counter-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Helper */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1f0d 0%, #142819 50%, #0a1f0d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.preloader-logo {
  width: 120px;
  height: auto;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

.preloader-spinner {
  margin-top: 24px;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(34, 197, 94, 0.2);
  border-top-color: #22c55e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* ============================================
   HERO MILITARY HUD GRID ANIMATION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

/* Military HUD Container */
.hero-hud {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  max-height: 80vh;
  overflow: hidden;
  background: rgba(10, 15, 13, 0.88);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  padding: 15px;
  opacity: 0.95;
  pointer-events: none;
  backdrop-filter: blur(5px);
}

/* Radar Container */
.hud-radar {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 31, 13, 0.9) 0%, rgba(5, 20, 8, 0.95) 100%);
  border: 2px solid rgba(34, 197, 94, 0.5);
  overflow: hidden;
}

/* Radar Grid Lines */
.radar-grid {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(0deg, transparent 49.5%, rgba(34, 197, 94, 0.2) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(34, 197, 94, 0.2) 50%, transparent 50.5%);
  background-size: 100% 100%;
}

/* Radar Circles */
.radar-circles {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
}

.radar-circles::before {
  content: '';
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
}

.radar-circles::after {
  content: '';
  position: absolute;
  inset: 45%;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
}

/* Radar Sweep */
.radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(34, 197, 94, 0.4) 30deg, transparent 60deg);
  animation: radarSweep 3s linear infinite;
  transform-origin: center;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Radar Center Point */
.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(34, 197, 94, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.8);
  animation: radarPulse 1.5s ease-in-out infinite;
}

@keyframes radarPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

/* Tracking Dots */
.tracking-dots {
  position: absolute;
  inset: 0;
}

.tracking-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: trackingBlink 2s ease-in-out infinite;
}

.tracking-dot:nth-child(1) { top: 30%; left: 25%; animation-delay: 0s; }
.tracking-dot:nth-child(2) { top: 60%; left: 70%; animation-delay: 0.5s; }
.tracking-dot:nth-child(3) { top: 45%; left: 40%; animation-delay: 1s; background: #f4c430; }
.tracking-dot:nth-child(4) { top: 20%; left: 60%; animation-delay: 1.5s; }

@keyframes trackingBlink {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* HUD Header */
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
  margin-bottom: 10px;
}

.hud-title {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #22c55e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: #22c55e;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusBlink 1s ease-in-out infinite;
}

.status-dot.active {
  background: #22c55e;
}

.status-dot.warning {
  background: #f4c430;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Live Feed Section */
.hud-feed {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
}

.feed-title {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(144, 238, 144, 0.7);
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.feed-content {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(144, 238, 144, 0.9);
  line-height: 1.6;
}

.feed-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.feed-line:last-child {
  border-bottom: none;
}

.feed-label {
  color: rgba(144, 238, 144, 0.6);
}

.feed-value {
  color: #22c55e;
  font-weight: bold;
}

.feed-value.warning {
  color: #f4c430;
}

.feed-value.critical {
  color: #ef4444;
  animation: criticalPulse 0.5s ease-in-out infinite;
}

@keyframes criticalPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Coordinates Section */
.hud-coords {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.coord-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 4px;
  padding: 8px;
  text-align: center;
}

.coord-label {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: rgba(144, 238, 144, 0.6);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.coord-value {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #22c55e;
  font-weight: bold;
}

/* Scanning Animation */
.scan-line {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.8), transparent);
  margin: 15px 0;
  animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* Grid Lines */
.grid-lines {
  position: relative;
  height: 30px;
  margin: 10px 0;
}

.grid-line-h {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
  margin: 5px 0;
  animation: gridPulse 3s ease-in-out infinite;
}

.grid-line-h:nth-child(odd) {
  animation-delay: 0.5s;
}

.grid-line-h:nth-child(3n) {
  background: linear-gradient(90deg, transparent, rgba(244, 196, 48, 0.3), transparent);
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.9); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Threat Indicators */
.threat-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
  margin-bottom: 10px;
  animation: threatPulse 2s ease-in-out infinite;
}

.threat-indicator.caution {
  background: rgba(244, 196, 48, 0.1);
  border-color: rgba(244, 196, 48, 0.3);
}

@keyframes threatPulse {
  0%, 100% { border-color: rgba(239, 68, 68, 0.3); }
  50% { border-color: rgba(239, 68, 68, 0.6); }
}

.threat-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ef4444;
}

.threat-indicator.caution .threat-icon {
  color: #f4c430;
}

.threat-text {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-hud {
    width: 360px;
    padding: 15px;
  }
  
  .hud-radar {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: var(--space-16) var(--space-5);
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-hud {
    display: none;
  }
}

/* ============================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
  /* ---- Colors ---- */
  /* Primary Brand Colors */
  --color-primary: #3d5f3a;
  --color-primary-dark: #2d472f;
  --color-primary-light: #436041;
  --color-primary-lighter: #5d7f5f;
  
  /* Accent Colors */
  --color-accent: #f4c430;
  --color-accent-gold: #d6a84c;
  --color-accent-gold-dark: #C9A227;
  
  /* Background Colors */
  --bg-light: #f5f5f5;
  --bg-gray: #EBEBEB;
  --bg-dark: #0b0f0d;
  --bg-card-dark: #16221b;
  --bg-card-accent: #2c4a38;
  
  /* Text Colors */
  --text-primary: #222;
  --text-secondary: #666;
  --text-light: #FFFAF0;
  --text-muted: #94A3B8;
  --text-light-gray: #dfe7df;
  
  /* Overlay Colors */
  --overlay-dark: rgba(0, 0, 0, 0.55);
  --overlay-darker: rgba(0, 0, 0, 0.6);
  --overlay-hero: rgba(20, 40, 30, 0.85);
  --overlay-green: rgba(67, 96, 65, 0.75);
  
  /* Status Colors */
  --color-success: #4c6f50;
  --color-highlight: #ffd23f;
  
  /* ---- Typography ---- */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 32px;
  --text-5xl: 40px;
  --text-6xl: 48px;
  --text-hero: 60px;
  --text-display: 72px;
  --text-number: 96px;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-tight: 1.4;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
  
  /* Letter Spacing */
  --tracking-wide: 2px;
  --tracking-wider: 1px;
  
  /* ---- Spacing ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 15px;
  --space-5: 20px;
  --space-6: 25px;
  --space-7: 30px;
  --space-8: 40px;
  --space-10: 50px;
  --space-12: 60px;
  --space-16: 80px;
  --space-20: 100px;
  
  /* ---- Layout ---- */
  --container-max: 1400px;
  --container-content: 1200px;
  --container-narrow: 874px;
  
  /* ---- Borders & Radius ---- */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 15px;
  --radius-full: 50%;
  
  /* Border widths */
  --border-thin: 1px;
  --border-medium: 2px;
  
  /* ---- Shadows ---- */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 15px var(--color-highlight);
  
  /* ---- Transitions ---- */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 1s ease;
  --transition-image: 1.5s ease-in-out;
  
  /* ---- Z-Index Scale ---- */
  --z-base: 1;
  --z-overlay: 50;
  --z-navbar: 100;
  --z-modal: 999;
  
  /* ---- Card Dimensions ---- */
  --card-height-sm: 200px;
  --card-height-md: 300px;
  --card-height-lg: 420px;
  --card-height-xl: 450px;
  
  /* ---- Grid ---- */
  --grid-gap: 20px;
  --grid-gap-lg: 25px;
  --grid-gap-xl: 40px;
}


/* ============================================
   BASE RESET & GLOBAL STYLES
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-light);
  position: relative;
  overflow-x: hidden;
}

/* Make particle canvas visible on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  z-index: -1;
}

/* Lazy loading images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

img[data-src] {
  opacity: 0;
  transform: scale(0.98);
}

img.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Fade-in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
  text-align: center;
}

.section-title h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary-lighter);
}

.section-title .line {
  width: 100px;
  height: 2px;
  background: var(--color-primary-lighter);
}

.section-heading {
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  text-align: center;
}

.section-text {
  max-width: 700px;
  margin: 0 auto var(--space-4);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  text-align: center;
  padding: 0 var(--space-5);
}

.section-tag {
  color: var(--color-accent-gold);
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin: var(--space-20) 0 var(--space-8);
  letter-spacing: var(--tracking-wide);
}

.section-tag p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 50%;
}

.narrow-paragraph {
  max-width: 600px;
  line-height: var(--leading-relaxed);
}


/* ============================================
   4. LAYOUT COMPONENTS
   ============================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.container--content {
  max-width: var(--container-content);
}

.container--narrow {
  max-width: var(--container-narrow);
}


/* ============================================
   5. NAVBAR
   ============================================ */
.navbar {
  background: var(--color-primary);
  padding: var(--space-4) var(--space-8);
  position: sticky;
  top: 0;
  z-index: var(--z-navbar);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(61, 95, 58, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-10);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 150px;
  height: 48px;
}

#nav-menu {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

#nav-menu > a {
  color: white;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

#nav-menu > a:hover {
  opacity: 0.8;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: white;
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.dropdown-toggle:hover {
  opacity: 0.8;
}

.dropdown-toggle i {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
  padding: var(--space-2) 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--color-primary);
  padding-left: var(--space-5);
}

.dropdown-menu a i {
  font-size: var(--text-base);
  color: var(--color-primary);
  width: 20px;
  text-align: center;
}

.nav-spacer {
  flex: 1;
}

/* ============================================
   REQUEST QUOTE BUTTON - TACTICAL STYLE
   ============================================ */
.quote-btn {
  background: transparent;
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--color-accent);
  border-radius: 0;
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.quote-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(107, 142, 35, 0.3), transparent);
  transition: left 0.5s ease;
}

.quote-btn:hover::before {
  left: 100%;
}

.quote-btn:hover {
  background: var(--color-accent);
  color: #000;
  box-shadow: 0 0 20px rgba(107, 142, 35, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Scanning line animation */
.quote-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  animation: scan-line 2s linear infinite;
  opacity: 0;
}

.quote-btn:hover::after {
  opacity: 1;
}

@keyframes scan-line {
  0% { top: 0; }
  50% { top: calc(100% - 1px); }
  100% { top: 0; }
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: calc(var(--z-navbar) + 1);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Hamburger animation when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: calc(var(--z-navbar) - 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Page Navbar (Minimal) */
.page-navbar {
  background: var(--bg-dark);
  padding: var(--space-4) var(--space-8);
}

.page-navbar nav {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.page-navbar nav a {
  color: var(--text-light);
  font-size: var(--text-sm);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.page-navbar nav a:hover {
  opacity: 1;
}


/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ============================================
   HERO BACKGROUND - CINEMATIC VIDEO CAROUSEL
   ============================================ */

/* Carousel Container */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Individual Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

/* Active Slide */
.hero-slide.active {
  opacity: 1;
}

/* Slide Images - AI Generated */
.hero-slide:nth-child(1) { background-image: url("image/hero-ai-1.webp"); }
.hero-slide:nth-child(2) { background-image: url("image/hero-ai-2.webp"); }
.hero-slide:nth-child(3) { background-image: url("image/hero-ai-3.webp"); }
.hero-slide:nth-child(4) { background-image: url("image/hero-ai-4.webp"); }

/* Mobile Images - Smaller files for faster loading */
@media (max-width: 768px) {
  .hero-slide:nth-child(1) { background-image: url("image/hero-mobile-1.webp"); }
  .hero-slide:nth-child(2) { background-image: url("image/hero-mobile-2.webp"); }
  .hero-slide:nth-child(3) { background-image: url("image/hero-mobile-3.webp"); }
  .hero-slide:nth-child(4) { background-image: url("image/hero-mobile-4.webp"); }
}

/* Vignette Overlay */
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  animation: vignettePulse 4s ease-in-out infinite;
}

@keyframes vignettePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.9; }
}

/* Film Grain Effect */
.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* Legacy support - Hero Background for non-JS */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("image/image.webp") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 1;
}

/* Fallback animation for first slide */
@keyframes heroBgEnter {
  0% {
    opacity: 0;
    transform: scale(1.3) translateY(3%);
    filter: brightness(0.2) saturate(0.5);
  }
  40% {
    opacity: 0.7;
    filter: brightness(0.4) saturate(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1.08) translateY(0);
    filter: brightness(0.55) saturate(1);
  }
}

@keyframes heroBgZoom {
  0% { transform: scale(1.08) translateY(0); }
  100% { transform: scale(1.15) translateY(-1%); }
}

@keyframes heroBgPulse {
  0%, 100% { filter: brightness(0.55) saturate(1); }
  50% { filter: brightness(0.6) saturate(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(61,95,58,0.3) 100%);
  z-index: 3;
}

/* Scan Line Effect */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: scanLine 4s linear infinite;
  z-index: 4;
  box-shadow: 0 0 20px var(--color-accent), 0 0 40px var(--color-accent);
}

@keyframes scanLine {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Grid Overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(61, 95, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 95, 58, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* ============================================
   PARTICLES EFFECT
   ============================================ */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(197, 164, 126, 0.8) 0%, rgba(197, 164, 126, 0) 70%);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

.particle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  filter: blur(1px);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(0) scale(0.5);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) translateX(var(--drift)) scale(1.2);
  }
}

/* Particle variations */
.particle:nth-child(1) { left: 5%; animation-duration: 15s; animation-delay: 0s; --drift: 50px; }
.particle:nth-child(2) { left: 10%; animation-duration: 18s; animation-delay: 2s; --drift: -30px; }
.particle:nth-child(3) { left: 15%; animation-duration: 20s; animation-delay: 4s; --drift: 70px; }
.particle:nth-child(4) { left: 20%; animation-duration: 16s; animation-delay: 1s; --drift: -20px; }
.particle:nth-child(5) { left: 25%; animation-duration: 22s; animation-delay: 3s; --drift: 40px; }
.particle:nth-child(6) { left: 30%; animation-duration: 17s; animation-delay: 5s; --drift: -60px; }
.particle:nth-child(7) { left: 35%; animation-duration: 19s; animation-delay: 0.5s; --drift: 30px; }
.particle:nth-child(8) { left: 40%; animation-duration: 21s; animation-delay: 2.5s; --drift: -40px; }
.particle:nth-child(9) { left: 45%; animation-duration: 14s; animation-delay: 1.5s; --drift: 55px; }
.particle:nth-child(10) { left: 50%; animation-duration: 23s; animation-delay: 3.5s; --drift: -25px; }
.particle:nth-child(11) { left: 55%; animation-duration: 18s; animation-delay: 0.8s; --drift: 45px; }
.particle:nth-child(12) { left: 60%; animation-duration: 16s; animation-delay: 4.2s; --drift: -50px; }
.particle:nth-child(13) { left: 65%; animation-duration: 20s; animation-delay: 2.2s; --drift: 35px; }
.particle:nth-child(14) { left: 70%; animation-duration: 17s; animation-delay: 1.2s; --drift: -15px; }
.particle:nth-child(15) { left: 75%; animation-duration: 19s; animation-delay: 3.8s; --drift: 60px; }
.particle:nth-child(16) { left: 80%; animation-duration: 21s; animation-delay: 0.3s; --drift: -35px; }
.particle:nth-child(17) { left: 85%; animation-duration: 15s; animation-delay: 2.8s; --drift: 45px; }
.particle:nth-child(18) { left: 90%; animation-duration: 22s; animation-delay: 1.8s; --drift: -45px; }
.particle:nth-child(19) { left: 93%; animation-duration: 18s; animation-delay: 4.5s; --drift: 25px; }
.particle:nth-child(20) { left: 97%; animation-duration: 16s; animation-delay: 0.6s; --drift: -55px; }

/* Larger glowing particles */
.particle.large {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(197, 164, 126, 0.6) 0%, rgba(61, 95, 58, 0.4) 50%, transparent 70%);
  box-shadow: 0 0 10px rgba(197, 164, 126, 0.4), 0 0 20px rgba(197, 164, 126, 0.2);
}

/* ============================================
   PARALLAX EFFECT
   ============================================ */
.hero-carousel.parallax-active .hero-slide {
  transform: scale(1.15) translateY(var(--parallax-y, 0));
  will-change: transform;
}

/* ============================================
   VIDEO BACKGROUND
   ============================================ */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.hero-video.active {
  opacity: 1;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Video overlay for better text readability */
.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(61,95,58,0.25) 100%);
  z-index: 1;
}

/* Carousel Progress Indicators */
.carousel-progress {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.progress-dot {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}

.progress-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.progress-dot.active::after {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.progress-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Carousel Slide Counter */
.slide-counter {
  position: absolute;
  bottom: 50px;
  right: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  z-index: 20;
}

.slide-counter .current {
  font-size: 24px;
  color: var(--color-accent);
  font-weight: 700;
}

.slide-counter .divider {
  margin: 0 8px;
  opacity: 0.4;
}

.slide-counter .total {
  opacity: 0.6;
}

.hero-content {
  position: relative;
  color: white;
  max-width: 600px;
  margin-left: 8%;
  z-index: 15;
}

/* Hero Content Animations - Home Page Only */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home page hero animations */
.hero .hero-content .elite-label {
  opacity: 0;
  animation: fadeInSlideUp 0.8s ease-out 2s forwards;
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
}

.hero .hero-content h1 {
  opacity: 0;
  animation: fadeInSlideUp 0.8s ease-out 2.3s forwards;
}

.hero .hero-content h1 span {
  color: var(--color-accent);
  animation: textGlow 3s ease-in-out 2.5s infinite;
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(197, 164, 126, 0.3), 0 0 20px rgba(197, 164, 126, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(197, 164, 126, 0.5), 0 0 40px rgba(197, 164, 126, 0.3);
  }
}

.hero .hero-content h5 {
  opacity: 0;
  animation: fadeInSlideUp 0.8s ease-out 2.5s forwards;
}

.hero .hero-content p {
  opacity: 0;
  animation: fadeInSlideUp 0.8s ease-out 2.7s forwards;
}

.hero .hero-buttons {
  opacity: 0;
  animation: fadeInSlideUp 0.8s ease-out 3s forwards;
  margin-top: var(--space-12);
}

/* Sub-page hero - no animations, visible immediately */
.page-hero .hero-content .elite-label,
.page-hero .hero-content h1,
.page-hero .hero-content h5,
.page-hero .hero-content p {
  opacity: 1;
}

.page-hero .hero-buttons {
  opacity: 1;
  margin-top: var(--space-12);
}

/* Keep original selectors for backwards compatibility */
.hero-content .elite-label {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
}

.hero-content h1 {
  margin: 10px 0;
}

.hero-content h5 {
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-top: var(--space-10);
}

.hero-content p {
  margin-top: var(--space-5);
}

.hero-buttons {
  margin-top: var(--space-12);
}

/* Scan Line Effect */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: -5%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  animation: scanLine 4s linear 3s infinite;
  z-index: 2;
  opacity: 0;
}

@keyframes scanLine {
  0% {
    top: -5%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    top: 105%;
    opacity: 0;
  }
}

/* Grid Overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(61, 95, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 95, 58, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFadeIn 1s ease-out 2s forwards;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

@keyframes gridFadeIn {
  to {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  color: white;
  max-width: 600px;
  margin-left: 8%;
  z-index: 10;
}

/* Hero Content Animations */
@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  margin-top: var(--space-12);
}
}

.elite-label::before {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-accent);
  margin: 0 10px;
  max-width: 50px;
}

.hero h1 {
  font-size: var(--text-display);
  margin: 10px 0;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero h5 {
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-top: var(--space-10);
}

.hero span {
  color: var(--color-accent);
}

.hero p {
  margin-top: var(--space-5);
}

/* Enhanced Hero Background Effects */
/* Commented out - circles not needed
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 95, 58, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197, 164, 126, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 1;
}
*/

/* Animated Scan Line Effect */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: scanLine 4s linear infinite;
}

/* Grid Overlay Animation */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(61, 95, 58, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 95, 58, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

/* Button Hover Effects */
.hero-buttons .primary-btn {
  position: relative;
  overflow: hidden;
}

.hero-buttons .primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: buttonShine 3s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 50px;
    opacity: 1;
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes glowText {
  0%, 100% {
    text-shadow: 0 0 5px rgba(197, 164, 126, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(197, 164, 126, 0.8), 0 0 30px rgba(197, 164, 126, 0.4);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes scanLine {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

@keyframes buttonShine {
  0%, 100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

/* Floating animation for hero elements */
.hero-content {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Pulse animation for buttons on hover */
.hero-buttons .primary-btn {
  position: relative;
  overflow: hidden;
}

.hero-buttons .primary-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-buttons .primary-btn:hover::after {
  width: 300px;
  height: 300px;
}


/* ============================================
   7. BUTTONS
   ============================================ */
.btn,
.primary-btn,
.secondary-btn,
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  transition: all var(--transition-fast);
}

.primary-btn,
.btn-primary {
  background: var(--color-primary-light);
  color: white;
  border: none;
}

.primary-btn:hover,
.btn-primary:hover {
  background: var(--color-primary-dark);
}

.secondary-btn,
.btn-outline {
  background: transparent;
  color: white;
  border: var(--border-medium) solid white;
}

.secondary-btn:hover,
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--color-success);
}

.btn-outline {
  border: var(--border-medium) solid white;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary-lighter);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: white;
  font-size: var(--text-xl);
  transition: background var(--transition-normal);
}

.icon-box:hover {
  background-color: var(--color-primary-dark);
}

.icon-box i {
  font-size: var(--text-xl);
  color: white;
}

.drone-buttons button {
  background: var(--color-primary-dark);
  border: none;
  padding: 10px 14px;
  margin-right: 10px;
  color: white;
  cursor: pointer;
}

.arrow-2 {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--color-accent-gold-dark);
  border: none;
  padding: 18px 35px;
  font-size: var(--text-xl);
  z-index: 3;
  cursor: pointer;
  width: 180px;
}


/* ============================================
   8. SERVE / FLOATING CARD
   ============================================ */
.serve {
  display: flex;
  justify-content: center;
  background: var(--bg-gray);
  padding: var(--space-16) var(--space-4);
}

.serve-card {
  position: relative;
  color: white;
  padding: var(--space-8);
  width: 100%;
  max-width: 1120px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  z-index: var(--z-overlay);
  overflow: hidden;
}

/* Dark overlay for text visibility */
.serve-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 13, 0.85) 0%,
    rgba(45, 71, 47, 0.75) 50%,
    rgba(11, 15, 13, 0.85) 100%
  );
  z-index: 0;
}

/* Background slides with zoom effect */
.bg-slide {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  z-index: -1;
}

.bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Content animations */
.serve-card h3 {
  font-size: var(--text-4xl);
  font-weight: var(--font-medium);
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.serve-card p {
  font-size: var(--text-2xl);
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Text animation when transitioning */
.serve-card.transitioning h3,
.serve-card.transitioning p {
  opacity: 0;
  transform: translateY(20px);
}

/* Navigation dots */
.carousel-dots {
  position: absolute;
  bottom: var(--space-5);
  display: flex;
  gap: var(--space-2);
  z-index: 2;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
  background: var(--color-accent);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}


/* ============================================
   9. ABOUT & FOUNDATION SECTIONS
   ============================================ */
.about-section,
.foundation-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f5f5 100%);
  text-align: center;
  padding: var(--space-16) var(--space-5);
  position: relative;
  overflow: hidden;
}

/* Grid Animation Background */
.about-section .section-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(61, 95, 58, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(61, 95, 58, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 30s linear infinite;
  z-index: 0;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* Animated Corner Brackets - Top Left */
.about-section::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: 100px;
  border-left: 3px solid var(--color-accent);
  border-top: 3px solid var(--color-accent);
  animation: cornerPulse 2s ease-in-out infinite;
  z-index: 1;
}

/* Animated Corner Brackets - Bottom Right */
.about-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  border-right: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  animation: cornerPulse 2s ease-in-out infinite 0.5s;
  z-index: 1;
}

@keyframes cornerPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Content */
.about-section .section-title,
.about-section .section-heading,
.about-section .section-text {
  position: relative;
  z-index: 2;
}

/* Foundation Section Corner Brackets */
.foundation-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f8f9fa 100%);
}

/* Grid Animation for Foundation */
.foundation-section .section-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(197, 164, 126, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(197, 164, 126, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridShift 25s linear infinite;
  z-index: 0;
}

.foundation-section::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--color-accent);
  border-top: 3px solid var(--color-accent);
  animation: cornerRotate 3s ease-in-out infinite;
  z-index: 1;
}

.foundation-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  border-right: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  animation: cornerRotate 3s ease-in-out infinite 1.5s;
  z-index: 1;
}

@keyframes cornerRotate {
  0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  25% { opacity: 0.7; transform: scale(1.02) rotate(2deg); }
  50% { opacity: 1; transform: scale(1.05); }
  75% { opacity: 0.7; transform: scale(1.02) rotate(-2deg); }
}

/* Vision Container Corner Brackets */
.vision-container::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border-left: 2px solid rgba(61, 95, 58, 0.3);
  border-top: 2px solid rgba(61, 95, 58, 0.3);
  animation: cornerPulse 2s ease-in-out infinite;
  z-index: 1;
}

.vision-container::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border-right: 2px solid rgba(197, 164, 126, 0.3);
  border-bottom: 2px solid rgba(197, 164, 126, 0.3);
  animation: cornerPulse 2s ease-in-out infinite 1s;
  z-index: 1;
}


/* ============================================
   10. VISION & MISSION
   ============================================ */
.vision-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding: 0 var(--space-5);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* Vision & Mission Animations - Slide from Left/Right */
.vision-mission {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  gap: var(--space-10);
  background: var(--bg-gray);
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Vision: Slide in from LEFT */
.vision-mission:first-child {
  flex-direction: row;
  transform: translateX(-100px);
}

.vision-mission:first-child.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Mission: Slide in from RIGHT */
.vision-mission:last-child {
  flex-direction: row;
  transform: translateX(100px);
}

.vision-mission:last-child.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.mission-space {
  flex-direction: row;
}

.diagram {
  flex: 1;
  min-height: 400px;
  position: relative;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.vision-mission.animate-in .diagram {
  opacity: 1;
  transform: scale(1);
}

.diagram-1 {
  background: url("image/v1.png") center/cover no-repeat;
}

.diagram-2 {
  background: url("image/soldier-silhouettes-silhouette-of-army-during-sunset-wallpaper-preview.webp") center/cover no-repeat;
}

.statement {
  flex: 1;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16) var(--space-12);
  position: relative;
}

/* Overlay for text sections */
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 0;
}

.statement h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.statement p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s;
}

.statement p:nth-child(2) {
  transition-delay: 0.6s;
}

.statement p:nth-child(3) {
  transition-delay: 0.7s;
}

.vision-mission.animate-in .statement h2,
.vision-mission.animate-in .statement p {
  opacity: 1;
  transform: translateY(0);
}

.vision {
  background: url("image/webagentur-meerbusch-drone-3525493_1920.webp") center/cover no-repeat;
}

.mission {
  background: url("image/clarencealford-pilot-6395368_1920.webp") center/cover no-repeat;
}

.statement h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--text-light);
  text-align: left;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.statement h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent-gold);
  margin-top: var(--space-3);
}

.vision p,
.mission p {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--text-light);
  text-align: left;
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.mission span {
  color: var(--color-accent-gold);
  font-weight: var(--font-bold);
}

/* Responsive Vision & Mission */
@media (max-width: 1024px) {
  .vision-mission {
    min-height: 450px;
    gap: var(--space-4);
  }
  
  .vision-mission:first-child,
  .vision-mission:last-child {
    flex-direction: column;
  }
  
  .diagram {
    min-height: 350px;
    order: -1;
  }
  
  .statement {
    min-height: 350px;
    padding: var(--space-8) var(--space-10);
  }
  
  .statement h2 {
    font-size: var(--text-3xl);
  }
  
  .vision p,
  .mission p {
    font-size: var(--text-lg);
  }
}

@media (max-width: 900px) {
  .nav-container {
    gap: var(--space-6);
  }
  
  #nav-menu {
    gap: var(--space-4);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }
  
  .nav-spacer {
    display: none;
  }
  
  .quote-btn {
    display: none;
  }
  
  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px var(--space-6) var(--space-6);
    gap: 0;
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: var(--z-navbar);
    overflow-y: auto;
  }
  
  #nav-menu.active {
    right: 0;
  }
  
  #nav-menu > a {
    margin-left: 0;
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-lg);
    width: 100%;
  }
  
  #nav-menu > a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: var(--space-3);
  }
  
  /* Mobile Dropdown */
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-content: space-between;
    color: white;
    font-size: var(--text-lg);
  }
  
  .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0;
  }
  
  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: var(--space-2) 0;
  }
  
  .dropdown-menu a {
    padding: var(--space-3) var(--space-4);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
  }
  
  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: var(--space-5);
  }
  
  .dropdown-menu a i {
    color: var(--color-accent);
  }
  
  #nav-menu .quote-btn {
    display: block;
    margin-top: var(--space-4);
    width: 100%;
    text-align: center;
  }
  
  .nav-container {
    flex-wrap: nowrap;
  }
}

@media (max-width: 600px) {
  .vision-container {
    margin-top: var(--space-10);
    padding: 0 var(--space-4);
    gap: var(--space-5);
  }
  
  .vision-mission,
  .vision-mission:first-child,
  .vision-mission:last-child {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .diagram {
    min-height: 250px;
    order: -1;
  }
  
  .statement {
    padding: var(--space-6);
  }
  
  .statement h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
  }
  
  .statement h2::after {
    width: 40px;
    height: 3px;
  }
  
  .vision p,
  .mission p {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .vision-mission,
  .vision-mission:first-child,
  .vision-mission:last-child {
    flex-direction: column;
  }
  
  .diagram {
    min-height: 200px;
    order: -1;
  }
  
  .statement {
    padding: var(--space-5);
  }
  
  .statement h2 {
    font-size: var(--text-lg);
  }
  
  .vision p,
  .mission p {
    font-size: var(--text-sm);
    line-height: 1.6;
  }
}


/* ============================================
   11. SOLUTION SECTION (Grid Cards)
   ============================================ */
.solution-section {
  background: var(--bg-gray);
  padding: var(--space-16) var(--space-5) var(--space-10);
}

.solution-section .section-title {
  margin-bottom: var(--space-6);
}

.solution-section .section-text {
  margin-bottom: var(--space-10);
}

.solution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  max-width: var(--container-max);
  margin: 0 auto var(--space-20);
  padding: 0 var(--space-5);
}

.img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: var(--card-height-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Link wrapper for entire card clickable */
.img-card-link {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
}

.img-card-link:hover .img-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.img-card-link:hover .img-card img {
  transform: scale(1.05);
}

.img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.img-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  color: #fff;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
  box-sizing: border-box;
  transition: background var(--transition-normal);
}

.img-card:hover .overlay {
  background: rgba(0, 0, 0, 0.75);
}

.overlay h3 {
  margin: 0;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: var(--font-bold);
}

.overlay p {
  font-size: clamp(12px, 1.5vw, var(--text-base));
  line-height: var(--leading-tight);
  margin-top: var(--space-3);
  opacity: 0.9;
}

.learn-more {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: var(--font-bold);
  margin-top: auto;
  font-size: clamp(12px, 1.5vw, var(--text-base));
  transition: color var(--transition-fast);
}

.learn-more:hover {
  color: var(--color-accent-gold);
}

.learn-more .arrow {
  margin-right: 0.3em;
}

/* Solution Section Responsive */
@media (max-width: 1024px) {
  .solution {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  
  .img-card {
    height: 280px;
  }
  
  .section-title .line {
    width: 60px;
  }
  
  .section-title h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .solution-section {
    padding: var(--space-12) var(--space-4) var(--space-8);
  }
  
  .solution {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .img-card {
    height: 250px;
  }
  
  .overlay {
    padding: var(--space-4);
  }
  
  .section-title h2 {
    font-size: var(--text-2xl);
  }
  
  .section-heading {
    font-size: var(--text-3xl);
  }
  
  .section-text {
    font-size: var(--text-base);
    padding: 0 var(--space-4);
  }
}

@media (max-width: 600px) {
  .solution-section {
    padding: var(--space-10) var(--space-4) var(--space-6);
  }
  
  .solution {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .img-card {
    height: 220px;
  }
  
  .overlay h3 {
    font-size: var(--text-lg);
  }
  
  .overlay p {
    font-size: var(--text-sm);
    margin-top: var(--space-2);
  }
  
  .learn-more {
    font-size: var(--text-sm);
  }
  
  .section-title {
    gap: var(--space-4);
  }
  
  .section-title .line {
    width: 40px;
  }
  
  .section-title h2 {
    font-size: var(--text-xl);
  }
  
  .section-heading {
    font-size: var(--text-2xl);
  }
}


/* ============================================
   12. WHY CHOOSE US
   ============================================ */
.why-container {
  background: linear-gradient(to bottom, #0D0D0D, #263025);
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-16) var(--space-5);
}

.why-title {
  padding-top: 0;
  margin-bottom: var(--space-6);
}

.why-text {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  text-align: center;
  padding: 0 var(--space-5);
}

.why-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.why-img-card {
  position: relative;
  height: var(--card-height-sm);
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.why-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.why-img-card:hover img {
  transform: scale(1.05);
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  color: #fff;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  box-sizing: border-box;
  transition: background var(--transition-normal);
}

.why-img-card:hover .why-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.why-overlay i {
  font-size: 36px;
  color: var(--bg-gray);
  transition: transform var(--transition-normal);
}

.why-img-card:hover .why-overlay i {
  transform: scale(1.1);
}

.why-overlay p {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
}

/* Why Choose Us Responsive */
@media (max-width: 1024px) {
  .why-card {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    max-width: 600px;
  }
  
  .why-img-card {
    height: 220px;
  }
  
  .why-overlay i {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .why-container {
    padding: var(--space-12) var(--space-4);
  }
  
  .why-card {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-width: 500px;
  }
  
  .why-img-card {
    height: 200px;
  }
  
  .why-overlay {
    padding: var(--space-4);
  }
  
  .why-overlay i {
    font-size: 28px;
  }
  
  .why-overlay p {
    font-size: var(--text-xs);
  }
  
  .why-text {
    font-size: var(--text-base);
  }
}

@media (max-width: 600px) {
  .why-container {
    padding: var(--space-10) var(--space-4);
  }
  
  .why-card {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    max-width: 350px;
  }
  
  .why-img-card {
    height: 180px;
  }
  
  .why-overlay {
    padding: var(--space-4);
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: var(--space-4);
  }
  
  .why-overlay i {
    font-size: 32px;
    flex-shrink: 0;
  }
  
  .why-overlay p {
    font-size: var(--text-sm);
  }
  
  .why-text {
    font-size: var(--text-sm);
    padding: 0 var(--space-3);
  }
}


/* ============================================
   13. GLOBAL PRESENCE / MAP
   ============================================ */
.global {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-16) var(--space-5);
}

.global-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.global h2 {
  color: var(--color-success);
  font-size: var(--text-4xl);
  text-align: left;
}

.global p {
  max-width: 500px;
  color: #777;
  font-size: var(--text-base);
  text-align: left;
}

.map-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

.map-buttons button {
  background: var(--color-success);
  color: white;
  border: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.map-buttons button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.map-container {
  position: relative;
  width: 100%;
}

#map {
  height: var(--card-height-lg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
}

.map-search {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  z-index: var(--z-modal);
  padding: var(--space-2) var(--space-4);
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-success);
  color: white;
  font-size: var(--text-sm);
  width: 200px;
}

.map-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.glow-marker .pulse {
  width: 14px;
  height: 14px;
  background: var(--color-highlight);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px var(--color-highlight); }
  50% { box-shadow: 0 0 25px var(--color-highlight); }
  100% { box-shadow: 0 0 5px var(--color-highlight); }
}

/* Map Popup Styling */
.map-popup {
  font-family: 'Inter', sans-serif;
  min-width: 200px;
}

.map-popup h4 {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
}

.map-popup p {
  margin: 0.25rem 0;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.map-popup p strong {
  color: var(--text-dark);
}

.map-popup .popup-contact {
  color: var(--color-highlight);
  font-weight: 500;
  margin-top: 0.5rem;
}

.map-popup .popup-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.map-popup .popup-link:hover {
  color: var(--color-highlight);
  text-decoration: underline;
}

/* Leaflet Popup Override */
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(61, 95, 58, 0.3);
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.98);
}

.leaflet-popup-content {
  margin: 12px 15px;
}

.global-features {
  background: var(--color-success);
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  border-radius: var(--radius-lg);
  color: var(--text-light-gray);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.feature i {
  color: #0b1d0e;
  font-size: var(--text-base);
}

/* Global Presence Responsive */
@media (max-width: 1024px) {
  .global {
    padding: var(--space-12) var(--space-5);
  }
  
  #map {
    height: 380px;
  }
  
  .global h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .global {
    padding: var(--space-10) var(--space-4);
  }
  
  .global-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .global h2 {
    font-size: var(--text-2xl);
    text-align: center;
  }
  
  .global p {
    font-size: var(--text-sm);
    max-width: 100%;
    text-align: center;
  }
  
  .map-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .map-buttons button {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
  
  #map {
    height: 300px;
    border-radius: var(--radius-lg);
  }
  
  .map-search {
    width: 160px;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
    top: var(--space-4);
    left: var(--space-4);
  }
  
  .global-features {
    padding: var(--space-4);
    gap: var(--space-3);
  }
  
  .feature {
    font-size: var(--text-xs);
  }
}

@media (max-width: 600px) {
  .global {
    padding: var(--space-8) var(--space-4);
  }
  
  .global h2 {
    font-size: var(--text-xl);
  }
  
  .global p {
    font-size: var(--text-xs);
  }
  
  #map {
    height: 250px;
    border-radius: var(--radius-md);
  }
  
  .map-search {
    width: 140px;
    font-size: 11px;
  }
  
  .global-features {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  
  .feature {
    font-size: var(--text-xs);
  }
}


/* ============================================
   14. CTA SECTION
   ============================================ */
.cta {
  background: #000;
  text-align: center;
  padding: var(--space-16) var(--space-5);
}

.cta h2 {
  color: white;
  font-size: var(--text-6xl);
  margin-bottom: var(--space-8);
  margin-top: var(--space-16);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}


/* ============================================
   15. FOOTER
   ============================================ */
.footer {
  background: var(--color-success);
  color: var(--text-light-gray);
  padding: var(--space-16) var(--space-5);
}

.footer-container {
  max-width: var(--container-max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-16);
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  max-width: 280px;
  font-weight: var(--font-bold);
}

.footer-logo img {
  width: 250px;
  margin-right: var(--space-8);
  margin-bottom: var(--space-4);
}

.social {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-3);
}

.social a {
  width: 36px;
  height: 36px;
  background: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}

.footer-links h4 {
  font-size: 13px;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--text-light-gray);
  font-size: var(--text-sm);
  margin-bottom: 10px;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-contact {
  font-size: var(--text-sm);
  margin-bottom: 8px;
  color: var(--text-light-gray);
}

.footer-contact i {
  width: 16px;
  margin-right: 8px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  max-width: var(--container-content);
  margin: var(--space-10) auto 0;
  border-top: var(--border-thin) solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: var(--text-xs);
}

.footer-status {
  display: flex;
  gap: var(--space-5);
  color: #0f1f11;
  font-weight: var(--font-semibold);
}


/* ============================================
   16. PAGE HERO (Sub-pages)
   ============================================ */
.page-hero {
  height: 520px;
  display: flex;
  align-items: center;
}

.page-hero .hero-content {
  width: 60%;
  max-width: 800px;
  padding: 0 var(--space-8);
  color: white;
}

.hero-tag {
  color: var(--color-accent-gold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

.page-hero h1 {
  font-size: var(--text-hero);
  margin: 10px 0;
  line-height: 1.1;
}

.page-hero p {
  max-width: 600px;
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

/* Page Hero Backgrounds - for index.html */
.page-hero.drones {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/4738706-drone-6586331_1920.webp") center/cover no-repeat;
}

.page-hero.ammunition {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/030619robot1000.webp") center/cover no-repeat;
}

.page-hero.electronic {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/633e1c9374d3e9ba96da2b300029390c.webp") center/cover no-repeat;
}

.page-hero.fence-border {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/d6f10d5de4672da26efc80d9b4511a5b.webp") center/cover no-repeat;
}

.page-hero.armored-personnel {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/cbdac81eef6b22c98076a7701c63362d.webp") center/cover no-repeat;
}

.page-hero.maritime {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/life-of-pix-coast-guard-406871_1920.webp") center/cover no-repeat;
}

.page-hero.pistols {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/idsBO2Z39z.webp") center/cover no-repeat;
}

.page-hero.protective {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/thehilaryclark-career-1501615_1920.webp") center/cover no-repeat;
}

.page-hero.control {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/metaliza01-police-3465073_1920.webp") center/cover no-repeat;
}

.page-hero.generators {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/klimkin-power-station-928229_190.webp") center/cover no-repeat;
}

.page-hero.cyber {
  background: linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    url("image/thedigitalway-computer-1591018_1920.webp") center/cover no-repeat;
}


/* ============================================
   17. DRONE SECTION (Sub-page content)
   ============================================ */
.drone-section {
  background: var(--bg-dark);
  padding: var(--space-16) 8%;
  color: var(--text-light-gray);
}

.drone-card {
  display: flex;
  gap: var(--space-10);
  align-items: center;
  background: var(--bg-card-dark);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.drone-card.reverse {
  flex-direction: row-reverse;
}

.drone-card.reverse {
  flex-direction: row-reverse;
}

.drone-img {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drone-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.drone-number {
  font-size: var(--text-4xl);
  color: var(--color-success);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
}

.drone-number.right {
  text-align: right;
}

.drone-content {
  flex: 1;
}

.drone-content h3 {
  color: var(--color-accent-gold);
  margin: var(--space-3) 0;
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
}

.drone-content h4 {
  color: var(--color-accent-gold);
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.drone-content p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  line-height: var(--leading-normal);
}

.drone-content ul {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  list-style: none;
}

.drone-content li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-normal);
}

.drone-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-accent-gold);
  font-size: var(--text-sm);
}

.drone-icons {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}


/* ============================================
   18. KEY FEATURES (Single Card Layout)
   ============================================ */
.key-features {
  margin-top: var(--space-10);
  padding: 0 var(--space-5);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.key-features-card {
  background: linear-gradient(135deg, #1a2e1c 0%, #0d1f0f 100%);
  border: 1px solid rgba(76, 111, 80, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.key-features-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-light), var(--color-accent));
}

.key-features-title {
  text-align: center;
  margin-bottom: var(--space-8);
}

.key-features-title h3 {
  color: var(--color-accent);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.key-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.feature-item {
  text-align: center;
  padding: var(--space-4);
  transition: transform var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-gold-dark) 100%);
  transform: scale(1.05);
}

.feature-icon i {
  font-size: 22px;
  color: white;
}

.feature-item h4 {
  color: var(--text-light);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  margin: 0;
}

/* Features with 3 columns */
.key-features-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Features with 2 columns */
.key-features-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Responsive */
@media (max-width: 1024px) {
  .key-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  
  .key-features-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .key-features-card {
    padding: var(--space-6);
  }
}

@media (max-width: 600px) {
  .key-features-grid,
  .key-features-grid.cols-3,
  .key-features-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  
  .key-features-card {
    padding: var(--space-5);
  }
  
  .key-features-title h3 {
    font-size: var(--text-lg);
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
  }
  
  .feature-icon i {
    font-size: 18px;
  }
  
  .feature-item h4 {
    font-size: 11px;
  }
  
  .feature-item p {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .key-features-grid,
  .key-features-grid.cols-3,
  .key-features-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   19. ARCHITECTURE GRID
   ============================================ */
.architecture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap-lg);
  margin-top: var(--space-8);
}

.architecture-heading {
  font-size: 36px;
  color: white;
  margin: var(--space-16) 0 var(--space-8) 0;
}

.arch-card {
  padding: var(--space-8);
}

.arch-card img {
  width: 80%;
  border-radius: var(--radius-lg);
}

.arch-card h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-accent-gold-dark);
  margin: var(--space-5) 0;
}

.arch-text {
  max-width: 350px;
  color: var(--text-muted);
}


/* ============================================
   20. ARMORED GRID (Image Gallery)
   ============================================ */
.armored {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  display: grid;
  max-width: 100%;
  margin-top: var(--space-10);
  margin-bottom: var(--space-10);
}

.armored img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}


/* ============================================
   21. WEAPONS GRID (Pistols Page)
   ============================================ */
.weapons-grid {
  max-width: 1300px;
  margin: auto;
  padding: var(--space-10) var(--space-5);
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto 250px 250px;
  gap: var(--grid-gap-lg);
}

/* General Card */
.cad {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.cad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.cad h2,
.cad p {
  position: relative;
  z-index: 2;
}

.cad .text {
  padding: var(--space-5);
}

/* Top Card - Pistols */
.cad.pistols {
  grid-column: 1 / span 2;
  background: url("image/mikewildadventure-the-devil-4944790_1920.webp") center/cover no-repeat;
  height: var(--card-height-xl);
}

/* Rifles */
.cad.rifles {
  grid-row: 2 / span 2;
  background: url("image/stocksnap-rifle-2577885_1920.webp") center/cover no-repeat;
}

/* Green Bar */
.cad.green-bar {
  background: linear-gradient(90deg, #0c2b1c, #214d33);
  height: 100px;
  align-self: center;
}

/* Caliber */
.cad.caliber {
  background: url("image/stuffwithkids-bullets-4526264_1920.webp") center/cover no-repeat;
}

.overlay-maritime {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.overlay-maritime h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin: 0;
}

/* Safety Grid */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  margin-top: var(--space-10);
}

/* Safety Card - for protective equipment pages */
.safety-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.safety-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  transition: transform 0.4s ease;
}

.safety-card .caption {
  margin-top: var(--space-4);
  text-align: center;
}

.safety-card .caption h3 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--text-light);
}

/* When safety-card is inside armored grid */
.armored .safety-card {
  background: var(--bg-card-dark);
  padding: var(--space-4);
  border-radius: var(--radius-2xl);
  transition: transform var(--transition-normal);
}

.armored .safety-card:hover {
  transform: translateY(-5px);
}

.armored .safety-card:hover img {
  transform: scale(1.03);
}

.armored .safety-card img {
  aspect-ratio: 1 / 1;
}

.armored .safety-card .caption h3 {
  color: var(--text-light);
  margin-top: var(--space-3);
}

/* ============================================
   22b. HERO CARD (Used on protective/control pages)
   ============================================ */
.hero-card {
  position: relative;
  height: 400px;
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(rgba(20, 40, 30, 0.85), rgba(20, 40, 30, 0.85)),
              url("../image/dfx2-rapid-response-riot-pack-suit-helmet-gloves-equipment-bag-30.webp") center/cover no-repeat;
  margin-top: var(--space-10);
  margin-bottom: var(--space-10);
}

.hero-card.control-hero {
  background: linear-gradient(rgba(20, 40, 30, 0.85), rgba(20, 40, 30, 0.85)),
              url("../image/jramirezsfs-esmad-6272311_1920.webp") center/cover no-repeat;
}

.hero-card.protective-hero {
  background: linear-gradient(rgba(20, 40, 30, 0.85), rgba(20, 40, 30, 0.85)),
              url("../image/jamesrein-boots-6068160_1920.webp") center/cover no-repeat;
}

.hero-card h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  position: relative;
  z-index: 2;
}

.hero-card p {
  font-size: var(--text-lg);
  max-width: 600px;
  margin-top: var(--space-4);
  position: relative;
  z-index: 2;
}

.hero-card .arrow-btn {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--color-accent-gold-dark);
  border: none;
  padding: 18px 35px;
  font-size: var(--text-xl);
  z-index: 2;
  cursor: pointer;
  width: 180px;
}

/* Hero card with decorative circle */
.hero-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(130, 255, 170, 0.15);
  border-radius: 50%;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(130, 255, 170, 0.2);
  border-radius: 50%;
  right: 35px;
  bottom: 35px;
  z-index: 1;
}


/* ============================================
   23. OVERLAY VARIANTS
   ============================================ */
.overlay-maritime {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  color: #fff;
  padding: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  box-sizing: border-box;
  font-size: var(--text-2xl);
}


/* ============================================
   24. UTILITY CLASSES
   ============================================ */
.another-card {
  box-shadow: 0px 1px 0px #ffd400;
  position: relative;
  overflow: hidden;
}

.right {
  align-self: right;
  margin-left: 600px;
}

/* ============================================
   SOLUTIONS PAGE 
   ============================================
*/

/* GLOBAL */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

.container{
max-width:1300px;
margin:auto;
padding:0 20px;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.cyber-hero{
background:url("image/solutions-hero.webp") center/cover no-repeat;
padding:100px 50px;
color:white;
min-height:100vh;
display:flex;
align-items:center;
}

.cyber-container{
display:flex;
justify-content:space-between;
align-items:center;
width:100%;
margin:auto;
padding:0 80px;
}

.status{
display:inline-block;
border:1px solid var(--color-accent);
padding:var(--space-2) var(--space-4);
font-size:var(--text-xs);
letter-spacing:var(--tracking-wide);
border-radius:var(--radius-sm);
margin-bottom:var(--space-5);
color:var(--color-accent);
font-family:var(--font-primary);
}

.cyber-text h1{
font-family:var(--font-primary);
font-size:var(--text-display);
font-weight:var(--font-bold);
line-height:var(--leading-tight);
margin:0 0 var(--space-3) 0;
}

.cyber-text h2{
font-family:var(--font-primary);
font-size:var(--text-hero);
font-weight:var(--font-bold);
color:var(--color-accent);
margin:0 0 var(--space-6) 0;
}

.cyber-text p{
max-width:480px;
color:var(--text-light-gray);
font-size:var(--text-lg);
line-height:var(--leading-relaxed);
margin:0 0 var(--space-8) 0;
font-family:var(--font-secondary);
}

.demo-btn{
display:inline-flex;
align-items:center;
justify-content:center;
background:var(--color-primary-light);
padding:var(--space-3) var(--space-6);
border-radius:var(--radius-sm);
color:white;
text-decoration:none;
font-size:var(--text-base);
font-weight:var(--font-semibold);
font-family:var(--font-primary);
transition:background var(--transition-fast), transform var(--transition-fast);
}

.demo-btn:hover{
background:var(--color-primary-dark);
transform:translateY(-2px);
}

/* HERO DASHBOARD */

.cyber-display{
position:relative;
background:rgba(10,15,13,0.92);
padding:var(--space-8);
border-radius:var(--radius-lg);
overflow:hidden;
border:1px solid rgba(76,111,80,0.5);
min-width:400px;
}

.cyber-display::before{
content:"";
position:absolute;
top:0;
left:0;
right:0;
height:2px;
background:linear-gradient(90deg, transparent, var(--color-accent), transparent);
animation: scanLine 3s linear infinite;
}

.cyber-display::after{
content:"";
position:absolute;
bottom:0;
left:0;
right:0;
height:2px;
background:linear-gradient(90deg, transparent, var(--color-accent), transparent);
animation: scanLine 3s linear infinite reverse;
}

@keyframes scanLine{
0%{ opacity: 0.3; }
50%{ opacity: 1; }
100%{ opacity: 0.3; }
}

.cyber-display *{
position:relative;
z-index:2;
}

/* HUD RADAR */

.hud-radar{
position:relative;
width:140px;
height:140px;
margin:0 auto var(--space-5);
border-radius:var(--radius-full);
background:radial-gradient(circle, rgba(10,31,13,0.9) 0%, rgba(5,20,8,0.95) 100%);
border:2px solid rgba(76,111,80,0.6);
overflow:hidden;
}

.radar-grid{
position:absolute;
inset:0;
background:
linear-gradient(0deg, transparent 49.5%, rgba(76,111,80,0.2) 50%, transparent 50.5%),
linear-gradient(90deg, transparent 49.5%, rgba(76,111,80,0.2) 50%, transparent 50.5%);
background-size:100% 100%;
}

.radar-circles{
position:absolute;
inset:10px;
border:1px solid rgba(76,111,80,0.3);
border-radius:var(--radius-full);
}

.radar-circles::before{
content:"";
position:absolute;
inset:25%;
border:1px solid rgba(76,111,80,0.3);
border-radius:var(--radius-full);
}

.radar-circles::after{
content:"";
position:absolute;
inset:45%;
border:1px solid rgba(76,111,80,0.3);
border-radius:var(--radius-full);
}

.radar-sweep{
position:absolute;
inset:0;
background:conic-gradient(from 0deg, transparent 0deg, rgba(76,111,80,0.5) 30deg, transparent 60deg);
animation:radarSweep 3s linear infinite;
transform-origin:center;
}

@keyframes radarSweep{
from{ transform:rotate(0deg); }
to{ transform:rotate(360deg); }
}

.radar-center{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
width:8px;
height:8px;
background:rgba(76,111,80,0.9);
border-radius:var(--radius-full);
box-shadow:0 0 15px rgba(76,111,80,0.8);
animation:radarPulse 1.5s ease-in-out infinite;
}

@keyframes radarPulse{
0%, 100%{ transform:translate(-50%, -50%) scale(1); opacity:1; }
50%{ transform:translate(-50%, -50%) scale(1.3); opacity:0.7; }
}

.tracking-dots{
position:absolute;
inset:0;
}

.tracking-dot{
position:absolute;
width:6px;
height:6px;
background:#7bbf73;
border-radius:var(--radius-full);
animation:trackingBlink 2s ease-in-out infinite;
}

.tracking-dot:nth-child(1){ top:30%; left:25%; animation-delay:0s; }
.tracking-dot:nth-child(2){ top:60%; left:70%; animation-delay:0.5s; }
.tracking-dot:nth-child(3){ top:45%; left:40%; animation-delay:1s; background:var(--color-accent); }
.tracking-dot:nth-child(4){ top:20%; left:60%; animation-delay:1.5s; }

@keyframes trackingBlink{
0%, 100%{ opacity:0.3; transform:scale(1); }
50%{ opacity:1; transform:scale(1.5); }
}

/* HUD STATS */

.hud-stats{
margin-bottom:var(--space-4);
}

.stat-row{
display:flex;
justify-content:space-between;
align-items:center;
padding:var(--space-3) 0;
border-bottom:1px solid rgba(76,111,80,0.2);
}

.stat-row:last-child{
border-bottom:none;
}

.stat-label{
font-family:var(--font-secondary);
font-size:var(--text-xs);
color:rgba(144,238,144,0.6);
letter-spacing:0.5px;
}

.stat-value{
font-family:var(--font-primary);
font-size:var(--text-lg);
font-weight:var(--font-bold);
color:#7bbf73;
}

/* SCAN LINE */

.scan-line{
position:relative;
height:2px;
background:linear-gradient(90deg, transparent, rgba(76,111,80,0.8), transparent);
margin:var(--space-4) 0;
animation:scanMove 2s linear infinite;
}

@keyframes scanMove{
0%{ transform:translateX(-100%); opacity:0; }
50%{ opacity:1; }
100%{ transform:translateX(100%); opacity:0; }
}

/* GRID LINES */

.grid-lines{
position:relative;
height:30px;
margin:var(--space-4) 0;
}

.grid-line-h{
height:1px;
background:linear-gradient(90deg, transparent, rgba(76,111,80,0.4), transparent);
margin:5px 0;
animation:gridPulse 3s ease-in-out infinite;
}

.grid-line-h:nth-child(odd){
animation-delay:0.5s;
}

.grid-line-h:nth-child(3n){
background:linear-gradient(90deg, transparent, rgba(244,196,48,0.3), transparent);
}

@keyframes gridPulse{
0%, 100%{ opacity:0.3; transform:scaleX(0.9); }
50%{ opacity:1; transform:scaleX(1); }
}

/* THREAT INDICATOR */

.threat-indicator{
display:flex;
align-items:center;
gap:var(--space-3);
padding:var(--space-3);
background:rgba(76,111,80,0.15);
border:1px solid rgba(76,111,80,0.4);
border-radius:var(--radius-md);
animation:threatPulse 2s ease-in-out infinite;
}

.threat-indicator.caution{
background:rgba(76,111,80,0.15);
border-color:rgba(76,111,80,0.4);
}

@keyframes threatPulse{
0%, 100%{ border-color:rgba(76,111,80,0.4); }
50%{ border-color:rgba(76,111,80,0.7); }
}

.threat-icon{
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
font-size:var(--text-sm);
color:#7bbf73;
}

.threat-text{
font-family:var(--font-secondary);
font-size:var(--text-xs);
color:rgba(144,238,144,0.9);
letter-spacing:0.5px;
}


/* ============================= */
/* SECURITY CARDS SECTION */
/* ============================= */

.security-cards-section{
background:var(--bg-gray);
padding:var(--space-16) 50px;
}

.section-header{
text-align:center;
margin-bottom:var(--space-10);
}

.section-header h2{
font-family:var(--font-primary);
font-size:var(--text-4xl);
font-weight:var(--font-bold);
color:var(--color-accent);
letter-spacing:var(--tracking-wide);
margin-bottom:var(--space-3);
}

.section-line{
width:80px;
height:3px;
background:var(--color-primary);
margin:0 auto var(--space-5);
}

.section-header p{
font-family:var(--font-secondary);
font-size:var(--text-lg);
color:var(--text-secondary);
max-width:700px;
margin:0 auto;
line-height:var(--leading-relaxed);
}

.cards-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:var(--grid-gap-lg);
max-width:1300px;
margin:auto;
}

.card{
background:white;
padding:var(--space-8);
border-radius:var(--radius-lg);
box-shadow:var(--shadow-sm);
position:relative;
transition:transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover{
transform:translateY(-5px);
box-shadow:var(--shadow-md);
}

.icon-box{
width:45px;
height:45px;
background:var(--color-primary-light);
display:flex;
align-items:center;
justify-content:center;
color:white;
border-radius:var(--radius-md);
margin-bottom:var(--space-5);
font-size:var(--text-xl);
}

.card p{
color:var(--text-secondary);
font-size:var(--text-base);
line-height:var(--leading-relaxed);
margin-bottom:var(--space-5);
font-family:var(--font-secondary);
}

.card ul{
list-style:none;
margin-bottom:var(--space-6);
}

.card ul li{
margin-bottom:var(--space-2);
font-size:var(--text-sm);
color:var(--text-primary);
font-family:var(--font-secondary);
}

.card ul li::before{
content:"✓ ";
color:var(--color-accent);
}

.card a{
font-size:var(--text-sm);
text-decoration:none;
font-weight:var(--font-semibold);
color:var(--text-primary);
transition:color var(--transition-fast);
}

.card a:hover{
color:var(--color-primary);
}

.elite-tag{
position:absolute;
top:0;
right:0;
background:var(--color-primary);
color:white;
font-size:var(--text-xs);
padding:var(--space-1) var(--space-3);
border-radius:0 var(--radius-lg) 0 var(--radius-md);
font-family:var(--font-primary);
}


/* ============================= */
/* COMPLIANCE SECTION */
/* ============================= */

.compliance-section{
background:#d9d9d9;
padding:var(--space-6) 50px;
}

.compliance-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
text-align:center;
font-size:var(--text-sm);
color:var(--text-primary);
max-width:1300px;
margin:auto;
font-family:'JetBrains Mono', monospace;
}

.standard{
display:flex;
justify-content:center;
align-items:center;
gap:var(--space-2);
}

.standard i{
color:var(--color-primary);
font-size:var(--text-base);
}

.standard span{
font-family:'JetBrains Mono', monospace;
font-weight:500;
letter-spacing:0.5px;
}


/* ============================= */
/* INTEGRITY SECTION */
/* ============================= */

.integrity-section{
padding:var(--space-16) 50px;
background:white;
}

.integrity-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:var(--space-10);
align-items:center;
max-width:1300px;
margin:auto;
}

/* SERVER IMAGE */

.server-image{
position:relative;
height:320px;
border-radius:var(--radius-lg);
overflow:hidden;
}

.server-img{
width:100%;
height:100%;
object-fit:cover;
object-position:center;
}

.server-image::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg, rgba(82,111,87,0.3) 0%, rgba(0,0,0,0.6) 100%);
pointer-events:none;
}

/* CORE BAR */

.core-bar{
position:absolute;
bottom:var(--space-5);
left:var(--space-5);
right:var(--space-5);
background:rgba(0,0,0,0.75);
padding:var(--space-4);
border-radius:var(--radius-md);
display:flex;
align-items:center;
gap:var(--space-4);
color:white;
font-size:var(--text-xs);
font-family:var(--font-secondary);
}

.core-bar span:first-child{
flex:1;
}

.progress-bar{
flex:1;
height:6px;
background:#2a2a2a;
border-radius:0;
}

.progress-fill{
width:90%;
height:6px;
background:linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
border-radius:0;
}

.percent{
color:var(--color-accent);
font-weight:var(--font-bold);
}

/* FEATURES */

.integrity-text{
padding:var(--space-5);
}

.integrity-text > p{
font-size:var(--text-lg);
line-height:var(--leading-relaxed);
color:var(--text-secondary);
margin-bottom:var(--space-8);
font-family:var(--font-secondary);
}

.feature{
display:flex;
gap:var(--space-4);
margin-top:var(--space-5);
}

.feature-icon{
width:40px;
height:40px;
background:var(--color-primary-light);
color:var(--color-accent);
display:flex;
align-items:center;
justify-content:center;
border-radius:var(--radius-md);
font-size:var(--text-lg);
}

.feature p{
font-size:var(--text-sm);
line-height:var(--leading-normal);
color:var(--text-secondary);
font-family:var(--font-secondary);
}


/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media(max-width:1000px){

.cyber-hero{
padding:var(--space-12) var(--space-6);
}

.cyber-container{
display:flex;
flex-direction:column;
gap:var(--space-8);
}

.cards-grid{
grid-template-columns:1fr;
max-width:1300px;
margin:auto;
}

.compliance-grid{
grid-template-columns:repeat(3,1fr);
gap:var(--space-4);
}

.integrity-grid{
grid-template-columns:1fr;
gap:var(--space-6);
}

.cyber-text h1{
font-size:var(--text-hero);
}

.cyber-text h2{
font-size:var(--text-4xl);
}

.hud-radar{
width:120px;
height:120px;
}

}


/* ============================================
   25. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large screens - Grid adjustments */
@media (max-width: 1024px) {
  .weapons-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .cad.pistols {
    grid-column: auto;
    height: 300px;
  }
  
  .cad.rifles {
    grid-row: auto;
    height: 280px;
  }
  
  .cad.green-bar {
    height: 80px;
  }
  
  .cad.caliber {
    height: 260px;
  }
}

/* Tablet */
@media (max-width: 1000px) {
  .drone-card {
    flex-direction: column;
    text-align: center;
  }
  
  .drone-card.reverse {
    flex-direction: column;
  }
  
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .architecture {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 900px) {
  
  /* Solution Page Hero Mobile */
  .cyber-hero {
    padding: var(--space-10) var(--space-4);
    min-height: auto;
  }
  
  .cyber-container {
    flex-direction: column;
    padding: 0 var(--space-4);
  }
  
  .cyber-text {
    text-align: center;
    background: rgba(10, 15, 13, 0.85);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
  }
  
  .cyber-display {
    padding: var(--space-5);
    min-width: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hud-radar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-5);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .page-hero h1 {
    font-size: var(--text-4xl);
  }
  
  .page-hero p {
    font-size: var(--text-sm);
  }
  
  /* Hero Section Mobile */
  .hero {
    min-height: 100vh;
    padding: var(--space-10) var(--space-5);
  }
  
  .hero-content {
    margin-left: 0;
    max-width: 100%;
    padding: 0 var(--space-4);
  }
  
  .hero h1 {
    font-size: var(--text-4xl);
    line-height: 1.1;
  }
  
  .hero p {
    font-size: var(--text-base);
  }
  
  .elite-label {
    font-size: 10px;
  }
  
  /* Hero Buttons Mobile */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }
  
  .hero-buttons .primary-btn,
  .hero-buttons .secondary-btn {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
  }
  
  /* Adjust navbar logo */
  .logo img {
    width: 120px;
    height: auto;
  }
  
  /* Serve/Floating Card Tablet */
  .serve {
    padding: var(--space-12) var(--space-4);
  }
  
  .serve-card {
    min-height: 250px;
    padding: var(--space-6);
    margin: 0 var(--space-4);
  }
  
  .serve-card h3 {
    font-size: var(--text-3xl);
  }
  
  .serve-card p {
    font-size: var(--text-xl);
  }
  
  /* Page Hero Mobile */
  .page-hero .hero-content {
    width: 90%;
    max-width: 100%;
    padding: 0 var(--space-5);
  }
  
  .page-hero h1 {
    font-size: var(--text-3xl);
    line-height: 1.2;
  }
  
  .page-hero p {
    font-size: var(--text-base);
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .advantages {
    grid-template-columns: 1fr;
  }
  
  .architecture {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .cad h2 {
    font-size: var(--text-xl);
  }
  
  .cad p {
    font-size: var(--text-sm);
  }
  
  .arrow-2 {
    padding: var(--space-3) 22px;
  }
  
  /* Hero Section Extra Small */
  .hero {
    min-height: auto;
    height: auto;
    min-height: 100vh;
    padding: var(--space-16) var(--space-4);
  }
  
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero h5 {
    margin-top: var(--space-5);
    font-size: var(--text-xs);
  }
  
  .hero p {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
  }
  
  .hero-buttons {
    margin-top: var(--space-5);
  }
  
  .hero-buttons .primary-btn,
  .hero-buttons .secondary-btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }
  
  /* Page Hero Mobile */
  .page-hero {
    height: auto;
    min-height: 280px;
    padding: var(--space-10) var(--space-4);
  }
  
  .page-hero h1 {
    font-size: var(--text-3xl);
  }
  
  .page-hero p {
    font-size: var(--text-sm);
    max-width: 100%;
  }
  
  .hero-tag {
    font-size: 10px;
  }
}

/* Extra Small Devices (phones, 480px and below) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }
  
  .hero-buttons {
    gap: var(--space-2);
  }
  
  .hero-buttons .primary-btn,
  .hero-buttons .secondary-btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }
  
  .page-hero h1 {
    font-size: var(--text-2xl);
  }
  
  /* Serve/Floating Card Mobile */
  .serve {
    padding: var(--space-10) var(--space-4);
  }
  
  .serve-card {
    min-height: 200px;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }
  
  .serve-card h3 {
    font-size: var(--text-2xl);
  }
  
  .serve-card p {
    font-size: var(--text-lg);
  }
}

/* ============================================
   SUB-PAGES RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  /* Drone Cards */
  .drone-section {
    padding: var(--space-12) var(--space-4);
  }
  
  .drone-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-6);
    gap: var(--space-6);
  }
  
  
  .drone-card.reverse {
    flex-direction: column;
  }
  
  .drone-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }
  
  .drone-number {
    font-size: var(--text-3xl);
  }
  
  .drone-content h3 {
    font-size: var(--text-xl);
  }
  
  .drone-content ul {
    text-align: left;
  }
  
  /* Advantages */
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages.quality-safety {
    grid-template-columns: 1fr;
  }
  
  /* Architecture */
  .architecture {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .arch-card {
    padding: var(--space-6);
  }
  
  .arch-card img {
    width: 70%;
  }
  
  /* Hero Card */
  .hero-card {
    height: 320px;
    margin: var(--space-8) var(--space-4);
  }
  
  /* Armored Grid */
  .armored {
    grid-template-columns: repeat(2, 1fr);
  }
  
  
  .armored img,
  .armored .safety-card img {
    aspect-ratio: 1 / 1;
  }
  
  /* Safety Grid */
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  /* Drone Section */
  .drone-section {
    padding: var(--space-10) var(--space-4);
  }
  
  .drone-card {
    padding: var(--space-5);
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
  }
  
  .drone-number {
    font-size: var(--text-2xl);
  }
  
  .drone-content h3 {
    font-size: var(--text-lg);
  }
  
  .drone-content h4 {
    font-size: var(--text-base);
  }
  
  .drone-content p {
    font-size: var(--text-sm);
  }
  
  .drone-icons {
    justify-content: center;
  }
  
  /* Advantages */
  .advantages {
    grid-template-columns: 1fr;
  }
  
  .adv-box {
    min-height: 80px;
    padding: var(--space-5);
    font-size: var(--text-sm);
  }
  
  /* Architecture */
  .architecture-heading {
    font-size: var(--text-xl);
    margin: var(--space-8) 0 var(--space-5);
  }
  
  .arch-card img {
    width: 60%;
  }
  
  .arch-card h4 {
    font-size: var(--text-base);
  }
  
  .arch-text {
    font-size: var(--text-sm);
  }
  
  /* Section Tag */
  .section-tag {
    font-size: var(--text-lg);
    margin: var(--space-8) 0 var(--space-5);
  }
  
  .narrow-paragraph {
    font-size: var(--text-sm);
  }
  
  /* Hero Card */
  .hero-card {
    height: 250px;
    margin: var(--space-6) 0;
  }
  
  .hero-card h2 {
    font-size: var(--text-xl);
  }
  
  .hero-card .arrow-btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-base);
    width: 120px;
  }
  
  /* Armored Grid */
  .armored {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .armored img,
  .armored .safety-card img {
    aspect-ratio: 1 / 1;
  }
  
  /* Weapons Grid */
  .weapons-grid {
    grid-template-columns: 1fr;
    padding: var(--space-5) var(--space-4);
  }
  
  .cad.pistols,
  .cad.rifles,
  .cad.caliber {
    height: 180px;
  }
  
  .cad.green-bar {
    display: none;
  }
  
  .cad h2 {
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {
  .drone-section {
    padding: var(--space-8) var(--space-3);
  }
  
  .drone-card {
    padding: var(--space-4);
  }
  
  .drone-number {
    font-size: var(--text-xl);
  }
  
  .drone-content h3 {
    font-size: var(--text-base);
  }
  
  .adv-box {
    font-size: var(--text-xs);
    padding: var(--space-4);
  }
  
  .section-tag {
    font-size: var(--text-base);
  }
  
  .hero-card {
    height: 220px;
    border-radius: var(--radius-lg);
  }
  
  .hero-card h2 {
    font-size: var(--text-lg);
    padding: 0 var(--space-3);
  }
  
  .hero-card p {
    font-size: var(--text-sm);
    padding: 0 var(--space-3);
  }
  
  /* Cyber Hero Mobile */
  .cyber-hero {
    padding: var(--space-10) var(--space-4);
    min-height: auto;
  }
  
  .cyber-container {
    flex-direction: column;
    padding: 0 var(--space-4);
  }
  
  .cyber-text {
    text-align: center;
    background: rgba(10, 15, 13, 0.85);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }
  
  .cyber-text h1 {
    font-size: var(--text-3xl);
  }
  
  .cyber-text h2 {
    font-size: var(--text-2xl);
  }
  
  .cyber-text p {
    font-size: var(--text-base);
    max-width: 100%;
  }
  
  .cyber-display {
    padding: var(--space-5);
    min-width: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hud-radar {
    width: 100px;
    height: 100px;
  }
  
  .stat-row {
    padding: var(--space-2) 0;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-value {
    font-size: var(--text-base);
  }
  
  .grid-lines {
    height: 20px;
  }
  
  .threat-indicator {
    padding: var(--space-2);
    gap: var(--space-2);
  }
  
  .threat-icon {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  
  .threat-text {
    font-size: 10px;
  }
  
  /* Section Header Mobile */
  .section-header h2 {
    font-size: var(--text-2xl);
  }
  
  .section-header p {
    font-size: var(--text-sm);
    padding: 0 var(--space-4);
  }
  
  .section-line {
    width: 60px;
  }
  
  /* Cards Grid Mobile */
  .security-cards-section {
    padding: var(--space-10) var(--space-4);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: var(--space-6);
  }
  
  /* Compliance Mobile */
  .compliance-section {
    padding: var(--space-5) var(--space-4);
  }
  
  .compliance-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }
  
  /* Integrity Mobile */
  .integrity-section {
    padding: var(--space-10) var(--space-4);
  }
  
  .integrity-grid {
    gap: var(--space-5);
  }
  
  .server-image {
    height: 250px;
  }
  
  .integrity-text > p {
    font-size: var(--text-base);
  }
}

/* ============================================
   HERO EFFECTS - MOBILE RESPONSIVE
   ============================================ */

/* Tablet - reduce particle count and effects */
@media (max-width: 1024px) {
  /* Hide scan line on tablet for performance */
  .hero-overlay::before {
    display: none;
  }
  
  /* Reduce particle count */
  .particle:nth-child(n+16) {
    display: none;
  }
  
  /* Simplify grid overlay */
  .hero-overlay::after {
    background-size: 80px 80px;
    opacity: 0.5;
  }
}

/* Mobile - optimizations but keep particles */
@media (max-width: 768px) {
  /* Keep particles but make smaller and fewer */
  .hero-particles {
    z-index: 4;
  }
  
  .particle {
    width: 2px;
    height: 2px;
    animation-duration: 12s !important;
  }
  
  .particle.large {
    width: 4px;
    height: 4px;
  }
  
  /* Reduce particles to 12 on mobile */
  .particle:nth-child(n+13) {
    display: none;
  }
  
  /* Hide grid overlay */
  .hero-overlay::after {
    display: none;
  }
  
  /* Hero slides - center focus on mobile */
  .hero-slide {
    background-size: cover;
    background-position: center 30%;
  }
  
  /* Reduce vignette intensity */
  .hero-carousel::before {
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
  }
  
  /* Adjust hero content spacing */
  .hero-content {
    margin-left: 5%;
    padding: 0 var(--space-4);
    max-width: 90%;
  }
  
  /* Smaller slide counter */
  .slide-counter {
    right: 20px;
    bottom: 80px;
    font-size: var(--text-xs);
  }
  
  /* Adjust progress dots */
  .carousel-progress {
    bottom: 20px;
    gap: 8px;
  }
  
  .progress-dot {
    width: 30px;
    height: 2px;
  }
  
  /* Hero buttons stack on mobile */
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    max-width: 280px;
  }
  
  .hero-buttons .primary-btn,
  .hero-buttons .secondary-btn {
    width: 100%;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  /* Adjust background position for small screens */
  .hero-slide {
    background-position: center 25%;
  }
  
  /* Hide film grain */
  .hero-carousel::after {
    display: none;
  }
  
  /* Hide slide counter completely */
  .slide-counter {
    display: none;
  }
  
  /* Adjust hero content for small screens */
  .hero-content {
    margin-left: 0;
    padding: 0 var(--space-3);
    max-width: 100%;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-particles,
  .hero-overlay::before,
  .hero-overlay::after,
  .hero-carousel::after {
    display: none;
  }
  
  .hero-slide.active {
    animation: none;
  }
  
  .particle {
    animation: none;
  }
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0D0D0D, #263025);
  text-align: center;
}

.certifications .section-title {
  margin-bottom: 20px;
}

.certifications .section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.certifications .section-text {
  max-width: 800px;
  margin: 0 auto 50px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.cert-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.cert-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.cert-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.cert-image img:hover {
  transform: scale(1.02);
}

.cert-info {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.cert-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #64b5f6;
  margin-bottom: 15px;
}

.cert-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cert-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  color: #64b5f6;
  border: 2px solid #64b5f6;
}

.btn-view:hover {
  background: rgba(100, 181, 246, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cert-card {
    flex-direction: column;
    padding: 30px;
  }
  
  .cert-info {
    text-align: center;
  }
  
  .cert-buttons {
    justify-content: center;
  }
  
  .certifications .section-heading {
    font-size: 24px;
  }
  
  .certifications {
    padding: 60px 15px;
  }
}

