/* ==========================================================================
   AEROXPRESS PREMIUM DESIGN SYSTEM & HIGH-TECH STYLES
   ========================================================================== */

/* Hero Banner Enhancements */
.hero-banner {
  position: relative;
  min-height: 500px;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-banner:hover img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 12, 23, 0.75) 0%, rgba(7, 12, 23, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.hero-content {
  max-width: 880px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px !important;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #df2a19 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(223, 42, 25, 0.4);
  transition: all 0.3s ease;
  border: none;
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(223, 42, 25, 0.6);
  color: #ffffff !important;
}

.btn-secondary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-secondary-glow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #00f0ff;
  color: #00f0ff !important;
  transform: translateY(-2px);
}

/* Key Metrics Stats Strip */
.aero-stats-section {
  padding: 36px 0;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.aero-stat-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.aero-stat-card:hover {
  border-color: rgba(223, 42, 25, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.aero-stat-num {
  font-size: 38px;
  font-weight: 900;
  color: #00f0ff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.aero-stat-card:nth-child(2) .aero-stat-num { color: #ff4530; }
.aero-stat-card:nth-child(3) .aero-stat-num { color: #10b981; }
.aero-stat-card:nth-child(4) .aero-stat-num { color: #a855f7; }

.aero-stat-label {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 600;
}

/* ==========================================================================
   SCREENSHOT 2 EXACT FORMAT: 3-COLUMN GRID & LEFT-ALIGNED CARDS WITH TOP RED ACCENT
   ========================================================================== */
.aero-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aero-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Top Red Accent Border */
.aero-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: #df2a19;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aero-feature-card.active::before,
.aero-feature-card:hover::before {
  opacity: 1;
}

.aero-feature-card.active,
.aero-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 42, 25, 0.3);
  box-shadow: 0 14px 36px rgba(223, 42, 25, 0.12);
}

/* Left-aligned Icon Box (Rounded Square) */
.aero-feature-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: #fff0f0;
  color: #df2a19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: none;
}

.aero-feature-card.active .aero-feature-icon,
.aero-feature-card:hover .aero-feature-icon {
  background: #df2a19;
  color: #ffffff;
  transform: scale(1.05);
}

.aero-feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  text-align: left;
  line-height: 1.35;
}

.aero-feature-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Command Center Image Frame below 3-Column Grid */
.features-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.features-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.features-image-frame:hover img {
  transform: scale(1.03);
}

/* Visual Gallery Enhancements */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 42, 25, 0.5);
  box-shadow: 0 18px 40px rgba(223, 42, 25, 0.25);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.gallery-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.gallery-label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

/* Why Choose Grid Modernization (Screenshot 2 Format) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.why-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: #df2a19;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-item.active::before,
.why-item:hover::before {
  opacity: 1;
}

.why-item.active,
.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 42, 25, 0.3);
  box-shadow: 0 14px 36px rgba(223, 42, 25, 0.12);
}

.why-item-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: #fff0f0;
  color: #df2a19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-item.active .why-item-icon,
.why-item:hover .why-item-icon {
  background: #df2a19;
  color: #ffffff;
  transform: scale(1.05);
}

.why-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  text-align: left;
  display: block;
}

.why-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* High-Impact CTA Banner Section */
.aero-cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 24px;
  padding: 32px 28px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.aero-cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.aero-cta-box p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Dark Mode Overrides */
html[data-theme="dark"] .aero-feature-card,
body.dark-theme .aero-feature-card,
html[data-theme="dark"] .why-item,
body.dark-theme .why-item {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] .aero-feature-card.active,
html[data-theme="dark"] .aero-feature-card:hover,
body.dark-theme .aero-feature-card.active,
body.dark-theme .aero-feature-card:hover,
html[data-theme="dark"] .why-item.active,
html[data-theme="dark"] .why-item:hover,
body.dark-theme .why-item.active,
body.dark-theme .why-item:hover {
  background: #1e293b !important;
  border-color: rgba(223, 42, 25, 0.4) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .aero-feature-icon,
body.dark-theme .aero-feature-icon,
html[data-theme="dark"] .why-item-icon,
body.dark-theme .why-item-icon {
  background: rgba(223, 42, 25, 0.15) !important;
  color: #ff4530 !important;
}

html[data-theme="dark"] .aero-feature-card.active .aero-feature-icon,
html[data-theme="dark"] .aero-feature-card:hover .aero-feature-icon,
body.dark-theme .aero-feature-card.active .aero-feature-icon,
body.dark-theme .aero-feature-card:hover .aero-feature-icon,
html[data-theme="dark"] .why-item.active .why-item-icon,
html[data-theme="dark"] .why-item:hover .why-item-icon,
body.dark-theme .why-item.active .why-item-icon,
body.dark-theme .why-item:hover .why-item-icon {
  background: #df2a19 !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .aero-feature-card h4,
body.dark-theme .aero-feature-card h4,
html[data-theme="dark"] .why-item h4,
body.dark-theme .why-item h4 {
  color: #ffffff !important;
}

html[data-theme="dark"] .aero-feature-card p,
body.dark-theme .aero-feature-card p,
html[data-theme="dark"] .why-item p,
body.dark-theme .why-item p {
  color: #94a3b8 !important;
}

html[data-theme="dark"] .aero-stats-section,
body.dark-theme .aero-stats-section {
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

html[data-theme="dark"] .aero-cta-box,
body.dark-theme .aero-cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  border-color: rgba(0, 240, 255, 0.3);
}

html[data-theme="light"] .aero-cta-box,
body.light-theme .aero-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
}

html[data-theme="light"] .aero-cta-box h2,
body.light-theme .aero-cta-box h2 {
  color: #0f172a;
}

html[data-theme="light"] .aero-cta-box p,
body.light-theme .aero-cta-box p {
  color: #475569;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .aero-feature-grid,
  .aero-stats-grid,
  .gallery-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .aero-feature-grid,
  .why-grid,
  .aero-stats-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 32px;
  }
}


/* How AeroXpress Transforms Operations 2-Column Split View */
.aero-transform-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.transform-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.transform-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.transform-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25);
  border-color: rgba(223, 42, 25, 0.4);
}

