/* ---------------------------------------------------------------
   FONT — Self-hosted Montserrat (woff2, all weights 300-900)
   The single file ../fonts/montserrat.woff2 is served from the
   same origin as the site. The browser caches it on first visit
   and reuses it across every page — zero network round-trips on
   subsequent page loads, regardless of internet speed.

   MontserratFallback is size-adjusted Arial used for the very
   first paint (before woff2 has been parsed). Its metrics are
   tuned to match Montserrat so the swap causes no layout shift.
--------------------------------------------------------------- */

/* Size-adjusted fallback — no visible layout jump during font swap */
@font-face {
    font-family: "MontserratFallback";
    src: local("Arial");
    size-adjust: 97%;
    ascent-override: 93%;
    descent-override: 23%;
    line-gap-override: 0%;
}

/* Self-hosted Montserrat — covers weights 300 → 900 in one file */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/montserrat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
        U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #002147;
    --orange: #ff8c00;
    --lightgrey: #f8f9fa;
    --darktext: #444;
}

body {
    font-family: 'Montserrat', 'MontserratFallback', sans-serif;
    color: var(--darktext);
    padding-top: 70px;
}

section h2 {
    font-size: clamp(28px, 4vw, 42px);
}

section p {
    font-size: clamp(16px, 1.5vw, 15px);
    line-height: 1.7;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', 'MontserratFallback', sans-serif;
    font-weight: 500;
}

/* NAVBAR */

.custom-navbar {
    background: rgba(15, 32, 60, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 2px;
}


.navbar-brand span {
    font-family: 'Montserrat', 'MontserratFallback', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-link {
    color: #fff !important;
    margin-left: 18px;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--orange);
}

.nav-link.active {
    color: var(--orange);
    font-weight: 600;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}


.custom-navbar .container-fluid {
    padding-left: 40px;
    padding-right: 60px;
}

/* SERVICES DROPDOWN POLISH */

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover {
    background: var(--orange);
    color: #fff;
}

.navbar .dropdown-toggle::after {
    margin-left: 6px;
}

/* DROPDOWN ON HOVER */

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* ROTATE DROPDOWN ARROW ON HOVER */

.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

/* HERO SLIDER BACKGROUNDS */

.hero-slide {
    height: 90vh;
    display: flex;
    align-items: flex-start;
    padding-top: 220px;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    background: linear-gradient(rgba(0, 0, 0, .2),
            rgba(0, 0, 0, .4));
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.warehousing {
    background-image: url('../images/hero1.jpg');
    padding-top: 220px;
    font-size: 20px;
    align-items: flex-end;
    padding-bottom: 70px;
}

.transportation {
    background-image: url('../images/hero2.jpg');
    padding-top: 220px;
    font-size: 20px;
    align-items: flex-end;
    padding-bottom: 70px;
}

.wms {
    background-image: url('../images/hero3.jpg');
    padding-top: 220px;
    font-size: 20px;
    align-items: flex-end;
    padding-bottom: 70px;
}

.carousel-item {
    transition: transform 0.5s ease-in-out !;
}

/* HERO TEXT ANIMATION */

.hero-slide h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFade 1s forwards;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
}

.hero-slide p {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFade 1s forwards;
    animation-delay: .4s;
}

.hero-slide a {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFade 1s forwards;
    animation-delay: .7s;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO IMAGE ZOOM EFFECT */

.carousel-item.active .hero-slide {
    animation: zoomHero 3s ease forwards;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}



/* HERO SECTION */

.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0, 33, 71, .85),
            rgba(0, 33, 71, .85));

    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
}

.btn-warning {
    background: var(--orange);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-warning:hover {
    background: #e67600;
}

/* SECTION TITLES */

.section-title {
    font-weight: 700;
    font-size: 32px;
    color: var(--navy);
}

/* ABOUT SECTION */

.about-section {
    background: #fff;
}

.about-points {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-points li {
    margin-bottom: 10px;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#about,
#services,
#contact {
    scroll-margin-top: 70px;
}

/* SERVICES */

.services-section {
    background: var(--lightgrey);
}

.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: .3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 40px;
    color: var(--orange);
    margin-bottom: 18px;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-link:hover {
    color: inherit;
}

/* SERVICE PAGE HERO */

.service-hero {
    min-height: 420px;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 50px 60px;
    color: #fff;
}

.service-hero-warehouse {
    background:
        url('../images/hero1.jpg') center/cover no-repeat;
}

.service-hero-transport {
    background:
        url('../images/hero2.jpg') center/cover no-repeat;
}

.service-hero-wms {
    background:
        url('../images/hero3.jpg') center/cover no-repeat;
}

.service-hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .15);
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

/* CAPABILITY LIST */

.cap-item {
    font-size: 16px;
    padding: 8px 0;
}

/* PROCESS STEPS */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.process-step {
    border-left: 3px solid var(--orange);
    padding-left: 15px;
}

.process-step h6 {
    font-weight: 600;
}

/* INDUSTRIES */

.industries-section {
    background: #fff;
}

.industry-box {
    background: var(--navy);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: .3s;
}

.industry-box:hover {
    background: var(--orange);
}

/* WHY SECTION */

.why-section {
    background: var(--lightgrey);
}

.why-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: .3s;
    height: 100%;
}

