/* ================== Design System ================== */
:root {
    --brand: #035a89;
    --brand-2: #0e1a2b;
    --ink: #101827;
    --muted: #6b7280;
    --line: rgba(2, 8, 23, .08);
    --radius: 18px;
    --shadow: 0 10px 30px rgba(2, 8, 23, .08);
    --section-pad: clamp(3rem, 6vw, 5rem)
}

body {
    color: var(--ink)
}

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

.container {
    max-width: 1160px
}

.btn-brand {
    background: #035a89;
    border-color: #035a89;
    color: white;
}

.btn-brand:hover {
    background: #035a89;
    border-color: #035a89
}

.btn-outline-brand {
    color: var(--brand);
    border-color: var(--brand)
}

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

.link-brand {
    color: var(--brand)
}

.link-brand:hover {
    color: #035a89
}

.rounded-xxl {
    border-radius: var(--radius)
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.card-hover {
    transition: .25s ease
}

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

/* ================== Navbar ================== */
.navbar {
    --bs-navbar-active-color: var(--brand)
}

.navbar .nav-link {
    font-weight: 600;
    color: black;
}

.navbar.fixed-top.transparent {
    background: #fafafa !important;
    border-bottom: 0;
    color: black;
}

.navbar.fixed-top.solid {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06)
}

.navbar-brand img {
    height: 70px
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 0 .35rem;
    font-size: .7rem
}

/* ================== Hero ================== */
/* HERO fixes + responsive */
/* ===== Hero FX & Responsive ===== */
:root {
    --hero-interval: 5s;
}

/* hero interval (keep in sync with JS) */

.hero {
    position: relative;
}

/* >>> ADDED: Make each slide a positioning context */
.hero .carousel-item {
    position: relative;
}

.hero .carousel-item img {
    height: 85vh;
    min-height: 520px;
    object-fit: cover;
    filter: brightness(.7);
    background: linear-gradient(180deg, #0e1a2b 43%, #0b1322 100%);
}

/* >>> ADDED: Black shade overlay on hero images */
.hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.633);
    /* adjust .35 → .5 if you want darker */
    z-index: 1;
    pointer-events: none;
}


/* Caption should not block swipe but buttons clickable */
.hero-caption {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
    /* stays above the overlay */
    color: #fff;
    text-align: left;
    pointer-events: none;
}

.text-warning {
    --bs-text-opacity: 1;
    color: rgb(33 157 71) !important;
}

.hero-caption .wrap {
    max-width: 650px;
    pointer-events: auto;
}

/* Ken Burns (zoom + brighten) runs when .fx-kenburns is on the .carousel-item */
@keyframes kb-zoom {
    0% {
        transform: scale(1.12);
        filter: brightness(.65);
    }

    100% {
        transform: scale(1.00);
        filter: brightness(.90);
    }
}

#heroCarousel .carousel-item.fx-kenburns img {
    animation: kb-zoom var(--hero-interval) ease-out both;
}

/* Caption fade-up each time we add .cap-in to .wrap */
@keyframes cap-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-caption .wrap.cap-in {
    animation: cap-in .7s ease-out both;
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero .carousel-item img {
        height: 70vh;
        min-height: 440px;
    }

    .hero-caption .wrap {
        max-width: 680px;
    }

    .hero-caption h1.display-5 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .hero .carousel-item img {
        height: 64vh;
        min-height: 380px;
    }

    .hero-caption .eyebrow {
        font-size: .68rem;
        letter-spacing: .14em;
    }

    .hero-caption h1.display-5 {
        font-size: 1.75rem;
    }

    .hero-caption .lead {
        font-size: .95rem;
    }

    .hero-caption .d-flex.gap-3 {
        gap: .6rem !important
    }

    .hero-caption .btn-lg {
        padding: .6rem .9rem;
        font-size: .95rem;
    }
}

/* ================== Section helpers ================== */
section {
    scroll-margin-top: 5rem;
    padding-block: var(--section-pad)
}

.section-title {
    font-weight: 800
}

.title-bar {
    width: 60px;
    height: 4px;
    background: var(--brand)
}

/* ================== Services & Products ================== */
.service-card .card-img-top {
    aspect-ratio: 16/10;
    object-fit: cover
}

/* ================== Counters ================== */
.stats {
    background: var(--brand-2);
    color: #dbeafe
}

.stats .value {
    font-weight: 800;
    font-size: 2rem
}

.stats .icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center
}

/* ================== Safety (dark) ================== */
.safety {
    background: linear-gradient(180deg, #0e1a2b 0%, #0b1322 100%);
    color: #dbeafe
}

.safety .card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12)
}

/* ================== Shop ================== */
.filters .btn {
    border-radius: 999px
}

