:root {
    --primary: #3963a4;
    --primary-rgb: 57, 99, 164;
    --primary-dark: #2d4f83;
    --primary-light: #5279b6;
    --primary-soft: #edf3fb;
    --primary-pale: #e4ecf8;
    --primary-hero: #e7effa;
    --primary-border: #c8d7ec;
    --primary-accent: #8fb0d5;
    --background: #f6f8fc;
    --card: #ffffff;
    --text: #222222;
    --muted: #667085;
    --soft: var(--background);
    --dark: #171717;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: var(--soft);
    color: var(--text);
}

.site-topbar {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.92);
    background: var(--primary-dark);
    font-size: 12px;
}

.site-topbar-inner,
.site-topbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-topbar-inner {
    justify-content: space-between;
}

.site-topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
}

.site-topbar a:hover,
.site-topbar a:focus {
    color: var(--primary-border);
}

.site-topbar-label {
    font-weight: 700;
    letter-spacing: 0.15px;
}

.system-alerts {
    position: relative;
    z-index: 20;
    padding-top: 18px;
}

.system-alerts .alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(24, 32, 43, 0.1);
}

.system-alerts .alert i {
    margin-top: 3px;
}

.system-alerts .alert ul {
    margin: 5px 0 0;
    padding-left: 18px;
}

.system-alerts .btn-close {
    margin-left: auto;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 44px;
    border-color: var(--primary-border);
    border-radius: 10px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

::selection {
    background: var(--primary);
    color: #fff;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
    font-size: 28px;
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-menu {
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--primary-border);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(24, 32, 43, 0.12);
}

.navbar .dropdown-item {
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.member-actions {
    gap: 6px;
    margin-left: 10px;
}

.member-action-link,
.member-logout-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--primary-border);
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.member-action-link > i,
.member-logout-button > i {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1;
}

.member-action-link:hover,
.member-action-link:focus,
.member-logout-button:hover,
.member-logout-button:focus {
    color: #fff;
    background: var(--primary);
    transform: translateY(-1px);
}

.member-action-label {
    display: none;
}

.member-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 2px 5px;
    border: 2px solid #fff;
    border-radius: 50px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 12px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.28);
    pointer-events: none;
}

.member-notification-badge:empty {
    display: none;
}

.member-notification-badge .badge {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.navbar .badge,
.dropdown-menu .badge {
    vertical-align: middle;
    margin-left: 4px;
}

.badge-danger,
.badge.bg-danger,
.badge.text-bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.badge-primary,
.badge.bg-primary,
.badge.text-bg-primary {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.badge-success,
.badge.bg-success,
.badge.text-bg-success {
    background-color: #15966b !important;
    color: #fff !important;
}

.badge-warning,
.badge.bg-warning,
.badge.text-bg-warning {
    background-color: #f59e0b !important;
    color: #111827 !important;
}

.badge-info,
.badge.bg-info,
.badge.text-bg-info {
    background-color: var(--primary-light) !important;
    color: #fff !important;
}

.btn-danger-custom {
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    padding: 12px 28px;
    border: none;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.22);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-danger-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.28);
}

.btn-danger-custom:focus-visible,
.footer-btn:focus-visible,
.navbar .nav-link:focus-visible,
.navbar-brand:focus-visible,
.social a:focus-visible,
.accordion-button:focus-visible {
    outline: 3px solid rgba(var(--primary-rgb), 0.3);
    outline-offset: 3px;
}

.hero {
    padding: 100px 0;
    background: linear-gradient(120deg, #fff, var(--primary-pale));
}

.hero h1 {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--primary);
}

.hero-card {
    background: var(--primary);
    padding: 40px;
    border-radius: 35px;
    color: #fff;
    box-shadow: 0 25px 60px rgba(var(--primary-rgb), 0.25);
}

.route-box {
    background: #fff;
    color: var(--text);
    padding: 35px;
    border-radius: 25px;
}

.route-box strong {
    color: var(--primary);
    font-size: 42px;
    display: block;
}

.section-title h2 {
    font-size: 45px;
    font-weight: 800;
}

.service-card,
.testimonial-card,
.info-card {
    border: 0;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.process-section {
    background: var(--dark);
    color: #fff;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.shipping-card {
    border-radius: 30px;
    padding: 40px;
    min-height: 300px;
}

.shipping-air {
    background: #fff;
}

.shipping-sea {
    background: var(--primary);
    color: #fff;
}

.stat-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.stat-box h3 {
    color: var(--primary);
    font-size: 42px;
    font-weight: 800;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 35px;
    padding: 70px;
}

.logo-navbar {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(var(--primary-rgb), 0.18),
            transparent 30%
        ),
        linear-gradient(135deg, #fff, var(--primary-hero));
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    right: -200px;
    top: -150px;
}

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

.hero h1 {
    font-size: 72px;
    letter-spacing: -2px;
}

.hero-tag {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.hero-feature {
    background: #fff;
    border-radius: 24px;
    padding: 18px;
    margin-top: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.hero-feature i {
    color: var(--primary);
}

.hero-map {
    position: relative;
    min-height: 500px;
}

.hero-route {
    position: absolute;
    inset: 60px 20px;
    background: var(--primary);
    border-radius: 45px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(var(--primary-rgb), 0.35);
}

.hero-route:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 80px;
    left: 100px;
}

.location-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.location-card.cn {
    top: 80px;
    left: 40px;
}

.location-card.id {
    bottom: 80px;
    right: 40px;
}

.container-box {
    position: absolute;
    width: 150px;
    height: 110px;
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    border-radius: 12px;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
}

.fast-card {
    border: 0;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 35px;
    height: 100%;
    transition: 0.3s;
}

.fast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.15);
}

