﻿:root {
    --dgag-primary: #0E3A6D;
    --dgag-accent: #FDB515;
    --dgag-dark: #0A2540;
    --dgag-muted: #6c757d;
    /* Easy size control */
    --values-icon-size: 28px;
    --clients-logo-size: 60px;
}

/* GLOBAL */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #2b2b2b;
    background: #ffffff;
}

a {
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    border-bottom: 1px solid #eee;
}

    .navbar .navbar-brand {
        color: var(--dgag-dark);
        font-weight: 700;
    }

    .navbar .nav-link {
        color: #444;
        font-weight: 600;
        padding: .75rem 1rem;
    }

        .navbar .nav-link.active {
            color: var(--dgag-primary) !important;
        }

/* HERO */
.hero {
    position: relative;
    color: #fff;
    min-height: 70vh;
    /* Make the hero full-bleed even when it's inside a .container parent */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    /* Background image setup */
    background-image: url('/images/hero1.jpg?v=2');
    background-size: cover; /* fill area without distortion */
    background-position: 65% center; /* nudge subject to right; adjust 50–70% as needed */
    background-repeat: no-repeat;
    background-color: #0A2540; /* brand-tinted fallback if image fails */
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /* Lighter, cleaner overlay (brand-tinted gradient -> less muddy) */
        background: linear-gradient( to right, rgba(14,58,109,0.35) 0%, /* brand tint near text */
        rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.10) 100% );
        pointer-events: none;
    }

    /* Keep inner content above overlay and retain your spacing */
    .hero .hero-inner {
        position: relative;
        z-index: 1;
        padding: 6rem 0 4rem;
    }

    /* Remove container side padding inside hero so text aligns to grid but hero remains edge-to-edge */
    .hero > .container {
        max-width: 1140px; /* same as your site’s container max; adjust if needed */
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 3vw + 1rem, 3rem);
        text-shadow: 0 2px 8px rgba(0,0,0,.35);
    }

    .hero p.lead {
        opacity: .95;
        max-width: 46ch;
    }

/* Optional: on small screens, give a bit more height for breathing room */
@media (max-width: 576px) {
    .hero {
        min-height: 60vh;
    }
}

.btn-dgag {
    background: var(--dgag-primary);
    color: #fff;
    font-weight: 600;
    padding: .55rem 1.25rem;
    border-radius: .35rem;
    border: none;
}

    .btn-dgag:hover {
        background: #092a50;
        color: #fff;
    }

/* SERVICES */
.service-card {
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: .5rem;
    padding: 1rem;
    /* UPDATED: darker glass background */
    background: rgba(0, 0, 0, 0.25); /* or 0.30 if you want even darker */

    height: 100%;
    box-shadow: 0 2px 10px rgba(16,24,40,.06);
    /* smooth hover effect */
    transition: transform .12s ease, box-shadow .12s ease;
}

    /* Make service headings bold and clearer — UPDATED to white text */
    .service-card h6 {
        font-weight: 700;
        color: #ffffff; /* updated: was #0A2540 */
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .service-card .small.text-muted {
        /* darker text for readability on semi-transparent card */
        color: rgba(43, 43, 43, 0.85) !important;
    }

/* optional light glass blur effect */
@supports (backdrop-filter: blur(2px)) {
    .service-card {
        backdrop-filter: blur(2px);
    }
}

/* ----- subtle lift hover effect ----- */
.service-card {
    transition: transform .12s ease, box-shadow .12s ease;
}

a:hover .service-card {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16,24,40,.08);
}

