/* Core brand palette */
:root {
    --brand-sky: #87ceeb;
    --brand-cyan: #08b1d5;
    --brand-navy: #1e377e;
    --brand-midnight: #0b1633;
    --brand-deep: #040d21;
    --brand-neutral: #f4f6fb;
    --brand-body: #2b3148;
    --brand-success: #1ea97c;
    --brand-accent: #E88525;
    --brand-accent-dark: #E88525;
    --navbar-height: 88px;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    color: var(--brand-body);
    background: #ffffff;
    padding-top: var(--navbar-height);
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

a.link-primary {
    color: var(--brand-cyan);
}

/* Utility Classes */
.text-brand-accent {
    color: var(--brand-accent) !important;
}

.navbar {
    background-color: #040d21;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-text {
    color: rgba(255, 255, 255, 0.88) !important;
}

.navbar .nav-link {
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
    transform: scaleX(1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar-brand .brand-logo {
    height: 40px;
    width: auto;
}

.navbar-brand .brand-text {
    margin-top: 0.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

.navbar-brand .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-accent);
    color: #0c1022;
    font-weight: 700;
    font-size: 1.1rem;
}

.navbar-tools {
    gap: 0.5rem;
}

.navbar-tools .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.navbar-tools .form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: none;
    color: #0c1022;
}

.navbar-tools .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    min-width: 140px;
    white-space: nowrap;
}

.navbar-tools .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

.home-hero {
    position: relative;
    padding: 7rem 0 6rem;
    color: #ffffff;
    overflow: hidden;
}

.home-hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.home-hero-slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: slideAndHold 20s infinite;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.home-hero-slider-slide {
    flex: 0 0 25%;
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 13, 33, 0.85) 20%, rgba(6, 37, 82, 0.65) 55%, rgba(9, 69, 128, 0.45) 100%);
    z-index: 1;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

@keyframes slideAndHold {
    /* Image 1: Hold for 3 seconds (0% to 15%) */
    0% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(0);
    }
    /* Slide to Image 2: Fast slide in (first 30% of transition = 2s), then slow slide out (remaining 70% = slower) */
    17% {
        transform: translateX(-25%);
    }
    25% {
        transform: translateX(-25%);
    }
    /* Image 2: Hold for 3 seconds (25% to 40%) */
    40% {
        transform: translateX(-25%);
    }
    /* Slide to Image 3: Fast slide in, then slow slide out */
    42% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(-50%);
    }
    /* Image 3: Hold for 3 seconds (50% to 65%) */
    65% {
        transform: translateX(-50%);
    }
    /* Slide to Image 4: Fast slide in, then slow slide out */
    67% {
        transform: translateX(-75%);
    }
    75% {
        transform: translateX(-75%);
    }
    /* Image 4: Hold for 3 seconds (75% to 90%) */
    90% {
        transform: translateX(-75%);
    }
    /* Slide back to Image 1: Fast slide in, then slow slide out */
    92% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

.home-hero h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
}

.home-hero p {
    font-size: clamp(1.1rem, 2.3vw, 1.35rem);
    max-width: 640px;
    color: rgba(255, 255, 255, 0.86);
}

.home-hero .section-tag {
    font-size: 0.85rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
}

.home-search {
    max-width: 640px;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.4rem;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 28px 70px -35px rgba(4, 13, 33, 0.65), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.home-search .form-control {
    border-radius: 999px;
    border: none;
    padding: 0.5rem 1.4rem;
    font-size: 0.98rem;
    box-shadow: none;
}

.home-search .btn {
    border-radius: 999px;
    padding: 0.5rem 2.2rem;
    font-weight: 600;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #120f0a;
    transition: background 0.25s ease;
}

.home-search .btn.btn-lg {
    padding: 0.5rem 2.2rem;
}

.home-search .btn:hover {
    background: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
}

.feature-grid {
    margin-top: -1rem;
    position: relative;
    z-index: 3;
}

.feature-section {
    text-align: center;
    padding-top: 4rem;
}

.feature-section .section-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.feature-card {
    border-radius: 1.1rem;
    border: none;
    padding: 2.3rem 1.9rem;
    box-shadow: 0 35px 55px -40px rgba(12, 22, 51, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 42px 66px -38px rgba(8, 18, 40, 0.55);
}

.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 159, 67, 0.16);
    color: var(--brand-accent-dark);
    font-size: 1.5rem;
    margin-bottom: 1.35rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 0.85rem;
    color: var(--brand-deep);
}

.section-title {
    color: var(--brand-deep);
    font-weight: 600;
    font-size: 2rem;
}

/* Standardize h2 font sizes across all pages */
section h2,
.about-page section h2,
.support-page section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-deep);
}

/* Reduce section title font size on mobile devices */
@media (max-width: 767.98px) {
    .section-title,
    section h2,
    .about-page section h2,
    .support-page section h2,
    .metrics-section .intro .section-title {
        font-size: 1.5rem;
    }
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brand-accent-dark);
    margin-bottom: 0.5rem;
}

.services-section .section-heading {
    max-width: 620px;
}

.services-section .service-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 230px;
    box-shadow: 0 32px 60px -38px rgba(10, 21, 49, 0.4);
}

.services-section .service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.services-section .service-card:hover img {
    transform: scale(1.05);
}

.services-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(190deg, rgba(6, 16, 30, 0.15) 15%, rgba(4, 13, 33, 0.85) 100%);
    color: #ffffff;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.services-section .overlay h5 {
    font-weight: 600;
    font-size: 1.15rem;
}

.testimonial-section {
    background: #ffffff;
}

.testimonial-card {
    border-radius: 1.2rem;
    border: none;
    box-shadow: 0 36px 65px -40px rgba(10, 21, 49, 0.35);
    padding: 2.4rem 2rem;
    height: 100%;
    background: #ffffff;
}

.testimonial-card .rating {
    color: #ffb23c;
    margin-bottom: 1.25rem;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    color: var(--brand-body);
}

.testimonial-card .author {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background-color: rgba(12, 22, 51, 0.2);
}

.carousel-indicators .active {
    background-color: var(--brand-accent);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 159, 67, 0.9);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--brand-accent);
}

.carousel-control-prev i,
.carousel-control-next i {
    color: #0c1022;
    font-size: 1.1rem;
}

.metrics-section {
    background: #f6f8fc;
}

.metrics-section .intro {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.metric-card {
    background: #ffffff;
    border-radius: 1.15rem;
    padding: 2.2rem;
    box-shadow: 0 28px 50px -38px rgba(10, 21, 49, 0.4);
    border: none;
}

.metric-card h3 {
    color: var(--brand-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.metric-card p {
    color: var(--brand-body);
}

.why-cards .card {
    height: 100%;
    border-radius: 1.1rem;
    border: none;
    padding: 2rem;
    box-shadow: 0 24px 45px -32px rgba(8, 18, 40, 0.35);
}

.cta-section {
    background: linear-gradient(120deg, #040d21 0%, #0a254a 100%);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 2rem;
    padding: 3.4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 45px 90px -45px rgba(4, 13, 33, 0.7);
}

.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(255, 159, 67, 0.18), transparent 55%);
}

.cta-section .content,
.cta-section .stats {
    position: relative;
    z-index: 2;
}

.cta-section .list-check {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cta-section .list-check li {
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section .list-check i {
    color: var(--brand-accent);
}

.cta-section .stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(4px);
}

.cta-section .stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: #ffffff;
}

.footer {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0;
}

.timeline {
    position: relative;
    padding: 2rem 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: calc(50% - 1px);
    width: 2px;
    background: linear-gradient(180deg, var(--brand-cyan), var(--brand-sky));
}

.timeline-item {
    position: relative;
    padding: 1.5rem 2.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: calc(50% - 11px);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    outline: 3px solid rgba(8, 177, 213, 0.35);
    background: var(--brand-cyan);
}

.timeline-item:nth-child(even) {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 18px 28px -28px rgba(14, 27, 51, 0.5);
    max-width: 340px;
}

.map-container {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 28px -24px rgba(3, 15, 38, 0.4);
}

.tracking-map {
    height: 360px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #dce6f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b6f8e;
    font-size: 0.95rem;
}

#tracking-map {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border-radius: 1.5rem;
    overflow: hidden;
    z-index: 1;
}

/* Leaflet map styling */
.leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: 1.5rem;
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

.leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-size: 0.9rem;
}

.badge-status {
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
}

.badge-status[data-status="delivered"] {
    background: rgba(30, 169, 124, 0.18);
    color: var(--brand-success);
}

.badge-status[data-status="in-transit"] {
    background: rgba(8, 177, 213, 0.18);
    color: var(--brand-cyan);
}

