﻿/* ============================================================
   TRANSLOG — Modern Logistics Website
   ============================================================ */
@import url('../../css2');

:root {
    --navy: #0B1D3A;
    --navy-light: #132B50;
    --blue: #1565C0;
    --blue-light: #42A5F5;
    --gold: #E8A317;
    --gold-light: #F5C842;
    --white: #FFFFFF;
    --gray-50: #F8F9FC;
    --gray-100: #EEF1F6;
    --gray-200: #D8DDE6;
    --gray-300: #B0B8C9;
    --gray-400: #8892A6;
    --gray-500: #5F6980;
    --gray-600: #3D4663;
    --gray-700: #2A3250;
    --red: #E53935;
    --green: #43A047;
    --orange: #EF6C00;
    --font: 'DM Sans', -apple-system, sans-serif;
    --mono: 'Space Mono', monospace;
    --shadow-sm: 0 1px 3px rgba(11,29,58,0.08);
    --shadow-md: 0 4px 16px rgba(11,29,58,0.10);
    --shadow-lg: 0 12px 40px rgba(11,29,58,0.14);
    --shadow-xl: 0 20px 60px rgba(11,29,58,0.18);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p { margin-bottom: 1em; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-family: var(--font); font-size: 0.95rem; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); letter-spacing: 0.02em; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,163,23,0.3); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* === TOP BAR === */
.top-bar { background: var(--navy); padding: 8px 0; font-size: 0.82rem; color: var(--gray-300); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--gray-300); display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--gold); }
.top-bar-left { display: flex; gap: 24px; align-items: center; }
.top-bar-right { display: flex; gap: 12px; align-items: center; }
.tb-icon { font-size: 0.9rem; }

/* === FLAG LANGUAGE SWITCHER === */
.lang-switcher { display: flex; gap: 6px; align-items: center; }
.lang-flag {
    display: flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 4px;
    font-size: 0.75rem; font-weight: 700;
    color: var(--gray-300); text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}
.lang-flag img {
    width: 24px; height: 18px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.lang-flag:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.15); }
.lang-flag.active { background: rgba(232,163,23,0.15); color: var(--gold); border-color: rgba(232,163,23,0.3); }

