:root {
    --font-body: 'Merriweather Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Merriweather', Georgia, serif;
}

/* Update the base body text */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
    color: var(--a2);
    font-weight: 700 !important;
    /* Serif fonts need slightly looser tracking */
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 700 !important; /* Merriweather looks best when very bold */
    letter-spacing: 0.02em;
    line-height: 1.5;
}


:root {

    /* ---------- TYPE SCALE ---------- */
    --fs-body: 15px;
    --fs-small: 13px;
    --lh-body: 1.65;
    --lh-heading: 1.15;

    /* ---------- COLORS ---------- */
    --a: #0074bc;          /* Brand Blue */
    --a2: #005081;         /* Darker Blue */
    --navy: #081e31;       /* Deep Navy for dark backgrounds */
    --ink: #1f2937;        /* Main Text */
    --ink-muted: #4d6469;  /* Secondary Text */
    --bg: #f4f8f7;         /* Page Background */

    /* ---------- BOOTSTRAP BRIDGE ---------- */
    --bs-body-font-family: var(--font-body);
    --bs-body-font-size: var(--fs-body);
    --bs-primary: var(--a);
    --bs-primary-rgb: 0, 116, 188;
    --bs-body-color: var(--ink);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* ---------- BASE TYPOGRAPHY ---------- */
body {
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Apply body font to common text elements */
p, li, .lead, .nav-link, .dropdown-item, .form-control, .accordion-body, .list-group-item, .btn {
    font-family: var(--font-body);
}

p {
    color: var(--ink-muted);
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: normal;
}

/* Small print */
small, .small, .form-text {
    font-size: var(--fs-small);
    line-height: 1.5;
}

.badge {
    font-size: var(--fs-small);
    letter-spacing: .02em;
}

/* ---------- LINKS & UTILITY ---------- */
a {
    color: var(--a);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text-teal { color: var(--a); }

/* ---------- EYEBROW ---------- */
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50rem;
    background: rgba(0, 116, 188, 0.1); /* Light Brand Blue */
    color: var(--a);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-small);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- BUTTONS ---------- */
.btn {
    border-radius: 50rem;
    letter-spacing: .01em;
    padding: .7rem 1.4rem;
}

.btn-teal {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--a);
    --bs-btn-border-color: var(--a);
    --bs-btn-hover-bg: var(--a2);
    --bs-btn-hover-border-color: var(--a2);
    --bs-btn-hover-color: #fff;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: clamp(56px, 8vw, 100px) 0;
}

/* ---------- NAVBAR ---------- */
.topbar {
    background: linear-gradient(90deg, var(--navy), var(--a2));
    color: #d8e6f0;
    font-size: var(--fs-small);
}

.topbar a {
    color: #d8e6f0;
    text-decoration: none;
}

.topbar a:hover { color: #fff; }


.myNav{
    background-color: var(--a2);
}

.myNav .navbar-brand img {
    max-height: 80px;
    width: auto;
}

.myNav .nav-link,
.myNav .dropdown-item {
    font-size: .95rem;
    letter-spacing: -.01em;
    color: #e9f1f0;
}

.myNav .nav-link { font-weight: 600; }
.myNav .dropdown-item { font-weight: 500; }

/* Hover color changed to light blue */
.myNav .nav-link:hover,
.myNav .dropdown-item:hover,
.myNav .nav-link:focus-visible,
.myNav .dropdown-item:focus-visible {
    color: #7bc4ff;
}

/* Mega menu */
.dropdown-mega .dropdown-menu {
    left: 0;
    right: 0;
    border: 0;
    border-radius: 0 0 1rem 1rem;
}

.mega-col h5 {
    font-weight: 700;
}

.mega-col a {
    display: block;
    padding: .3rem 0;
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mega-col a:hover { color: var(--a); }

.mega-img {
    height: 56px;
    width: 80px;
    object-fit: cover;
    border-radius: .5rem;
}
/* ==========================================
   FIX: DARK DROPDOWN LINKS
   ========================================== */

/* Targets standard dropdowns (Company, Areas) */
.myNav .dropdown-menu .dropdown-item {
    color: var(--ink) !important;
}

/* Targets the Mega Menu (Services) */
.myNav .mega-col a {
    color: var(--ink-muted) !important;
}

/* Make them turn Brand Blue on hover */
.myNav .dropdown-menu .dropdown-item:hover,
.myNav .dropdown-menu .dropdown-item:focus,
.myNav .mega-col a:hover,
.myNav .mega-col a:focus {
    color: var(--a) !important;
    background-color: transparent !important; /* Removes the default grey hover box */
}

/* Keep the "View all areas" and "View all services" bold if you want */
.myNav .dropdown-menu .dropdown-item.fw-bold {
    color: var(--a2) !important;
}
@media (min-width: 992px) {
    .myNav .navbar-collapse { align-items: center; }
}

/* ---------- HERO ---------- */
.hero {
    /* Changed green glows to blue glows */
    background:
            radial-gradient(60% 70% at 85% 10%, rgba(0, 116, 188, .15), transparent 60%),
            radial-gradient(50% 60% at 0 100%, rgba(0, 80, 129, .12), transparent 60%),
            var(--bg);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--a), var(--a2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-img {
    height: 420px;
    object-fit: cover;
    width: 100%;
}

.caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .85);
}

.strip {
    background: var(--a2);
    color: #d8e6f0;
}

/* ---------- CARDS ---------- */
.card-x {
    border: 1px solid rgba(11, 31, 36, .09);
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(11, 31, 36, .07);
    transition: transform .3s, box-shadow .3s;
}

.card-x:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(11, 31, 36, .14);
}

.card-dark {
    /* Changed from green/teal to Navy/Blue */
    background: linear-gradient(160deg, var(--navy), var(--a2));
    color: #d8e6f0;
}

.card-dark h3,
.card-dark a,
.card-dark p { color: #fff; }

/* Service list */
.svc li a {
    display: flex;
    justify-content: space-between;
    padding: .6rem 0;
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(11, 31, 36, .08);
}

.svc li:last-child a { border: 0; }
.svc li a:hover { color: var(--a); }

.card-dark .svc li a {
    color: #e6f0f4;
    border-color: rgba(255, 255, 255, .18);
}

/* Numbered counters */
.card-x .fw-bold,
.svc .text-teal {
    font-feature-settings: 'tnum' 1;
}

.ico {
    width: 48px;
    height: 48px;
    border-radius: .9rem;
    background: linear-gradient(135deg, var(--a), var(--a2));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

/* ---------- BAND (CTA) ---------- */
.band {
    /* Completely stripped green gradient, now deep navy to blue */
    background: linear-gradient(135deg, var(--navy), var(--a2) 60%, var(--a));
    color: #fff;
}

.band h2,
.band p { color: #fff; }

.band .eyebrow {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

/* ---------- GALLERY ---------- */
.gal img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform .8s;
}

.gal:hover img { transform: scale(1.06); }

.gal figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: .6rem .9rem;
    border-radius: .6rem;
    background: rgba(8, 30, 49, .85); /* Navy overlay */
    color: #fff;
    font-size: var(--fs-small);
}

/* ---------- ACCORDION ---------- */
.accordion {
    --bs-accordion-active-bg: #e6f2fa; /* Light blue */
    --bs-accordion-active-color: var(--a2);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(0, 116, 188, .25); /* Blue ring */
}

.accordion-button {
    font-weight: 600;
    font-size: 1rem;
}

/* ---------- MAP ---------- */
.map-card iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ---------- FOOTER ---------- */
.site-footer {
    /*background: #071420;*/ /* Deep navy footer */
    background: linear-gradient(90deg, var(--navy), var(--a2));
    color: #9fb6bf;
    border-top:.01em solid #005081;
}

.site-footer h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.site-footer a {
    color: #9fb6bf;
    text-decoration: none;
    font-size: 14px;
}

.site-footer a:hover { color: #fff; }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
    transition: transform .25s ease;
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.1);
}

/* ---------- LEGACY BUTTON ---------- */
.btn-btn1 {
    background-color: var(--a);
    color: #ffffff;
    border: 1px solid var(--a);
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0, 116, 188, 0.2);
}

.btn-btn1:hover {
    background-color: var(--a2);
    border-color: var(--a2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 80, 129, 0.4);
}

.btn-btn1:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 80, 129, 0.3);
}

.btn-btn1:focus-visible {
    outline: 2px solid var(--a);
    outline-offset: 2px;
}


.mobile-px {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    overflow-x: hidden !important;
}

@media (min-width: 768px) {
    .mobile-px {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }
}
.overflow-x-hidden{
    overflow-x: hidden!important;
}
/* Prevent horizontal scrolling site-wide */
body {
    overflow-x: hidden !important;
}