/* ========== Root & Reset ========== */
:root {
    --primary: #2eb58a;
    --primary-dark: #1f8a68;
    --primary-light: #e6f7f2;
    --grey: #4a4f55;

    --box-shadow: 0 0 4px rgba(46, 181, 138, 0.25);

    --bg: #ffffff;
    --text: #222;
    --subtext: #555;
    --border: #e0e0e0;
    --input-bg: #f9f9f9;
}

body.dark {
    --bg: #1e1e1e;
    --text: #f2f2f2;
    --subtext: #bdbdbd;
    --border: #333;
    --input-bg: #2a2a2a;
    --box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    --primary-light: #fcefed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-weight: 400;
    line-height: 1.7;
}

/* ========= Global Reset ========= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
}

.pt {
    padding: 6rem 0 !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

.form-check-input:focus {
    background-color: transparent;
    border-color: var(--primary);
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.form-control,
.form-select {
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: 0.2s ease;
    color: var(--text);
}

.form-control:focus,
.form-select:focus,
.form-date:focus {
    background-color: var(--input-bg);
    border-color: var(--primary);
    box-shadow: var(--box-shadow);
    color: var(--text);
}

.text-primary {
    color: var(--primary) !important;
}
.text-secondary-light {
    color: var(--primary-light) !important;
}

.bg-secondary {
    background-color: var(--primary-light) !important;
}

.btn {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
}

.create-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition:
        color 0.3s ease,
        background 0.3s ease;
}
.create-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

@media screen and (max-width: 991px) {
    .create-btn {
        min-width: 250px;
        font-size: 16px;
    }

    .btn {
        min-width: 180px;
        font-size: 16px;
    }

    .back-btn {
        min-width: 0px;
        width: 0;
    }

    .theme-toggle-btn {
        min-width: 0px;
        width: 0;
    }
}

@media screen and (max-width: 767px) {
    .create-btn {
        padding: 16px 16px;
        width: 100%;
    }

    .pt {
        padding: 2rem 0 !important;
    }

    .btn {
        padding: 16px 16px;
        width: 100%;
    }

    .back-btn {
        min-width: 0px;
        width: 0;
    }
    .theme-toggle-btn {
        min-width: 0px;
        width: 0;
    }
}

/* Reset browser default styling */
input[type="date"],
input[type="time"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--input-bg) !important;
    border: 1px solid var(--border);
    color: var(--text) !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
}

.bg-light {
    background-color: var(--input-bg) !important;
}

.input-group-text {
    background-color: var(--input-bg);
    color: var(--text);
    border-color: var(--border);
}

/* Optional: placeholder style */
input[type="date"]::placeholder,
input[type="time"]::placeholder {
    color: var(--text);
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
}

/* Focus style */
input[type="date"]:focus,
input[type="time"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: var(--box-shadow);
}

/* Remove link styles */
a {
    text-decoration: none !important;
    outline: none !important;
    color: inherit;
}

a:hover,
a:focus,
a:active {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: inherit;
}

/* Buttons reset */
button {
    outline: none !important;
    box-shadow: none !important;
    border: none;
    background: transparent;
}

button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Input and textarea reset */
input,
textarea,
select {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--primary);
}

/* List reset */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Headings and paragraphs */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

.no-scroll {
    overflow: hidden;
}

.page-wrapper {
    min-height: 750px;
}
.button.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hero buttons */
.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-outline-primary {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    color: var(--text) !important;
}

.btn-outline-primary:hover {
    background: none;
    color: var(--text) !important;
}

.btn-outline-white {
    border: 1px solid #fff !important;
    color: var(--text) !important;
}

.btn-outline-white:hover {
    background: none;
    color: var(--text) !important;
}

/* Remove focus ring globally for non-keyboard navigation */
:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.mt-2 {
    margin-top: 2rem;
}

/* Theme toggle button */
.theme-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

/* NAV */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 80px;
}
.brand img {
    height: 42px;
}

/* center nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}
.main-nav a {
    color: var(--text);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.theme-toggle-btn {
    background: transparent;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}
.create-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* Mobile toggle (hidden on desktop) */
.mobile-toggle {
    display: none;
    background: transparent;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}
/* Mobile toggle (hidden on desktop) */
.mobile-toggle i {
    color: var(--text);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: var(--bg);
    padding: 40px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 999;
}
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}
.mobile-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: transparent;
    border-radius: 6px;
    padding: 8px;
    color: var(--text);
}
.mobile-book {
    display: block;
    margin-top: 24px;
    text-align: center;
}

