/* UB Export — Brand theme: Blue #1b6fbf + Green #5aaa2a */
:root {
    --navy: #0d2e5e;
    --navy-2: #103670;
    --yellow: #5aaa2a;
    --yellow-hover: #4a9220;
    --orange: #1b6fbf;
    --green: #5aaa2a;
    --green-dark: #3d8a18;
    --text: #111;
    --muted: #555;
    --bg: #f0f4f8;
    --card: #fff;
    --border: #c8d8ea;
    --shadow: 0 2px 5px rgba(13, 46, 94, 0.12);
    --shadow-lg: 0 8px 24px rgba(13, 46, 94, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top utility strip */
.topbar {
    background: #0a2248;
    color: #cde0f5;
    font-size: 13px;
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 34px;
    }

    .topbar a {
        color: #cde0f5;
        margin-left: 16px;
    }

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

/* Main header */
.header {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo image */
/*.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

    .logo img {
        height: 52px;
        width: auto;
        object-fit: contain;
    }*/

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 4px 0;
    text-decoration: none;
}

    .logo img {
        height: 46px;
        width: auto;
        object-fit: contain;
        background: transparent; /* now actually transparent */
        filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
        transition: filter 0.2s, transform 0.2s;
    }

    .logo:hover img {
        filter: drop-shadow(0 2px 8px rgba(90,170,42,0.5));
        transform: scale(1.04);
    }

.search {
    flex: 1;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-width: 240px;
}

    .search select {
        border: 0;
        background: #e8f0fb;
        padding: 0 10px;
        font-size: 13px;
        color: #0d2e5e;
        border-right: 1px solid #c8d8ea;
        cursor: pointer;
    }

    .search input {
        flex: 1;
        border: 0;
        padding: 10px 12px;
        font-size: 15px;
        outline: none;
        color: #111;
    }

    .search button {
        border: 0;
        background: var(--green);
        padding: 0 18px;
        cursor: pointer;
        font-size: 18px;
        color: #fff;
    }

        .search button:hover {
            background: var(--green-dark);
        }

.header-right {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 13px;
    margin-left: auto;
}

    .header-right .h-link {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        color: #fff;
        padding: 6px;
        border-radius: 4px;
    }

        .header-right .h-link:hover {
            outline: 1px solid #fff;
        }

        .header-right .h-link b {
            font-size: 14px;
        }

        .header-right .h-link small {
            color: #9ec4ee;
            font-size: 11px;
        }

.hamburger {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

/* Sub-nav */
.subnav {
    background: var(--navy-2);
    color: #fff;
}

.subnav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    padding: 6px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .subnav-inner::-webkit-scrollbar {
        display: none;
    }

    .subnav-inner a {
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        color: #fff;
    }

        .subnav-inner a:hover {
            outline: 1px solid #fff;
            background: rgba(255, 255, 255, 0.08);
        }

        .subnav-inner a.active {
            /*background: rgba(255, 255, 255, 0.14);*/
            background: #5aaa2a;
            color: #fff;
            border-radius: 5px;
        }

/* Hero */
.hero {
    position: relative;
    height: 540px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(240, 244, 248, 1)), url("../images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center !important;
    justify-content: center !important; /* ← add this */
}

    /*address form testing*/
    .hero .container {
        display: flex !important;
        justify-content: center !important; /* ← add this to center card inside Bootstrap container */
    }

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 36px 40px;
    border-radius: 14px;
    max-width: 560px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--green);
}

.hero h1 {
    font-size: 42px;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 14px;
}

    .hero h1 span {
        color: var(--green);
    }

.hero p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 22px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 15px;
    transition: 0.15s;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: #155fa0;
}

    .btn-primary:hover {
        background: #155fa0;
    }

.btn-green {
    background: var(--green);
    color: #fff;
}

    .btn-green:hover {
        background: var(--green-dark);
    }

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--text);
}

    .btn-outline:hover {
        background: #e8f0fb;
    }

/* Section base */
.section {
    padding: 30px 0;
}

    .section.alt {
        background: #fff;
    }

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

    .section-head h2 {
        font-size: 30px;
        color: var(--navy);
    }

    .section-head p {
        color: var(--muted);
        max-width: 620px;
        margin-top: 6px;
    }

    .section-head .btn {
        flex-shrink: 0;
    }

/* Card grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    border-bottom: 3px solid transparent;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-bottom-color: var(--green);
    }

.card-img {
    aspect-ratio: 4/3;
    background: #e8f0fb;
    overflow: hidden;
}

    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

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

.card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .card-body h3 {
        font-size: 18px;
        color: var(--navy);
    }

    .card-body p {
        color: var(--muted);
        font-size: 14px;
        flex: 1;
    }

.tag {
    display: inline-block;
    background: #eaf6e0;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
}

    .tag.orange {
        background: #e8f0fb;
        color: #0d2e5e;
    }

/* Feature row */
.feature-row {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}

    .feature-tile .img {
        aspect-ratio: 1/1;
        background: #e8f0fb;
        border-radius: 6px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 54px;
        color: var(--green);
    }

  /*  .feature-tile h4 {
        min-height: 80px;
        line-height: 1.3;
    }*/

    .feature-tile a {
        color: var(--orange);
        font-size: 14px;
        font-weight: 500;
    }

        .feature-tile a:hover {
            color: var(--green);
            text-decoration: underline;
        }