.product-card .price {
    font-weight: 800;
    color: var(--brand)
}

/* ================== Gallery slider ================== */
.gallery-carousel .carousel-item>div {
    display: flex;
    gap: 12px
}

.gallery-carousel img {
    height: 220px;
    object-fit: cover;
    border-radius: 12px
}

/* ================== Footer ================== */
/* Theme tokens (reuse your existing if present) */
:root {
    --brand: #035a89;
    --footer-bg: #121c2a;
    /* deep navy */
    --footer-bg-2: #0f1724;
    /* slightly darker */
    --footer-ink: #cbd5e1;
    /* light slate text */
    --footer-muted: #8ea0b8;
}

/* Container */
.footer-neo {
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-2) 100%);
    color: var(--footer-ink);
    overflow: hidden;
}

/* Ribbon (angled orange shape) */
.footer-ribbon {
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 420px;
    height: 220px;
    background: var(--brand);
    transform: rotate(-18deg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
    border-radius: 12px;
}

/* Typography helpers */
.text-slate-300 {
    color: #cbd5e1 !important
}

.text-slate-400 {
    color: #94a3b8 !important
}

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

/* Links list */
.footer-list li {
    margin-bottom: .45rem
}

.footer-list a {
    color: var(--footer-ink);
    text-decoration: none;
}

.footer-list a:hover {
    color: #fff
}

/* Social buttons */
.btn-social {
    --size: 40px;
    width: var(--size);
    height: var(--size);
    display: inline-grid;
    place-items: center;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #e2e8f0;
    border-radius: 8px;
    transition: .2s;
}

.btn-social:hover {
    background: #273446;
    color: #fff;
    transform: translateY(-2px)
}

/* News */
.news-item .news-thumb {
    width: 72px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.news-item .news-date {
    color: var(--footer-muted);
    font-size: .9rem;
}

.news-item .news-title {
    color: #e2e8f0;
    font-weight: 700;
    line-height: 1.25;
}

.news-item:hover .news-title {
    color: #fff;
    text-decoration: underline;
}

/* Divider line */
.footer-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
}

/* WhatsApp bubble */
.wa-bubble {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1030;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    transition: .2s;
}

.wa-bubble:hover {
    transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .footer-ribbon {
        right: -160px;
        bottom: -150px;
        transform: rotate(-16deg);
    }
}

@media (max-width: 575.98px) {
    .news-item .news-thumb {
        width: 64px;
        height: 54px;
    }

    .footer-ribbon {
        display: none;
    }

    /* hide ribbon on very small screens */
}

:root {
    --brand: #035a89;
    --ink: #101827;
    --muted: #6b7280;
    --radius: 18px
}

body {
    color: var(--ink)
}

/* ==== Navbar (transparent -> white on scroll) ==== */
.navbar.fixed-top.transparent {
    background: #fff !important;
    border-bottom: 0;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.navbar.fixed-top.solid {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

.eyebrow {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand);
    font-weight: 600
}

.section-title {
    font-weight: 800
}

.title-bar {
    width: 60px;
    height: 4px;
    background: var(--brand)
}

.section {
    padding-block: clamp(2.5rem, 5vw, 4rem)
}

.card {
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .08)
}

.about-hero {
    color: #fff;
    text-align: center;
    padding: 18rem 0rem 5rem 0;
    background: linear-gradient(rgba(14, 26, 43, .7), rgba(14, 26, 43, .7)),
        url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat
}

.contact-hero {
    color: #fff;
    text-align: center;
    padding: 18rem 0rem 5rem 0;
    background: linear-gradient(rgba(14, 26, 43, .7), rgba(14, 26, 43, .7)),
        url("https://www.shutterstock.com/image-photo/using-laptop-show-icon-address-600nw-2521386695.jpg") center/cover no-repeat
}

.services-hero {
    color: #fff;
    text-align: center;
    padding: 18rem 0rem 5rem 0;
    background: linear-gradient(rgba(14, 26, 43, .7), rgba(14, 26, 43, .7)),
        url("https://img.freepik.com/free-photo/website-hosting-concept-with-bright-light_23-2149406783.jpg?semt=ais_hybrid&w=740&q=80") center/cover no-repeat
}

.about-hero h1 {
    font-weight: 800
}

.contact-hero h1 {
    font-weight: 800
}

.lead-muted {
    color: var(--muted)
}

li.nav-item.active {
    background: #249d4b;
    color: white;
    border-radius: 10px;
    padding: 1px 10px;
}

.active a.nav-link {
    color: white;
}
.eyebrow1.mb-2 {
    color: #1c9c49;
}
.carousel {
    position: relative;
    height: 600px;
}
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #aaaaaa;
}li.nav-item {
    margin-left: 10px;
}.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #005a89;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}