/* ================= HERO SECTION ================= */

.hero-section {
    position: relative;
}

.hero-slide {
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

/* overlay */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    max-width: 850px;
    color: #fff;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.9rem, 4vw, 3.9rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.09rem;
    max-width: 620px;
    margin-bottom: 1.8rem;
    color: #f1f1f1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons override */
.btn-outline-white {
    border: 1px solid #fff !important;
    color: #fff !important;
}

.btn-outline-white:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Mobile tweaks */
@media (max-width: 767px) {
    .hero-content {
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
    }
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-outline {
    border: 1px solid var(--text);
    color: var(--text);
    background: transparent;
}

/* Responsive */
@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .arch-bg {
        width: 320px;
        height: 380px;
        margin: 0 auto;
        border-radius: 180px;
    }
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .nav-wrap {
        height: 64px;
    }
    .brand img {
        height: 36px;
    }
    .hero-title {
        font-size: 28px;
    }
    .arch-bg {
        display: none;
    }
    .arch img {
        max-width: 100%;
        width: 100%;
    }
}

.custom-nav {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}

/* Left Button */
.swiper-button-prev.custom-nav {
    left: -60px;
}

/* Right Button */
.swiper-button-next.custom-nav {
    right: -60px;
}

/* Arrow Icons */
.custom-nav::after {
    font-size: 18px;
    color: var(--primary);
}

/* Hover */
.custom-nav:hover {
    background: var(--primary);
}

.custom-nav:hover::after {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .swiper-button-prev.custom-nav {
        left: 0px;
    }

    /* Right Button */
    .swiper-button-next.custom-nav {
        right: 0px;
    }
}

/* on small screens bring them a little closer */
@media (max-width: 768px) {
    .swiper-button-prev.custom-nav {
        left: 8px;
        top: 40%;
        transform: translateY(-40%);
    }
    .swiper-button-next.custom-nav {
        right: 8px;
        top: 40%;
        transform: translateY(-40%);
    }
    .custom-nav {
        width: 40px;
        height: 40px;
    }
}

/* small utility */
.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text);
}
.section-subtitle {
    color: var(--subtext);
    margin-top: 6px;
}

/* ---------------------- */
/* Footer Section           */
/* ---------------------- */

.footer-section {
    background: var(--input-bg);
    color: var(--text);
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 150.14px;
    height: auto;
    margin-left: -10px;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: none;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--text);
}

.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.footer-divider {
    margin: 2rem 0 1rem;
    border-top: 1px solid var(--subtext);
}

.footer-copy {
    color: var(--subtext);
    font-size: 0.9rem;
}

/* ================= SERVICES HIGHLIGHT ================= */

