/* 
 * GOODX LOGISTICS OPC PRIVATE LIMITED - Main Stylesheet
 * Optimized for crisp alignment, modern aesthetics, and ultra-clean visual presentation.
 */

:root {
    --bg-main: #f4f7fa;
    --bg-card: #ffffff;
    --primary-blue: #003399;
    --primary-dark: #001f66;
    --primary-light: #e6f0ff;
    --accent-orange: #ff6600;
    --accent-orange-hover: #e05500;
    --accent-cyan: #0099ff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    --border-light: #cbd5e1;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --shadow-sm: 0 4px 12px rgba(0, 51, 153, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(0, 51, 153, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 51, 153, 0.25);
    --shadow-glow: 0 0 30px rgba(0, 153, 255, 0.5), 0 0 60px rgba(0, 51, 153, 0.3);
    --grad-primary: linear-gradient(135deg, #001f66 0%, #003399 50%, #0055ff 100%);
    --grad-accent: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    --grad-blue-glow: linear-gradient(135deg, rgba(0, 51, 153, 0.08) 0%, rgba(0, 153, 255, 0.15) 100%);
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Standardized 8-Step Typographic Scale System */
    --font-size-xs: 0.75rem;   /* 12px - Badges, micro text */
    --font-size-sm: 0.875rem;  /* 14px - Body small, captions, nav links */
    --font-size-base: 1rem;    /* 16px - Standard body text */
    --font-size-md: 1.125rem;  /* 18px - Card headers, lead text */
    --font-size-lg: 1.25rem;   /* 20px - Subtitles, H3 headings */
    --font-size-xl: 1.5rem;    /* 24px - Section headers, H2 headings */
    --font-size-2xl: 2rem;     /* 32px - Major section titles */
    --font-size-3xl: 2.75rem;  /* 44px - Hero display H1 */
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* ---------------------------------------------------- */
/* TOP BAR & DOMAIN BADGES                              */
/* ---------------------------------------------------- */
.top-bar {
    background: #001f66;
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.82rem;
}

.top-bar-contact a:hover {
    color: var(--accent-orange);
}

.domain-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-badge {
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.domain-badge:hover {
    background-color: var(--accent-orange);
    color: #ffffff;
    border-color: var(--accent-orange);
}

/* ---------------------------------------------------- */
/* BRAND LOGO STYLING                                   */
/* ---------------------------------------------------- */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.logo-circle-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brand-logo:hover .logo-circle-badge {
    transform: scale(1.08);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-box {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-good { color: var(--primary-blue); }

.logo-x-symbol {
    font-weight: 900;
    font-size: 1.6rem;
    margin-left: 2px;
    margin-right: 6px;
    color: var(--accent-orange);
}

.logo-logistics {
    color: var(--text-main);
    font-weight: 400;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-top: 2px;
    text-transform: uppercase;
}

/* ---------------------------------------------------- */
/* NAVBAR                                               */
/* ---------------------------------------------------- */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* ---------------------------------------------------- */
/* DESKTOP NAVIGATION BAR (.desktop-nav-menu)           */
/* ---------------------------------------------------- */
.desktop-nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #ffffff;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(0, 51, 153, 0.08);
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.desktop-nav-menu .nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
    text-decoration: none;
}

.desktop-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.desktop-nav-menu .nav-link:hover {
    color: var(--primary-blue);
}

.desktop-nav-menu .nav-link:hover::after,
.desktop-nav-menu .nav-link.active::after {
    width: 100%;
}

.desktop-nav-menu .nav-link.active {
    color: var(--primary-blue);
}

/* ---------------------------------------------------- */
/* DESKTOP HIDE MOBILE DRAWER                           */
/* ---------------------------------------------------- */
@media (min-width: 992px) {
    .mobile-drawer,
    .nav-backdrop,
    .mobile-toggle {
        display: none !important;
    }
}

/* ---------------------------------------------------- */
/* MOBILE SIDE DRAWER (.mobile-drawer)                  */
/* ---------------------------------------------------- */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -360px;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    flex-direction: column;
    padding: 20px 20px 24px;
    box-shadow: -10px 0 35px rgba(0, 51, 153, 0.25);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-drawer.active {
    display: flex !important;
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.drawer-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.3px;
}

.drawer-close-btn {
    background: var(--primary-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: var(--primary-blue);
    border-radius: 8px;
    margin-right: 12px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    background: var(--primary-blue);
    color: #ffffff;
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pill-blue {
    background-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 51, 153, 0.3);
}

.btn-pill-blue:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 153, 0.4);
}

.btn-pill-orange {
    background-color: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.btn-pill-orange:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.icon-arrow {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.btn-pill:hover .icon-arrow {
    transform: translateX(3px);
}

.mobile-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ---------------------------------------------------- */
/* HERO SECTION                                         */
/* ---------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 38px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, #eef5ff 0%, #f4f7fa 100%);
    overflow: hidden;
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.ambient-glow.glow-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.25) 0%, rgba(0, 51, 153, 0) 70%);
}

.ambient-glow.glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.18) 0%, rgba(255, 102, 0, 0) 70%);
}

.hero-header {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto 28px;
}

/* Hero Live Pulse Badge */
.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 153, 255, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.08);
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0.2px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.5);
    animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-company-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-title span.slogan-highlight {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 24px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-support-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.contact-chip {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.contact-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-blue);
}

.contact-chip.call i { color: #003399; }
.contact-chip.whatsapp i { color: #25d366; }
.contact-chip.insta i { color: #e1306c; }
.contact-chip.email i { color: #dc2626; }

.hero-showcase {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 51, 153, 0.25);
    border: 2px solid rgba(0, 51, 153, 0.15);
    background: #001f66;
    z-index: 2;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
}

/* Floating Showcase Badge */
.hero-showcase-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-showcase-badge i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}

.hero-showcase-badge strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

.hero-showcase-badge span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 31, 102, 0.1) 0%, rgba(0, 31, 102, 0.4) 100%);
    pointer-events: none;
}

.hero-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-center-badge:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.badge-top-right {
    position: absolute;
    top: 24px;
    right: 28px;
    background: rgba(0, 51, 153, 0.92);
    backdrop-filter: blur(12px);
    border: 2px dashed var(--accent-orange);
    border-radius: var(--radius-md);
    padding: 12px 22px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 10;
}

.badge-top-right .badge-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-orange);
    line-height: 1;
}