/* === HEADER === */
.site-header { background: var(--white); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1200px; margin: 0 auto; height: 72px; }
.logo { display: flex; align-items: center; gap: 4px; font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.logo span { color: var(--gold); }
.logo:hover { color: var(--navy); }

.main-nav { display: flex; gap: 2px; }
.main-nav a { padding: 8px 14px; font-size: 0.88rem; font-weight: 500; color: var(--gray-600); border-radius: var(--radius); position: relative; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: #E8A317; }
.main-nav a.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; }

/* === Submenus (desktop dropdown, mobile expandable) === */
.main-nav .nav-item.has-submenu { position: relative; }
.main-nav .nav-parent { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 0.88rem; font-weight: 500; color: var(--gray-600); border-radius: var(--radius); position: relative; cursor: pointer; }
.main-nav .nav-parent:hover, .main-nav .nav-parent.active { color: #fff; background: #E8A317; }
.main-nav .nav-parent.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; }
.submenu-caret { font-size: 0.7rem; line-height: 1; transition: transform 0.2s; }
.main-nav .nav-item.has-submenu:hover .submenu-caret,
.main-nav .nav-item.has-submenu[aria-expanded="true"] .submenu-caret { transform: rotate(180deg); }

.submenu { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(15,23,42,0.12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s; z-index: 100; }
.main-nav .nav-item.has-submenu:hover > .submenu,
.main-nav .nav-item.has-submenu:focus-within > .submenu,
.main-nav .nav-item.has-submenu.open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.15s, transform 0.15s, visibility 0s; }

.submenu li { margin: 0; }
.submenu a { display: block; padding: 9px 16px; font-size: 0.86rem; font-weight: 500; color: var(--gray-600); border-radius: 0; }
.submenu a:hover, .submenu a.active { color: #fff; background: #E8A317; }
.submenu a.active::after { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

@media (max-width: 992px) {
    .hamburger { display: flex; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); gap: 2px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 16px; }

    /* Submenu: inline accordion, not a popover */
    .main-nav .nav-item.has-submenu { width: 100%; }
    .main-nav .nav-parent { width: 100%; padding: 12px 16px; justify-content: space-between; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; transition: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; max-height: 0; overflow: hidden; }
    .main-nav .nav-item.has-submenu.open > .submenu { max-height: 600px; }
    .main-nav .nav-item.has-submenu:hover > .submenu { /* no hover-open on mobile */ max-height: 0; }
    .main-nav .nav-item.has-submenu.open:hover > .submenu { max-height: 600px; }
    .submenu a { padding: 10px 16px; }
}

/* === HERO === */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue) 100%); padding: 100px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(232,163,23,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top right, var(--white) 49%, transparent 51%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: var(--gray-200); font-size: 1.15rem; margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-tracking { margin-top: 48px; background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 28px; max-width: 560px; }
.hero-tracking h3 { color: var(--white); margin-bottom: 14px; font-size: 1.05rem; }
.tracking-form { display: flex; gap: 8px; }
.tracking-form input { flex: 1; padding: 14px 18px; border: 2px solid rgba(255,255,255,0.15); border-radius: var(--radius); background: rgba(255,255,255,0.06); color: var(--white); font-family: var(--mono); font-size: 0.95rem; transition: var(--transition); }
.tracking-form input::placeholder { color: rgba(255,255,255,0.4); }
.tracking-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }
.tracking-form button { white-space: nowrap; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); color: var(--gray-200); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-400); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header .accent-line { display: block; width: 60px; height: 3px; background: var(--gold); border-radius: 2px; margin: 20px auto 0; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: -60px; position: relative; z-index: 5; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-lg); transition: var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.stat-number { font-size: 2.4rem; font-weight: 700; color: var(--navy); font-family: var(--mono); line-height: 1; }
.stat-number span { color: var(--gold); }
.stat-label { margin-top: 8px; font-size: 0.88rem; color: var(--gray-400); font-weight: 500; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; transition: var(--transition); border: 1px solid var(--gray-100); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; color: var(--white); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { color: var(--gray-400); font-size: 0.92rem; margin: 0; }
.feature-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 10px 22px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); font-size: 0.88rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: var(--transition); letter-spacing: 0.02em; }
.feature-btn:hover { background: linear-gradient(135deg, var(--blue), var(--navy)); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35); }

/* Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.solution-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); border: 1px solid var(--gray-100); }
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.solution-body { padding: 28px; }
.solution-icon { font-size: 2.5rem; margin-bottom: 16px; }
.solution-card h3 { margin-bottom: 8px; }
.solution-card p { color: var(--gray-400); font-size: 0.92rem; margin: 0; }

/* Fleet */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.fleet-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-100); transition: var(--transition); }
.fleet-card:hover { box-shadow: var(--shadow-md); }
.fleet-image { height: 180px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gray-300); }
.fleet-image img { width: 100%; height: 100%; object-fit: cover; }
.fleet-body { padding: 24px; }
.fleet-body h3 { margin-bottom: 8px; }
.fleet-capacity { display: inline-block; padding: 3px 12px; background: var(--gold); color: var(--navy); border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.fleet-features { margin-top: 12px; }
.fleet-features li { padding: 4px 0 4px 20px; font-size: 0.88rem; color: var(--gray-500); position: relative; }
.fleet-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-100); border-radius: var(--radius-lg); margin-bottom: 10px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--gray-200); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--navy); background: none; border: none; width: 100%; text-align: left; font-family: var(--font); font-size: 1rem; transition: var(--transition); }
.faq-question:hover { background: var(--gray-50); }
.faq-question .icon { width: 28px; height: 28px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; font-size: 0.85rem; }
.faq-item.open .faq-question .icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--gray-500); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 500px; }