.services-highlight {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.service-tabs {
    background: var(--input-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-tab {
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: 0.3s;
    height: 100%;
}

.service-tab:last-child {
    border-right: none;
}

.service-tab i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-tab small {
    display: block;
    font-size: 0.8rem;
    color: var(--text);
}

.service-tab h6 {
    font-weight: 700;
    margin-top: 5px;
    color: var(--text);
}

.service-tab.active {
    background: var(--primary);
    color: #fff;
}

.service-tab.active i,
.service-tab.active small,
.service-tab.active h6 {
    color: #fff;
}

/* ================= LOGISTICS SECTION ================= */

.logistics-section {
    padding: 6rem 0;
}

.section-label {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-title {
    font-weight: 800;
    margin: 0.8rem 0 1.2rem;
    line-height: 1.3;
}

.logistics-image {
    position: relative;
}

.logistics-image img {
    width: 100%;
    border-radius: 6px;
}

.logistics-badge {
    position: absolute;
    right: -20px;
    bottom: 40px;
    background: var(--primary);
    color: #fff;
    padding: 30px 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 150px;
    min-height: 200px;
}

.logistics-badge i {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.logistics-badge h4 {
    font-weight: 800;
    margin: 0;
}

.logistics-badge span {
    font-size: 0.85rem;
}

/* Feature points */
.feature-point {
    display: flex;
    gap: 12px;
}

.feature-point i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
}

.feature-point h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-point p {
    font-size: 0.9rem;
    color: var(--subtext);
}

/* ================= VALUE SECTION ================= */

.value-section {
    min-height: 100vh;
}

.value-content {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
}

.value-inner {
    padding: 4rem;
    max-width: 620px;
}

.value-inner h2 {
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.value-inner .lead {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2rem;
}

.value-feature {
    margin-bottom: 1.5rem;
}

.value-feature i {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.value-feature h6 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.value-feature p {
    font-size: 0.9rem;
    color: #fff;
}

/* Button */
.value-inner .btn-light {
    background: #fff;
    color: #000;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
}

/* MEDIA SIDE */
.value-media {
    position: relative;
}

.media-wrapper {
    position: relative;
    height: 100%;
}

.media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991px) {
    .value-inner {
        padding: 2.5rem;
    }

    .value-section {
        min-height: auto;
    }
}

/* ================= SERVICES SECTION ================= */

.services-title {
    font-weight: 800;
    line-height: 1.3;
}

.services-intro {
    color: var(--text);
    max-width: 520px;
}

.services-cta .btn {
    padding: 10px 20px;
}

/* Sales contact */
.sales-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

/* Service card */
.service-card {
    background: var(--bg);
    padding: 2.2rem;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--subtext);
    margin-bottom: 1.2rem;
}

/* Read more */
.read-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.read-more i {
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 767px) {
    .services-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================= DIGITAL FREIGHT ================= */

.digital-freight-section {
    background: var(--primary);
    color: #fff;
    padding: 6rem 0 10rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.digital-title {
    font-weight: 800;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.digital-text {
    color: #fff;
    font-size: 0.95rem;
    max-width: 520px;
}

.digital-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.digital-list li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.digital-list i {
    color: #fff;
    font-size: 0.8rem;
}

/* ================= PROJECTS ================= */

.projects-section {
    padding: 6rem 0;
    margin-top: -6rem;
}
.projects-section h2 {
    color: var(--text) !important;
}

.project-card {
    background: var(--input-bg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-body {
    padding: 1.6rem;
    color: var(--text) !important;
}

.project-body h6 {
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.project-body small {
    color: var(--primary);
    display: block;
    margin-bottom: 0.8rem;
}

.project-body p {
    font-size: 0.9rem;
    color: var(--subtext);
}

.project-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ================= VISUAL BRIDGE (FIXED) ================= */

.visual-bridge-icon {
    margin-top: -160px; /* overlaps blue section */
    margin-bottom: 8rem;
    position: relative;
    z-index: 6;
}

/* Background image container */
.bridge-bg {
    background: url("/front/img/forklift-bg.jpg") center center / cover
        no-repeat;
    min-height: 460px;
    width: 1000px;
    margin: 1.5rem auto;

    position: relative; /* IMPORTANT */
}

/* Optional dark overlay for readability */
.bridge-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

/* ICON CARDS */
.bridge-icon-card {
    position: absolute; /* KEY FIX */
    bottom: 30px;
    padding: 26px;
    width: 240px;
    color: #fff;
    z-index: 2;
}

/* Left card */
.bridge-icon-card.primary {
    background: var(--primary);
    left: 30px;
}

/* Right card */
.bridge-icon-card.dark {
    background: #000;
    right: 30px;
}

/* Card content */
.bridge-icon-card i {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.bridge-icon-card h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.bridge-icon-card p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.bridge-icon-card .arrow {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Mobile behavior */
@media (max-width: 991px) {
    .visual-bridge-icon {
        margin-top: 0;
    }

    .bridge-icon-card.primary {
        left: -30px;
    }

    .bridge-bg {
        min-height: 320px;
        width: 400px;
        margin: 1.5rem auto;
    }

    .bridge-icon-card {
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
        right: auto;
        margin: 20px;
    }
}

/* ================= TESTIMONIAL SECTION ================= */

.testimonial-section {
    position: relative;
}

.testimonial-bg {
    background: url("/front/img/testimonial-bg.jpg") center center / cover
        no-repeat;
    position: relative;
    padding: 6rem 0;
    color: #fff;
}

/* Blue overlay */
.testimonial-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.testimonial-bg .container {
    position: relative;
    z-index: 2;
}

.testimonial-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.testimonial-title {
    font-weight: 800;
    line-height: 1.25;
    margin: 0.8rem 0 1rem;
}

.testimonial-intro {
    max-width: 420px;
    color: #fff;
}

/* Testimonial card */
.testimonial-card {
    background: #fff;
    color: #222;
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.2rem;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h6 {
    margin: 0;
    font-weight: 700;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.6rem;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #777;
}

/* Mobile */
@media (max-width: 991px) {
    .testimonial-bg {
        padding: 4rem 0;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* ================= CTA SECTION ================= */

.cta-section {
    padding-bottom: 6rem;
}

.cta-box {
    background: var(--primary);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: 24px;
    max-width: 950px;
    margin: 0 auto;
}

/* Icon */
.cta-icon i {
    font-size: 4.2rem;
    color: #fff;
}

/* Text */
.cta-box h3 {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Button */
.cta-box .btn-light {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 52px;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .cta-box {
        padding: 3rem 1.5rem;
    }
}

/* ================= TRACKING SECTION ================= */

.tracking-section {
    padding: 5rem 0;
}

.tracking-box {
    background: var(--primary);
    padding: 3rem;
    border-radius: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Label */
.tracking-label {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Form */
.tracking-form {
    display: flex;
    gap: 1rem;
}

.tracking-form {
    display: flex;
    gap: 1rem;
}

/* Input */
.tracking-input {
    background: var(--input-bg);
    flex: 1;
    height: 56px;
    border-radius: 8px;
    border: none;
    padding: 0 18px;
    font-size: 1rem;
    color: var(--text);
}

.tracking-input::placeholder {
    color: #777;
}

/* Button */
.tracking-btn {
    background: var(--primary-light);
    color: #000;
    border-radius: 8px;
    padding: 0 28px;
    font-weight: 600;
    height: 56px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.tracking-btn:hover {
    opacity: 0.9;
}

.tracking-error {
    margin-top: 10px;
    color: #dc2626;
    font-size: 0.9rem;
}

/* Mobile */

@media (max-width: 767px) {
    .tracking-section {
        padding: 2.5rem 1rem;
    }

    .tracking-box {
        padding: 2rem 1.5rem;
        border-radius: 8px;
    }

    /* Label */
    .tracking-label {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.6px;
        margin-bottom: 1rem;
        text-align: left;
    }

    .tracking-form {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .tracking-input {
        width: 100%;
        min-width: 100%;
        flex: none; /* IMPORTANT */
    }

    .tracking-btn {
        width: 100%;
    }

    .tracking-input::placeholder {
        font-size: 0.9rem;
    }

    /* Button */
    .tracking-btn {
        height: 50px;
        border-radius: 4px;
        font-size: 0.95rem;
        font-weight: 700;
        width: 100%;
        padding: 0;
    }
}

/* ================= TRACKING PAGE ================= */

/* 🎨 Brand-colored alert */
.tracking-brand-alert {
    border-left: 5px solid #f59e0b;
}

/* 💥 Shake animation */
@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.35s;
}

/* ⌨️ Button pulse on Enter */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.3s;
}

.tracking-page-section {
    background: var(--input-bg);
    padding: 5rem 0;
}

/* Main tracking box */
.tracking-main-box {
    background: var(--primary);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.tracking-main-box h3 {
    font-weight: 800;
}

.tracking-desc {
    max-width: 520px;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Form */
.tracking-main-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tracking-main-form input {
    width: 100%;
    height: 56px;
    border-radius: 8px;
    border: none;
    padding: 0 18px;
    font-size: 1rem;
}

.tracking-main-form button {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 0 28px;
    border-radius: 10px;
    height: 52px;
}

/* Note */
.tracking-note {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Feature cards */
.tracking-features {
    margin-bottom: 3rem;
}

.feature-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Feature icon */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.feature-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.feature-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--subtext);
}

/* Support card */
.support-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 3rem;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.support-card h5 {
    font-weight: 800;
}

.support-card p {
    max-width: 420px;
    color: var(--subtext);
}

/* Big support icon */
.support-icon-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.support-icon-circle i {
    font-size: 3.2rem;
    color: #fff;
}

/* Mobile */
@media (max-width: 767px) {
    .tracking-main-box {
        padding: 2rem 1.5rem;
    }

    .tracking-main-form {
        flex-direction: column;
    }

    .tracking-main-form button {
        width: 100%;
    }

    .support-card {
        padding: 2rem;
    }

    .support-icon-circle {
        width: 120px;
        height: 120px;
    }

    .support-icon-circle i {
        font-size: 2.4rem;
    }
}

/* ---------- FAQ ---------- */
.faq-wrapper {
    max-width: 920px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    font-weight: 700;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text);
}
.faq-question .arrow {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
}
.faq-answer {
    padding: 0 18px 18px 18px;
    color: var(--subtext);
    display: none;
    line-height: 1.6;
}

/* opened state */
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-question .arrow {
    transform: rotate(45deg);
}

/* ================= TRACK RESULT PAGE ================= */

.track-result-page {
    background: var(--bg);
}

.tracking-summary {
    background: var(--primary);
    border-radius: 18px;
    padding: 2rem;
    color: #fff;
}

.tracking-id {
    font-weight: 700;
}

.status-pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.eta-box {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1rem;
    border-radius: 12px;
}
.info-box {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    width: 180px;
    margin: 0 0.8rem;
}

.card-header {
    border-bottom: 1px solid var(--border);
}

.progress {
    height: 8px;
    border-radius: 999px;
}

.progress-bar {
    background: color-mix(in srgb, var(--primary) 50%, black);
    border-radius: 999px;
}

.info-box small {
    opacity: 0.8;
}

.alert-customs {
    background: #f8e4cb;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
}

/* ================= MOBILE RESPONSIVENESS ================= */

@media (max-width: 768px) {
    .tracking-summary {
        padding: 1.5rem;
    }

    /* Header section stack */
    .tracking-summary .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .eta-box {
        width: 100%;
        margin-top: 0.75rem;
    }

    /* Info boxes full width */
    .info-box {
        width: 100%;
        margin: 0.5rem 0;
    }

    .info-box p {
        margin-bottom: 0;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .tracking-id {
        font-size: 1.1rem;
    }

    .status-pill {
        display: inline-block;
        margin-top: 1rem;
    }

    .progress {
        height: 6px;
    }

    /* Customs alert stacking */
    .alert-customs {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .alert-customs button {
        align-self: stretch;
        text-align: center;
    }
}

.map-card {
    border-radius: 16px;
    overflow: hidden;
}

/* ================= SHIPMENT TIMELINE (STEP OUTSIDE) ================= */

.timeline-wrapper {
    position: relative;
    padding-left: 56px;
}

/* Each row */
.timeline-row {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

/* Step icon (outside box) */
.timeline-step {
    position: absolute;
    left: -40px;
    top: 18px;
    width: 34px;
    height: 34px;

    color: var(--subtext);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 0.85rem;
}

/* Active step */
.timeline-row.active .timeline-step {
    background: var(--primary);
    color: #fff;
}

/* Active ring (current step) */
.timeline-step.active-ring {
    background: #fff;
    border: 3px solid var(--primary);
    color: var(--primary);
}

/* Vertical line */
.timeline-line {
    position: absolute;
    left: -25px;
    top: 52px;
    bottom: -40px;
    width: 1px;
    background: var(--primary-light);
}

.timeline-row:last-child .timeline-line {
    display: none;
}

/* Content box */
.timeline-box {
    background: var(--input-bg);
    border-radius: 12px;
    padding: 16px 18px;
    width: 100%;
}

/* Active background */
.timeline-row.active .timeline-box {
    background: var(--input-bg);
}

/* Date */
.timeline-date {
    font-size: 0.8rem;
    color: var(--subtext);
    white-space: nowrap;
}

/* Muted step */
.timeline-step.muted {
    background: #e5e7eb;
    color: #9ca3af;
}

/* Mobile */
@media (max-width: 576px) {
    .timeline-wrapper {
        padding-left: 44px;
    }

    .timeline-step {
        width: 30px;
        height: 30px;
    }
}

.details-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.85rem;
}

.sidebar {
    position: sticky;
    top: 90px;
}

.card {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

.sidebar-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

@media (max-width: 991px) {
    .sidebar {
        position: static;
    }
}

/* //share Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
}

.btn-link:hover {
    color: var(--primary);
}

.share-btn {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.share-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    padding: 14px;
    display: none;
    z-index: 1050;
}

.share-dropdown.show {
    display: block;
}

.share-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.share-icons {
    display: flex;
    gap: 14px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.share-icons a {
    color: var(--text);
    transition: 0.2s;
}

.share-icons a:hover {
    color: var(--primary);
}

.share-link {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.share-link input {
    flex: 1;
    border: none;
    padding: 6px 8px;
    font-size: 0.8rem;
    background: var(--primary-light);
}

.share-link button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Modal shell */
.customs-modal {
    border-radius: 18px;
    overflow: hidden;
    border: none;
}

/* Header */
.customs-modal-header {
    background: #f59e0b;
    color: #fff;
    padding: 1.2rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customs-modal-header h5 {
    font-weight: 700;
}

/* Info highlight */
.customs-info-box {
    background: #fff7ed;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 1rem;
    color: #92400e;
    font-size: 0.9rem;
}

/* Section titles */
.mod-title {
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #000 !important;
}

/* Lists */
.customs-list {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: #000 !important;
    margin: 0 2px;
}

.customs-list li {
    margin-bottom: 6px;
}

/* Permit box */
.permit-box {
    border-radius: 12px;
    padding: 1rem;
    color: #000 !important;
}

.permit-options {
    padding: 0;
    color: #000 !important;
}

.permit-options li {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.permit-options span {
    color: #000 !important;
}

.permit-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Warning */
.customs-warning {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Footer button */
.modal-footer .btn-warning {
    border-radius: 10px;
    font-weight: 700;
}

.pulse-icon {
    margin-right: 6px;
    position: relative;
    animation: pulse 1.8s infinite ease-in-out;
}

/* Soft pulse animation */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.15);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pulse-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===== PRIVACY AND POLICY ===== */

.privacy-hero {
    padding: 6rem 1rem 4rem;
    background: var(--input-bg);
    color: var(--text);
}

.privacy-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.privacy-hero h1 {
    font-weight: 800;
}

.privacy-hero h2 {
    color: var(--primary);
    font-weight: 700;
}

.privacy-hero p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--text);
}

.privacy-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--input-bg);
    border-radius: 16px;
    padding: 2.5rem;
    color: var(--text);
    border: 1px solid var(--border);
}

.privacy-card h4,
.privacy-card h5 {
    font-weight: 700;
    margin-top: 1.5rem;
    color: var(--text);
}

.privacy-card p,
.privacy-card li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
}

.privacy-card ul {
    padding-left: 1.2rem;
}

/* FAQ Sections */
.faq-hero {
    padding: 5rem 1rem 3rem;
    background: var(--input-bg);
}

.faq-wrapper {
    background: var(--input-bg);
    border-radius: 18px;
    padding: 0.5rem 0;
    max-width: 900px;
    border: 1px solid var(--border);
}

.faq-items {
    border-bottom: 1px solid var(--border);
}
.faq-items:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question i {
    color: var(--primary);
    transition: transform 0.25s ease;
    font-size: 0.9rem;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--subtext);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
}

/* Mobile */
@media (max-width: 576px) {
    .faq--question {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }

    .faq--answer {
        font-size: 0.9rem;
    }
}

.contact-section {
    background: var(bg);
    color: var(--text);
}

/* Info Card */
.contact-info-card {
    background: var(--input-bg);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-card h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-info-item span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.contact-info-item p {
    margin: 0;
    font-weight: 500;
}

.contact-info-footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--subtext);
}

/* Form Card */
.contact-form-card {
    background: var(--input-bg);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form-card .form-control {
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-radius: 10px;
    padding: 12px 14px;
}

.contact-form-card .form-control::placeholder {
    color: var(--text);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* Button */
.contact-btn {
    background: var(--primary);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    width: 100%;
    margin-top: 10px;
}

.contact-btn:hover,
.contact-btn:active {
    opacity: 0.9;
    background: var(--primary) !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-title {
        font-size: 1.8rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* About us Card */

.about-cards {
    background: transparent;
}

.about-card {
    background: var(--bg);

    border-radius: 18px;
    padding: 2.2rem;
    height: 100%;
    text-align: center;
    border: 1px solid var(--border);
    transition: 0.25s ease;
}

.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text);
}

/* Highlight card */
.about-card.highlight {
    background: var(--bg);
    border-color: var(--border);
}

/* Hover */
.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
}

/* Mobile */
@media (max-width: 768px) {
    .about-card {
        padding: 1.8rem;
    }
}

.about-stats-icons {
    padding: 4rem 0;
}

.stat-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

/* Numbers */
.stat-icon h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: var(--subtext);
}

.stat-icon i {
    font-size: 2.6rem;
    color: var(--primary);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.stat-icon span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/* Subtle interaction */
@media (hover: hover) {
    .stat-icon:hover i {
        transform: translateY(-3px);
        opacity: 0.9;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .stat-icon i {
        font-size: 2.1rem;
    }

    .stat-icon span {
        font-size: 0.85rem;
    }
}

/* ================= SERVICE STATS ================= */

.service-stats {
    background: var(--bg);
}

.service-stat {
    text-align: left;
    max-width: 260px;
}

.service-stat i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.service-stat h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.service-stat p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--subtext);
}

/* Hover effect */
.service-stat:hover i {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Highlight block (Awards & Milestones) */
.service-stat.highlight {
    background: var(--primary);
    padding: 2rem;
    border-radius: 6px;
    color: #fff;
}

.service-stat.highlight i,
.service-stat.highlight h6,
.service-stat.highlight p {
    color: #fff;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .service-stat {
        max-width: 100%;
    }
}