/* About split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

    .split img {
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
    }

    .split h2 {
        font-size: 32px;
        color: var(--navy);
        margin-bottom: 14px;
    }

    .split p {
        color: var(--muted);
        margin-bottom: 14px;
    }

    .split ul {
        list-style: none;
        margin: 14px 0 22px;
    }

        .split ul li {
            padding: 6px 0;
            color: var(--text);
        }

            .split ul li i {
                color: var(--green);
                margin-right: 8px;
            }

/* Stats strip */
.stats {
    background: var(--navy);
    color: #fff;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

    .stats-grid b {
        display: block;
        font-size: 34px;
        color: #7fd44a;
        margin-bottom: 4px;
    }

    .stats-grid span {
        color: #9ec4ee;
        font-size: 14px;
    }

/* Customers */
.testimonial {
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green);
}

    .testimonial .stars {
        color: var(--green);
        margin-bottom: 8px;
    }

    .testimonial p {
        color: var(--text);
        font-style: italic;
        margin-bottom: 14px;
    }

    .testimonial b {
        color: var(--navy);
    }

    .testimonial small {
        color: var(--muted);
        display: block;
    }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--navy), #1b4fa0);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

    .cta h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .cta p {
        margin-bottom: 22px;
        opacity: 0.95;
    }

/* ==========================
   FOOTER
========================== */

.footer {
    background: #091e40;
    color: #9ec4ee;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer-company {
    max-width: 450px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

    .footer-logo img {
        height: 45px;
        width: auto;
    }

.footer h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
    color: #9ec4ee;
}

.footer a {
    display: block;
    color: #9ec4ee;
    padding: 5px 0;
    font-size: 14px;
    transition: .3s;
}

    .footer a i {
        width: 22px;
    }

    .footer a:hover {
        color: #5aaa2a;
        padding-left: 4px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    color: #6a9ec8;
    font-size: 13px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 640px) {


    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .footer-company {
        order: 1;
    }

    .footer-links {
        order: 2;
    }

    .footer-products {
        order: 3;
    }

    .footer-connect {
        order: 4;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer h5 {
        font-size: 16px;
    }
}

/* Forms */
.form {
    display: grid;
    gap: 14px;
    max-width: 560px;
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

    .form input,
    .form textarea,
    .form select {
        padding: 11px 12px;
        border: 1px solid var(--border);
        border-radius: 6px;
        font-size: 15px;
        font-family: inherit;
    }

    .form textarea {
        min-height: 120px;
        resize: vertical;
    }

    .form label {
        font-weight: 600;
        font-size: 14px;
        color: var(--navy);
    }

/* Page hero (sub pages) */
.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff;
    padding: 56px 0;
    text-align: center;
}

    .page-hero h1 {
        font-size: 38px;
        margin-bottom: 10px;
    }

    .page-hero p {
        opacity: 0.9;
        max-width: 680px;
        margin: 0 auto;
    }

.breadcrumbs {
    font-size: 13px;
    color: #9ec4ee;
    margin-top: 10px;
}

    .breadcrumbs a {
        color: #7fd44a;
    }

/* Responsive */
@media (max-width: 900px) {
    .grid-4,
    .feature-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero {
        height: 480px;
    }
}

@media (max-width: 640px) {

    /* Hide certifications and contact buttons */
    .header-right .h-link {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: block;
        margin-left: auto;
        font-size: 26px;
    }

    .header-inner {
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .search {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }

    /* Mobile menu hidden by default */
    .subnav {
        display: none;
        width: 100%;
        background: var(--navy-2);
    }

        /* Show menu when JS adds class */
        .subnav.show {
            display: block;
        }

    .subnav-inner {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

        .subnav-inner a {
            display: block;
            padding: 14px 20px;
            border-bottom: 1px solid rgba(255,255,255,.1);
        }

    .logo img {
        height: 40px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .feature-row {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 24px;
        margin: 0 8px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .topbar .container {
        justify-content: space-between;
        height: auto;
        padding: 8px 12px;
    }

    .topbar {
        font-size: 11px;
    }

        .topbar a {
            margin-left: 10px;
        }
}
/* Services Section */

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-tile {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--orange);
}

    .feature-tile h4 {
        /*color: var(--navy);
        margin-bottom: 15px;
        font-size: 28px;*/
        display: flex;
        flex-direction: column;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

    .feature-list li {
        margin-bottom: 12px;
        line-height: 1.6;
        font-size: 16px;
    }

        .feature-list li i {
            color: #5aaa2a !important;
            margin-right: 10px;
            font-size: 14px;
        }

.feature-tile a {
    color: var(--orange);
    font-weight: 600;
}

    .feature-tile a:hover {
        color: var(--green);
    }

/* Tablet */
@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .feature-row {
        grid-template-columns: 1fr;
    }
}

/*Custom CSS*/

.m2 {
    margin-left : 2rem;
}
