/* ===========================
   NEXUS LOGISTICS — style.css
   =========================== */

   :root {
    --navy: #080E1A;
    --navy-2: #0D1526;
    --navy-3: #112040;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --orange: #FF6B2B;
    --white: #F0EDE8;
    --muted: #7A8BAA;
    --border: rgba(201, 168, 76, 0.15);
    --ff-display: 'Playfair Display', serif;
    --ff-body: 'Outfit', sans-serif;
  }
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--ff-body);
    font-weight: 400;
    overflow-x: hidden;
  }
  
  .gold { color: var(--gold); }
  .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
  
  /* ---- ANIMATIONS ---- */
  .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
  }
  .fade-up-delay.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ---- NAVBAR ---- */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
  }
  .navbar.scrolled {
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  .logo-icon {
    color: var(--gold);
    font-size: 20px;
  }
  .logo-text {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.12em;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 10px 22px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
  }
  
  /* ---- HERO ---- */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 140px 24px 60px;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
  }
  .hero-bg-grid {
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
  }
  .parallax-layer {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,107,43,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
  }
  .hero-title {
    font-family: var(--ff-display);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 700px;
  }
  .hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 40px;
  }
  .hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
  }
  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
  }
  .btn-primary.full-width { width: 100%; justify-content: center; }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
  
  .hero-badge-float {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 64px;
    padding: 24px 32px;
    background: rgba(13, 21, 38, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
  }
  .badge-item { display: flex; flex-direction: column; gap: 4px; }
  .badge-num {
    font-family: var(--ff-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
  }
  .badge-label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
  .badge-divider { width: 1px; height: 40px; background: var(--border); }
  
  /* ---- TRUCK SCENE ---- */
  .truck-scene {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--navy) 0%, #0A1428 40%, #081020 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .road-bg {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 80px;
    background: #0A0F1E;
  }
  .road-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0.4;
  }
  .road-stripe {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 40px, transparent 40px, transparent 80px);
    opacity: 0.2;
  }
  .scenery {
    position: absolute;
    bottom: 80px;
    left: 0; right: 0;
    height: 140px;
    pointer-events: none;
  }
  .mountain {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
  }
  .m1 {
    left: 5%;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 120px solid #0D1A30;
  }
  .m2 {
    left: 12%;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 100px solid #091626;
  }
  .tree {
    position: absolute;
    bottom: 0;
    font-size: 28px;
    opacity: 0.6;
  }
  .t1 { left: 55%; }
  .t2 { left: 65%; }
  .t3 { right: 10%; }
  .sun-glow {
    position: absolute;
    right: 8%;
    top: 10px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, transparent 70%);
    border-radius: 50%;
  }
  .truck-wrapper {
    position: absolute;
    bottom: 72px;
    width: 320px;
    will-change: transform;
  }
  .truck-svg { width: 100%; height: auto; }
  
  @keyframes smokeRise {
    0% { transform: translateY(0) scale(1); opacity: 0.4; }
    100% { transform: translateY(-12px) scale(1.5); opacity: 0; }
  }
  .smoke { animation: smokeRise 1.5s ease-out infinite; }
  .s2 { animation-delay: 0.3s; }
  .s3 { animation-delay: 0.6s; }
  
  .truck-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.08em;
    opacity: 0.6;
  }
  
  /* ---- SECTION HEADER ---- */
  .section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .section-header {
    text-align: center;
    margin-bottom: 64px;
  }
  .section-header h2 {
    font-family: var(--ff-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
  }
  
  /* ---- SERVICES ---- */
  .services {
    padding: 120px 24px;
    max-width: 1160px;
    margin: 0 auto;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .service-card {
    background: var(--navy-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: default;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .service-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-4px);
  }
  .service-card:hover::before { opacity: 1; }
  .card-icon { font-size: 32px; margin-bottom: 20px; }
  .service-card h3 {
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
  }
  .service-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .card-arrow {
    color: var(--gold);
    font-size: 20px;
    transition: transform 0.2s;
  }
  .service-card:hover .card-arrow { transform: translateX(6px); }
  
  /* ---- STATS ---- */
  .stats-section {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 100px 24px;
  }
  .stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .stats-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
  .stats-text h2 {
    font-family: var(--ff-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
  }
  .stats-text p { color: var(--muted); font-size: 16px; line-height: 1.7; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stat-item {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .stat-num {
    font-family: var(--ff-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
  }
  .stat-plus {
    font-family: var(--ff-display);
    font-size: 32px;
    color: var(--gold);
  }
  .stat-label { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
  
  /* ---- ABOUT ---- */
  .about {
    padding: 120px 24px;
    max-width: 1160px;
    margin: 0 auto;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--navy-2);
    border: 1px solid var(--border);
  }
  .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 24px;
  }
  .img-placeholder span { font-size: 48px; }
  .img-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--navy);
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
  }
  .badge-year { font-size: 28px; font-family: var(--ff-display); font-weight: 700; }
  .about-content { display: flex; flex-direction: column; gap: 20px; }
  .about-content h2 {
    font-family: var(--ff-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
  }
  .about-content p { color: var(--muted); font-size: 16px; line-height: 1.8; }
  .about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
  .feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--white);
    line-height: 1.5;
  }
  .feature-check { color: var(--gold); font-size: 12px; margin-top: 3px; flex-shrink: 0; }
  
  /* ---- TESTIMONIALS ---- */
  .testimonials {
    padding: 120px 24px;
    background: var(--navy-2);
    border-top: 1px solid var(--border);
  }
  .testimonials .container { max-width: 1160px; margin: 0 auto; }
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .testi-card {
    background: var(--navy-3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color 0.3s;
  }
  .testi-card:hover { border-color: rgba(201,168,76,0.35); }
  .testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
  .testi-card p { color: var(--muted); font-size: 15px; line-height: 1.75; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
  .author-avatar {
    width: 44px; height: 44px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
  }
  .testi-author strong { display: block; font-size: 14px; color: var(--white); }
  .testi-author span { font-size: 12px; color: var(--muted); }
  
  /* ---- CONTACT ---- */
  .contact {
    padding: 120px 24px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  .contact-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; }
  .contact-inner h2 {
    font-family: var(--ff-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
  }
  .contact-inner p { color: var(--muted); font-size: 17px; }
  .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
  }
  .contact-form input,
  .contact-form select {
    width: 100%;
    padding: 16px 20px;
    background: var(--navy-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--ff-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
  }
  .contact-form input:focus,
  .contact-form select:focus { border-color: var(--gold); }
  .contact-form input::placeholder { color: var(--muted); }
  .contact-form select option { background: var(--navy-2); }
  
  /* ---- FOOTER ---- */
  .footer {
    background: #040810;
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
  }
  .footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
  }
  .footer-brand { display: flex; flex-direction: column; gap: 16px; }
  .footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 220px; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .footer-col { display: flex; flex-direction: column; gap: 14px; }
  .footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
  .footer-col a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
  }
  
  /* ---- RESPONSIVE ---- */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: 1fr; gap: 48px; }
    .about-grid { grid-template-columns: 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  }
  
  @media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-badge-float { flex-direction: column; gap: 20px; }
    .badge-divider { width: 40px; height: 1px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  }