* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial,sans-serif;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #fff;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 55px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.navbar-nav {
    gap: 35px;
}


.nav-link {
    position: relative;
    color: #222 !important;
    font-weight: 500;
    padding: 10px 0 !important;
    transition: .3s ease;
}


    /* Green underline animation */
    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        background: #198754;
        transition: width .3s ease;
    }


    .nav-link:hover {
        color: #198754 !important;
    }


        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }



.btn-green {
    background: #13853b;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
}

.hero {
    background: url("../images/Header.jpg") center center/cover no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.overlay {
    width: 100%;
    min-height: 450px;
    background: rgba(6, 30, 54, 0.60);
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    padding: 100px clamp(30px, 6vw, 120px);
}

.hero h5 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

    .hero h5 .highlight {
        color: #1fa84f;
        font-weight: 700;
    }

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero p {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Green button */
.btn-green {
    display: inline-block;
    padding: 15px 30px;
    background: #198754;
    color: #fff;
    text-decoration: none;
    border: 2px solid #198754;
    border-radius: 4px;
    transition: all 0.3s ease;
}
    .btn-green:hover {
        background: #198754;
        border-color: #198754;
        color: #fff;
    }

/* Transparent button */
.btn-outline {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 4px;
    transition: all 0.3s ease;
}

    /* Hover on the transparent button */
    .btn-outline:hover {
        background: #198754;
        border-color: #198754;
        color: #fff;
    }

/* While hovering over the outline button,
   change the green button to white */
.buttons:has(.btn-outline:hover) .btn-green {
    background: transparent;
    color: #fff;
    border-color: #fff;
}


.services {
    padding: 90px 0;
}

    .services span {
        color: #168b43;
        font-weight: bold;
    }

    .services h2 {
        margin: 15px 0 60px;
        font-size: 40px;
    }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
}

.card {
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    transition: all 0.3s ease;
}

.service-icon {
    width: 90px; /* Increase icon size */
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px; /* Perfectly centered */
}

.card h3 {
    font-size: 18px; /* Smaller than before */
    font-weight: 700; /* Bold */
    color: #0c2340;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1.3;
}

.card p {
    font-size: 14px; /* Smaller body text */
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ==========================
   WHY CHOOSE US
========================== */

.why {
    background: #07233f;
    color: #fff;
    padding: 45px 0;
}

    .why h2 {
        text-align: center;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 35px;
        text-transform: uppercase;
    }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

    .why-grid > div {
        text-align: center;
        padding: 10px;
    }

    .why-grid h3 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #fff;
        text-transform: uppercase;
    }

    .why-grid p {
        font-size: 13px;
        line-height: 1.5;
        color: #d7dce2;
        margin: 0;
    }





footer {
    background: #11783a;
    color: #fff;
    padding: 55px 0 20px;
    margin-top: 5px;
    width: 100%;

}

.footer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

    .footer h4 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 15px;
        color: #fff;
    }

    .footer p,
    .footer li {
        font-size: 13px;
        line-height: 1.6;
        color: rgba(255,255,255,.9);
    }

    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer li {
        margin-bottom: 5px;
    }


/* Copyright section */
.footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 25px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.25);
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.85);
}



@media(max-width:992px) {

    .service-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .hero,
    .overlay {
        min-height: 560px;
    }

        .hero h1 {
            font-size: 42px;
        }

        .hero p {
            max-width: 100%;
        }

    .nav ul {
        display: none;
    }

    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 40px;
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
        z-index: 999;
    }

    .navbar-nav {
        gap: 15px;
    }

    .nav-link {
        padding: 12px 0 !important;
    }

}

@media(max-width:768px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .why {
        padding: 35px 0;
    }

        .why h2 {
            font-size: 28px;
            margin-bottom: 25px;
        }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero,
    .overlay {
        min-height: 500px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h5 {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 15px;
        margin: 20px auto 30px;
    }

    .buttons {
        justify-content: center;
    }

    .btn-green,
    .btn-outline {
        width: 200px;
        text-align: center;
    }

    .navbar-container {
        padding: 0 20px;
    }
}


.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title span {
        display: block;
        color: #198754;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .section-title h2 {
        font-size: 42px;
        font-weight: 700;
        color: #0c2340;
        text-transform: uppercase;
        margin: 0;
    }


.title-line {
    width: 50px;
    height: 3px;
    background: #198754;
    margin: 15px auto 0;
}


.why-item {
    text-align: center;
    padding: 10px 15px;
}


.why-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

.why-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.why-item p {
    font-size: 13px;
    color: #d7dce2;
    line-height: 1.5;
    margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

footer {
    margin-bottom: 0;
}