/* ==================================================================
   AEROMAC DYNAMICS PVT LTD – Enhanced Stylesheet with Advanced Animations
   ================================================================== */

/* CSS RESET + ENHANCED COLOR TOKENS */
:root {
  /* Core Brand */
  --brand-primary: #1e3a8a; /* Royal Dark Blue */
  --brand-primary-dark: #0a1a4f; /* Almost Navy */
  --brand-accent: #3b82f6; /* Accent Blue */
  --brand-highlight: #ff6b6b; /* Coral for CTA highlights */
  
  /* Backgrounds */
  --bg: #ffffff; /* Pure White */
  --bg-soft: #f8fafc; /* Soft White */
  --bg-royal: #f1f5f9; /* Off-White with blue tint */
  
  /* Gradients & Depth */
  --brand-gradient: linear-gradient(135deg, #1e3a8a 0%, #0a1a4f 50%, #000000 100%);
  
  /* Shadows */
  --shadow-md: 0 10px 30px rgba(12, 31, 90, 0.292);
  --shadow-lg: 0 20px 50px rgba(10,26,79,0.2);
  --shadow-royal: 0 25px 60px rgba(10, 26, 79, 0.344);

  /* Effects */
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-md: 0 10px 30px rgba(30,58,138,.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30,58,138,0.05), transparent);
  transition: left 0.8s ease;
}

.contact-form:hover::before {
  left: 100%;
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 24px; 
}

.form-group { 
  margin-bottom: 24px; 
}

.form-group label { 
  display: block; 
  font-weight: 700; 
  color: var(--brand-primary); 
  margin-bottom: 10px; 
  font-size: 1rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%; 
  padding: 16px 20px; 
  border-radius: 12px; 
  border: 2px solid rgba(30,58,138,0.15);
  font: inherit; 
  color: var(--ink); 
  background: rgba(255,255,255,0.8); 
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; 
  border-color: var(--brand-accent); 
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
  transform: translateY(-2px);
  background: #fff;
}

.form-group textarea { 
  min-height: 160px; 
  resize: vertical; 
}

.field-hint { 
  color: #dc2626; 
  font-size: 0.9rem; 
  min-height: 1.2rem; 
  display: inline-block; 
  margin-top: 6px;
  font-weight: 500; 
}

.submit-btn {
  width: 100%; 
  padding: 18px; 
  border-radius: 50px; 
  border: none; 
  cursor: pointer;
  background: var(--brand-gradient); 
  color: #fff; 
  font-weight: 800; 
  font-size: 1.1rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px;
  box-shadow: var(--shadow-md); 
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  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.4s ease, height 0.4s ease;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover { 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: var(--shadow-royal); 
}

.submit-btn:disabled { 
  opacity: 0.7; 
  cursor: not-allowed; 
  transform: none;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-xl);
  color: #166534;
  margin-top: 32px;
}

.success-message.show {
  display: block;
  animation: fadeInScale 0.6s ease-out;
}

.success-message i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #166534;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CAREERS SECTION */
.careers {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #eef2ff 100%);
}

.career-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.career-btn::before {
  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.4s ease, height 0.4s ease;
}

.career-btn:hover::before {
  width: 300px;
  height: 300px;
}

.career-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-royal);
}

/* CAREER POPUP */
.career-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.career-popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.4s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.career-popup-content {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-royal);
  transform: scale(0.9);
  animation: popupScale 0.4s ease-out 0.1s forwards;
}

@keyframes popupScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.career-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px 20px;
  border-bottom: 2px solid rgba(30,58,138,0.1);
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.career-popup-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}

.close-popup {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.close-popup:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.career-form {
  padding: 40px;
}

.career-success-message {
  display: none;
  text-align: center;
  padding: 60px 40px;
  color: var(--brand-primary);
}

.career-success-message.show {
  display: block;
  animation: fadeInScale 0.6s ease-out;
}

.career-success-message i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 24px;
}

.career-success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
}

