/* =============================================
   NEXORALOGISTICS - MAIN STYLESHEET
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary-color: #0a2463;       /* Deep Navy Blue */
  --secondary-color: #e63946;     /* Bold Red */
  --accent-color: #f4a261;        /* Warm Orange */
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0a0f1e;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-dark);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   HEADER STYLES
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 36, 99, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--primary-color);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--secondary-color), #c1121f);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo-name span {
  color: var(--secondary-color);
}

.logo-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--text-white);
  background: rgba(255,255,255,0.1);
}

.nav-menu li.track-btn a {
  background: var(--secondary-color);
  color: var(--text-white);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.nav-menu li.track-btn a:hover {
  background: #c1121f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Top Bar */
.top-bar {
  background: var(--bg-dark);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-info {
  display: flex;
  gap: 25px;
  align-items: center;
}

.top-bar-info a,
.top-bar-info span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: var(--accent-color);
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.top-bar-social a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* =============================================
   HERO / SLIDER SECTION
   ============================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  margin-top: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 36, 99, 0.85) 0%,
    rgba(10, 36, 99, 0.5) 60%,
    rgba(0,0,0,0.3) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 100px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 57, 70, 0.2);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: #fca5a5;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.slide-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.slide-title span {
  color: var(--accent-color);
}

.slide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.slide-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Quick Track Form in Hero */
.hero-track-form {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  max-width: 580px;
  margin-top: 40px;
}

.hero-track-form h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-input-group {
  display: flex;
  gap: 10px;
}

.track-input-group input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  outline: none;
  transition: var(--transition);
}

.track-input-group input::placeholder {
  color: rgba(255,255,255,0.5);
}

.track-input-group input:focus {
  border-color: var(--accent-color);
  background: rgba(255,255,255,0.15);
}

.track-input-group button {
  padding: 14px 28px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-primary);
}

.track-input-group button:hover {
  background: #c1121f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.slider-dot.active {
  background: var(--accent-color);
  width: 30px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: #c1121f;
  border-color: #c1121f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-dark:hover {
  background: #071a4a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   SECTION STYLES
   ============================================= */
section {
  padding: 90px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 15px;
}

.section-title span {
  color: var(--primary-color);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-label {
  justify-content: center;
}

.section-header.centered .section-label::before {
  display: none;
}

.section-header.centered .section-desc {
  margin: 0 auto;
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: var(--primary-color);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent-color);
}

.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--secondary-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-color), #1a3a8f);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--secondary-color), #c1121f);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--secondary-color);
  gap: 10px;
}

/* =============================================
   HOW IT WORKS SECTION
   ============================================= */
.how-it-works {
  background: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-color);
  transition: var(--transition);
}

.step-item:hover .step-number {
  background: var(--secondary-color);
  box-shadow: 0 0 0 4px var(--secondary-color);
  transform: scale(1.1);
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =============================================
   TRACK SECTION (Homepage CTA)
   ============================================= */
.track-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a8f 100%);
  position: relative;
  overflow: hidden;
}

.track-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.track-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.track-cta-content h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.track-cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
}

.track-cta-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.track-cta-form h3 {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  color: white;
  font-size: 0.95rem;
  font-family: var(--font-primary);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--accent-color);
  background: rgba(255,255,255,0.15);
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group button {
  width: 100%;
  padding: 16px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.form-group button:hover {
  background: #c1121f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.testimonial-stars span {
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: 700;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   FOOTER STYLES
   ============================================= */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 80px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand .logo-name {
  font-size: 1.5rem;
}

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 20px 0 25px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
  transform: translateY(-3px);
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
  transform: translateY(-3px);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '→';
  font-size: 0.8rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

.footer-contact-item span:first-child {
  font-size: 1rem;
  margin-top: 2px;
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

/* =============================================
   PAGE HERO (Inner Pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a8f 100%);
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  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="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="20"/></svg>') center/cover;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb span {
  color: var(--accent-color);
}

/* =============================================
   TRACK PAGE
   ============================================= */
.track-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.track-container {
  max-width: 800px;
  margin: 0 auto;
}

.track-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.track-info-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.track-info-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.track-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.track-info-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.wpcargo-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.wpcargo-wrapper h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.wpcargo-wrapper > p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Style WPCargo Plugin Output */
.wpcargo-wrapper .wpc-tracking-form input[type="text"] {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-primary);
  outline: none;
  transition: var(--transition);
  margin-bottom: 15px;
}

.wpcargo-wrapper .wpc-tracking-form input[type="text"]:focus {
  border-color: var(--primary-color);
}

.wpcargo-wrapper .wpc-tracking-form input[type="submit"],
.wpcargo-wrapper .wpc-tracking-form button {
  width: 100%;
  padding: 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.wpcargo-wrapper .wpc-tracking-form input[type="submit"]:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: 45px 35px;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 35px;
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}

.contact-detail span {
  font-size: 0.95rem;
  color: white;
}

.contact-form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .field-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  background: var(--bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  background: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.contact-form button[type="submit"]:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

/* =============================================
   BLOG
   ============================================= */
.blog-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), #1a3a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-category {
  background: rgba(10,36,99,0.08);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-date {
  color: var(--text-light);
  font-size: 0.8rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--text-dark);
  transition: var(--transition);
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  gap: 10px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-image-main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--secondary-color);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 20px 25px;
  box-shadow: var(--shadow-md);
}