.why-box:hover {
    transform: translateY(-5px);
}

.why-box i {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 12px;
}

/* CLIENT LOGOS */

.client-logo {
    max-width: 130px;
    opacity: .7;
    transition: .3s;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* TESTIMONIALS */

.testimonial-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.testimonial-box p {
    font-style: italic;
}

/* CTA SECTION */
section {
    scroll-margin-top: 60px;
}

.cta-section {
    padding: 30px 0;
    margin-top: 0;
}

.cta-section {
    background: var(--navy);
    color: #fff;
    padding: 30px 0;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* CONTACT SECTION ENHANCEMENT */

.contact-section {
    background: var(--lightgrey);
}

.contact-section h4 {
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.contact-form button {
    padding: 12px;
    font-size: 16px;
}

#contact-name {
    scroll-margin-top: 120px;
    /* adjust based on navbar height */
}

/* FOOTER */

.footer {
    background: var(--navy);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer h6 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer h6::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 2px;
    background: var(--orange);
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 12px;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--orange);
}

.footer-bottom {
    background: linear-gradient(#0B2545, #12345e);
    padding: 20px 10px;
    font-size: 14px;
}

.footer-bottom a {
    color: #4ea3d8;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* WHATSAPP BUTTON */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.whatsapp-btn.show {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    transition: 0.3s;
}

/* HERO SLIDER DOT STYLE */

.hero-dots {
    bottom: 40px !;
}

.hero-dots button {
    width: 12px !;
    height: 12px !;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6) !;
    border: none;
    margin: 0 6px !;
    transition: all .3s ease;
}

.hero-dots button.active {
    background: var(--orange) !;
    transform: scale(1.3);
}

.hero-dots button:hover {
    background: #fff !;
}

/* HERO SLIDER DOTS FIX */

.carousel-indicators.hero-dots button {
    width: 12px !;
    height: 12px !;
    border-radius: 50% !;
    padding: 0 !;
    margin: 0 6px !;
    background-color: rgba(255, 255, 255, 0.6) !;
    border: none !;
}

.carousel-indicators.hero-dots .active {
    background-color: var(--orange) !;
    transform: scale(1.2);
}

.carousel-indicators.hero-dots button:focus-visible {
    outline: none !;
    box-shadow: none !;
}

/* SCROLL INDICATOR */

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% {
        opacity: 0;
        top: 8px;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* SECTION REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* GLOBAL HOVER POLISH */

.service-card:hover,
.why-box:hover,
.industry-box:hover,
.testimonial-box:hover {
    transform: translateY(-6px);
    transition: .3s;
}

.client-logo:hover {
    transform: scale(1.08);
}

/* MOBILE — image & layout fixes */

@media (max-width: 768px) {

    .hero-slide {
        height: calc(100vw * 1024 / 1536) !;
        min-height: 240px !;
        max-height: 75vh !;
        padding-top: 0 !;
        padding-bottom: 32px !;
        align-items: flex-end !;
        background-size: cover;
        background-position: center center;

    }

    .carousel-item.active .hero-slide {
        animation: none;
    }

    /* Hero text size */
    .hero-slide h1 {
        font-size: 26px;
    }

    .hero-slide p {
        font-size: 14px;
    }

    .warehousing {
        background-position: center center;
    }

    .transportation {
        background-position: center center;
    }

    .wms {
        background-position: center center;
    }

    .about-img {
        width: 100%;
        height: auto;
        margin-top: 28px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .contact-section iframe {
        min-height: 220px !;
    }

    /* Service Hero Mobile Fix */
    .service-hero {
        min-height: 320px;
        height: 50vh;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        padding: 0 20px 35px 20px;
    }

    .service-hero h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .service-hero p {
        font-size: 14px;
        line-height: 1.4;
    }

    .service-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.35),
                rgba(0, 0, 0, 0.2),
                transparent);
    }

}

/* Extra-small phones (<576 px) */
@media (max-width: 576px) {

    .hero-slide {
        height: 65vh;
        min-height: 340px;
    }

    .hero-slide h1 {
        font-size: 22px;
    }

    .hero-slide p {
        font-size: 13px;
    }


    .logo-img {
        height: 55px;
        width: auto;
    }

    .service-card {
        padding: 25px 18px;
    }

}

section {
    scroll-margin-top: 90px;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #5da9c9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    background: #4c95b4;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top {
    bottom: 90px;
    right: 20px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

.process-step {
    border-left: 3px solid var(--orange);
    padding-left: 15px;
    margin-bottom: 14px;
}