.badge-top-right .badge-sub {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.badge-bottom-right {
    position: absolute;
    bottom: 24px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 10;
}

.badge-bottom-right .avatar-group {
    display: flex;
    align-items: center;
}

.badge-bottom-right .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -8px;
    object-fit: cover;
}

.badge-bottom-right .avatar:first-child { margin-left: 0; }

.badge-bottom-right .trusted-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--text-main);
}

.mode-strip-left {
    position: absolute;
    bottom: 24px;
    left: 28px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.mode-badge-pill {
    background: rgba(0, 51, 153, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* ---------------------------------------------------- */
/* LIVE TRACKING & TRACE SECTION                        */
/* ---------------------------------------------------- */
.tracking-section {
    padding: 54px 0;
}

.tracking-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    max-width: 1040px;
    margin: 0 auto;
}

.tracking-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 51, 153, 0.08);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.tracking-title {
    font-size: 2.1rem;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.search-type-selector {
    display: inline-flex;
    background-color: #ffffff;
    padding: 4px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    margin-bottom: 22px;
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.search-type-selector label {
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-type-selector input[type="radio"] { display: none; }

.search-type-selector input[type="radio"]:checked + label {
    background-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

.track-form-group {
    display: flex;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.track-input-wrap {
    flex: 1;
    position: relative;
}

.track-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.track-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-main);
    transition: all 0.2s ease;
}

.track-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.12);
}

.btn-track {
    padding: 15px 32px;
}

/* Quick Try Samples Bar */
.quick-samples-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.samples-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.sample-chip {
    background: var(--primary-light);
    color: var(--primary-blue);
    border: 1px dashed rgba(0, 51, 153, 0.3);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sample-chip:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-style: solid;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.2);
}

.tracking-results-area {
    margin-top: 30px;
    display: none;
}

.tracking-results-area.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    padding: 22px 28px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(0, 51, 153, 0.2);
}

.status-banner h3, .status-banner h4, .status-banner h5, .status-banner div, .status-banner p, .status-banner i {
    color: #ffffff !important;
}