/* === Services section with background ========================= */
.services-bg {
    position: relative;
    /* full-bleed even inside a .container parent */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    /* background image (place service_bgnd.jpg in wwwroot/images/) */
    background-image: url('/images/service_bgnd.jpg?v=1');
    background-size: cover;
    background-position: center center; /* tweak to 60% center if subject needs */
    background-repeat: no-repeat;
    /* a bit more breathing room over py-5 feel */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

    /* soft overlay for readability on any photo */
    .services-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(14,58,109,0.35) 0%, /* brand tint */
        rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.25) 100% );
        pointer-events: none;
    }

    .services-bg > .container {
        position: relative;
        z-index: 1;
    }

    /* make heading/lead readable on dark bg */
    .services-bg .section-title {
        color: #fff;
        text-align: center;
        font-size: 2rem; /* ~20% larger than your previous ~1.6rem */
        margin-top: 1rem; /* one line space above */
        margin-bottom: 1rem; /* one line space below */
        font-weight: 700;
    }

    .services-bg .lead {
        color: #e6edf3;
        text-align: center;
        margin-bottom: 2rem; /* spacing under subtitle */
    }

/* Translucent circular backdrop for the icon */
.service-icon-wrap {
    width: 85px;
    height: 85px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10); /* 90% transparent halo */
    backdrop-filter: blur(3px);
    box-shadow: 0 0 10px rgba(0,0,0,.25);
}

.service-icon-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: invert(1) brightness(2); /* fully white */
    opacity: 1 !important; /* ensure full visibility */
}


.service-icon-svg {
    width: 46px;
    height: 46px;
    fill: #ffffff !important; /* pure white */
    opacity: 1 !important; /* fully visible */
}

/* Heading under the icon (kept white already) */
.service-title {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

/* Hide any older descriptions under tiles */
.service-card .small.text-muted {
    display: none !important;
}

``

.icon {
    width: 36px;
    height: 36px;
    background: var(--dgag-accent);
    display: inline-grid;
    place-items: center;
    border-radius: .35rem;
    margin-right: .5rem;
    color: #000;
}

/* STATS */
.stats-band {
    background: var(--dgag-primary);
    color: #fff;
    padding: 3rem 0;
}

.stat h3 {
    font-weight: 800;
    margin: 0;
    font-size: 2rem;
}

/* MOBILE SPACING */
@media (max-width: 576px) {
    .values .row.g-4 {
        row-gap: 1.25rem !important;
    }
}

/* TESTIMONIALS */
.testimonial {
    background: #fff;
    border: 1px solid #eee;
    border-radius: .6rem;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(16,24,40,.04);
}

/* ===================== CLIENT LOGOS (Updated) ===================== */

/* Optional band background; keep if you want a faint strip */
.clients-band {
    background: #f8fafc;
}

/* Make Clients heading match other section titles (dark blue #0A2540) */
.clients-section .section-title {
    color: #0A2540 !important;
    text-align: center;
    font-weight: 800; /* matches Team title weight */
    font-size: clamp(1.6rem, 2vw + 0.8rem, 2rem); /* same scale as Team */
    margin-bottom: 1.25rem;
}

/* Clients heading — identical to About Us heading */
.clients-title {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.15;
    font-size: clamp(1.7rem, 1.9vw + 0.9rem, 2.25rem);
    color: #0A2540;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

/* --- Marquee container (hides overflow) --- */
.client-rail {
    position: relative;
    overflow: hidden;
    padding-block: .25rem;
}

/* --- Scrolling track (two identical sets of logos inside) --- */
.client-track {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem; /* spacing between logo items */
    width: max-content; /* shrink-wrap to content width */
    animation: clients-scroll 45s linear infinite; /* slow, continuous */
    will-change: transform;
}

/* Pause on hover for usability */
.client-rail:hover .client-track {
    animation-play-state: paused;
}

/* --- Each logo wrapper (gives consistent padding + border pill) --- */
.client-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: .75rem;
    padding: .75rem 1rem;
    min-width: 140px; /* keep items from collapsing too narrow */
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .client-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,.08);
        border-color: rgba(0,0,0,.12);
    }

/* --- Logo image: bigger + original colour --- */
.client-logo {
    height: 64px; /* base size (bigger than before) */
    width: auto;
    filter: none !important; /* force full colour */
    opacity: .95;
    object-fit: contain;
    transition: opacity .2s ease;
}

    .client-logo:hover {
        opacity: 1;
    }

