@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/barlow-semi-condensed');
@import url('https://fonts.cdnfonts.com/css/anton');

html {
    scroll-padding-top: 4.4rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #fff;
    position: relative;
    /* Needed for positioning pseudo-element */
    overflow-x: hidden;
    width: 100vw;
}


#mainNav {
    position: sticky;
    top: 0;
    z-index: 102;
    height: 12vh;
    width: 100%;
}

hr {
    transition: opacity 0.3s ease;
}

#navi {
    height: 13vh;
    width: 100%;
    transition: background-color 0.3s ease;
    /* Smooth color change */
}

.scrolled {
    background-color: rgb(15, 134, 4);
    /* Background changes on scroll */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    /* Optional shadow */
}

nav li {
    margin-left: 70px;
    margin-top: 12px;
    padding-top: 25px;
}

nav li a {
    font-family: 'Barlow Semi Condensed';
}

nav li:hover {
    scale: 1.1;
    transition: 0.2s;
}

.logo {
    position: fixed;
}
.client-logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    min-height: 200px;
    object-fit: contain;
}
.client-item {
    text-align: center;
}
.client-item:hover{
    cursor: pointer;
}
.container h1{
    font-size: 50px;
    margin: 20px 0;
}

.logocon li:hover{
    transform: translateY(-20px);
    scale: 1.1;
    transition: 0.2s;
}
.hgc{
    background: url('../img/bg.png') fixed;
    background-size: cover;
    max-width: 100%;
    z-index: 100;
}
.hgc h1{
    color: #08990b;
    font-weight: bold;
    font-size: 40px;
    -webkit-text-stroke: 1px black; 
}

.hgc #h1{
    color: #054c06  ;
    font-size: 24px;
    font-weight: bold;
    -webkit-text-stroke: 1px rgb(58, 57, 57); 
}
.hgc #h1 span{
    color: #ffbb00  ;
    margin-left: 10px; 
}
.logocon img{
    width: 100px;
}
.logocon li{
    list-style: none;
}
.logocon li a{
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #054c06;
}
.logocon ul span{
    display: none;
    width: 300px;
    height: 20px;
}
.logocon li a:hover>span{
    display:flex;
    position: fixed;
    bottom: -10px;
}
.logocon span{
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1200px) {
    nav li {
        margin-left: 50px;
    }
}
/* Ensure full width background when navbar is toggled */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgb(15, 134, 4); /* Matches main navbar */
        padding: 10px 0;
    }
    .cons{
        width: 100%;
    }
    #mainNav{
        height: 14.5vh;
    }
    nav li {
        padding-top: 0px;
    }
}