.badge-status[data-status="pending"] {
    background: rgba(255, 191, 0, 0.18);
    color: #b78102;
}

.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 18px 30px -20px rgba(16, 68, 41, 0.55);
}

.footer {
    background: var(--brand-midnight);
    color: rgba(255, 255, 255, 0.75);
    padding: 2.5rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
}

.footer .footer-heading {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .link-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer .link-list li {
    margin-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding: 2rem 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: calc(50% - 1px);
    width: 2px;
    background: linear-gradient(180deg, var(--brand-cyan), var(--brand-sky));
}

.timeline-item {
    position: relative;
    padding: 1.5rem 2.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: calc(50% - 11px);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    outline: 3px solid rgba(8, 177, 213, 0.35);
    background: var(--brand-cyan);
}

.timeline-item:nth-child(even) {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 18px 28px -28px rgba(14, 27, 51, 0.5);
    max-width: 340px;
}

@media (max-width: 991.98px) {
    .timeline::before {
        left: 32px;
    }

    .timeline-item::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 4.5rem;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-tools {
        margin-top: 1rem;
    }

    .home-hero {
        text-align: center;
    }

    .home-hero p,
    .home-search {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .feature-grid {
        margin-top: 0;
    }

    .feature-card {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .feature-card .icon {
        margin-left: auto;
        margin-right: auto;
    }

    .services-section .service-showcase img {
        border-radius: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .metrics-section .metric-card,
    .metrics-section .why-cards .metric-card {
        text-align: center;
    }

    .tracking-page .card-soft .d-flex.gap-3 {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tracking-page .card-soft .d-flex.gap-3 .btn {
        flex: 1 1 160px;
    }

    .cta-section {
        padding: 2.5rem;
        text-align: center;
    }

    .cta-section .content {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .home-hero {
        padding: 5rem 0 4rem;
    }

    .home-hero .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .feature-grid {
        margin-top: -1.5rem;
    }

    .feature-section {
        padding-top: 2rem;
    }

    .feature-card {
        padding: 1.8rem 1.4rem;
    }

    .services-section .service-showcase {
        margin-bottom: 2rem;
    }

    .services-section .service-card {
        min-height: 180px;
        border-radius: 0.5rem;
    }

    .services-section .overlay {
        padding: 1.25rem;
    }

    .services-section .overlay h5 {
        font-size: 1rem;
    }

    .services-section .overlay p.small {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.2rem;
    }

    .home-search {
        padding: 0.75rem;
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .home-search .form-control,
    .home-search .btn {
        border-radius: 0.85rem;
    }

    .home-search .form-control {
        padding: 0.5rem 1.2rem;
        font-size: 0.95rem;
    }

    .home-search .btn {
        width: 100%;
        padding: 0.5rem 1.5rem;
        font-size: 0.95rem;
    }

    .home-hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .home-hero p {
        font-size: 0.95rem;
    }

    .home-hero .section-tag {
        font-size: 0.75rem;
    }

    .timeline-content {
        max-width: 100%;
    }

    /* Responsive curved timeline - vertical */
    .timeline-curved {
        height: 1200px;
        padding: 2rem 1rem;
        min-height: 1200px;
    }
    
    .timeline-path {
        width: 150px;
        height: 100%;
    }

    .timeline-marker {
        gap: 1rem;
    }

    .marker-content {
        min-width: 140px;
        padding: 0.6rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .marker-content-left {
        margin-right: 1.5rem;
    }

    .marker-content-right {
        margin-left: 1.5rem;
    }

    .marker-status {
        font-size: 0.8rem;
    }

    .marker-location {
        font-size: 0.75rem;
    }

    .marker-time {
        font-size: 0.7rem;
    }

    /* Remove bottom margin from last marker on mobile */
    .timeline-marker:last-child .marker-content {
        margin-bottom: 0;
    }

    .tracking-map {
        height: 260px;
    }

    .cta-section {
        padding: 2rem;
    }

    .cta-section .stat-card {
        margin-bottom: 1rem;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
}

.footer-primary {
    background: #040d21;
    color: #ffffff;
    padding: 3.5rem 0 2.5rem;
    margin-top: 5rem;
}

.footer-primary .row.g-4 {
    align-items: flex-start;
    row-gap: 2.5rem;
}

.footer-primary .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-primary .footer-brand p {
    max-width: 360px;
    margin: 0;
}

.footer-primary .footer-logo {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-primary .footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-primary .footer-brand p,
.footer-primary .text-muted,
.footer-primary p {
    color: #ffffff !important;
}

.footer-primary .link-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-primary .link-list a {
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-primary .link-list a:hover {
    color: var(--brand-accent);
}

.footer-subscribe .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.footer-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe .form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: none;
}

.btn.btn-accent {
    background: var(--brand-accent);
    border: none;
    color: #0c1022;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
}

.btn.btn-accent:hover {
    background: var(--brand-accent-dark);
}

.footer-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: background 0.25s ease;
}

.footer-social a:hover {
    background: var(--brand-accent);
    color: #0c1022;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .footer-primary {
        text-align: left;
        padding: 3rem 2rem 2.5rem;
    }

    :root {
        --navbar-height: 80px;
    }

    .offcanvas-header {
        display: flex;
    }

    .navbar-menu {
        margin-left: 0;
        position: fixed;
        top: var(--navbar-height);
        bottom: 0;
        left: 0;
        right: auto;
        width: 280px;
        height: calc(100vh - var(--navbar-height));
        background: #040d21;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.75rem 1.5rem 2.5rem;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1201;
        gap: 1.5rem;
        pointer-events: none;
        visibility: hidden;
    }

    .navbar-menu.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .navbar-menu-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .navbar-menu .navbar-nav {
        flex-direction: column;
        gap: 0.15rem;
        width: 100%;
    }

    .navbar-menu .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-menu .navbar-nav .nav-link {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-menu .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-tools {
        align-items: flex-start !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .footer-primary {
        text-align: left;
        padding: 3rem 1.5rem 2.5rem;
    }

    :root {
        --navbar-height: 76px;
    }

    .footer-primary .row.g-4 {
        row-gap: 2rem;
    }

    .footer-primary .footer-brand,
    .footer-primary .row.g-4,
    .footer-subscribe,
    .footer-social {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .footer-primary .footer-brand p {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-subscribe {
        flex-direction: column;
        width: 100%;
    }

    .footer-subscribe .form-control,
    .footer-subscribe .btn {
        width: 100%;
    }

    .footer-social {
        justify-content: flex-start !important;
    }
    
    /* Mobile navbar spacing - logo and hamburger menu */
    .navbar .navbar-brand {
        padding-left: 1rem;
    }
    
    .navbar .navbar-toggler,
    .navbar .offcanvas-toggle {
        padding-right: 1rem;
    }
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1300;
    background: rgba(4, 13, 33, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 42px -32px rgba(0, 0, 0, 0.7);
}

body.nav-open {
    overflow: hidden;
}

.offcanvas-toggle {
    border: none;
    padding: 0;
    outline: none;
    position: relative;
    z-index: 1302;
    background: transparent;
}

.offcanvas-toggle:focus {
    box-shadow: none;
}

.navbar-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1301;
}

.navbar-menu-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    justify-content: flex-end;
}

.navbar-menu .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.navbar-menu .nav-link {
    padding: 0;
}

.offcanvas-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.offcanvas-title {
    font-size: 0.85rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.offcanvas-close {
    border: none;
    background: none;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
}

.navbar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 13, 33, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 1190;
    pointer-events: none;
}

.navbar-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    /* Mobile navbar spacing - logo and hamburger menu */
    .navbar .navbar-brand {
        padding-left: 1rem;
    }
    
    .navbar .navbar-toggler,
    .navbar .offcanvas-toggle {
        padding-right: 1rem;
    }
    
    .offcanvas-header {
        display: flex;
    }

    .navbar-menu {
        margin-left: 0;
        position: fixed;
        top: var(--navbar-height);
        bottom: 0;
        left: 0;
        right: auto;
        width: 280px;
        height: calc(100vh - var(--navbar-height));
        background: #040d21;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.75rem 1.5rem 2.5rem;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1301;
        gap: 1.5rem;
        pointer-events: none;
        visibility: hidden;
    }

    .navbar-menu.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .navbar-menu-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .navbar-menu .navbar-nav {
        flex-direction: column;
        gap: 0.15rem;
        width: 100%;
    }

    .navbar-menu .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-menu .navbar-nav .nav-link {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-menu .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-tools {
        align-items: flex-start !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }
}

/* Tracking Page Styles */
.tracking-hero {
    position: relative;
    padding: 5rem 0 4rem;
    color: #ffffff;
    background: linear-gradient(115deg, rgba(4, 13, 33, 0.85), rgba(16, 58, 108, 0.75)),
        url('../images/tracking-package-delivery-with-map-visualization.jpg') center/cover no-repeat;
}

.tracking-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 13, 33, 0.85) 20%, rgba(6, 37, 82, 0.65) 55%, rgba(9, 69, 128, 0.45) 100%);
}

.tracking-hero .container {
    position: relative;
    z-index: 2;
}

.tracking-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
}

.tracking-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.tracking-hero .card {
    border-radius: 1rem;
}

.tracking-hero .form-control-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1.1rem;
    border: 1px solid #dee2e6;
}

.tracking-hero .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1.1rem;
}

.tracking-hero .btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    color: #000;
}

.demo-box {
    background-color: #f8f9fa !important;
    border: 2px solid #dc3545 !important;
}

.tracking-features {
    background-color: #ffffff;
}

.tracking-features h2 {
    color: var(--brand-deep);
    font-size: 2rem;
}

.tracking-features .feature-card {
    border-radius: 1.1rem;
    border: none;
    padding: 2.3rem 1.9rem;
    box-shadow: 0 35px 55px -40px rgba(12, 22, 51, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
    text-align: left;
}

.tracking-features .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 42px 66px -38px rgba(8, 18, 40, 0.55);
}

.tracking-features .feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.35rem;
}

.tracking-features .feature-card h5 {
    font-weight: 600;
    margin-bottom: 0.85rem;
    color: var(--brand-deep);
}

.tracking-faq {
    background-color: #ffffff;
}

.tracking-faq h2 {
    color: var(--brand-deep);
    font-size: 2rem;
}

.tracking-faq .accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
}

.tracking-faq .accordion-button {
    background-color: #f8f9fa;
    color: var(--brand-deep);
    font-weight: 500;
    padding: 1rem 1.25rem;
    border: none;
    box-shadow: none;
}

.tracking-faq .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--brand-deep);
    box-shadow: none;
}

