/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/background.jpg') center/cover no-repeat fixed;
  min-height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 20px);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  height: auto;
}

.nav {
  padding: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  min-height: 70px;
  padding-block: 1rem;
}

.nav-brand .brand-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #8777e3;
  background: rgba(102, 126, 234, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #4a5568;
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #4a5568;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Main Content */
.main-content {
  padding-top: clamp(60px, 10vw, 100px);
}

.switchable-section {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
}

.switchable-section.active {
  opacity: 1;
  visibility: visible;
  max-height: 5000px;
  transform: translateY(0);
}

/* Ensure Home-only sections are always hidden unless explicitly active */
.home-only {
  display: none !important;
}
.home-only.active {
  display: block !important;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.hero-section.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Tracking Form */
.tracking-form {
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.tracking-form .form-group {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
}

.tracking-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.tracking-input::placeholder {
  color: #a0aec0;
}

.btn-track {
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Loading indicator for tracking form */
.loading-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(0,0,0,0.25);
  box-shadow: none;
  font-weight: 600;
  color: #fff;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.loading-indicator .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  animation: spin 0.9s linear infinite;
}

.loading-indicator .loading-text {
  display: none;
  font-size: 0.95rem;
}

.page-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  padding: 1rem;
}

.page-loader-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.overlay-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 6px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  animation: spin 0.9s linear infinite;
}

.page-loader-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.page-loader-text {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* When button is loading, reduce its opacity so overlay is visible */
.btn-track.loading {
  opacity: 0.85;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */
.about-section {
  padding-block: clamp(2rem, 8vw, 5rem);
  padding-inline: 1rem;
  background: #071123;
  color: #f8fafc;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.contact-section {
  padding-block: clamp(2rem, 8vw, 5rem);
  padding-inline: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.about-section.active,
.contact-section.active {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.about-hero-copy {
  color: #f8fafc;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #7dd3fc;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hero-copy h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.03;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.about-hero-copy p {
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stat {
  padding: 1.2rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.about-hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.about-hero-details {
  width: min(100%, 580px);
}

.about-hero-details .why-choose-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.6rem;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.about-hero-details .why-choose-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.about-hero-details .why-choose-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.about-hero-details .why-choose-description {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.85;
}

.about-hero-image-frame {
  position: relative;
  width: min(100%, 580px);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  min-height: 420px;
  background: rgba(8, 18, 40, 0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(7, 11, 34, 0.95));
  pointer-events: none;
}

.about-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: float-scale 12s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes float-scale {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.02);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

@media (max-width: 980px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-section {
    padding-block: clamp(1.5rem, 6vw, 2.5rem);
  }

  .about-hero-copy h2 {
    font-size: 2rem;
  }

  .about-hero-copy p {
    margin-bottom: 1.75rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .about-hero-image-frame {
    min-height: 320px;
    border-radius: 28px;
  }
}

.about-image {
  text-align: center;
}

.image-placeholder {
  width: min(100%, 300px);
  height: auto;
  min-height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
}

.image-placeholder span {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about-sticker {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  object-fit: cover;
  margin-bottom: 1rem;
}

.image-placeholder p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  background: #f7fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 2rem;
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: #718096;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  background: #f7fafc;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.form label {
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form input,
.form textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Results Section */
.results-section {
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.results-section .container {
  max-width: 800px;
}

/* Footer */
.footer {
  background: #1a202c;
  color: white;
  padding: clamp(2rem, 4vw, 3rem) 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: #a0aec0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1rem;
  text-align: center;
  color: #718096;
  font-size: 0.9rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Message and Card Styles */
.message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.message.success {
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

.message.error {
  background: #fed7d7;
  color: #742a2a;
  border: 1px solid #feb2b2;
}

.message.info {
  background: #bee3f8;
  color: #2a4365;
  border: 1px solid #90cdf4;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Invoice Controls */
#invoiceControls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#invoiceControls .btn {
  min-width: 140px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .tracking-form .form-group {
    flex-direction: column;
    gap: 0.75rem;
    padding: 6px;
  }

  .tracking-input {
    padding: 0.875rem 1.25rem;
  }

  .btn-track {
    padding: 0.875rem 1.5rem;
  }

  .features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    gap: 1.5rem;
  }

  .form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  #invoiceControls {
    flex-direction: column;
    align-items: center;
  }

  #invoiceControls .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  .service-grid {
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
  }

  .main-content {
    padding-top: 80px;
  }

  .nav-container {
    min-height: 60px;
    padding-block: 0.75rem;
  }

  .hero-section {
    min-height: auto;
  }

  .air-freight-section {
    padding: clamp(1rem, 2vw, 2rem) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 clamp(0.75rem, 2vw, 15px);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .about-content,
  .contact-content {
    gap: clamp(1rem, 3vw, 2rem);
  }

  .card {
    padding: clamp(1rem, 2vw, 1.5rem);
  }

  .footer {
    padding: clamp(1.5rem, 3vw, 2rem) 0 1rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .form input,
  .form textarea,
  .form select {
    font-size: 16px;
  }

  .about-text h3 {
    font-size: 1.35rem;
  }

  .hero-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-section {
    padding: 1.5rem 0;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 0.75rem;
  }

  .service-card {
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .hero-panel {
    padding: 1rem;
  }

  .tracking-form .form-group {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .air-freight-section {
    padding: 0.75rem 0;
  }
}

/* Hidden class */
.hidden {
  display: none !important;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
input:focus,
textarea:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Shipment Info */
.shipment-info {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.5rem, 1vw, 0.75rem) 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 1rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
}

.info-row .value {
  color: #2d3748;
  font-weight: 500;
  text-align: right;
  font-size: 0.95rem;
}

.info-row .value.status-delivered {
  color: #38a169;
}

.info-row .value.status-in-transit {
  color: #3182ce;
}

.info-row .value.status-awaiting-delivery {
  color: #805ad5;
}

.info-row .value.status-on-hold {
  color: #d69e2e;
}

.info-row .value.status-pending {
  color: #718096;
}

.info-row .value.status-returned,
.info-row .value.status-cancelled {
  color: #e53e3e;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.progress-label {
  font-weight: 600;
  color: #2d3748;
}

.progress-value {
  color: #4a5568;
}

.progress-container {
  width: 100%;
  height: 14px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.package-details {
  margin-top: 1.5rem;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.map-frame {
  margin: 1.5rem 0;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header {
  padding: 1.4rem 1.5rem;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-header span {
  display: inline-flex;
  color: #7dd3fc;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.map-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.65;
}

.map-frame iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: 1rem;
  justify-content: center;
}

.invoice-actions .btn {
  min-width: clamp(140px, 80vw, 180px);
}



/* Mobile Navigation */
.nav-menu.active {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Header scroll effect */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.timeline {
  position: relative;
  margin: clamp(1rem, 3vw, 2rem) 0;
  padding-left: clamp(2rem, 5vw, 3rem);
}

.timeline::before {
  content: '';
  position: absolute;
  left: clamp(18px, 3vw, 22px);
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #667eea, #764ba2);
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  margin-bottom: 1.2rem;
  padding-left: clamp(0.75rem, 2vw, 1rem);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 8px;
  width: clamp(18px, 4vw, 20px);
  height: clamp(18px, 4vw, 20px);
  border-radius: 50%;
  border: 3px solid #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
  transition: transform 0.25s ease;
}

.timeline-step.completed .timeline-marker {
  border-color: #4ade80;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}
.timeline-step.current .timeline-marker {
  border-color: #805ad5;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scale(1.15);
}
.timeline-step.upcoming .timeline-marker {
  border-color: #cbd5e1;
  background: #f1f5f9;
}
.timeline-step.current::after {
  content: '➜';
  position: absolute;
  left: 40px;
  top: 0;
  color: #805ad5;
  font-weight: bold;
}
.timeline-content {
  margin-left: 1.2rem;
}
.timeline-step-title {
  font-weight: 600;
  font-size: 0.96rem;
}
.timeline-step .timeline-step-note,
.timeline-step .timeline-step-time {
  font-size: 0.85rem;
  color: #475569;
}
.timeline-step.completed .timeline-step-title { color: #16a34a; }
.timeline-step.current .timeline-step-title { color: #4c51bf; font-weight: 700; }
.timeline-step.upcoming .timeline-step-title,
.timeline-step.upcoming .timeline-step-note,
.timeline-step.upcoming .timeline-step-time {
  color: #94a3b8;
}

@media (max-width: 620px) {
  .timeline { padding-left: 1.6rem; }
  .timeline::before { left: 14px; }
  .timeline-marker { left: 4px; }
  .timeline-step.current::after { left: 34px; }
}

/* Invoice print UI */
.invoice-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  z-index: 2000;
}
.invoice-modal.hidden { display: none; }
.invoice-print {
  width: 100%;
  max-width: 920px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 38px rgba(15, 23, 42, 0.35);
  padding: 16px;
}

/* Enhanced Print Styles for Cross-Device Compatibility */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  body { 
    margin: 0 !important; 
    padding: 0 !important;
    background: #fff !important;
    font-size: 12pt;
    color: #000 !important;
  }
  
  body:not(.invoice-page) main,
  body:not(.invoice-page) .container,
  body:not(.invoice-page) #message,
  body:not(.invoice-page) #trackBtn,
  body:not(.invoice-page) #trackingInput,
  body:not(.invoice-page) #invoiceControls {
    display: none !important;
  }
  
  body.invoice-page main,
  body.invoice-page .container {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  body.invoice-page .invoice-actions {
    display: none !important;
  }
  
  #invoicePrintSection,
  .invoice-print {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    page-break-after: avoid;
  }
  
  .invoice-top,
  .invoice-contacts,
  .shipment-summary,
  .tracking-updates,
  .invoice-table,
  .invoice-bottom,
  .package-details {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  
  .invoice-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .invoice-table th,
  .invoice-table td {
    border: 1px solid #000;
    padding: 8px;
  }
  
  .invoice-top {
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
  }
  
  .shipment-summary,
  .tracking-updates {
    margin-top: 16px;
  }
  
  .shipment-summary h3,
  .tracking-updates h3,
  .package-details h4 {
    margin: 0 0 12px 0;
  }
  
  ul.history-list {
    list-style: disc;
    padding-left: 20px;
  }
  
  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
  
  @page {
    size: letter;
    margin: 0.5in;
    orphans: 3;
    widows: 3;
  }
}

/* Mobile Print Optimization */
@media print and (max-width: 768px) {
  .invoice-contacts {
    grid-template-columns: 1fr !important;
  }
  
  .invoice-top {
    flex-direction: column !important;
  }
  
  .barcode-block {
    border-left: none !important;
    border-top: 1px solid #e5e7eb !important;
    padding-left: 0 !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
  }
  
  .invoice-print {
    padding: 8px !important;
    font-size: 11pt;
  }
}

.invoice-print {
  font-family: 'Segoe UI', Lato, Arial, sans-serif;
  color: #1f2937;
  margin: 0 auto;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 18px;
  max-width: 920px;
}
.invoice-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.company-left p {
  margin: 4px 0;
  font-size: 0.95rem;
}
.company-right {
  text-align: right;
  line-height: 1.35;
  font-size: 0.95rem;
}
.cashier-img {
  max-width: 120px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px;
  background: #fff;
}
@media (max-width: 900px) {
  .invoice-top { flex-direction: column; align-items: start; }
  .company-right { text-align: left; margin-top: 10px; }
  .invoice-contacts { grid-template-columns: 1fr; }
  .invoice-table th, .invoice-table td { font-size: 0.88rem; }
}
.invoice-top h2 {
  margin: 0;
  font-size: 1.25rem;
}
.invoice-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}
.contact-block h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-block .big-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.shipment-summary,
.tracking-updates {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  margin-top: 18px;
}
.shipment-summary h3,
.tracking-updates h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.shipment-info {
  display: grid;
  gap: 10px;
}
.history-list {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
}
.history-list li {
  margin-bottom: 8px;
  color: #475569;
}
.contact-block p {
  margin: 2px 0;
  line-height: 1.4;
}
.barcode-block {
  border-left: 1px solid #e2e8f0;
  padding-left: 12px;
}
.tracking-line p {
  margin: 3px 0;
  font-size: 0.9rem;
}
.invoice-barcode {
  margin-top: 10px;
  text-align: center;
}
.invoice-barcode svg {
  width: 100%;
  max-width: 280px;
  height: 60px;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.95rem;
}
.invoice-table th,
.invoice-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 8px;
  text-align: left;
}
.invoice-table th {
  background: #f8fafc;
  font-weight: 600;
}
.invoice-table td {
  background: #fff;
}
.invoice-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.payment-icons {
  display: flex;
  gap: 10px;
}
.pay-icon {
  max-width: 70px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 4px;
  background: #fff;
}
.stamp-block {
  text-align: right;
  font-size: 0.88rem;
  color: #475569;
}
.stamp-block .invoice-seal {
  width: 95px;
  height: 95px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .invoice-top { flex-direction: column; align-items: start; }
  .company-right { text-align: left; margin-top: 10px; }
  .invoice-contacts { grid-template-columns: 1fr; }
  .invoice-table th, .invoice-table td { font-size: 0.88rem; }
}

/* Responsive Background Images */
/* Mobile devices (up to 768px) - Use Background2.jpg */
@media (max-width: 768px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/background2.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
}

/* Tablets (769px to 1024px) - Use Background.jpg */
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/background.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
}

/* Desktop devices (1025px and above) - Use Background.jpg */
@media (min-width: 1025px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/background.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
}

/* Modern Logistics UI Overrides */
body {
  background: #f4f7fb;
  color: #1f2937;
}

/* Air Freight Service Section */
.air-freight-section {
  padding: clamp(1rem, 3vw, 3.5rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  margin-top: clamp(-0.5rem, -1vw, 0);
}

.air-freight-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 720px;
  margin: 0 auto;
}

.air-freight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.air-freight-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 240px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
}

.air-freight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.air-freight-card:hover .air-freight-image {
  transform: scale(1.05);
}

.air-freight-badge {
  position: absolute;
  bottom: clamp(12px, 2vw, 16px);
  right: clamp(12px, 2vw, 16px);
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  border-radius: 16px;
  background: linear-gradient(135deg, #0e6cca 0%, #a2671a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: 0 12px 32px rgba(255, 149, 0, 0.35);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.air-freight-content {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* Roland Image Showcase Section */
.roland-showcase-section {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.roland-image-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roland-image-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.roland-showcase-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.roland-image-container:hover .roland-showcase-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .roland-showcase-section {
    padding: clamp(1.5rem, 3vw, 3rem) 0;
  }

  .roland-image-container {
    border-radius: 16px;
  }

  .roland-showcase-image {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .roland-showcase-section {
    padding: clamp(1rem, 2vw, 2rem) 0;
  }

  .roland-image-container {
    padding: 0 0.75rem;
    border-radius: 12px;
  }

  .roland-showcase-image {
    border-radius: 12px;
  }
}

/* Image Carousel Section */
.image-carousel-section {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.carousel-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #ffffff;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f8fafc;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide:hover .carousel-image {
  transform: scale(1.05);
}

.carousel-arrow {
  width: clamp(40px, 8vw, 56px);
  height: clamp(40px, 8vw, 56px);
  border-radius: 50%;
  background: linear-gradient(135deg, #0e6cca 0%, #a2671a 100%);
  color: white;
  border: none;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(255, 149, 0, 0.25);
}

.carousel-arrow:hover {
  transform: scale(1.1);
  box-shadow: 0 18px 48px rgba(255, 149, 0, 0.35);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

.carousel-arrow-left {
  flex-shrink: 0;
}

.carousel-arrow-right {
  flex-shrink: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  margin-top: clamp(1.5rem, 2vw, 2rem);
  flex-wrap: wrap;
}

.dot {
  width: clamp(8px, 1.5vw, 12px);
  height: clamp(8px, 1.5vw, 12px);
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
  background: linear-gradient(135deg, #0e6cca 0%, #a2671a 100%);
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(14, 108, 202, 0.3);
}

.dot:hover {
  background: rgba(148, 163, 184, 0.6);
}

@media (max-width: 768px) {
  .image-carousel-section {
    padding: clamp(1.5rem, 3vw, 3rem) 0;
  }

  .carousel-viewport {
    border-radius: 16px;
  }

  .carousel-image {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .image-carousel-section {
    padding: clamp(1rem, 2vw, 2rem) 0;
  }

  .carousel-container {
    gap: 0.75rem;
  }

  .carousel-viewport {
    border-radius: 12px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

.air-freight-title {
  font-size: clamp(1.4rem, 4vw, 1.95rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  line-height: 1.1;
}

.air-freight-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.85;
  color: #475569;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  max-width: 620px;
}

.air-freight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #ff9500 0%, #0037ff 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 32px rgba(255, 149, 0, 0.28);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.air-freight-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(255, 149, 0, 0.38);
}

.air-freight-link::after {
  content: '→';
}

.team-section {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background: linear-gradient(180deg, #ff6a00 0%, #ff4b00 100%);
  color: #ffffff;
}

.team-card {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: grid;
  gap: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
}

.team-info {
  max-width: 720px;
  margin: 0 auto;
}

.team-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.team-title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1.05;
}

.team-copy {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.85;
  max-width: 680px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.92);
}

.team-image-wrapper {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  background: #ffffff;
}

.extra-team-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.team-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .extra-team-images {
    grid-template-columns: 1fr;
  }
}
.team-meta {
  text-align: center;
  padding: clamp(1rem, 2vw, 1.5rem) 0 0;
}

.team-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0;
  color: #000000;
}

.team-role {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin: 0.35rem 0 0;
  color: #000000;
}

.why-choose-section {
  background: #f7f8fb;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.why-choose-card {
  background: #ffffff;
  border-radius: 36px;
  padding: clamp(2rem, 3vw, 3rem);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.why-choose-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.why-choose-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-choose-image-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 32px;
  object-fit: cover;
}

.why-choose-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-choose-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.12);
  color: #ff5a00;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.why-choose-title {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.98;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.why-choose-description {
  margin-top: 1.5rem;
  max-width: 620px;
  color: #334155;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.85;
}

@media (max-width: 980px) {
  .why-choose-layout {
    grid-template-columns: 1fr;
  }

  .why-choose-copy {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .air-freight-section {
    padding: 2.5rem 0;
  }

  .air-freight-card {
    border-radius: 20px;
  }

  .air-freight-image-wrapper {
    height: 280px;
  }

  .team-card {
    padding: 1.5rem;
  }

  .team-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .team-image-wrapper {
    border-radius: 24px;
  }

  .air-freight-content {
    padding: 2rem;
  }

  .air-freight-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .air-freight-description {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .air-freight-badge {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    bottom: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .air-freight-image-wrapper {
    height: 240px;
  }

  .air-freight-content {
    padding: 1.5rem;
  }

  .air-freight-title {
    font-size: 1.4rem;
  }

  .air-freight-badge {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 80px;
  padding: 0.85rem 0;
  background-image: linear-gradient(rgba(7, 13, 39, 0.66), rgba(7, 13, 39, 0.35)), url('headerP.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(14px);
}

.header.scrolled {
  background-image: linear-gradient(rgba(7, 13, 39, 0.82), rgba(7, 13, 39, 0.55)), url('headerP.jpg');
  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
}

.nav-container {
  height: auto;
  padding: 0 24px;
  min-height: 72px;
}

.nav-brand .brand-title {
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-menu.active {
  background: rgba(7, 13, 39, 0.95);
}

.main-content {
  padding-top: 80px;
}

.hero-section {
  background: linear-gradient(180deg, #eef5ff 0%, #f8fafc 100%);
  padding: clamp(1.5rem, 4vw, 4rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
  padding: 0 16px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  margin-bottom: 1rem;
  line-height: 1.05;
  color: #0f172a;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badges span {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #334155;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
}

.hero-metric-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-metric-card strong {
  display: block;
  font-size: 1.6rem;
  color: #1f2937;
  margin-bottom: 0.35rem;
}

.hero-metric-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.hero-panel {
  padding: clamp(1rem, 2.5vw, 2rem);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.panel-header {
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.panel-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-header h3 {
  margin: 0;
  font-size: 1.75rem;
  color: #111827;
}

.panel-copy {
  margin-top: clamp(0.5rem, 1vw, 0.8rem);
  color: #475569;
  line-height: 1.75;
}

.tracking-form .form-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.24);
  padding: clamp(0.5rem, 1vw, 0.75rem);
  border-radius: 18px;
  align-items: center;
}

.tracking-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1rem;
  border-radius: 14px;
  font-size: 1rem;
  color: #0f172a;
}

.tracking-input::placeholder {
  color: #94a3b8;
}

.btn-track {
  border-radius: 16px;
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

.loading-indicator {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin-top: clamp(0.75rem, 1.5vw, 1.75rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 1rem);
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  font-size: 1.3rem;
}

.service-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}

.service-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.results-section {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 4rem);
  background: transparent;
}

.results-panel {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  padding: 2.25rem;
}

.results-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.results-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #111827;
}

.results-copy {
  margin: 0;
  color: #475569;
  max-width: 720px;
  line-height: 1.8;
}

.detail-card {
  padding: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.message {
  display: none;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  margin-bottom: 1.75rem;
  font-weight: 600;
  text-align: left;
}

.message.success,
.message.error,
.message.info {
  display: block;
}

.message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #86efac;
}

.message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.message.info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 4rem 0 2.5rem;
}

.footer-brand h3 {
  background: none;
  color: #ffffff;
}

.footer-brand p,
.footer-section a,
.footer-bottom {
  color: #cbd5e1;
}

.footer-section h4 {
  color: #f8fafc;
}

.footer-section a:hover {
  color: #93c5fd;
}

.btn {
  border-radius: 16px;
}

.btn-secondary {
  background: #f8fafc;
  color: #0f172a;
}

#invoiceControls {
  justify-content: flex-start;
  gap: 1rem;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-copy,
  .hero-panel {
    width: 100%;
  }

  .tracking-form .form-group {
    grid-template-columns: 1fr;
  }

  .hero-metric-card {
    padding: 1rem 1.2rem;
  }

  .results-panel {
    padding: 1.75rem;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2rem;
  }

  .nav-link {
    padding: 10px 12px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.65rem;
  }
}