.career-success-message p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ENHANCED FOOTER */
.footer {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  padding: 80px 0 32px;
  color: var(--brand-primary);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-column {
  flex: 1 1 280px;
  text-align: left;
  min-width: 250px;
}

.footer-company-name {
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav,
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-column ul li {
  margin-bottom: 12px;
}

.footer-nav li a,
.footer-column ul li a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-nav li a::after,
.footer-column ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.footer-nav li a:hover::after,
.footer-column ul li a:hover::after {
  width: 100%;
}

.footer-nav li a:hover,
.footer-column ul li a:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}

.footer-column h4 {
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--brand-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-column p:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}

.footer-column p i {
  width: 24px;
  color: var(--brand-accent);
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(30,58,138,0.1);
  color: var(--brand-primary);
  border-radius: 50%;
  transition: var(--transition-bounce);
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: var(--brand-gradient);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(30,58,138,0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 2px solid rgba(30,58,138,0.15);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* ENHANCED ANIMATION CLASSES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE ENHANCEMENTS */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  
  .about-content { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }
  
  .about-text h2 { text-align: center; }
  
  .products-list {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .career-popup-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }
}

@media (max-width: 768px) {
  .form-row { 
    grid-template-columns: 1fr; 
  }
  
  .about-buttons { 
    flex-direction: column; 
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-btn {
    flex: none;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .career-popup-header,
  .career-form {
    padding: 24px;
  }
  
  .hero-subtitle {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  
  .hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
}

@media (max-width: 640px) {
  .features-grid, 
  .about-images, 
  .careers-grid { 
    grid-template-columns: 1fr; 
  }
  
  .footer-content { 
    flex-direction: column; 
    text-align: center; 
    gap: 32px;
  }
  
  .about-text h2 { 
    font-size: clamp(1.5rem, 5vw, 2.5rem); 
  }
  
  .product-category {
    padding: 24px 20px;
  }
  
  .products-list {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  
  .career-popup {
    padding: 10px;
  }
  
  .career-popup-content {
    margin: 10px;
  }
}

/* ADDITIONAL SMOOTH ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .product-card,
  .mission-card,
  .vision-card {
    animation-duration: 0.8s;
    animation-fill-mode: both;
  }
  
  .feature-card:nth-child(1) { animation-delay: 0.1s; }
  .feature-card:nth-child(2) { animation-delay: 0.2s; }
  .feature-card:nth-child(3) { animation-delay: 0.3s; }
  .feature-card:nth-child(4) { animation-delay: 0.4s; }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}15);
  --shadow-lg: 0 20px 50px rgba(30,58,138,.20);
  --shadow-royal: 0 25px 60px rgba(30,58,138,.25);
  
  /* Animation Variables */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

*,
*::before,
*::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

/* ENHANCED LOADING SCREEN */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ENHANCED NAVIGATION */
.nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(30,58,138,0.1);
  z-index: 1000;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(30,58,138,0.08);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  height: 80px; 
  padding: 0 20px;
}

.logo { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  text-decoration: none; 
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 45px; 
  height: 45px; 
  border-radius: 12px;
  background: var(--brand-gradient);
  display: grid; 
  place-items: center; 
  box-shadow: 0 4px 15px rgba(30,58,138,0.2);
  transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
  box-shadow: 0 6px 25px rgba(30,58,138,0.3);
  transform: rotate(5deg);
}

.logo-img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-weight: 800; 
  letter-spacing: .5px; 
  color: var(--brand-primary); 
  font-size: 1.3rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { 
  list-style: none; 
  display: flex; 
  gap: 40px; 
}

.nav-links a, .nav-link {
  color: var(--brand-primary); 
  text-decoration: none; 
  font-weight: 600; 
  padding: 8px 0; 
  position: relative;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.nav-links a::after, .nav-link::after {
  content: ""; 
  position: absolute; 
  left: 0; 
  bottom: -8px; 
  height: 3px; 
  width: 0;
  background: var(--brand-gradient);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover, .nav-link:hover { 
  color: var(--brand-accent); 
  transform: translateY(-2px);
}

.nav-links a:hover::after, .nav-link:hover::after, .nav-link.active::after { 
  width: 100%; 
}

.nav-link.active { 
  color: var(--brand-accent); 
}

/* Mobile nav */
.nav-toggle { 
  display: none; 
  border: 0; 
  background: transparent; 
  color: var(--brand-primary); 
  font-size: 1.5rem; 
  cursor: pointer; 
  padding: 10px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-toggle:hover {
  background: rgba(30,58,138,0.1);
  transform: scale(1.1);
}

.mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(30,58,138,0.1);
  display: none; 
  gap: 8px; 
  padding: 20px;
  box-shadow: 0 8px 32px rgba(30,58,138,0.1);
}

.mobile-menu.show { 
  display: grid; 
  animation: slideDown 0.4s ease-out;
}

.mobile-link { 
  color: var(--brand-primary); 
  text-decoration: none; 
  font-weight: 600; 
  padding: 15px 0; 
  border-bottom: 1px solid rgba(30,58,138,0.1);
  transition: var(--transition-smooth);
}

.mobile-link:hover {
  color: var(--brand-accent);
  padding-left: 10px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ENHANCED HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.5);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30,58,138,0) 0%, rgba(59,130,246,0) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  animation: slideUpFade 1.2s ease-out 0.5s forwards;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  animation: slideUpFade 1.2s ease-out 0.8s forwards;
}

.hero-buttons {
  opacity: 0;
  animation: slideUpFade 1.2s ease-out 1.1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.pulse-animation {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 8px 32px rgba(255,255,255,0.4); }
}

.scroll-indicator { 
  position: absolute; 
  bottom: 30px; 
  left: 50%; 
  transform: translateX(-50%); 
  color: rgba(255,255,255,0.8); 
  animation: bounce 2s infinite; 
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  color: #fff;
  transform: translateX(-50%) scale(1.2);
}

@keyframes bounce { 
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 
  40% { transform: translateX(-50%) translateY(-10px); } 
  60% { transform: translateX(-50%) translateY(-5px); } 
}

/* ANIMATION KEYFRAMES */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUpFade 1.2s ease-out 0.5s forwards;
  opacity: 0;
}

.animate-slide-up-delay {
  animation: slideUpFade 1.2s ease-out 0.8s forwards;
  opacity: 0;
}

.animate-slide-up-delay-2 {
  animation: slideUpFade 1.2s ease-out 1.1s forwards;
  opacity: 0;
}

/* ENHANCED SECTIONS */
.features { 
  padding: 120px 0; 
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-royal) 100%); 
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30,58,138,0.03) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-title {
  text-align: center; 
  font-size: clamp(2rem, 4vw, 3.5rem); 
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800; 
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  text-align: center; 
  color: var(--muted); 
  max-width: 700px; 
  margin: 0 auto 80px; 
  font-size: 1.2rem;
  line-height: 1.8;
}

.features-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 32px;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: rgba(255,255,255,0.9); 
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl); 
  padding: 40px 32px;
  border: 1px solid rgba(30,58,138,0.1); 
  box-shadow: 0 10px 30px rgba(30,58,138,0.1);
  transition: var(--transition-bounce);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30,58,138,0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover { 
  transform: translateY(-12px) scale(1.02); 
  box-shadow: var(--shadow-royal); 
  border-color: rgba(30,58,138,0.2); 
}

.staggered-animation.is-visible {
  animation: staggerFadeIn 0.8s ease-out forwards;
}

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-icon {
  font-size: 3rem; 
  margin-bottom: 20px; 
  background: var(--brand-gradient);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  display: block;
  transition: var(--transition-smooth);
}

.rotate-animation:hover {
  animation: iconRotate 0.6s ease-in-out;
}

@keyframes iconRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.2); }
}