.tracking-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: none;
}

.tracking-faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.tracking-faq .accordion-body {
    background-color: #f8f9fa;
    color: var(--brand-body);
    padding: 1rem 1.25rem 1.5rem;
}

/* Tracking Results Section Styling */
.tracking-results {
    background-color: #f8f9fa;
}

.tracking-results .card-soft {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px -8px rgba(4, 13, 33, 0.15);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.tracking-results > .container > .card-soft:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    box-shadow: 0 6px 25px -10px rgba(4, 13, 33, 0.2);
}

.tracking-results .card-soft:hover {
    box-shadow: 0 8px 30px -10px rgba(4, 13, 33, 0.25);
    transform: translateY(-2px);
}

.tracking-results .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--brand-deep);
    border-radius: 1rem 1rem 0 0 !important;
}

.tracking-results .card-header h5 {
    color: var(--brand-deep);
    font-weight: 600;
    font-size: 1.1rem;
}

.tracking-results .card-body {
    padding: 1.5rem;
}

.tracking-results .avatar img {
    border: 3px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.tracking-results .card-soft:hover .avatar img {
    border-color: var(--brand-accent);
}

.tracking-results .btn-outline-secondary {
    border-color: #dee2e6;
    color: var(--brand-body);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tracking-results .btn-outline-secondary:hover {
    background-color: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #ffffff;
    transform: translateY(-1px);
}

.package-image-card {
    background: rgba(135, 206, 235, 0.08);
    border: 1px dashed rgba(135, 206, 235, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.package-image-frame {
    background: #ffffff;
    border-radius: 0.85rem;
    padding: 0.5rem;
    border: 1px solid rgba(13, 27, 51, 0.08);
}

.tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tracking-action-btn {
    min-width: 130px;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
}

.tracking-action-btn i {
    font-size: 0.85rem;
}

/* iPad devices only - center copy and print buttons */
@media (min-width: 768px) and (max-width: 1024px) {
    .tracking-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .tracking-actions {
        width: 100%;
        justify-content: center;
    }

    .tracking-action-btn {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        padding: 0.45rem 0.5rem;
        font-size: 0.85rem;
        min-width: 0;
    }

    .tracking-action-btn i {
        font-size: 0.75rem;
    }
}

.tracking-results .btn-primary {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #0c1022;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tracking-results .btn-primary:hover {
    background: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -4px rgba(255, 159, 67, 0.4);
}

.tracking-results .table {
    margin-bottom: 0;
}

.tracking-results .table thead th {
    background-color: #f8f9fa;
    color: var(--brand-deep);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
    padding: 1rem;
}

.tracking-results .table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-results .table tbody tr:hover {
    background-color: #f8f9fa;
}

.tracking-results .map-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid #e9ecef;
}

.tracking-results .timeline-content {
    border-left: 3px solid var(--brand-accent);
    padding-left: 1.5rem;
}

/* Curved Timeline Styles - Vertical */
.timeline-curved {
    position: relative;
    width: 100%;
    height: 600px;
    padding: 2rem 3rem;
    overflow: visible;
    display: flex;
    justify-content: center;
}


.timeline-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.timeline-line {
    stroke: var(--brand-deep);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-items {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.timeline-marker {
    position: absolute;
    transform: translate(calc(-12% + 24px), -50%);
    /* Remove flex layout to allow independent positioning of dot and content */
    width: 0;
    height: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--brand-deep);
    background: #ffffff;
    position: absolute;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(4, 13, 33, 0.2);
    transition: all 0.3s ease;
    /* Base position - centered at marker origin */
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
}

.marker-dot.marker-active {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(255, 159, 67, 0.2);
}

.marker-dot.marker-pending {
    background: #ffffff;
    border-color: var(--brand-deep);
}

.marker-dot.marker-completed {
    background: var(--brand-success);
    border-color: var(--brand-success);
}

.marker-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.1rem 0;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    text-align: left;
    box-shadow: none;
    position: absolute;
    /* TEXT POSITIONING: Control text up/down and left/right independently */
    /* Use left and top for positioning relative to marker origin */
    /* Default position - will be overridden by individual marker rules */
    left: calc(16px + 0.8rem);
    top: 0;
    transform: translateY(-50%);
}

/* MARKER POSITIONING on arc - positions the entire marker container */
/* Using data-marker-index instead of nth-child for stable positioning */
/* Adjust transform translate() to position marker on the arc */
.timeline-marker[data-marker-index="0"] {
    transform: translate(calc(-50% + -25px), -50%);
}
.timeline-marker[data-marker-index="1"] {
    transform: translate(calc(-50% + 10px), -50%);
}
.timeline-marker[data-marker-index="2"] {
    transform: translate(calc(-20% + 16px), -60%);
}
.timeline-marker[data-marker-index="3"] {
    transform: translate(calc(-20% + 20px), -50%);
}
.timeline-marker[data-marker-index="4"] {
    transform: translate(calc(-20% + 18px), -50%);
}
.timeline-marker[data-marker-index="5"] {
    transform: translate(calc(-35% + 18px), -50%);
}
.timeline-marker[data-marker-index="6"] {
    transform: translate(calc(-20% + 25px), -50%);
}
.timeline-marker[data-marker-index="7"] {
    transform: translate(calc(-20% + 18px), -43%);
}
.timeline-marker[data-marker-index="8"] {
    transform: translate(calc(-50% + 18px), -18%);
}

/* INDIVIDUAL DOT POSITIONING - adjust dot independently relative to marker origin */
/* Using data-marker-index instead of nth-child for stable positioning */
/* Adjust left/top to move dots left/right and up/down independently */
/* Format: left: Xpx; top: Ypx; */
/* Xpx = horizontal offset from marker origin (negative = left, positive = right) */
/* Ypx = vertical offset from marker origin (negative = up, positive = down) */
/* These are independent of the marker's transform, so dot can be fine-tuned independently */
.timeline-marker[data-marker-index="0"] .marker-dot {
    left: 1rem;
    top: -0.5rem;
    transform: translate(-150%, -150%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="1"] .marker-dot {
    left: -0.9rem;
    top: 0.5;
    transform: translate(-330%, -330%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="2"] .marker-dot {
    left: 0;
    top: 0;
    transform: translate(-320%, -320%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="3"] .marker-dot {
    left: 0.2rem;
    top: -0.8rem;
    transform: translate(-280%, -280%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="4"] .marker-dot {
    left: 0.3rem;
    top: 0rem;
    transform: translate(-198%, -350%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="5"] .marker-dot {
    left: 0.8rem;
    top: 0rem;
    transform: translate(-150%, -300%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="6"] .marker-dot {
    left: 1rem;
    top: 1rem;
    transform: translate(-150%, -300%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="7"] .marker-dot {
    left: 0;
    top: 0;
    transform: translate(-50%, -50%); /* Dot fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="8"] .marker-dot {
    left: 0;
    top: 2rem;
    transform: translate(-680%, -0%); /* Dot fine-tuning - adjust left/top independently */
}

/* INDIVIDUAL TEXT POSITIONING - adjust content independently relative to marker origin */
/* Using data-marker-index instead of nth-child for stable positioning */
/* Adjust left/top to move text left/right and up/down independently */
/* Format: left: Xpx; top: Ypx; */
/* Xpx = horizontal offset from marker origin (negative = left, positive = right) */
/* Ypx = vertical offset from marker origin (negative = up, positive = down) */
/* These are independent of the marker's transform, so content can be fine-tuned independently */
.timeline-marker[data-marker-index="0"] .marker-content {
    left: calc(14px + -0.5rem);
    top: -2.5rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="1"] .marker-content {
    left: calc(14px + -3.5rem);
    top: -2.9rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="2"] .marker-content {
    left: calc(14px + -2.5rem);
    top: -2.8rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="3"] .marker-content {
    left: calc(14px + -1.8rem);
    top: -3.2rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="4"] .marker-content {
    left: calc(14px + -1rem);
    top: -3rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="5"] .marker-content {
    left: calc(14px + -0.2rem);
    top: -2.4rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="6"] .marker-content {
    left: calc(14px + 0rem);
    top: -1.5rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="7"] .marker-content {
    left: calc(14px + 0.2rem);
    top: 0rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}
.timeline-marker[data-marker-index="8"] .marker-content {
    left: calc(14px + -4rem);
    top: 2.5rem;
    transform: translateY(-50%); /* Content fine-tuning - adjust left/top independently */
}

.marker-content-left,
.marker-content-right {
    margin-left: 0;
}

.marker-content-left::before,
.marker-content-left::after,
.marker-content-right::before,
.marker-content-right::after {
    display: none;
}

.marker-status {
    font-weight: 600;
    font-size: 0.55rem;
    color: var(--brand-deep);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.05rem;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.marker-status i {
    font-size: 0.6rem;
}

.marker-location {
    font-weight: 600;
    font-size: 0.48rem;
    color: var(--brand-body);
    margin-bottom: 0.05rem;
    line-height: 1.1;
    /* Hide location on desktop/PC/iPad - show only on mobile */
    display: none;
}

.marker-time {
    font-size: 0.43rem;
    color: rgba(43, 49, 72, 0.75);
    line-height: 1.1;
}

/* Mobile devices only - tablets (iPads) and larger use desktop rules */
@media (max-width: 576px) {
    .timeline-curved {
        height: 250px;
        min-height: 250px;
        padding: 0.75rem 1rem;
    }
    .timeline-marker {
        transform: translate(calc(-18% + 10px), -50%);
        display: flex;
        align-items: center;
        gap: 0.3rem;
        width: auto;
        height: auto;
    }
    .marker-dot {
        width: 10px;
        height: 10px;
        border-width: 2px;
        box-shadow: 0 1px 2px rgba(4, 13, 33, 0.2);
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }
    .marker-dot.marker-active {
        box-shadow: 0 0 0 1px rgba(255, 159, 67, 0.2);
    }
    .marker-status {
        font-size: 9px;
    }
    .marker-status i {
        font-size: 9px;
    }
    .marker-location {
        font-size: 0.48rem;
        /* Hide location on mobile devices */
        display: none;
    }
    .marker-time {
        font-size:0.5rem;
    }
    
    /* Mobile-specific TEXT positioning - adjust margin-top to move text up/down */
    /* margin-top: negative values move text UP, positive values move text DOWN */
    .marker-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-width: 200px;
        white-space: normal;
        margin-top: -0.3rem; /* Default for mobile: adjust for smaller 10px dot */
    }
    
    /* INDIVIDUAL TEXT POSITIONING for each marker on mobile */
    /* Using data-marker-index instead of nth-child for stable positioning */
    /* Adjust margin-top for each marker separately to fine-tune text position */
    /* Negative values = move text UP, Positive values = move text DOWN */
    .timeline-marker[data-marker-index="0"] .marker-content {
        margin-top: -0.3rem; /* Marker 1: adjust as needed (try -0.5rem to move UP, 0.1rem to move DOWN) */
    }
    .timeline-marker[data-marker-index="1"] .marker-content {
        margin-top: 1.2rem; /* Marker 2: adjust as needed */
    }
    .timeline-marker[data-marker-index="2"] .marker-content {
        margin-top: 1.4rem; /* Marker 3: adjust as needed */
    }
    .timeline-marker[data-marker-index="3"] .marker-content {
        margin-top: 1.5rem; /* Marker 4: adjust as needed */
    }
    .timeline-marker[data-marker-index="4"] .marker-content {
        margin-top: 1.5rem; /* Marker 5: adjust as needed */
    }
    .timeline-marker[data-marker-index="5"] .marker-content {
        margin-top: 1.7rem; /* Marker 6: adjust as needed */
    }
    .timeline-marker[data-marker-index="6"] .marker-content {
        margin-top: 1.5rem; /* Marker 7: adjust as needed */
    }
    .timeline-marker[data-marker-index="7"] .marker-content {
        margin-top: 1.8rem; /* Marker 8: adjust as needed */
    }
    .timeline-marker[data-marker-index="8"] .marker-content {
        margin-top: 1.5rem; /* Marker 9: adjust as needed */
    }
    
    /* Mobile-specific marker positioning - adjust vertical percentage to align dots */
    /* Using data-marker-index instead of nth-child for stable positioning */
    /* Vertical percentage explanation: -50% = centered on line, higher = up, lower = down */
    /* On mobile, dots are smaller (10px vs 16px), so percentages may need adjustment */
    /* Reset individual dot and content positioning for mobile - use flex layout instead */
    .timeline-marker[data-marker-index="0"] .marker-dot,
    .timeline-marker[data-marker-index="1"] .marker-dot,
    .timeline-marker[data-marker-index="2"] .marker-dot,
    .timeline-marker[data-marker-index="3"] .marker-dot,
    .timeline-marker[data-marker-index="4"] .marker-dot,
    .timeline-marker[data-marker-index="5"] .marker-dot,
    .timeline-marker[data-marker-index="6"] .marker-dot,
    .timeline-marker[data-marker-index="7"] .marker-dot,
    .timeline-marker[data-marker-index="8"] .marker-dot {
        left: auto;
        top: auto;
        transform: none;
}
    .timeline-marker[data-marker-index="0"] .marker-content,
    .timeline-marker[data-marker-index="1"] .marker-content,
    .timeline-marker[data-marker-index="2"] .marker-content,
    .timeline-marker[data-marker-index="3"] .marker-content,
    .timeline-marker[data-marker-index="4"] .marker-content,
    .timeline-marker[data-marker-index="5"] .marker-content,
    .timeline-marker[data-marker-index="6"] .marker-content,
    .timeline-marker[data-marker-index="7"] .marker-content,
    .timeline-marker[data-marker-index="8"] .marker-content {
        left: auto;
        top: auto;
        transform: none;
    }
    .timeline-marker[data-marker-index="0"] {
        transform: translate(calc(-0% + -19px), -77%);
    }
    .timeline-marker[data-marker-index="1"] {
        transform: translate(calc(-25% + 18px), -75%);
    }
    .timeline-marker[data-marker-index="2"] {
        transform: translate(calc(-20% + 16px), -60%);
    }
    .timeline-marker[data-marker-index="3"] {
        transform: translate(calc(-20% + 20px), -50%);
    }
    .timeline-marker[data-marker-index="4"] {
        transform: translate(calc(-20% + 18px), -50%);
    }
    .timeline-marker[data-marker-index="5"] {
        transform: translate(calc(-35% + 18px), -50%);
    }
    .timeline-marker[data-marker-index="6"] {
        transform: translate(calc(-20% + 25px), -50%);
    }
    .timeline-marker[data-marker-index="7"] {
        transform: translate(calc(-20% + 18px), -43%);
    }
    .timeline-marker[data-marker-index="8"] {
        transform: translate(calc(-50% + 18px), -18%);
    }
}

.tracking-results .badge-status {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
}

/* Mobile: Allow badge status text to wrap on smaller devices */
@media (max-width: 991.98px) {
    .tracking-results .badge-status {
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        max-width: 100%;
        display: inline-block;
    }
}

.tracking-results h6.text-uppercase {
    color: var(--brand-deep);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tracking-results ul.list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.tracking-results ul.list-unstyled li:last-child {
    border-bottom: none;
}

.tracking-results ul.list-unstyled strong {
    color: var(--brand-deep);
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .tracking-hero h1 {
        font-size: 1.75rem;
    }

    .tracking-hero p {
        font-size: 1rem;
    }

    .tracking-features h2,
    .tracking-faq h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .tracking-hero {
        padding: 2rem 0 1.5rem;
    }

    .tracking-hero h1 {
        font-size: 1.5rem;
    }

    .tracking-hero p {
        font-size: 0.95rem;
    }

    .tracking-features h2,
    .tracking-faq h2 {
        font-size: 1.5rem;
    }

    .tracking-features .feature-card {
        padding: 1.8rem 1.4rem;
    }
}

/* Hide QR code and signature on screen */
.receipt-qr-code,
.receipt-signature {
    display: none !important;
}

/* Print Receipt Styles */
@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    /* Hide everything by default */
    body * {
        visibility: hidden;
    }

    /* Show only print sections */
    .print-receipt-header,
    .print-receipt-header *,
    .print-section,
    .print-section *,
    .receipt-qr-code,
    .receipt-qr-code *,
    .receipt-signature,
    .receipt-signature *,
    .tracking-results::before {
        visibility: visible;
    }

    /* Hide non-print elements */
    .navbar,
    .footer-primary,
    .floating-whatsapp,
    .tracking-hero,
    .tracking-features,
    .tracking-faq,
    .btn,
    .demo-box,
    .home-search {
        display: none !important;
    }

    /* Receipt container styling */
    body {
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .tracking-results {
        background: transparent !important;
        padding: 0 !important;
        position: relative;
        max-width: 100% !important;
    }

    .tracking-results::before {
        content: "";
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(90deg);
        width: 600px;
        height: 400px;
        background-image: url('../images/logo-express-delivery.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        opacity: 0.08;
        z-index: 0;
        pointer-events: none;
        display: block !important;
        visibility: visible !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .tracking-results .container {
        position: relative;
        z-index: 1;
        background: transparent !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Print header */
    .print-receipt-header {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 20px;
        page-break-after: avoid;
        border-bottom: 2px solid var(--brand-deep) !important;
        padding-bottom: 15px !important;
    }

    .print-receipt-header.d-none {
        display: block !important;
        visibility: visible !important;
    }

    .receipt-header-content {
        display: grid;
        grid-template-columns: 80px 1fr 80px;
        align-items: center;
        gap: 20px;
        position: relative;
    }

    .receipt-logo {
        flex-shrink: 0;
        width: 80px;
        grid-column: 1;
    }

    .receipt-logo img,
    .receipt-logo-img {
        max-height: 60px;
        height: 60px;
        width: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .receipt-company-info {
        grid-column: 2;
        visibility: visible !important;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .receipt-company-name {
        color: var(--brand-deep) !important;
        font-size: 1.75rem !important;
        font-weight: 700 !important;
        margin: 0 0 5px 0 !important;
        letter-spacing: -0.5px;
        line-height: 1.2;
        visibility: visible !important;
        display: block !important;
        text-align: center !important;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    .receipt-tagline {
        color: var(--brand-accent-dark) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin: 0 0 8px 0 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        visibility: visible !important;
        display: block !important;
        text-align: center !important;
    }

    .receipt-meta {
        display: flex !important;
        gap: 20px;
        font-size: 0.8rem;
        color: var(--brand-body) !important;
        visibility: visible !important;
        justify-content: center !important;
    }

    .receipt-meta p {
        margin: 0 !important;
    }

    /* Tracking Number Section - transparent background to show watermark */
    .print-section[data-print-section="tracking-number"] {
        background: transparent !important;
        border: 2px solid #e9ecef !important;
        border-radius: 0.5rem !important;
        padding: 12px 15px !important;
        margin-bottom: 15px !important;
        page-break-inside: auto;
        box-shadow: none !important;
    }

    /* Center tracking number and QR code in print */
    .print-section[data-print-section="tracking-number"] .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .print-section[data-print-section="tracking-number"] > .d-flex > div:first-child {
        width: 100% !important;
        text-align: center !important;
    }

    .print-section[data-print-section="tracking-number"] .h5 {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: var(--brand-deep) !important;
        text-align: center !important;
    }

    .print-section[data-print-section="tracking-number"] small {
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        text-align: center !important;
        display: block;
    }

    .print-section[data-print-section="tracking-number"] .badge {
        display: inline-block;
        margin: 8px auto 0;
    }

    /* QR Code - visible only in print */
    .receipt-qr-code {
        display: block !important;
        text-align: center;
        margin-top: 15px !important;
        width: 100%;
    }

    .receipt-qr-code img {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
        border: 1px solid #e9ecef;
        padding: 5px;
        background: #ffffff;
        display: inline-block;
    }

    /* Signature Section - visible only in print */
    .receipt-signature {
        display: block !important;
        page-break-inside: avoid;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 2px solid #e9ecef !important;
    }

    .receipt-signature .signature-line {
        height: 50px;
        border-bottom: 2px solid #000 !important;
    }

    .receipt-signature .small {
        font-size: 0.75rem !important;
        color: #6c757d !important;
    }

    .receipt-signature .d-flex {
        margin-top: 10px;
    }

    /* Print sections - preserve screen appearance */
    .print-section {
        page-break-inside: auto;
        margin-bottom: 12px !important;
    }
    
    /* Only avoid breaking individual cards, not entire sections */
    .print-section .card-soft {
        page-break-inside: avoid;
    }

    /* Hide buttons in print */
    .print-section .btn {
        display: none !important;
    }

    /* Card styling for print - transparent backgrounds to show watermark */
    .print-section .card-soft {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 20px !important;
        border-radius: 1rem !important;
    }

    .print-section .card-header {
        background: transparent !important;
        color: var(--brand-deep) !important;
        border-bottom: 2px solid #e9ecef !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        border-radius: 0.5rem 0.5rem 0 0 !important;
    }

    .print-section .card-header.bg-transparent {
        background: transparent !important;
        border-bottom: 2px solid #e9ecef !important;
    }

    .print-section .card-header h5 {
        color: var(--brand-deep) !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        margin: 0 !important;
    }

    .print-section .card-body {
        padding: 12px 15px !important;
        background: transparent !important;
    }

    /* Sender/Receiver Section - preserve screen appearance, side by side */
    .print-section[data-print-section="sender-receiver"] {
        page-break-inside: avoid;
    }

    .print-section[data-print-section="sender-receiver"] .card-soft {
        box-shadow: 0 2px 8px -4px rgba(4, 13, 33, 0.15) !important;
        border-radius: 0.5rem !important;
        margin-bottom: 12px !important;
    }

    .print-section[data-print-section="sender-receiver"] .row {
        margin: 0 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .print-section[data-print-section="sender-receiver"] .col-lg-6 {
        padding: 0 8px !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }

    /* Package/Shipping Details - transparent background to show watermark */
    .print-section[data-print-section="package-shipping"] .card-body {
        padding: 12px 15px !important;
        background: transparent !important;
    }
    
    .print-section[data-print-section="package-shipping"] .card-soft {
        background: transparent !important;
    }

    .print-section[data-print-section="package-shipping"] .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin: 0 !important;
    }

    .print-section[data-print-section="package-shipping"] .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding: 0 8px !important;
    }

    .print-section[data-print-section="package-shipping"] h6 {
        color: var(--brand-deep) !important;
        font-weight: 600 !important;
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 8px !important;
    }

    .print-section[data-print-section="package-shipping"] ul.list-unstyled {
        margin: 0 !important;
    }

    .print-section[data-print-section="package-shipping"] ul.list-unstyled li {
        padding: 4px 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 0.85rem !important;
    }

    .print-section[data-print-section="package-shipping"] ul.list-unstyled li:last-child {
        border-bottom: none !important;
    }

    .print-section[data-print-section="package-shipping"] ul.list-unstyled strong {
        color: var(--brand-deep) !important;
        font-weight: 600 !important;
    }

    /* Table styling for print - preserve screen appearance */
    .print-section .table {
        font-size: 1rem;
        margin: 0 !important;
    }

    .print-section .table thead th {
        background-color: transparent !important;
        color: var(--brand-deep) !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e9ecef !important;
        padding: 6px 8px !important;
    }

    .print-section .table tbody td {
        padding: 6px 8px !important;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 0.85rem !important;
    }

    .print-section .table tbody tr:hover {
        background-color: transparent !important;
    }

    /* Map placeholder for print - transparent to show watermark */
    .print-section .map-container {
        border-radius: 1.5rem !important;
        overflow: hidden;
        box-shadow: none !important;
    }

    .print-section .map-placeholder,
    .print-section #tracking-map {
        background: transparent !important;
        border: none !important;
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #5b6f8e !important;
        font-size: 0.85rem;
    }

    /* Hide Leaflet controls in print */
    .print-section .leaflet-container {
        background: transparent !important;
    }

    .print-section .leaflet-control-container {
        display: none !important;
    }

    /* Timeline for print - preserve exact desktop positioning */
    /* Prevent timeline from breaking across pages */
    .print-section[data-print-section="timeline"] {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        page-break-before: auto !important;
        break-before: auto !important;
    }
    
    .print-section[data-print-section="timeline"] .timeline-curved {
        height: 500px !important;
        padding: 1.5rem 1rem !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    
    .print-section[data-print-section="timeline"] .card-body {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-section[data-print-section="timeline"] .timeline-path {
        width: 100% !important;
    }

    .print-section[data-print-section="timeline"] .timeline-line {
        stroke: var(--brand-deep) !important;
        stroke-width: 2 !important;
    }

    /* Preserve desktop marker positioning structure */
    .print-section[data-print-section="timeline"] .timeline-marker {
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Preserve all individual marker transforms for print */
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="0"] {
        transform: translate(calc(-50% + -25px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="1"] {
        transform: translate(calc(-50% + 10px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="2"] {
        transform: translate(calc(-20% + 16px), -60%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="3"] {
        transform: translate(calc(-20% + 20px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="4"] {
        transform: translate(calc(-20% + 18px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="5"] {
        transform: translate(calc(-35% + 18px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="6"] {
        transform: translate(calc(-20% + 25px), -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="7"] {
        transform: translate(calc(-20% + 18px), -43%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="8"] {
        transform: translate(calc(-50% + 18px), -18%) !important;
    }

    /* Preserve desktop dot base styles */
    .print-section[data-print-section="timeline"] .marker-dot {
        width: 16px !important;
        height: 16px !important;
        border-width: 3px !important;
        position: absolute !important;
        z-index: 3 !important;
        box-shadow: 0 2px 8px rgba(4, 13, 33, 0.2) !important;
    }

    /* Preserve all individual dot positioning for print */
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="0"] .marker-dot {
        left: 1rem !important;
        top: -0.5rem !important;
        transform: translate(-150%, -150%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="1"] .marker-dot {
        left: -0.9rem !important;
        top: 0.5 !important;
        transform: translate(-330%, -330%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="2"] .marker-dot {
        left: 0 !important;
        top: 0 !important;
        transform: translate(-320%, -320%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="3"] .marker-dot {
        left: 0.2rem !important;
        top: -0.8rem !important;
        transform: translate(-280%, -280%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="4"] .marker-dot {
        left: 0.3rem !important;
        top: 0rem !important;
        transform: translate(-198%, -350%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="5"] .marker-dot {
        left: 0.8rem !important;
        top: 0rem !important;
        transform: translate(-150%, -300%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="6"] .marker-dot {
        left: 1rem !important;
        top: 1rem !important;
        transform: translate(-150%, -300%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="7"] .marker-dot {
        left: 0 !important;
        top: 0 !important;
        transform: translate(-50%, -50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="8"] .marker-dot {
        left: 0 !important;
        top: 2rem !important;
        transform: translate(-680%, -0%) !important;
    }

    /* Preserve desktop content base styles */
    .print-section[data-print-section="timeline"] .marker-content {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0.1rem 0 !important;
        box-shadow: none !important;
        min-width: 0 !important;
        position: absolute !important;
        max-width: none !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    /* Preserve all individual content positioning for print */
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="0"] .marker-content {
        left: calc(14px + -0.5rem) !important;
        top: -2.5rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="1"] .marker-content {
        left: calc(14px + -3.5rem) !important;
        top: -2.9rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="2"] .marker-content {
        left: calc(14px + -2.5rem) !important;
        top: -2.8rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="3"] .marker-content {
        left: calc(14px + -1.8rem) !important;
        top: -3.2rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="4"] .marker-content {
        left: calc(14px + -1rem) !important;
        top: -3rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="5"] .marker-content {
        left: calc(14px + -0.2rem) !important;
        top: -2.4rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="6"] .marker-content {
        left: calc(14px + 0rem) !important;
        top: -1.5rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="7"] .marker-content {
        left: calc(14px + 0.2rem) !important;
        top: 0rem !important;
        transform: translateY(-50%) !important;
    }
    .print-section[data-print-section="timeline"] .timeline-marker[data-marker-index="8"] .marker-content {
        left: calc(14px + -4rem) !important;
        top: 2.5rem !important;
        transform: translateY(-50%) !important;
    }

    .print-section[data-print-section="timeline"] .marker-status {
        font-size: 0.8rem !important;
    }

    .print-section[data-print-section="timeline"] .marker-location {
        font-size: 0.75rem !important;
    }

    .print-section[data-print-section="timeline"] .marker-time {
        font-size: 0.7rem !important;
    }
    
    .print-section[data-print-section="timeline"] .card-soft {
        background: transparent !important;
    }
    
    .print-section[data-print-section="timeline"] .card-header {
        background: transparent !important;
    }

    .print-section[data-print-section="timeline"] .badge {
        background: transparent !important;
        color: #000000 !important;
        padding: 0.4rem 0.85rem !important;
        font-weight: normal !important;
        border: 1px solid rgba(108, 117, 125, 0.3) !important;
    }

    /* Avatar images - preserve screen appearance */
    .print-section .avatar img {
        width: 40px !important;
        height: 40px !important;
        border: 2px solid #e9ecef !important;
    }

    /* Text colors for print */
    .print-section h5,
    .print-section h6 {
        color: var(--brand-deep) !important;
    }

    .print-section .text-muted {
        color: var(--brand-body) !important;
    }

    /* Page breaks - removed to save pages */
    .print-section[data-print-section="map"] {
        page-break-after: auto;
    }

    /* Remove gaps and adjust spacing */
    .print-section .row {
        margin: 0 !important;
    }

    /* Badge styling */
    .print-section .badge-status {
        font-weight: 600 !important;
        padding: 6px 14px !important;
        font-size: 0.85rem !important;
        border-radius: 4px !important;
    }
}

/* ============================================
   Contact/Support Page Styles
   ============================================ */

/* Contact Cards */
.contact-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover::after {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon-email {
    background: #4a90e2;
}

.contact-icon-phone {
    background: #ff6b9d;
}

.contact-icon-hours {
    background: var(--brand-accent);
}

.contact-card h5 {
    color: var(--brand-deep);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-card p {
    font-size: 0.95rem;
}

.contact-card .small {
    font-size: 0.85rem;
}

/* Info Sections */
.info-section {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-section:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.1);
}

.info-section h5 {
    color: var(--brand-deep);
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.info-section p,
.info-section a {
    font-size: 0.9rem;
}

.info-section ul li {
    padding: 0.35rem 0;
    transition: all 0.2s ease;
}

.info-section ul li:hover {
    padding-left: 0.5rem;
}

.info-section a {
    transition: all 0.2s ease;
    display: inline-block;
}

.info-section a:hover {
    text-decoration: underline !important;
    transform: translateX(4px);
}

.info-section--compact {
    padding: 1rem 1.25rem;
    border-radius: 0.6rem;
}

.info-section--center {
    text-align: center;
}

.info-section--center .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 159, 67, 0.18);
    color: var(--brand-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-section--center ul li {
    padding: 0.35rem 0;
}

.info-section--center ul li:hover {
    padding-left: 0;
}

.info-section--center {
    text-align: center;
}

.info-section--center .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 159, 67, 0.18);
    color: var(--brand-accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-section--center ul li {
    padding: 0.35rem 0;
}

.info-section--center ul li:hover {
    padding-left: 0;
}


.info-section--compact {
    padding: 1.2rem 1.5rem;
    border-radius: 0.6rem;
}

/* Help Categories */
.help-category {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.help-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.help-category:hover::before {
    transform: scaleY(1);
}

.help-category:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 24px rgba(255, 159, 67, 0.15);
    transform: translateX(4px);
}

.help-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(232, 133, 37, 0.16);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.help-category:hover .help-icon {
    background: var(--brand-accent);
    color: #ffffff;
    transform: scale(1.1);
}

.help-category h5 {
    color: var(--brand-deep);
    font-size: 1.1rem;
    font-weight: 600;
}

.help-category p {
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-form .form-label {
    color: var(--brand-deep);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 159, 67, 0.25);
    outline: 0;
}

.contact-form .form-control::placeholder {
    color: #adb5bd;
}

.contact-form .btn-primary {
    background: var(--brand-accent);
    border: none;
    padding: 0.75rem 3rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: var(--brand-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.3);
}

/* About Page Styles */
.about-hero {
    position: relative;
    padding: 5rem 0 4rem;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(115deg, rgba(4, 13, 33, 0.85), rgba(16, 58, 108, 0.75)),
        url('../images/hero-express-plane.jpg') center/cover no-repeat;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 13, 33, 0.85) 20%, rgba(6, 37, 82, 0.65) 55%, rgba(9, 69, 128, 0.45) 100%);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.1rem, 2.3vw, 1.35rem);
}

.contact-hero {
    position: relative;
    padding: 5rem 0 4rem;
    color: #ffffff;
    background: linear-gradient(115deg, rgba(4, 13, 33, 0.85), rgba(16, 58, 108, 0.75)),
        url('../images/tracking-package-delivery-with-map-visualization.jpg') center/cover no-repeat;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(4, 13, 33, 0.85) 20%, rgba(6, 37, 82, 0.65) 55%, rgba(9, 69, 128, 0.45) 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.1rem, 2.3vw, 1.35rem);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
}

.hero-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-contact-link:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.hero-contact-link--light {
    background: rgba(255, 255, 255, 0.24);
}

.contact-card-grid {
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }

    .contact-hero-panel {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 3.5rem 0 3rem;
    }

    .contact-hero .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-contact-links {
        flex-direction: column;
    }

    .hero-contact-link {
        width: 100%;
    }

    .support-page main section:not(.contact-hero) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .support-page main section:not(.contact-hero) .container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Journey Timeline */
.journey-timeline {
    position: relative;
    padding-left: 3rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    border-radius: 2px;
}

.journey-item {
    position: relative;
    padding-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.journey-item:nth-child(1) { animation-delay: 0.1s; }
.journey-item:nth-child(2) { animation-delay: 0.2s; }
.journey-item:nth-child(3) { animation-delay: 0.3s; }
.journey-item:nth-child(4) { animation-delay: 0.4s; }

.journey-item:last-child {
    padding-bottom: 0;
}

.journey-dot {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-accent);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--brand-accent), 0 2px 8px rgba(232, 133, 37, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.5rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.journey-dot:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--brand-accent), 0 4px 12px rgba(232, 133, 37, 0.4);
}

.journey-content {
    padding-left: 0;
}

.journey-content h5 {
    color: var(--brand-deep);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.journey-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

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

/* Feature Cards (About Page) */
.feature-card {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 24px rgba(255, 159, 67, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Team Members */
.team-member {
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(232, 133, 37, 0.2);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(232, 133, 37, 0.3);
}

.avatar-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-deep) 100%);
}

.team-member h5 {
    color: var(--brand-deep);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* Impact Cards - New Design */
.impact-card-new {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.impact-card-new:hover::before {
    transform: scaleY(1);
}

.impact-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(232, 133, 37, 0.15);
    border-color: var(--brand-accent);
}

.impact-icon-wrapper {
    margin-bottom: 1.5rem;
}

.impact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(232, 133, 37, 0.1) 0%, rgba(232, 133, 37, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.impact-card-new:hover .impact-icon {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.impact-content {
    flex: 1;
}

.impact-number-new {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.impact-card-new:hover .impact-number-new {
    transform: scale(1.05);
}

.impact-title {
    color: var(--brand-deep);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.impact-description {
    color: var(--brand-body);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
    opacity: 0.8;
}

/* Legacy Impact Cards (for backward compatibility) */
.impact-card {
    padding: 2.5rem 2rem;
    background: #ffffff;
    border: 3px solid var(--brand-accent);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 133, 37, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(232, 133, 37, 0.25);
    border-color: var(--brand-accent-dark);
}

.impact-number {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.impact-card:hover .impact-number {
    transform: scale(1.1);
}

.impact-card h6 {
    color: var(--brand-deep);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Value Cards */
.value-card {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.value-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 24px rgba(255, 159, 67, 0.15);
    transform: translateY(-4px);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(232, 133, 37, 0.16);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--brand-accent);
    color: #ffffff;
    transform: scale(1.1);
}

.value-card h5 {
    margin-bottom: 0.75rem;
}

/* Responsive Styles for Contact/About Pages */
@media (max-width: 991.98px) {
    .about-hero,
    .contact-hero {
        padding: 4rem 0 3rem;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }

    .info-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero,
    .about-hero {
        padding: 3rem 0 2rem;
    }

    .contact-hero h1,
    .about-hero h1 {
        font-size: 1.75rem;
    }

    .contact-hero p,
    .about-hero p {
        font-size: 1rem;
    }

    section h2,
    .about-page section h2,
    .support-page section h2 {
        font-size: 1.75rem;
    }

    .contact-card {
        margin-bottom: 1.5rem;
        padding: 1.75rem 1.25rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .info-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .info-section h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .journey-timeline {
        padding-left: 2.5rem;
    }

    .journey-timeline::before {
        left: 0.65rem;
    }

    .journey-item {
        padding-bottom: 2rem;
    }

    .journey-dot {
        left: -2rem;
        width: 18px;
        height: 18px;
        font-size: 0.45rem;
        border-width: 2px;
    }

    .journey-content h5 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .journey-content p {
        font-size: 0.875rem;
    }

    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .team-avatar {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }

    .team-member {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .team-member h5 {
        font-size: 1rem;
    }

    .impact-card-new {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .impact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .impact-number-new {
        font-size: 2.5rem;
    }

    .impact-title {
        font-size: 1.1rem;
    }

    .impact-description {
        font-size: 0.9rem;
    }

    /* Legacy Impact Cards */
    .impact-card {
        padding: 1.75rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .impact-number {
        font-size: 2.25rem;
    }

    .impact-card h6 {
        font-size: 1rem;
    }

    .value-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .value-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .value-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .help-category {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .help-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .help-category h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero,
    .about-hero {
        padding: 2.5rem 0 1.5rem;
    }

    .contact-hero h1,
    .about-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .contact-hero p,
    .about-hero p {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .journey-dot {
        width: 16px;
        height: 16px;
        font-size: 0.4rem;
        left: -1.75rem;
        border-width: 1.5px;
    }

    .journey-timeline {
        padding-left: 2rem;
    }

    .journey-timeline::before {
        left: 0.55rem;
        width: 1.5px;
    }

    .journey-content h5 {
        margin-bottom: 0.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .impact-card-new {
        padding: 1.75rem 1.25rem;
    }

    .impact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .impact-number-new {
        font-size: 2rem;
    }

    .impact-title {
        font-size: 1rem;
    }

    .impact-description {
        font-size: 0.85rem;
    }

    /* Legacy Impact Cards */
    .impact-number {
        font-size: 2rem;
    }

    .value-icon,
    .help-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    section h2,
    .about-page section h2,
    .support-page section h2 {
        font-size: 1.5rem;
    }
}

/* Package Image Carousel Styles */
.package-image-gallery {
    position: relative;
}

.package-image-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: grab;
    user-select: none;
}

.package-image-carousel:active {
    cursor: grabbing;
}

.carousel-slide {
    display: none;
    width: 100%;
    text-align: center;
}

/* Show first slide by default (for single images or before JS loads) */
.carousel-slide:first-child {
    display: block !important;
}

.carousel-slide.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in-out;
}

/* Hide non-active slides when carousel is initialized */
.carousel-initialized .carousel-slide:not(.active) {
    display: none !important;
}

/* Ensure active slide is always visible, even when initialized */
.carousel-initialized .carousel-slide.active {
    display: block !important;
}

/* Override first-child rule when carousel is initialized and first slide is not active */
.carousel-initialized .carousel-slide:first-child:not(.active) {
    display: none !important;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-controls {
    margin-top: 1rem;
}

.carousel-controls button {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-controls button:hover {
    background-color: var(--brand-primary, #1e377e);
    color: white;
    border-color: var(--brand-primary, #1e377e);
}

.carousel-indicator {
    font-size: 0.875rem;
    color: var(--text-muted, #6c757d);
    min-width: 60px;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile carousel adjustments */
/* Responsive styles for custom timeline table */
@media (max-width: 992px) {
    .admin-card-body .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem !important;
        padding: 0 1rem !important;
        display: block !important;
        width: calc(100% + 2rem) !important;
    }
    
    .admin-card-body .table-responsive table {
        min-width: 2800px !important;
        width: 100% !important;
        margin-bottom: 0;
        table-layout: fixed !important; /* Use fixed layout to enforce column widths */
    }
    
    .admin-card-body .table-responsive thead th {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap;
        background-color: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 10;
        font-weight: 600 !important;
    }
    
    /* Override ALL inline width styles from table headers - MUST override inline styles with higher specificity */
    .admin-card-body .table-responsive thead th[style*="width"],
    .admin-card-body .table-responsive thead th[style*="12%"],
    .admin-card-body .table-responsive thead th[style*="15%"],
    .admin-card-body .table-responsive thead th[style*="18%"],
    .admin-card-body .table-responsive thead th[style*="8%"],
    .admin-card-body .table-responsive thead th[style*="5%"] {
        width: auto !important;
        min-width: auto !important;
        max-width: none !important;
    }
    
    /* Status ID column - increased width for mobile - override inline styles with maximum specificity */
    .admin-card-body .table-responsive thead th:nth-child(1),
    .admin-card-body .table-responsive thead th:nth-child(1)[style],
    .admin-card-body .table-responsive tbody td:nth-child(1),
    .admin-card-body .table-responsive tbody td:nth-child(1)[style] {
        min-width: 650px !important;
        width: 650px !important;
        max-width: none !important;
    }
    
    /* Force table cells to respect our widths - even more specific */
    .admin-card-body .table-responsive tbody td:nth-child(1) {
        width: 650px !important;
        min-width: 650px !important;
        max-width: none !important;
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Label column - increased width for mobile - override inline styles with maximum specificity */
    .admin-card-body .table-responsive thead th:nth-child(2),
    .admin-card-body .table-responsive thead th:nth-child(2)[style],
    .admin-card-body .table-responsive tbody td:nth-child(2),
    .admin-card-body .table-responsive tbody td:nth-child(2)[style] {
        min-width: 700px !important;
        width: 700px !important;
        max-width: none !important;
    }
    
    /* Force table cells to respect our widths - even more specific */
    .admin-card-body .table-responsive tbody td:nth-child(2) {
        width: 700px !important;
        min-width: 700px !important;
        max-width: none !important;
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Icon column - increased width for mobile - override inline styles */
    .admin-card-body .table-responsive thead th:nth-child(3),
    .admin-card-body .table-responsive thead th:nth-child(3)[style],
    .admin-card-body .table-responsive tbody td:nth-child(3),
    .admin-card-body .table-responsive tbody td:nth-child(3)[style] {
        min-width: 550px !important;
        width: 550px !important;
        max-width: none !important;
    }
    
    /* Force table cells to respect our widths for icon column */
    .admin-card-body .table-responsive tbody td:nth-child(3) {
        width: 550px !important;
        min-width: 550px !important;
        max-width: none !important;
        padding: 0.75rem 0.5rem !important;
    }
    
    /* Color column */
    .admin-card-body .table-responsive thead th:nth-child(4),
    .admin-card-body .table-responsive tbody td:nth-child(4) {
        min-width: 120px !important;
        width: 120px !important;
    }
    
    /* Arc Position column */
    .admin-card-body .table-responsive thead th:nth-child(5),
    .admin-card-body .table-responsive tbody td:nth-child(5) {
        min-width: 180px !important;
        width: 180px !important;
    }
    
    /* Location column */
    .admin-card-body .table-responsive thead th:nth-child(6),
    .admin-card-body .table-responsive tbody td:nth-child(6) {
        min-width: 350px !important;
        width: 350px !important;
    }
    
    /* Current column */
    .admin-card-body .table-responsive thead th:nth-child(7),
    .admin-card-body .table-responsive tbody td:nth-child(7) {
        min-width: 100px !important;
        width: 100px !important;
    }
    
    /* Actions column */
    .admin-card-body .table-responsive thead th:nth-child(8),
    .admin-card-body .table-responsive tbody td:nth-child(8) {
        min-width: 100px !important;
        width: 100px !important;
    }
    
    .admin-card-body .table-responsive tbody td {
        padding: 0.75rem 0.5rem;
        vertical-align: middle;
    }
    
    /* Status ID input field - wider on mobile - force expansion with maximum specificity */
    .admin-card-body .table-responsive tbody td:nth-child(1) input[type="text"].admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(1) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(1) .admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(1) input,
    .admin-card-body .table-responsive tbody td:nth-child(1) input[type="text"] {
        width: 100% !important;
        min-width: 630px !important;
        max-width: none !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    /* Label input field - wider on mobile - force expansion with maximum specificity */
    .admin-card-body .table-responsive tbody td:nth-child(2) input[type="text"].admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(2) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(2) .admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(2) input,
    .admin-card-body .table-responsive tbody td:nth-child(2) input[type="text"] {
        width: 100% !important;
        min-width: 680px !important;
        max-width: none !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    /* Icon input wrapper - wider on mobile */
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper {
        min-width: 530px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper .form-select,
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper select.form-select {
        min-width: 450px !important;
        width: auto !important;
        flex: 1;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper .icon-custom-input,
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper input.icon-custom-input {
        min-width: 450px !important;
        width: auto !important;
        flex: 1;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Location input field - wider on mobile */
    .admin-card-body .table-responsive tbody td:nth-child(6) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(6) .admin-form-control {
        width: 100% !important;
        min-width: 330px !important;
        max-width: none !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Arc Position input field */
    .admin-card-body .table-responsive tbody td:nth-child(5) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(5) .admin-form-control {
        width: 100% !important;
        min-width: 160px !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive .admin-form-control {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive .form-select {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive .form-control-color {
        width: 100% !important;
        min-width: 100px !important;
        height: 45px !important;
        padding: 0.25rem;
        box-sizing: border-box !important;
    }
    
    .admin-card-body .table-responsive .icon-input-wrapper {
        min-width: 380px !important;
        gap: 0.75rem;
    }
    
    .admin-card-body .table-responsive .icon-preview {
        flex-shrink: 0;
    }
    
    .admin-card-body .table-responsive .btn {
        min-width: auto;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .admin-card-body .table-responsive .current-location-radio {
        width: 18px;
        height: 18px;
    }
}

/* Extra aggressive mobile styles for timeline table - smaller devices */
@media (max-width: 768px) {
    .admin-card-body .table-responsive table {
        min-width: 3000px !important;
        table-layout: fixed !important;
    }
    
    /* Even wider columns on smaller mobile devices */
    .admin-card-body .table-responsive thead th:nth-child(1),
    .admin-card-body .table-responsive thead th:nth-child(1)[style],
    .admin-card-body .table-responsive tbody td:nth-child(1),
    .admin-card-body .table-responsive tbody td:nth-child(1)[style] {
        min-width: 700px !important;
        width: 700px !important;
        max-width: none !important;
    }
    
    .admin-card-body .table-responsive thead th:nth-child(2),
    .admin-card-body .table-responsive thead th:nth-child(2)[style],
    .admin-card-body .table-responsive tbody td:nth-child(2),
    .admin-card-body .table-responsive tbody td:nth-child(2)[style] {
        min-width: 750px !important;
        width: 750px !important;
        max-width: none !important;
    }
    
    .admin-card-body .table-responsive thead th:nth-child(3),
    .admin-card-body .table-responsive thead th:nth-child(3)[style],
    .admin-card-body .table-responsive tbody td:nth-child(3),
    .admin-card-body .table-responsive tbody td:nth-child(3)[style] {
        min-width: 600px !important;
        width: 600px !important;
        max-width: none !important;
    }
    
    /* Force table cells to respect our widths for icon column on smaller devices */
    .admin-card-body .table-responsive tbody td:nth-child(3) {
        width: 600px !important;
        min-width: 600px !important;
        max-width: none !important;
        padding: 0.75rem 0.5rem !important;
    }
    
    .admin-card-body .table-responsive thead th:nth-child(6),
    .admin-card-body .table-responsive tbody td:nth-child(6) {
        min-width: 400px !important;
        width: 400px !important;
    }
    
    /* Even wider inputs on smaller devices */
    .admin-card-body .table-responsive tbody td:nth-child(1) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(1) .admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(1) input,
    .admin-card-body .table-responsive tbody td:nth-child(1) input[type="text"] {
        min-width: 680px !important;
        width: 100% !important;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(2) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(2) .admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(2) input,
    .admin-card-body .table-responsive tbody td:nth-child(2) input[type="text"] {
        min-width: 730px !important;
        width: 100% !important;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper {
        min-width: 580px !important;
        width: 100% !important;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper .form-select,
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper select.form-select {
        min-width: 500px !important;
        width: auto !important;
        flex: 1;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper .icon-custom-input,
    .admin-card-body .table-responsive tbody td:nth-child(3) .icon-input-wrapper input.icon-custom-input {
        min-width: 500px !important;
        width: auto !important;
        flex: 1;
    }
    
    .admin-card-body .table-responsive tbody td:nth-child(6) input.admin-form-control,
    .admin-card-body .table-responsive tbody td:nth-child(6) .admin-form-control {
        min-width: 380px !important;
    }
    
    .carousel-slide img {
        max-height: 250px;
    }
    
    .carousel-controls button {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}