/* Responsive scale up */
@media (min-width: 768px) {
    .client-logo {
        height: 76px;
    }
}

@media (min-width: 1200px) {
    .client-logo {
        height: 88px;
    }
}

/* --- Legacy utility from your previous CSS (kept, but no grayscale now) --- */
.clients-wrap {
    gap: 1.25rem;
    align-items: center;
}

/* Smaller phones */
@media (max-width: 576px) {
    .client-logo {
        height: 52px;
    }
    /* previously 48px; slightly larger now */
}

/* --- Marquee keyframes (right -> left) ---
   We duplicate the set of logos once; translating by -50% shows set B exactly
   when set A finishes, creating a seamless loop.
*/
@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .client-track {
        animation: none;
    }
}


/* FOOTER */
.footer {
    background: #0c1b2a;
    color: #cbd5e1;
    padding: 2.5rem 0;
}

    .footer a {
        color: #e2e8f0;
    }

        .footer a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .footer h6 {
        color: #fff;
        font-weight: 700;
    }

/* ================= HEADER (2 rows) ================ 
    This gives you the dark‑green top row, white brand row, matching fonts, and neat spacing
*/
:root {
    --header-green: #1f5b4f; /* dark green from your example */
    --brand-font: "Poppins", "Segoe UI", Arial, sans-serif;
}

body {
    font-family: var(--brand-font);
}

/* Row 1: top info bar (dark green) */
.topbar {
    background: var(--header-green);
    color: #e9f5f1;
    font-size: .95rem;
}

    .topbar .bi {
        font-size: 1rem;
        position: relative;
        top: .1rem;
    }

    .topbar a {
        color: #e9f5f1;
    }

        .topbar a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* Row 2: brand + nav (white) */
.brandbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    /*Increaing the height by 20%*/
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Brand/logo sizing (header) */
.brand-logo {
    height: 56px; /* try 40–56px based on your logo aspect */
    width: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 48px;
    }
}

.brand-name {
    font-weight: 800;
    font-size: 1.5rem;
    color: #0A2540;
    letter-spacing: .2px;
    line-height: 1.05;
}

.brand-desc {
    font-size: 1rem;
    color: #667085;
    margin-top: .125rem;
}

/* Menu on right (white row) */
.brandbar .navbar {
    background: transparent !important;
    padding: 0;
}

/* --- Updated nav link styles (minimal change) --- */
.brandbar .nav-link {
    color: #000 !important; /* All menu items black */
    font-weight: 600;
    padding: .85rem 1rem;
    border-radius: .35rem;
}

    .brandbar .nav-link:hover {
        background: #e7ebf0; /* Slightly darker hover */
        color: #0A2540 !important;
    }

    .brandbar .nav-link.active,
    .brandbar .nav-link[aria-current="page"] {
        background: #d7dde4 !important; /* Darker background highlight */
        color: #0A2540 !important;
        font-weight: 800 !important; /* Bold active item */
        border-radius: .35rem;
    }

/* Optional caret after items (purely visual) */
.nav-caret {
    font-size: .8rem;
    opacity: .7;
    margin-left: .25rem;
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
    .brand-left {
        margin-bottom: .5rem;
    }

    .brandbar .navbar-collapse {
        padding-bottom: .5rem;
    }
}

/* --- Header cleanup overrides ----------------------------------
   Remove the divider under the header and keep nav on a single line
-----------------------------------------------------------------*/
.brandbar {
    border-bottom: 0 !important; /* remove divider line */
    box-shadow: none !important;
}

/* Some templates add a navbar border too — ensure it's gone */
.navbar {
    border-bottom: 0 !important;
}

/* Keep the main nav items on one line (desktop) */
.brandbar .navbar,
.brandbar .navbar .navbar-collapse,
.brandbar .nav {
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

/* Slightly tighten horizontal padding so all items fit in one row */
.brandbar .nav-link {
    color: #3b3b3b;
    font-weight: 600;
    padding: .85rem 1rem;
    border-radius: .35rem;
}


/* At mid desktop widths, tighten a bit further */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .brandbar .nav-link {
        padding: .75rem .7rem;
    }
}