/* References */
.references-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.reference-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-100); position: relative; }
.reference-card::before { content: '\201C'; font-size: 4rem; color: var(--gold); opacity: 0.3; position: absolute; top: 8px; left: 24px; line-height: 1; font-family: serif; }
.reference-card blockquote { font-style: italic; color: var(--gray-500); margin-bottom: 16px; padding-top: 20px; }
.reference-meta { font-weight: 600; color: var(--navy); }
.reference-meta span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--gray-400); }

/* Tracking Results */
.tracking-result { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 800px; margin: 0 auto; }
.tracking-header { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 28px 32px; color: var(--white); }
.tracking-header h3 { color: var(--white); margin-bottom: 8px; }
.tracking-number-display { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.tracking-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 30px; font-weight: 600; font-size: 0.85rem; margin-top: 12px; }
.status-pending { background: rgba(239,108,0,0.15); color: var(--orange); }
.status-picked_up, .status-in_transit { background: rgba(21,101,192,0.15); color: var(--blue); }
.status-out_for_delivery { background: rgba(67,160,71,0.15); color: var(--green); }
.status-delivered { background: rgba(67,160,71,0.2); color: var(--green); }
.status-returned, .status-on_hold, .status-cancelled { background: rgba(229,57,53,0.15); color: var(--red); }

.tracking-details { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 32px; background: var(--gray-50); }
.tracking-detail-box h4 { font-size: 0.75rem; text-transform: uppercase; color: var(--gray-400); letter-spacing: 0.06em; margin-bottom: 4px; }
.tracking-detail-box p { margin: 0; font-weight: 500; }

.tracking-timeline { padding: 28px 32px; }
.tracking-timeline h3 { margin-bottom: 20px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; top: 4px; width: 24px; height: 24px; background: var(--gray-200); border-radius: 50%; border: 3px solid var(--white); }
.timeline-item:first-child .timeline-dot { background: var(--gold); }
.timeline-item-time { font-family: var(--mono); font-size: 0.78rem; color: var(--gray-400); }
.timeline-item-title { font-weight: 600; color: var(--navy); margin: 4px 0 2px; }
.timeline-item-location { font-size: 0.88rem; color: var(--gray-400); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.9rem; }
.form-group label .required { color: var(--red); margin-left: 2px; }
.form-control { width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font); font-size: 0.95rem; color: var(--gray-700); transition: var(--transition); background: var(--white); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input { width: 18px; height: 18px; cursor: pointer; }
.form-check label { margin: 0; cursor: pointer; }

.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; font-weight: 500; }
.alert-success { background: rgba(67,160,71,0.1); color: var(--green); border: 1px solid rgba(67,160,71,0.2); }
.alert-error { background: rgba(229,57,53,0.1); color: var(--red); border: 1px solid rgba(229,57,53,0.2); }

/* === FOOTER === */
.site-footer { background: var(--navy); color: var(--gray-300); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { color: var(--white); margin-bottom: 12px; font-size: 1.3rem; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-address { margin-top: 12px; font-size: 0.85rem; opacity: 0.7; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; color: var(--gray-300); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { padding: 4px 0; font-size: 0.9rem; }
.footer-contact a { display: inline; padding: 0; }
.footer-bottom { margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-links { display: flex; gap: 16px; }
.footer-links a, .footer-bottom a { color: var(--gray-400); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--gold); }

/* === PAGE HERO === */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); padding: 56px 0; position: relative; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to top right, var(--white) 49%, transparent 51%); }
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--gray-200); }
.page-content { padding: 48px 0 80px; min-height: 40vh; }
.page-content h1, .page-content h2, .page-content h3 { margin-bottom: 16px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; list-style: disc; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: var(--gray-200); padding: 16px 24px; z-index: 9999; display: none; }
.cookie-banner.show { display: block; }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.88rem; }
.cookie-banner a { color: var(--gold); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-delay-3 { animation-delay: 0.3s; opacity: 0; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.hidden { display: none !important; }

/* Responsive tracking form */
@media (max-width: 600px) {
    .tracking-form { flex-direction: column; }
    .tracking-details { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 80px; }
    .stats-grid { grid-template-columns: 1fr 1fr; margin-top: -40px; }
}
/* ============================================================
   V3 UPGRADE — Add this to the END of your css/style.css
   ============================================================ */

/* === HERO SLIDESHOW === */
.hero-slideshow {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}
@media (max-width: 768px) { .hero-slideshow { min-height: 500px; } }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-slide-video video,
.hero-slide-video iframe {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,29,58,0.85) 0%, rgba(19,43,80,0.6) 50%, rgba(21,101,192,0.4) 100%);
    z-index: 1;
}
.hero-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 60px 0 90px;
}
@media (max-width: 768px) { .hero-slide-content { min-height: 500px; padding: 40px 0 80px; } }