.feature-card h3 { 
  color: var(--brand-primary); 
  margin-bottom: 16px; 
  font-size: 1.4rem;
  font-weight: 700; 
}

.feature-card p { 
  color: var(--muted); 
  line-height: 1.7; 
  font-size: 1rem;
}

/* ENHANCED PRODUCTS SECTION */
.products {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #eef2ff 100%);
  position: relative;
}

.products-grid {
  display: grid;
  gap: 56px;
}

.product-category {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid rgba(30,58,138,0.1);
  box-shadow: 0 8px 32px rgba(30,58,138,0.1);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.product-category::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.product-category:hover::after {
  transform: scaleX(1);
}

.product-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-royal);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(30,58,138,0.1);
}

.category-icon {
  font-size: 3rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-smooth);
}

.category-header:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-header h3 {
  color: var(--brand-primary);
  font-size: 2rem;
  font-weight: 800;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 36px;
}

.product-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(30,58,138,0.08);
  box-shadow: 0 6px 24px rgba(30,58,138,0.1);
  transition: var(--transition-bounce);
  position: relative;
}

.fade-in-up.is-visible {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(30,58,138,0.2);
}

.product-image {
  position: relative;
  height: 220px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(1.1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255,107,107,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-info {
  padding: 36px 28px;
}

.product-info h4 {
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-specs {
  color: var(--brand-accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.product-info > p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 1rem;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.product-features li:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}

.product-features i {
  color: var(--brand-accent);
  font-size: 0.9rem;
  min-width: 16px;
}

.product-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  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.4s ease, height 0.4s ease;
}

.product-btn:hover::before {
  width: 300px;
  height: 300px;
}

.product-btn.primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30,58,138,0.3);
}

.product-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30,58,138,0.4);
}