.status-badge {
    background: var(--accent-orange);
    color: #ffffff !important;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    background: var(--bg-main);
    padding: 22px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    border: 1px solid var(--border-light);
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.detail-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
}

/* VEHICLE SUB-TABS */
.subtabs-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.subtab-btn {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.subtab-btn:hover {
    color: var(--primary-blue);
    background: #ffffff;
}

.subtab-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25);
}

/* MAP TYPES SELECTOR BAR FOR MAP TAB */
.map-types-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.map-type-btn {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.map-type-btn:hover, .map-type-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25);
}

/* ROUTE WAYPOINT TIMELINE IN MAP VIEW */
.route-waypoint-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.waypoint-pin {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #ffffff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(255, 102, 0, 0.4);
}

.waypoint-info {
    flex: 1;
}

.waypoint-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}

.waypoint-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Timeline */
.timeline-title {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 18px;
}

.timeline {
    position: relative;
    padding-left: 26px;
    border-left: 3px solid var(--border-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 18px;
    transition: all 0.2s ease;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--accent-orange);
}

.timeline-content {
    background: var(--bg-main);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.timeline-location {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------------------------------------------------- */
/* SERVICES SECTION                                     */
/* ---------------------------------------------------- */
.services-section {
    padding: 72px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.service-card {
    background: var(--bg-main);
    padding: 30px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 51, 153, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 18px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 51, 153, 0.3);
}

.service-title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
    text-transform: none;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---------------------------------------------------- */
/* ABOUT SECTION                                        */
/* ---------------------------------------------------- */
.about-section {
    padding: 72px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.stat-card {
    background: #ffffff;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 51, 153, 0.06);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 51, 153, 0.12);
    border-color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 51, 153, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--primary-blue);
    color: #ffffff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 2px;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.stat-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.about-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---------------------------------------------------- */
/* CONTACT SECTION                                      */
/* ---------------------------------------------------- */
.contact-section {
    padding: 72px 0;
    background: #ffffff;
}

.contact-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    max-width: 880px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.form-full { grid-column: span 2; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-main);
}

.form-control {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-size: 0.92rem;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.12);
}

/* ---------------------------------------------------- */
/* FOOTER                                               */
/* ---------------------------------------------------- */
.site-footer {
    background: #00153c;
    color: #ffffff;
    padding: 60px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-logo .logo-good { color: #ffffff; }
.footer-logo .logo-logistics { color: #ffffff; }

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 14px 0 20px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-socials a:hover {
    background: var(--accent-orange);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 800;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 4px;
}

.footer-contact { list-style: none; }

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.footer-contact i {
    color: var(--accent-orange);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 12px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover { color: #ffffff; }

/* ---------------------------------------------------- */
/* FLOATING WHATSAPP BUTTON                             */
/* ---------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 9990;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.6);
    z-index: -1;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* ---------------------------------------------------- */
/* PWA INSTALL BANNER STYLING                          */
/* ---------------------------------------------------- */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 80px;
    max-width: 460px;
    background: rgba(0, 51, 153, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    box-shadow: 0 16px 40px rgba(0, 51, 153, 0.35);
    z-index: 9990;
    animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
}

@keyframes pwaSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.pwa-banner-container,
.pwa-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.pwa-banner-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-banner-text {
    flex: 1;
    font-size: 0.85rem;
    color: #ffffff !important;
    background: transparent !important;
    min-width: 0;
}

.pwa-banner-text strong {
    display: block;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.pwa-banner-text p {
    color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
    margin-top: 2px;
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-banner-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.pwa-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* ---------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)           */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* RESPONSIVE MEDIA QUERIES                             */
/* ---------------------------------------------------- */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .hero-title { font-size: 3.4rem; }
    .hero-showcase { max-width: 1280px; margin: 36px auto 0; }
}

/* Tablet & Mobile Menu Toggle Threshold (<= 991px) */
@media (max-width: 991px) {
    .hero-title { font-size: 2.4rem; }
    .hero-showcase { height: auto; }
    .hero-img-wrapper { height: 320px; }
    .hero-center-badge { width: 95px; height: 95px; }
    .mode-strip-left { display: none; }
    
    .desktop-nav-menu {
        display: none !important;
    }

    .desktop-call-btn {
        display: none !important;
    }

    #pwa-nav-install-btn {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile Devices (320px - 575px) */
@media (max-width: 575px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .container { padding: 0 16px; }
    .top-bar-container { justify-content: center; text-align: center; gap: 8px; }
    .top-bar-contact { justify-content: center; gap: 10px; font-size: 0.78rem; }
    .domain-badges { margin-top: 4px; justify-content: center; }
    
    /* Mobile Header Layout Optimization */
    .brand-logo { gap: 8px; flex-shrink: 0; }
    .logo-circle-badge { width: 36px; height: 36px; }
    .logo-circle-badge svg { width: 24px; height: 24px; }
    .logo-box { font-size: 1.18rem; }
    .logo-x-symbol { font-size: 1.18rem; margin-left: 1px; margin-right: 3px; }
    .logo-logistics { font-size: 1.05rem; }
    .logo-subtext { font-size: 0.52rem; letter-spacing: 0.8px; margin-top: 0; }
    .mobile-toggle { width: 38px; height: 38px; font-size: 1rem; flex-shrink: 0; }

    .hero-title { font-size: 1.85rem; letter-spacing: -0.5px; line-height: 1.25; }
    .hero-company-name { font-size: 0.9rem; }
    .hero-subtitle { font-size: 0.92rem; }
    .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
    .hero-cta .btn-pill { width: 100%; justify-content: center; }

    .contact-support-bar { gap: 8px; width: 100%; }
    .contact-chip { width: 100%; justify-content: center; font-size: 0.82rem; }
    .hero-img-wrapper { height: 240px; }
    .hero-center-badge { width: 75px; height: 75px; }
    .badge-top-right, .badge-bottom-right { padding: 6px 12px; }
    .badge-top-right .badge-title { font-size: 1rem; }

    .tracking-card { padding: 20px 14px; }
    .tracking-title { font-size: 1.45rem; }
    .track-form-group { flex-direction: column; width: 100%; }
    .track-input-group { width: 100%; }
    .btn-track { width: 100%; justify-content: center; }
    .subtabs-wrapper { flex-direction: column; width: 100%; }
    .subtab-btn { width: 100%; justify-content: center; }
    .details-grid { grid-template-columns: 1fr; gap: 10px; padding: 14px; }

    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .stat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 10px;
    }
    .stat-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-radius: 8px;
    }
    .stat-num {
        font-size: 1.02rem;
        white-space: nowrap;
        word-break: keep-all;
    }
    .stat-text {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .contact-card { padding: 20px 14px; }
    .contact-form { grid-template-columns: 1fr; width: 100%; }
    .form-full { grid-column: span 1; }
    .floating-whatsapp {
        bottom: 16px;
        right: 14px;
        width: 50px;
        height: 50px;
        font-size: 1.55rem;
    }
    .whatsapp-tooltip { display: none; }
    .pwa-install-banner {
        left: 10px;
        right: 72px;
        max-width: calc(100% - 82px);
        bottom: 14px;
        padding: 8px 10px;
    }
    .pwa-banner-text p {
        display: none;
    }
    .pwa-banner-icon {
        display: none;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ---------------------------------------------------- */
/* FLOATING BACK TO TOP BUTTON                          */
/* ---------------------------------------------------- */
.floating-backtop {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0, 51, 153, 0.35);
    cursor: pointer;
    z-index: 995;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-backtop.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-backtop:hover {
    background: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4);
    transform: scale(1.1);
}

/* ---------------------------------------------------- */
/* SCROLL REVEAL ANIMATIONS                             */
/* ---------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------- */
/* LEAFLET MULTI-MARKER INTERACTIVE MAP STYLING        */
/* ---------------------------------------------------- */
.leaflet-custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease;
    text-align: center;
}

.leaflet-custom-pin:hover {
    transform: scale(1.3);
    z-index: 9999 !important;
}

.leaflet-pin-origin {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.leaflet-pin-waypoint {
    background: linear-gradient(135deg, #0099ff 0%, #0055ff 100%);
}

.leaflet-pin-latest {
    background: linear-gradient(135deg, #ff6600 0%, #dc2626 100%);
    box-shadow: 0 0 16px rgba(255, 102, 0, 0.8);
    animation: pulseMarker 1.8s infinite ease-in-out;
}

@keyframes pulseMarker {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(255, 102, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

.map-legend-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--bg-main);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 0.84rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}