/* Align brand row vertically and prevent accidental extra line-height */
.brandbar .row {
    align-items: center;
    line-height: 1.1;
}

/* Home hero: touch the header and go full-bleed */
.hero {
    /* remove the 1.5rem top gap coming from main.container.my-4 */
    margin-top: -1.5rem !important;
    /* force full-bleed width even inside a .container */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}
/* === HERO SLIDER (minimal CSS) =============================== */
/* Keep your existing .hero full-bleed rules. We only add slide bg + overlay. */
.hero {
    position: relative;
    color: #fff;
}

    /* HERO slider background per slide */
    .hero .hero-slide {
        min-height: 70vh;
        position: relative;
        background: var(--bg) center center / cover no-repeat;
    }

        .hero .hero-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(14,58,109,.32), rgba(0,0,0,.12));
        }

/* ------- UPDATED ARROWS (bigger, bold, white) ---------------- */
/* Make the hit area a bit wider */
.carousel-control-prev,
.carousel-control-next {
    width: 5rem; /* was 4rem */
    opacity: 1; /* keep visible */
}

/* Enlarge the arrow icons and force solid white */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.25rem; /* bigger icon */
    height: 2.25rem;
    background-size: 100% 100%;
    filter: none; /* we’ll use white SVG directly */
}

/* White left arrow */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11 1.5a1 1 0 0 1 .7 1.71L7.91 7l3.8 3.79A1 1 0 1 1 10.09 12L5.8 7.71a1 1 0 0 1 0-1.42L10.09 1.5A1 1 0 0 1 11 1.5z'/%3e%3c/svg%3e");
}

/* White right arrow */
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M5 1.5a1 1 0 0 0-.7 1.71L8.09 7l-3.8 3.79A1 1 0 1 0 5.91 12l4.29-4.29a1 1 0 0 0 0-1.42L5.91 1.5A1 1 0 0 0 5 1.5z'/%3e%3c/svg%3e");
}

/* ------- Indicators stay as you had them --------------------- */
.carousel-indicators [data-bs-target] {
    background-color: #fff;
    opacity: .6;
}

.carousel-indicators .active {
    opacity: 1;
}

/* =================== ABOUT — final layout & polish =================== */

/* Taller section (no width change to the site) */
.about-us-hero {
    background: #ffffff;
    padding: 6.75rem 0; /* increase height; adjust to taste */
}

/* Mobile-first: stack naturally */
.about-us-wrap {
    display: block;
}

/* Desktop+: 2 columns, image on the right, tighter middle gap */
@media (min-width: 992px) {
    section.about-us-hero .about-us-wrap {
        display: grid !important;
        /* Make text column a touch wider than the image column for balance */
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        align-items: center;
        /* Reduce the center gap so it doesn't look empty */
        column-gap: clamp(1.25rem, 2.5vw, 2rem);
    }

        /* Keep text on the left; allow comfortable line length */
        section.about-us-hero .about-us-wrap .about-text {
            order: 0;
            max-width: 72ch;
        }

        /* Image on the right; bring it slightly toward center */
        section.about-us-hero .about-us-wrap .about-media {
            order: 1;
            justify-self: start; /* start = closer to center than end */
        }
}

/* Heading: smaller but strong */
.about-us-title {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.15;
    /* smaller than before */
    font-size: clamp(1.7rem, 1.9vw + 0.9rem, 2.25rem);
    color: #0A2540;
    margin-bottom: 0.5rem; /* tidy gap to paragraph */
}

/* Paragraph: readable; one-line gap above button */
.about-us-text {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 1.08rem;
    color: #1f2937;
    line-height: 1.75;
    max-width: 65ch;
    margin-bottom: 1.25rem; /* one line above button */
}

/* Button helper (keeps your existing button style) */
.about-us-cta {
    font-weight: 600;
    border-radius: .5rem;
    padding: .65rem 1.2rem;
}