.product-btn.secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.product-btn.secondary:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ENHANCED ABOUT SECTION */
.about { 
  padding: 120px 0; 
  background: var(--brand-gradient);
  color: #fff; 
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.about-content { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 64px; 
  align-items: start;
  position: relative;
  z-index: 2;
}

.about-text h2 { 
  font-size: clamp(2rem, 4vw, 3.5rem); 
  margin-bottom: 24px; 
  color: #fff; 
  text-align: center;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.about-text p { 
  color: rgba(255,255,255,0.9); 
  margin-bottom: 24px; 
  line-height: 1.8; 
  text-align: justify;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.about-buttons {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.about-images { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

.drone-image { 
  border-radius: 20px; 
  overflow: hidden; 
  border: 2px solid rgba(255,255,255,0.2); 
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.hover-zoom:hover {
  transform: scale(1.05) rotate(2deg);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.drone-image img { 
  width: 100%; 
  height: 100%; 
  display: block; 
  object-fit: cover; 
  aspect-ratio: 4/3;
  transition: var(--transition-smooth);
}

.hover-zoom:hover img {
  transform: scale(1.1);
}

.cta-button {
  display: inline-flex; 
  align-items: center; 
  gap: 12px;
  padding: 16px 32px; 
  border-radius: 50px; 
  font-weight: 700;
  text-decoration: none; 
  border: 2px solid rgba(255,255,255,0.3); 
  transition: var(--transition-bounce);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-button:hover { 
  transform: translateY(-3px) scale(1.05); 
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3); 
}

/* EXTENDED ABOUT SECTION */
.about-extended {
  margin-top: 80px;
  display: none;
  animation: slideDown 0.6s ease-out;
}

.about-extended.show {
  display: block;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.mission-card, .vision-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition-bounce);
}

.mission-card:hover, .vision-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.mv-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: #fff;
  transition: var(--transition-smooth);
}

.mission-card:hover .mv-icon,
.vision-card:hover .mv-icon {
  transform: scale(1.1) rotate(10deg);
  background: rgba(255,255,255,0.3);
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
}

.mission-card p,
.vision-card p {
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  font-size: 1rem;
}

/* ENHANCED CONTACT SECTION */
.contact { 
  padding: 120px 0; 
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-royal) 100%); 
}

.contact-content { 
  max-width: 800px; 
  margin: 0 auto; 
}

.contact-form {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(15px);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30,58,138,0.1);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30,58,138,0.05), transparent);
  transition: left 0.8s ease;
}

.contact-form:hover::before {
  left: 100%;
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 24px; 
}

.form-group { 
  margin-bottom: 24px; 
}

.form-group label { 
  display: block; 
  font-weight: 700; 
  color: var(--brand-primary); 
  margin-bottom: 10px; 
  font-size: 1rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%; 
  padding: 16px 20px; 
  border-radius: 12px; 
  border: 2px solid rgba(30,58,138,0.15);
  font: inherit; 
  color: var(--ink); 
  background: rgba(255,255,255,0.8); 
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; 
  border-color: var(--brand-accent); 
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
  transform: translateY(-2px);
  background: #fff;
}

.form-group textarea { 
  min-height: 160px; 
  resize: vertical; 
}

.field-hint { 
  color: #dc2626; 
  font-size: 0.9rem; 
  min-height: 1.2rem; 
  display: inline-block; 
  margin-top: 6px;
  font-weight: 500; 
}

.submit-btn {
  width: 100%; 
  padding: 18px; 
  border-radius: 50px; 
  border: none; 
  cursor: pointer;
  background: var(--brand-gradient); 
  color: #fff; 
  font-weight: 800; 
  font-size: 1.1rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px;
  box-shadow: var(--shadow-md); 
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  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.4s ease, height 0.4s ease;
}

.submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.submit-btn:hover { 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: var(--shadow-royal); 
}

.submit-btn:disabled { 
  opacity: 0.7; 
  cursor: not-allowed; 
  transform: none;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-xl);
  color: #166534;
  margin-top: 32px;
}

.success-message.show {
  display: block;
  animation: fadeInScale 0.6s ease-out;
}

.success-message i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 16px;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #166534;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CAREERS SECTION */
.careers {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #eef2ff 100%);
}

.career-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.career-btn::before {
  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.4s ease, height 0.4s ease;
}

.career-btn:hover::before {
  width: 300px;
  height: 300px;
}

.career-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-royal);
}

/* CAREER POPUP */
.career-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