.about-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content .section-desc {
  max-width: 100%;
  margin-bottom: 25px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(10,36,99,0.08);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* =============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================= */
.legal-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.legal-container {
  max-width: 850px;
  margin: 0 auto;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 35px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.legal-section p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.legal-section ul li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
  }

  .nav-menu li { width: 100%; }

  .nav-menu li a {
    display: block;
    padding: 12px 16px;
  }

  .hero-slider { height: 100vh; min-height: 600px; }
  .slide-title { font-size: 1.8rem; }

  .track-input-group { flex-direction: column; }

  .services-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }

  .track-cta-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .top-bar { display: none; }

  .about-badge { display: none; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  .track-info-cards { grid-template-columns: 1fr; }

  .wpcargo-wrapper { padding: 30px 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .slide-content { padding: 0 15px; padding-top: 100px; }
  .hero-track-form { padding: 20px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}











/* Why Cards Hover */
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

/* Team Cards Hover */
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
}

/* Services Intro Grid Responsive */
@media (max-width: 768px) {
  .services-intro-grid {
    grid-template-columns: 1fr !important;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .timeline-item {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }
  .timeline-item > div:first-child {
    text-align: left !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .team-grid,
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}





























/* =============================================
   WPCARGO – STACKED ROWS ON MOBILE
   ============================================= */
@media (max-width: 768px) {

  #wpc-multiple-package table.wpcargo-table,
  #wpc-multiple-package table.wpcargo-table tbody,
  #wpc-multiple-package table.wpcargo-table tr.package-row {
    display: block;
    width: 100%;
  }

  #wpc-multiple-package table.wpcargo-table tr.package-row {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  #wpc-multiple-package table.wpcargo-table td.package-data {
    display: block;
    width: 100%;
    padding: 6px 10px;
    white-space: normal;
    line-height: 1.4;
    word-break: break-word;
  }
}











































/* =============================================
   WPCARGO – FIX MOBILE PACKAGE TABLE OVERLAP
   ============================================= */
@media (max-width: 768px) {

  /* 1. Disable plugin’s special mobile layout for these tables */
  #wpc-multiple-package table.wpcargo-table,
  #wpcargo-history-section table.wpcargo-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
  }

  #wpc-multiple-package table.wpcargo-table tbody,
  #wpcargo-history-section table.wpcargo-table tbody {
    display: table-row-group !important;
  }

  #wpc-multiple-package table.wpcargo-table tr.package-row,
  #wpcargo-history-section table.wpcargo-table tr.package-row {
    display: table-row !important;
  }

  /* 2. Make sure cell content wraps cleanly and does not overlap */
  #wpc-multiple-package table.wpcargo-table td.package-data,
  #wpcargo-history-section table.wpcargo-table td.package-data {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
  }

  /* 3. If the plugin is adding labels via :before on each cell,
        keep them but make sure they don’t sit on top of the value */
  #wpc-multiple-package table.wpcargo-table td.package-data::before,
  #wpcargo-history-section table.wpcargo-table td.package-data::before {
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }
}






















/* =============================================
   WPCARGO – FIX PACKAGE TABLE OVERLAP (ALL SECTIONS)
   ============================================= */
@media (max-width: 768px) {

  /* 1. Keep tables behaving like normal tables */
  .wpcargo-table-responsive table.wpcargo-table,
  #wpc-multiple-package table.wpcargo-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .wpcargo-table-responsive table.wpcargo-table tbody,
  #wpc-multiple-package table.wpcargo-table tbody {
    display: table-row-group !important;
  }

  .wpcargo-table-responsive table.wpcargo-table tr.package-row,
  #wpc-multiple-package table.wpcargo-table tr.package-row {
    display: table-row !important;
  }

  /* 2. Fix the cells so text cannot overlap */
  .wpcargo-table-responsive table.wpcargo-table td.package-data,
  #wpc-multiple-package table.wpcargo-table td.package-data {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    position: static !important;
  }

  /* 3. If plugin uses labels via :before, make them sit above the value */
  .wpcargo-table-responsive table.wpcargo-table td.package-data::before,
  #wpc-multiple-package table.wpcargo-table td.package-data::before {
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    position: static !important;
  }
}

























/* =============================================
   WPCARGO – FIX SHIPMENT HISTORY TABLE
   ============================================= */
@media (max-width: 768px) {

  /* Keep it as a normal table layout */
  #wpcargo-history-section table.wpcargo-table,
  #wpcargo-history-section #shipment-history {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  #wpcargo-history-section table.wpcargo-table tbody {
    display: table-row-group !important;
  }

  #wpcargo-history-section table.wpcargo-table tr.history-row {
    display: table-row !important;
  }

  /* History cells: allow wrapping and remove any weird positioning */
  #wpcargo-history-section table.wpcargo-table td.history-data {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    position: static !important;
  }

  /* If the plugin is injecting labels via ::before, show them above value */
  #wpcargo-history-section table.wpcargo-table td.history-data::before {
    display: block !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
    position: static !important;
  }
}