.hero-slide-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease forwards;
}
.hero-slide-content h1 em { font-style: normal; color: var(--gold); }
.hero-slide-content p {
    color: var(--gray-200);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 540px;
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}
.hero-slide-content .hero-buttons {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Slideshow navigation */
.hero-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    z-index: 10;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.hero-dot.active, .hero-dot:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}
.hero-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.hero-arrow:hover { background: rgba(255,255,255,0.2); border-color: var(--gold); color: var(--gold); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
@media (max-width: 768px) {
    .hero-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
}

/* Tracking overlay on hero */
.hero-tracking-overlay {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 15;
    transform: translateY(50%);
}
.hero-tracking {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-xl);
    max-width: 580px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hero-tracking h3 {
    color: var(--navy);
    font-size: 1rem;
    margin: 0;
}
.hero-tracking .tracking-form input {
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--navy);
}
.hero-tracking .tracking-form input::placeholder { color: var(--gray-400); }
.hero-tracking .tracking-form input:focus { border-color: var(--blue); }

/* === TRACK & TRACE NAVIGATION BUTTON === */
.nav-track-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 20px !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(232,163,23,0.25);
    white-space: nowrap;
}
.nav-track-btn:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232,163,23,0.35);
    color: var(--navy) !important;
}
.nav-track-btn.active {
    background: var(--navy) !important;
    color: var(--gold) !important;
}
.track-icon {
    font-size: 1rem;
    animation: pulse-track 2s infinite;
}
@keyframes pulse-track {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Fix stats section margin for new hero layout */
.hero-slideshow + .section { padding-top: 100px; }
.hero-slideshow + .section .stats-grid { margin-top: 0; }
/* ============================================================
   V3.1 PATCH — Replace old hero-tracking CSS
   Paste this at the VERY END of your css/style.css
   ============================================================ */

/* === HERO: Two-column layout (text + tracking box) === */
.hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding-top: 40px;
}
.hero-text {
    flex: 1;
    min-width: 0;
}
.hero-text h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease forwards;
}
.hero-text h1 em { font-style: normal; color: var(--gold); }
.hero-text p {
    color: var(--gray-200);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}
.hero-text .hero-buttons {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* Track & Trace card ON the slideshow */
.hero-track-box {
    flex-shrink: 0;
    width: 300px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}
.hero-track-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-track-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.hero-track-card > p {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.hero-track-card input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.92rem;
    color: var(--navy);
    background: var(--white);
    margin-bottom: 10px;
    transition: var(--transition);
}
.hero-track-card input::placeholder { color: var(--gray-300); }
.hero-track-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
.hero-track-card .btn-block { width: 100%; justify-content: center; }

@media (max-width: 900px) {
    .hero-inner { flex-direction: column; gap: 32px; align-items: flex-start; }
    .hero-track-box { width: 100%; max-width: 400px; }
}
@media (max-width: 600px) {
    .hero-track-box { max-width: 100%; }
    .hero-track-card { padding: 20px 18px; }
}

/* Remove old hero-tracking-overlay (no longer used) */
.hero-tracking-overlay { display: none; }
.hero-tracking { display: none; }

/* Fix stats spacing */
.hero-slideshow + .section { padding-top: 80px; }
.hero-slideshow + .section .stats-grid { margin-top: 0; }