.career-popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.4s ease-out;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.career-popup-content {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-royal);
  transform: scale(0.9);
  animation: popupScale 0.4s ease-out 0.1s forwards;
}

@keyframes popupScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.career-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px 20px;
  border-bottom: 2px solid rgba(30,58,138,0.1);
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.career-popup-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}

.close-popup {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.close-popup:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.career-form {
  padding: 40px;
}

.career-success-message {
  display: none;
  text-align: center;
  padding: 60px 40px;
  color: var(--brand-primary);
}

.career-success-message.show {
  display: block;
  animation: fadeInScale 0.6s ease-out;
}

.career-success-message i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 24px;
}

.career-success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
}

.career-success-message p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ENHANCED FOOTER */
.footer {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  padding: 80px 0 32px;
  color: var(--brand-primary);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.footer-column {
  flex: 1 1 280px;
  text-align: left;
  min-width: 250px;
}

.footer-company-name {
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav,
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-column ul li {
  margin-bottom: 12px;
}

.footer-nav li a,
.footer-column ul li a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
}

.footer-nav li a::after,
.footer-column ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width 0.3s ease;
}

.footer-nav li a:hover::after,
.footer-column ul li a:hover::after {
  width: 100%;
}

.footer-nav li a:hover,
.footer-column ul li a:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}

.footer-column h4 {
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--brand-primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-column p:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}

.footer-column p i {
  width: 24px;
  color: var(--brand-accent);
  font-size: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(30,58,138,0.1);
  color: var(--brand-primary);
  border-radius: 50%;
  transition: var(--transition-bounce);
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: var(--brand-gradient);
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(30,58,138,0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 2px solid rgba(30,58,138,0.15);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* ENHANCED ANIMATION CLASSES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s ease, transform 1s ease;
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE ENHANCEMENTS */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  
  .about-content { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }
  
  .about-text h2 { text-align: center; }
  
  .products-list {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .career-popup-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }
}

@media (max-width: 768px) {
  .form-row { 
    grid-template-columns: 1fr; 
  }
  
  .about-buttons { 
    flex-direction: column; 
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-btn {
    flex: none;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .career-popup-header,
  .career-form {
    padding: 24px;
  }
  
  .hero-subtitle {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
  
  .hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
}

@media (max-width: 640px) {
  .features-grid, 
  .about-images, 
  .careers-grid { 
    grid-template-columns: 1fr; 
  }
  
  .footer-content { 
    flex-direction: column; 
    text-align: center; 
    gap: 32px;
  }
  
  .about-text h2 { 
    font-size: clamp(1.5rem, 5vw, 2.5rem); 
  }
  
  .product-category {
    padding: 24px 20px;
  }
  
  .products-list {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  
  .career-popup {
    padding: 10px;
  }
  
  .career-popup-content {
    margin: 10px;
  }
}

/* ADDITIONAL SMOOTH ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .product-card,
  .mission-card,
  .vision-card {
    animation-duration: 0.8s;
    animation-fill-mode: both;
  }
  
  .feature-card:nth-child(1) { animation-delay: 0.1s; }
  .feature-card:nth-child(2) { animation-delay: 0.2s; }
  .feature-card:nth-child(3) { animation-delay: 0.3s; }
  .feature-card:nth-child(4) { animation-delay: 0.4s; }
}

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FOCUS STYLES FOR ACCESSIBILITY */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ERROR MESSAGE ANIMATIONS */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* PRODUCT MODAL STYLES */
.product-modal {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-modal.show {
  opacity: 1;
}

.product-modal-content {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-royal);
}

.product-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.product-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.close-modal {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.close-modal:hover {
  background: rgba(255,255,255,0.3);
}

.product-modal-body {
  padding: 32px;
}

.modal-actions {
  margin-top: 24px;
  text-align: center;
}

/* FILE INPUT STYLING */
input[type="file"] {
  padding: 12px 16px !important;
  background: var(--bg-soft) !important;
  border: 2px dashed rgba(30,58,138,0.3) !important;
  border-radius: 12px !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

input[type="file"]:hover {
  border-color: var(--brand-accent) !important;
  background: rgba(30,58,138,0.05) !important;
}

input[type="file"]:focus {
  border-color: var(--brand-accent) !important;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15) !important;
}

/* ENHANCED LOADING STATES */
.loading-state {
  position: relative;
  overflow: hidden;
}

.loading-state::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ENHANCED HOVER EFFECTS FOR NAVIGATION */
.nav-container:hover .logo-text {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