.transform-image-frame:hover img {
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .aero-transform-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ==========================================================================
   COMPACT & PROFESSIONAL HEADER LAYOUT (Reduced Top Spacing & Clean Height)
   ========================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
}

.nav-wrap,
.site-header .nav-wrap {
  height: 58px !important;
  min-height: 58px !important;
  gap: 16px !important;
}

.logo-img,
.site-logo .logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
}

.nav-list a,
.site-header nav .nav-list > li > a {
  padding: 6px 12px !important;
  font-size: 13.5px !important;
}

/* ==========================================================================
   TIGHTEN SECTION PADDINGS & REMOVE UNWANTED EMPTY SPACES FOR AEROXPRESS
   ========================================================================== */
.careers-hero-section {
  padding: 10px 0 28px !important;
}

.aero-stats-section {
  padding: 24px 0 !important;
}

section.section,
section.section-alt {
  padding: 44px 0 !important;
}

.mb-40 {
  margin-bottom: 24px !important;
}

.mt-32 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 24px !important;
}

.aero-cta-box {
  padding: 32px 28px !important;
}

/* Decorative Section Badges & Visual Polish */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(223, 42, 25, 0.08);
  border: 1px solid rgba(223, 42, 25, 0.2);
  color: #df2a19;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

html[data-theme="dark"] .badge-tag,
body.dark-theme .badge-tag {
  background: rgba(223, 42, 25, 0.15);
  border-color: rgba(223, 42, 25, 0.3);
  color: #ff4530;
}

.section-heading {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

html[data-theme="dark"] .section-heading,
body.dark-theme .section-heading {
  color: #ffffff;
}

.gradient-text-red {
  background: linear-gradient(135deg, #ff5e4d 0%, #df2a19 60%, #b41e12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   UNIFIED LIGHT RED KPI METRICS CARD STRIP DESIGN SYSTEM
   ========================================================================== */
.aero-stats-section {
  padding: 32px 0 !important;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

html[data-theme="light"] .aero-stats-section,
body.light-theme .aero-stats-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.aero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.aero-stat-card {
  background: rgba(30, 41, 59, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 22px 18px !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="light"] .aero-stat-card,
body.light-theme .aero-stat-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
}

/* Unified Light Red Top Accent Border */
.aero-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #df2a19 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aero-stat-card:hover::before {
  opacity: 1;
}

.aero-stat-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(223, 42, 25, 0.3) !important;
  box-shadow: 0 12px 28px rgba(223, 42, 25, 0.12) !important;
}

.stat-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
}

.stat-icon-box {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  background: #fee2e2 !important;
  color: #df2a19 !important;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .stat-icon-box,
body.dark-theme .stat-icon-box {
  background: rgba(223, 42, 25, 0.15) !important;
  color: #ff4530 !important;
}

.aero-stat-card:hover .stat-icon-box {
  background: #df2a19 !important;
  color: #ffffff !important;
}

.stat-badge-trend {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 14px !important;
  background: #fee2e2 !important;
  color: #df2a19 !important;
}

html[data-theme="dark"] .stat-badge-trend,
body.dark-theme .stat-badge-trend {
  background: rgba(223, 42, 25, 0.15) !important;
  color: #ff4530 !important;
}

/* Reduced Stat Number Font Size */
.aero-stat-num {
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.5px !important;
  color: #df2a19 !important;
}

html[data-theme="dark"] .aero-stat-num,
body.dark-theme .aero-stat-num {
  color: #ff4530 !important;
}

/* Reduced Stat Label Font Size */
.aero-stat-label {
  font-size: 13.5px !important;
  color: #475569 !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

html[data-theme="dark"] .aero-stat-label,
body.dark-theme .aero-stat-label {
  color: #94a3b8 !important;
}