/* Image card: rounded + subtle depth; balanced size */
.about-us-photo {
    margin: 0;
    width: 100%;
    max-width: 520px; /* set 540–560px if you want it a bit larger */
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

    .about-us-photo img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

/* Tablet/mobile spacing */
@media (max-width: 991.98px) {
    .about-us-hero {
        padding: 4rem 0;
    }

    .about-us-photo {
        max-width: 100%;
    }
}

/* =================== OUR TEAM =================== */
.team-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.team-title {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #0A2540;
    margin: 0;
    font-size: clamp(1.6rem, 2vw + 0.8rem, 2rem);
}

.team-subtitle {
    color: #667085;
    margin-top: .35rem;
    margin-bottom: 0;
}

/* Ensure equal-height card columns */
.team-grid > [class*="col-"] {
    display: flex;
}

/* Card */
.team-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16,24,40,.06);
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .team-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(16,24,40,.10);
    }

/* Photo */
.team-photo {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

    .team-photo img {
        display: block;
        width: 100%;
        height: 300px; /* consistent crop height */
        object-fit: cover;
    }

/* Name & Role */
.team-meta {
    text-align: center;
    padding: .9rem .9rem 1.15rem;
}

.team-name {
    font-weight: 700;
    color: #0A2540;
    margin: .25rem 0 .2rem 0;
}

.team-role {
    color: #667085;
    font-size: .95rem;
    margin: 0;
}

/* Responsive tweak for small screens */
@media (max-width: 575.98px) {
    .team-photo img {
        height: 260px;
    }
}

/* =========================================
   VALUES — CLEAN, SAFE, STABLE, LIME GREEN
========================================= */

.values .value {
    position: relative;
    text-align: center;
    /* padding tuned so text has space after icon */
    padding: 1.25rem 1rem 1rem 1rem;
    /* tile background color you requested */
    background: #a6d608;
    /* subtle border for structure */
    border: 1.5px solid #8dbb06;
    border-radius: .75rem;
    /* soft shadow */
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    /* gentle hover */
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .values .value:hover {
        border-color: #7aa305;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0,0,0,.14);
    }

    /* =========================================
   ICON — KEEP SMALL & SAFE (NO MORE EXPLODING)
========================================= */

    .values .value img {
        position: static !important; /* cancel ALL old absolute rules */
        width: 34px !important;
        height: 34px !important;
        object-fit: contain;
        display: block;
        margin: 0 auto .55rem auto;
        /* SVG color if using currentColor */
        color: #1b2a10;
    }

    /* =========================================
   TEXT — HIGH CONTRAST ON LIME BACKGROUND
========================================= */

    .values .value h6 {
        font-weight: 700;
        margin: .25rem 0 .25rem 0;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        /* darker tone for readability */
        color: #1b2a10;
        font-size: 0.95rem;
    }

    .values .value small {
        display: block;
        color: #243613;
        font-size: 0.92rem;
        line-height: 1.45;
    }

/* =========================================
   MOBILE TWEAKS
========================================= */

@media (max-width: 575.98px) {
    .values .value {
        padding: 1.1rem .9rem .9rem .9rem;
    }

        .values .value img {
            width: 28px !important;
            height: 28px !important;
        }

        .values .value h6 {
            font-size: .9rem;
        }

        .values .value small {
            font-size: .9rem;
        }
}

/* ===== Values heading styled to match "Our Team" ===== */
.values .values-heading {
    text-align: center;
    margin-bottom: 1.25rem; /* similar spacing as Team */
}

.values .values-title {
    font-family: inherit; /* Poppins already loaded in your site */
    font-weight: 800; /* bold like Team */
    font-size: clamp(1.6rem, 2vw + 1rem, 2rem);
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: #163a4a; /* same dark blue-green tone used for Team */
    margin: 0 0 .25rem 0;
}

.values .values-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #7a8a88; /* lighter, like Team subtitle */
    font-weight: 500;
}

/* If your page already uses a generic .section-title in Values, ensure it doesn’t conflict */
.values .section-title {
    margin: 0;
}