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

a.button {
    padding: 5px 15px;
    background: #ffb900;
    border-radius: 2px;
    text-decoration: none;
    color: #18284b !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: #c2212a;
    color: #fff !important;
    box-shadow: 2px 2px 0px 3px #000;
}

/* Navigation Styles */
nav {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 6rem;
    background-color: #18284b;
    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;
    width: 100%;
    height: 100%;
}

nav .brand a img {
    height: 95px;
    width: auto;
}

@media (max-width:768px) {
    nav .brand a img {
        /* width: 100px; */
        max-height: 70px;
        transform: translate(0, -25%);
    }
}

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;
}

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

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: top;
    z-index: -1;
    /* Move the image behind other content */
    filter: brightness(70%);
}


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

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

header a:hover {
    color: #e92d38;
}

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: #18284b !important;
    color: #fff;
}

.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;
}



.services {
    transition: 0.2s;
    text-align: center;
}

.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: #18284b;
    color: #fff;
}

.gallery {
    text-align: center;
}

.gallery img {
    width: 22%;
    margin: 1%;
    height: 200px;
    object-fit: cover;
    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;
}

/* Footer Styles */
footer {
    background-color: #18284b;
    color: white;
    text-align: center;
    padding: 1rem;
}

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

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

    .gallery img {
        width: 47%;
    }

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

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

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

    nav {
        position: fixed;
        width: 90%;
        padding: 5%;
        top: 0;
        flex-direction: column;
        height: 40px;
        padding-top: 30px;
        padding-bottom: 30px;
        z-index: 1000;
    }

    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: #061129;
        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;
    }

    .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%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .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;
    }

    .about h2, .about p, .contact h2 {
        text-align: center;
    }
}



#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;
    }
}