body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    line-height: 1.2;
}

p, li {
    font-size: 16px;
}

a.button {
    padding: 5px 15px;
    background: #6AAF08;
    border-radius: 2px;
    text-decoration: none;
    color: #000 !important;
    font-weight: 600;
    position: relative;
    height: 25px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    box-shadow: 2px 2px 6px #000;
}

a.button:hover {
    background: #2E1E13;
    color: #fff !important;
    box-shadow: 2px 2px 0px 3px #000;
}

/* Navigation Styles */
nav {
    display: flex;
    position: relative;
    /* width: 100vw; */
    /* max-width: 1080px; */
    /* height: 5vh; */
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #2E1E13;
    color: white;
    box-shadow: 0 0 10px #000;
    transition: 0.2s;
}


nav .brand {
    font-size: 1.5rem;
    width: 100%;
}

nav .brand a {
    color: #fff;
    /* list-style: none; */
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 700;
}

nav .brand a  img{
    height:100px;
}

nav .menu {
    display: flex;
    list-style: none;
    padding: 0;
    align-items: center;
}

nav .menu li {
    margin-left: 1rem;
    display: flex;
    justify-content: center;
}

nav .menu a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

nav .menu {
    transition: transform 0.3s ease-in-out;
}

/* Header Styles */
header {
    position: relative;
    /* Ensure the header is a positioned container */
    height: 800px;
    /* width: 100vw; */
    /* max-width: 1080px; */
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    overflow: hidden;
    /* Hide overflow content */
}

header img {
    position: absolute;
    /* Position absolutely */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ensure the image covers the header */
    object-fit: cover;
    /* Maintain aspect ratio and cover the header */
    object-position: center;
    
    z-index: -1;
    /* Move the image behind other content */
    filter:brightness(0.3);
}

header h1 {
    font-size: 2rem;
    text-shadow: 0 0 5px #000;
}

header a {
    color: #6AAF08;
    font-weight: 700;
}

header a:hover {
    color: #6aaf08b3;
}

header p {
    text-shadow: 0 0 5px #000;
}

/* Section Styles */
section {
    padding: 2rem;
    max-width: 920px;
    width: 920px;
    margin-left: 50%;
    transform: translateX(-50%);
}

#background-div {
    background-color: #19451d !important;
    color: #fff;
    /* width: 100vw; */
    /* max-width: 1080px; */
}

#background-div ul{ 
    padding:0;
    text-align:justify;
}

#background-div strong{
    font-weight:800;
    color: #6AAF08;
}

.about,
.features {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about img {
    max-width: 50%;
    margin-right: 1rem;
    box-shadow: 5px 5px 10px #000;
}

.features img {
    max-width: 50%;
    margin-left: 1rem;
    box-shadow: 5px 5px 10px #000;
}

.about .content,
.features .content {
    max-width: 50%;
    font-size: 14px;
    text-align: left;
}

.about p {
    text-align:justify;
}


.services {
    transition: 0.2s;
    text-align: center;
    /* max-width: 1080px; */
    /* width: 100vw; */
    background: #e5e5e5;
    box-shadow: 0 0 10px #000;
}

.services .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services .card {
    flex: 1 1 30%;
    margin: 1rem;
    padding: 1rem;
    border-radius: 4px;
    transition: 0.2s;
    box-shadow: 5px 5px 10px #000;
}

.services .card:hover {
    transition: 0.2s;
    background: #19451d;
    color: #fff;
}

.gallery {
    text-align: center;
}

.gallery img {
    width: 22%;
    margin: 1%;
    box-shadow: 5px 5px 10px #000;
    transition: 0.2s;
}

.gallery img:hover {
    box-shadow: 0px 0px 17px 5px #000;
}

.testimonials-background {
    /* height: 100vh; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    text-align: center;
}

.testimonial .image {
    height: 170px;
    width: 170px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial .slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 30px;
    height: 100%;
    width: 100%;
}

.slide p {
    text-align: center;
    padding: 0 160px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.slide .quote-icon {
    font-size: 30px;
    color: #c5d4ff;
}

.slide .details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.details .name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* swiper button css */
.nav-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transform: translateY(30px);
    background-color: rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.nav-btn::after,
.nav-btn::before {
    font-size: 20px;
    color: #fff;
}

.swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-pagination-bullet-active {
    background-color: #4070f4;
}

@media screen and (max-width: 768px) {}


.contact {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    /* width: 100vw; */
    /* max-width: 1080px; */
    box-shadow: 0 0 10px #000;
    background: #e5e5e5;
}

.contact p {
    text-align: justify;
}

/* Footer Styles */
footer {
    background-color: #2E1E13;
    color: white;
    text-align: center;
    width: 100%;
    /* max-width: 1080px; */
    padding-block: 1rem;
}

@media (max-width: 1024px) {
    nav .brand {
        width: 85%;
    }

    .services .card {
        flex: 1 1 45%;
    }

    .gallery img {
        width: 47%;
    }

    section {
        width: none;
        padding: 2rem;
        max-width: 1080px;
        width: auto;
        margin-left: 0;
        transform: none;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        width: 15%;
        z-index: 10;
    }

    .menu .hamburger {
        width: 0;
        position: absolute;
        bottom: 50px;
    }

    nav {
        position: fixed;
        width: 100vw;
        padding: 5%;
        top: 0;
        flex-direction: column;
        height: 50px;
        z-index: 999;
    }

    nav>div {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    nav .menu {
        flex-direction: column;
        display: flex;
        width: 100vw;
        height: 100vh;
        background-color: #2E1E13;
        position: absolute;
        top: -1rem;
        left: 100%;
        z-index: 0;
        transition: 1s;
        justify-content: center;
        align-content: center;
    }

    nav .menu.active {
        top: -1rem;
        left: 0;
    }

    nav .menu li {
        margin: 0;
        text-align: center;
        padding: 1rem 0;
    }

    header {
        margin-top: 40px;
        max-height: 550px;
    }

    .about,
    .features {
        flex-direction: column;
    }

    .about img,
    .features img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .about .content,
    .features .content {
        max-width: 100%;
    }

    .features img {
        margin-top: 20px;
    }

    .services .card {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    /* .gallery img {
        width: 100%;
        margin: 0.5rem 0;
    } */

    .testimonial {
        width: 100%;
    }

    .slide p {
        padding: 0 20px;
    }

    .nav-btn {
        display: none !important;
    }
}

@media (max-width: 399.9px) {
    .gallery img {
        width: 100%;
        margin: 0.5rem 0;
    }
}


/* Call Now Button */
#callnowbutton {
    display: none;
}

@media screen and (max-width: 650px) {
    #callnowbutton {
        position: fixed;
        right: 10px;
        padding: 10px 20px;
        z-index: 9999;
        cursor: pointer;
        bottom: 10px;
        display: inline-block;
        background-color: #81d742;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
        border: none;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
        -ms-transition: .3s;
    }

    #callnowbutton a img {
        height: 2em;
    }
}
/* END Call Now Button */