.fast-icon {
    width: 75px;
    height: 75px;
    border-radius: 25px;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin-bottom: 25px;
}

.market-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.feature-box-new {
    background: var(--dark);
    color: white;
    border-radius: 30px;
    padding: 35px;
    height: 100%;
}

.feature-box-new i {
    font-size: 35px;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.feature-box-new p {
    color: #bbb;
}

.section-title span {
    color: var(--primary);
}

.process-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 30px 20px;
    height: 100%;
    transition: 0.3s;
}

.process-card:hover {
    transform: translateY(-8px);
    background: rgba(var(--primary-rgb), 0.15);
}

.process-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.35);
}

.process-arrow {
    position: absolute;
    right: -18px;
    top: 45px;
    color: var(--primary);
    font-size: 25px;
}

@media (max-width: 991px) {
    .process-arrow {
        display: none;
    }
}

.faq-section {
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
    position: relative;
    overflow: hidden;
}

.faq-section:before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.faq-wrapper {
    background: white;
    border-radius: 35px;
    padding: 45px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.faq-title {
    max-width: 650px;
    margin: auto;
}

.faq-title .badge {
    background: var(--primary-pale);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
}

.accordion-item {
    border: 0;
    margin-bottom: 15px;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 700;
    font-size: 17px;
    padding: 22px 25px;
    background: #fff;
    color: var(--text);
}

.accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-border);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.18);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 25px;
    color: var(--muted);
    line-height: 1.8;
    background: #fff;
}

.faq-icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.faq-side-card {
    background: var(--dark);
    color: white;
    border-radius: 30px;
    padding: 35px;
    height: 100%;
}

.faq-side-card i {
    font-size: 35px;
    color: var(--primary-accent);
}

.faq-side-card p {
    color: #bbb;
}

@media (max-width: 768px) {
    .faq-wrapper {
        padding: 25px;
    }
}

.payment-section {
    background: linear-gradient(180deg, var(--primary), var(--dark));
    border-radius: 35px;
    padding: 50px;
    color: white;
}

.nav-pills .nav-link {
    background: #fff;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 15px;
    margin: 5px;
}

.nav-pills .nav-link.active {
    background: var(--primary-dark);
    color: #fff;
}

.payment-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 30px;
    height: 100%;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.note {
    color: #ffe600;
    font-weight: bold;
    font-style: italic;
}

.section-label {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
}

.payment-method-section {
    background: linear-gradient(135deg, var(--background), #ffffff);
}

.method-card {
    background: #fff;
    border-radius: 30px;
    padding: 35px;
    height: 100%;
    border: 1px solid var(--primary-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.15);
}

.method-icon {
    width: 75px;
    height: 75px;
    border-radius: 25px;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.method-card h4 {
    font-weight: 800;
}

.method-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.payment-info-box {
    background: var(--dark);
    color: white;
    border-radius: 35px;
    padding: 40px;
}

.payment-info-box i {
    font-size: 40px;
    color: var(--primary-accent);
}

.payment-info-box p {
    color: #bbb;
}

.footer {
    background: #111;
    color: #aaa;
    padding: 70px 0 25px;
}

.footer h3 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer h3 span {
    color: var(--primary-accent);
}

.footer p {
    line-height: 1.8;
    max-width: 360px;
}

.footer h5 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

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

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: var(--primary);
    color: white;

    padding: 13px 25px;

    border-radius: 30px;

    text-decoration: none;

    font-weight: 600;

    margin-top: 15px;
}

.footer-btn:hover {
    background: var(--primary-dark);
    color: white;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-list i {
    color: var(--primary-accent);
    width: 20px;
}

.footer-static {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #aaa;
}

.social {
    margin-top: 25px;
}

.social a {
    display: inline-flex;

    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    background: var(--text);

    color: white;

    border-radius: 50%;

    margin-right: 8px;
}

.social a:hover {
    background: var(--primary);
}

.footer hr {
    border-color: #333;

    margin: 45px 0 25px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 14px;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-accent);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
    }

    .site-topbar-inner {
        justify-content: center;
    }

    .site-topbar-label {
        display: none;
    }

    .site-topbar-contact {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding: 16px 0 8px;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar .dropdown-menu {
        margin: 2px 0 8px;
        border-radius: 12px;
        box-shadow: none;
    }

    .member-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 12px 0 0;
    }

    .member-action-link,
    .member-logout-button {
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 12px;
        gap: 8px;
    }

    .member-action-label {
        display: inline;
        font-size: 14px;
        font-weight: 600;
    }
}
