:root {
    --navy: #0b1f3a;
    --navy-deep: #071528;
    --navy-mid: #123056;
    --gold: #c9a227;
    --gold-hover: #b08d1c;
    --gold-soft: #e8c547;
    --cyan: #3aa0d9;
    --white: #ffffff;
    --off-white: #f5f7fb;
    --text: #1c2a3a;
    --muted: #5a6b7d;
    --border: #d9e2ec;
    --success: #1f8a4c;
    --shadow: 0 12px 40px rgba(7, 21, 40, 0.12);
    --radius: 10px;
    --font-body: "Manrope", sans-serif;
    --font-display: "Sora", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .display-heading {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(7, 21, 40, 0.08);
}

.site-header.solid {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(7, 21, 40, 0.08);
}

.site-nav {
    padding: 0.55rem 0;
}

.navbar-brand {
    line-height: 1;
}

.brand-logo {
    height: 56px;
    width: auto;
    display: block;
}

.site-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 0.85rem !important;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--gold-hover) !important;
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 31, 58, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep) !important;
    border: none;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn-login {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
}

.btn-outline-light-gold {
    border: 1.5px solid var(--gold);
    color: var(--gold) !important;
    background: transparent;
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
}

.btn-outline-light-gold:hover {
    background: var(--gold);
    color: var(--navy-deep) !important;
}

/* Page hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.18), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(58, 160, 217, 0.12), transparent 35%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.breadcrumb-nav {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--gold-soft);
}

.breadcrumb-nav a:hover {
    color: var(--white);
}

.section-eyebrow {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
}

/* Home hero */
.home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(7, 21, 40, 0.88) 0%, rgba(11, 31, 58, 0.72) 45%, rgba(7, 21, 40, 0.55) 100%),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 21, 40, 0.75) 0%, transparent 45%);
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.hero-eyebrow {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.15s;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 14ch;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 36rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.45s;
}

.track-widget {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    padding: 1rem;
    max-width: 620px;
    box-shadow: var(--shadow);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.track-widget label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.track-widget .input-group {
    gap: 0.5rem;
}

.track-widget .form-control {
    border: 1px solid var(--border);
    border-radius: 6px !important;
    padding: 0.85rem 1rem;
    font-weight: 500;
}

.track-widget .btn {
    border-radius: 6px !important;
    white-space: nowrap;
}

/* Stats */
.stats-bar {
    background: var(--navy-deep);
    color: var(--white);
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 2.2rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--off-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 162, 39, 0.45);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold);
    margin-bottom: 1.1rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.service-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

.cta-band {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
    color: var(--white);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 50%, rgba(201, 162, 39, 0.2), transparent 40%);
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* About */
.about-media {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 360px;
    background:
        linear-gradient(180deg, rgba(7, 21, 40, 0.15), rgba(7, 21, 40, 0.35)),
        url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.75rem;
}

.feature-box {
    background: var(--off-white);
    border-radius: 8px;
    padding: 1.1rem 1rem;
    border-left: 3px solid var(--gold);
}

.feature-box h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.feature-box p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.commitment-media {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(7, 21, 40, 0.1), rgba(7, 21, 40, 0.35)),
        url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
}

.signature {
    font-family: var(--font-display);
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    margin-top: 1.25rem;
}

/* Forms */
.form-panel,
.info-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.92rem;
}

.form-control,
.form-select {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.2);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-weight: 700;
}

.contact-list strong {
    display: block;
    color: var(--navy);
    font-size: 0.95rem;
}

.contact-list span,
.contact-list a {
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-list a:hover {
    color: var(--gold-hover);
}

.business-details {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.business-details h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.business-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-details li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.business-details li:last-child {
    border-bottom: none;
}

.business-details span {
    color: var(--muted);
    font-weight: 600;
}

.business-details strong {
    color: var(--navy);
    text-align: right;
    word-break: break-word;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: var(--gold);
}

.login-panel {
    max-width: 480px;
    margin: 0 auto;
}

.login-logo {
    height: 56px;
    width: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.25rem 0.45rem;
}

.login-help {
    font-size: 0.9rem;
    color: var(--muted);
}

.login-help a {
    color: var(--navy);
    font-weight: 600;
}

.login-help a:hover {
    color: var(--gold-hover);
}

.nav-user {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1.1rem;
}

.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    counter-increment: step;
    position: relative;
    padding-left: 3.2rem;
    margin-bottom: 1.25rem;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    font-weight: 700;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
}

.steps-list h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--navy);
}

.steps-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Tracking */
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 2rem 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.timeline-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--border);
    margin: 0 auto 0.65rem;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
}

.timeline-step.done .timeline-dot,
.timeline-step.active .timeline-dot {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy-deep);
}

.timeline-step span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.timeline-step.active span {
    color: var(--gold-hover);
}

.shipment-details {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: var(--muted);
    font-weight: 600;
}

.detail-row .value {
    color: var(--navy);
    font-weight: 700;
    text-align: right;
}

.status-pill {
    display: inline-block;
    background: rgba(31, 138, 76, 0.12);
    color: var(--success);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.alert-success-custom {
    background: rgba(31, 138, 76, 0.1);
    border: 1px solid rgba(31, 138, 76, 0.25);
    color: var(--success);
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

/* Footer */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
}

.footer-logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
}

.footer-about {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.site-footer h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 10px;
        border: 1px solid var(--border);
    }

    .btn-login {
        margin-top: 0.75rem;
        display: inline-block;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline::before {
        display: none;
    }

    .timeline-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 0.75rem;
    }

    .timeline-dot {
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 767.98px) {
    .service-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .track-widget .input-group {
        flex-direction: column;
    }

    .home-hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-title {
        max-width: none;
    }

    .detail-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .detail-row .value {
        text-align: left;
    }
}
