/********** PrimeX Cargo — Modern Stylesheet **********/
:root {
    --primary: #FF6F0F;
    --primary-700: #E55E00;
    --primary-soft: #FFE7D6;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --light-soft: #FAFAFC;
    --dark: #001D23;
    --ink: #0F2B33;
    --muted: #6B7B82;
    --shadow-soft: 0 20px 50px rgba(0, 29, 35, .08);
    --shadow-hover: 0 28px 60px rgba(255, 111, 15, .18);
    --radius: 16px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: #fff;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--primary-soft) !important;
}

.bg-light-soft {
    background: var(--light-soft);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.brand-text {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}


/*** Back to Top ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    box-shadow: 0 14px 30px rgba(255, 111, 15, .35);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    border-radius: 999px;
    transition: all .35s ease;
    letter-spacing: .01em;
}

.btn.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 111, 15, .28);
}

.btn.btn-primary:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 111, 15, .35);
}

.btn.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
}

.btn.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn.btn-outline-light:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.btn.btn-light:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 999px;
}


/*** Navbar ***/
.fixed-top {
    transition: all .4s ease;
    backdrop-filter: blur(10px);
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 29, 35, .85);
}

.navbar {
    background: rgba(0, 29, 35, .92);
}

.fixed-top.bg-dark {
    background: rgba(0, 29, 35, .96) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width .35s ease;
}

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

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 24px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .brand-text {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero / Header ***/
.hero-wrapper {
    position: relative;
    margin-bottom: 80px;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 29, 35, .92) 0%, rgba(0, 29, 35, .65) 60%, rgba(255, 111, 15, .35) 100%);
    z-index: 1;
}

.carousel-item img {
    min-height: 100vh;
    object-fit: cover;
}

.hero-eyebrow {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.carousel-caption h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.carousel-caption p {
    color: rgba(255, 255, 255, .82);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    opacity: 0;
    transition: opacity .4s ease;
}

.hero-wrapper:hover .carousel-control-prev,
.hero-wrapper:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, .15);
    border: 12px solid transparent;
    border-radius: 3rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, rgba(0, 29, 35, .92) 0%, rgba(0, 29, 35, .7) 60%, rgba(255, 111, 15, .35) 100%), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Stats Strip ***/
.stats-strip {
    margin-top: -90px;
    position: relative;
    z-index: 5;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 29, 35, .04);
    transition: transform .35s ease, box-shadow .35s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.stat-card p {
    font-weight: 600;
    color: var(--ink);
    font-size: .92rem;
}


/*** About ***/
.about-stack {
    width: 220px;
    height: 220px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.about-experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 22px 26px;
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(255, 111, 15, .35);
}

.about-experience-badge .display-6 {
    color: #fff;
    line-height: 1;
}

.lead-text {
    font-size: 1.08rem;
    color: var(--muted);
}

.about-list li {
    padding: 6px 0;
    font-weight: 500;
    color: var(--ink);
}


/*** Service ***/
.service-item {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 29, 35, .05);
    box-shadow: 0 10px 30px rgba(0, 29, 35, .04);
    transition: all .4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: "";
    position: absolute;
    inset: auto -40% -40% auto;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(255, 111, 15, .12), transparent 70%);
    transition: all .5s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 111, 15, .25);
}

.service-item:hover::before {
    inset: auto -20% -20% auto;
}

.service-icon-wrap {
    width: 76px;
    height: 76px;
    background: var(--primary-soft);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s ease;
}

.service-item:hover .service-icon-wrap {
    transform: rotate(-6deg) scale(1.05);
}

.service-icon-wrap img {
    max-width: 42px;
    max-height: 42px;
}

.service-item h4 {
    font-size: 1.25rem;
}


/*** Why Choose Us ***/
.why-card {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 29, 35, .06);
    transition: all .35s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 111, 15, .25);
    box-shadow: var(--shadow-soft);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #FF9148);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(255, 111, 15, .3);
}

.why-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card p {
    font-size: .95rem;
}


/*** CTA Banner ***/
.cta-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #002A33 50%, #4A2400 110%);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 111, 15, .55), transparent 70%);
    filter: blur(20px);
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    position: relative;
}

.cta-banner p {
    position: relative;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 32px;
        text-align: center;
    }
}


/*** Contact Page Tiles ***/
.contact-tile {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(0, 29, 35, .06);
    box-shadow: 0 10px 30px rgba(0, 29, 35, .04);
    transition: all .35s ease;
}

.contact-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 111, 15, .25);
    box-shadow: var(--shadow-soft);
}

.contact-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.contact-tile h5 {
    font-weight: 700;
}

.contact-tile p {
    font-size: .95rem;
    color: var(--muted);
}


/*** Forms ***/
.form-floating > .form-control,
.form-floating > .form-control:focus {
    border-radius: 12px;
    border: 1px solid rgba(0, 29, 35, .12);
}

.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 111, 15, .12);
}


/*** Footer ***/
.footer {
    background: linear-gradient(180deg, #001D23 0%, #000F12 100%) !important;
}

.footer h5 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer p {
    color: rgba(255, 255, 255, .55);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .55);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: .5px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .15);
    transition: all .35s ease;
}

.footer .btn.btn-square:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer .copyright a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer .copyright a:hover {
    color: #fff;
}
