:root {
    --jj-blue: #02182F;
    --jj-orange: #F46316;
    --jj-white: #FFFFFF;
    --jj-blue-light: #0d2a4a;
    --jj-gray: #6c757d;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--jj-blue);
    background-color: var(--jj-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--jj-blue);
}

a {
    color: var(--jj-orange);
}

    a:hover {
        color: var(--jj-blue);
    }

/* ---------- Top bar ---------- */
.topbar {
    background-color: var(--jj-blue);
    color: #fff;
    font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.main-navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(2, 24, 47, 0.08);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-line1 {
    font-weight: 800;
    color: var(--jj-blue);
    font-size: 1.05rem;
}

.brand-line2 {
    font-weight: 600;
    color: var(--jj-orange);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navbar .nav-link {
    color: var(--jj-blue);
    font-weight: 600;
    margin: 0 0.4rem;
}

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

.btn-orange {
    background-color: var(--jj-orange);
    border-color: var(--jj-orange);
    color: #fff;
    font-weight: 600;
}

    .btn-orange:hover {
        background-color: #d9550f;
        border-color: #d9550f;
        color: #fff;
    }

.btn-outline-navy {
    border: 2px solid var(--jj-blue);
    color: var(--jj-blue);
    font-weight: 600;
}

    .btn-outline-navy:hover {
        background-color: var(--jj-blue);
        color: #fff;
    }

/* ---------- Hero Carousel ---------- */
.hero-carousel {
    position: relative;
}

    .hero-carousel .carousel-item {
        height: 78vh;
        min-height: 480px;
        background-size: cover;
        background-position: center;
        background-color: var(--jj-blue);
    }

/* First slide uses <img> tag for fetchpriority=high support */
.carousel-bg-img {
    height: 78vh;
    min-height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
    width: 100%;
}

/* Overlay container positions caption on top of the <img> */
.carousel-caption-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-left: var(--bs-gutter-x, 1.5rem);
    padding-right: var(--bs-gutter-x, 1.5rem);
}

/* Dark gradient overlay — applied to both bg-image slides and img slides */
.hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,24,47,0.25) 0%, rgba(2,24,47,0.25) 50%, rgba(2,24,47,0.25) 100%);
}

.hero-caption {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

    .hero-caption .eyebrow {
        color: var(--jj-orange);
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.95rem;
    }

    .hero-caption h1 {
        color: #fff;
        font-size: 3rem;
        font-weight: 800;
    }

    .hero-caption p.lead {
        color: #e6ecf3;
        font-size: 1.2rem;
    }

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(244, 99, 22, 0.85);
    border-radius: 50%;
    padding: 1.4rem;
    background-size: 50%;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--jj-orange);
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: 62vh;
    }

    .carousel-bg-img {
        height: 62vh;
    }

    .hero-caption h1 {
        font-size: 2rem;
    }
}

/* ---------- Section helpers ---------- */
.section-padding {
    padding: 4.5rem 0;
}

.section-eyebrow {
    color: var(--jj-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.bg-light-blue {
    background-color: #f3f6fa;
}

.bg-navy {
    background-color: var(--jj-blue);
}

.divider-orange {
    width: 70px;
    height: 4px;
    background-color: var(--jj-orange);
    border-radius: 2px;
}

/* ---------- Service cards ---------- */
.service-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(2, 24, 47, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(2, 24, 47, 0.16);
    }

    .service-card .card-img-top {
        height: 150px;
        object-fit: cover;
    }

.service-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--jj-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 0.75rem;
}

/* ---------- Why choose us icons ---------- */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.6rem;
    background-color: rgba(244, 99, 22, 0.12);
    color: var(--jj-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    border: none;
    border-radius: 0.75rem;
    background-color: #fff;
    box-shadow: 0 6px 20px rgba(2, 24, 47, 0.08);
    height: 100%;
}

    .testimonial-card .bi-star-fill {
        color: var(--jj-orange);
    }

.quote-mark {
    font-size: 3rem;
    color: rgba(244, 99, 22, 0.25);
    line-height: 1;
}

/* ---------- CTA band ---------- */
.cta-band {
    background-color: var(--jj-blue);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--jj-blue);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #c7d2e0;
    text-decoration: none;
}

    .footer-links a:hover {
        color: var(--jj-orange);
    }

.footer-socials a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.08);
    color: #fff;
    align-items: center;
    justify-content: center;
}

    .footer-socials a:hover {
        background-color: var(--jj-orange);
        color: #fff;
    }

/* ---------- Mobile call button ---------- */
.mobile-call-btn {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
    background-color: var(--jj-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    z-index: 1030;
}

/* ---------- Inner page header ---------- */
.page-header {
    background-color: var(--jj-blue);
    padding: 3.5rem 0 2.5rem;
    color: #fff;
}

    .page-header h1 {
        color: #fff;
        font-weight: 800;
    }

    .page-header .breadcrumb a {
        color: #c7d2e0;
    }

    .page-header .breadcrumb-item.active {
        color: var(--jj-orange);
    }

/* ---------- Placeholder images ---------- */
.img-placeholder {
    width: 100%;
    border-radius: 0.6rem;
}

/* ---------- Process steps ---------- */
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--jj-blue);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-map {
    margin-top: 30px;
}
