* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;

}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



.container {
    width: 100%;
    background-color: rgba(0, 128, 128, 1);
    overflow: hidden;

}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 0;
}

nav .logo {
    width: 163px;
    height: 82px;
    margin: 0px 0px 0px 80px;


    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    width: 100%;
    margin-left: 180px;
    text-align: right;
    padding-right: 30px;
}

nav ul li {
    display: inline-block;
    margin: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    height: 30px;
    font-size: 25px;
}

nav .menu {
    display: none;
}

nav .search {
    padding-right: 60px;
}

nav h6 {
    color: white;
    padding-left: 10px;
    padding-right: 40px;
    font-size: 25px;
}


/* Services Section Styling */
.services {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
    width: 100%;
    height: auto;
}

.services h1 {
    color: #008080;
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.services p {
    font-size: 16px;
    color: #666;
    margin-bottom: 60px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    height: 200px;
}

.service-item img {

    width: 100%;
    height: 130px;
    margin-bottom: 10px;
}

.service-item h3 {
    color: #454d4d;
    font-size: 22px;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #666;
    width: 500px;
}

.service-item img {
    .service-item img {
        width: 100%;
        /* Responsive width */
        max-width: 300px;
        /* Maximum width for larger screens */
        height: 200px;
        /* Maintains aspect ratio */
        margin-bottom: 20px;
    }

}



footer {
    width: 100%;
    height: 430px;
    background-color: rgba(217, 217, 217, 1);
}

footer div h2 {
    margin-left: 80px;
    padding-top: 40px;

}

footer div input {
    width: 364px;
    height: 52px;
    margin-left: 80px;
    margin-top: 20px;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: left;
    padding: 10px 10px;
    background-color: white;

}

footer div .sign-up {

    background-color: rgba(51, 51, 51, 1);
    /* Green background */
    color: white;
    /* White text */
    padding: 15px 32px;
    /* Padding around text */
    font-size: 16px;
    /* Font size */
    border: none;
    /* Remove borders */
    border-radius: 4px;
    /* Rounded corners */
    cursor: pointer;
    /* Change cursor on hover */
    text-align: center;
    /* Center text inside button */


}

.footer-container {
    display: flex;
    /* Aligns the child divs (foot-info) in a row */
    justify-content: space-between;
    /* Adds space between the divs */
    align-items: center;
    /* Aligns the divs to the top (you can change it to 'center' if you prefer) */
    /* background-color: #f1f1f1; Optional background for the footer */
    padding: 20px;
    /* Adds padding around the footer */
    flex-wrap: wrap;
    /* Allows wrapping in case the screen width is smaller */
}

.foot-info {
    flex: 1;
    /* Makes the divs flexible, adjusting the width automatically */
    margin: 10px;
    /* Adds space around each div */
    max-width: 300px;
    align-items: center;
    /* Limits the maximum width of each div */
}

.foot-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-right: 40px;
}

.foot-info p {
    margin-left: 80px;
}

.footer-end {
    display: flex;
    background-color: rgba(0, 128, 128, 1);
    color: white;
    height: 52px;
}

.footer-end p {
    margin-left: 80px;
    text-align: center;
    margin-right: 700px;
    padding-top: 20px;
}

.footer-end img {
    margin: 10px 10px;
    color: none;
    margin-left: 20px;
}


.foot-info a {
    display: none;
}



@media(max-width: 768px) {
    .container {
        width: 100%;
        height: 100px;
        overflow-x: hidden;
    }

    html,
    body {
        overflow-x: hidden;
    }

    nav {
        padding: 10px;
        justify-content: space-between;
    }

    nav .logo {
        margin-left: 20px;
    }

    nav ul {
        display: none;
        /* Hide the full menu */
        flex-direction: column;
        position: absolute;
        top: 60px;
        /* Place the menu below the nav bar */
        right: 0;
        background-color: rgba(0, 128, 128, 1);
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    nav ul li {
        margin: 15px 0;
    }

    nav ul li a {
        font-size: 20px;
        /* Slightly smaller font */
    }

    nav .menu {
        display: block;
        /* Show the hamburger menu icon */
        cursor: pointer;
        margin-right: 20px;
        color: white;
        font-size: 30px;
    }

    nav .menu {
        display: block;
        /* Show the hamburger menu icon */
        cursor: pointer;
        margin-right: 20px;
        color: white;
        font-size: 30px;




        /* Toggle the menu visibility when clicking the hamburger icon */
        nav ul.show {
            display: flex;
        }

        nav .search {
            padding-right: 20px;
        }

        nav h6 {
            font-size: 20px;
            padding-right: 10px;
        }

        nav .logo {
            width: 105px;
            height: 70px;
            margin-left: 40px;
            margin-top: 10px 10px;
        }

        nav .menu {
            display: block;
            /* color: rgb(0, 0, 0); */
            height: 1px;
            width: 5px;
            margin-bottom: 40px;
            margin-right: 80px;
            padding-right: 20px;
        }

        nav ul,
        .user,
        h6 {
            display: none;
        }

        .image-container img {
            width: 100%;
            height: 200px;

        }



        footer {
            width: 100%;
            height: 600px;
            background-color: rgba(217, 217, 217, 1);
        }

        .foot-info a {
            margin-left: 80px;
        }

        .footer-end {
            display: flex;
            background-color: rgba(0, 128, 128, 1);
            color: white;
            height: 52px;
        }

        .footer-end p {
            margin-left: 40px;
            text-align: center;
            margin-right: 100px;
            padding-top: 20px;
        }

        .footer-end img {
            margin: 10px 10px;
            color: none;
            margin-left: 20px;
            width: 30px;
            height: 30px;
        }

        .foot-info a {
            display: block;
        }

    }


    @media (max-width: 480px) {
        .container {
            width: 100%;
            height: auto;
            overflow-x: hidden;
        }

        html,
        body {
            overflow-x: hidden;
            padding: 0;
            margin: 0;
        }

        nav {
            flex-direction: row;
            padding: 10px;
            justify-content: space-between;
            align-items: center;
        }

        nav .logo {
            width: 80px;
            height: 60px;
            margin-left: 0;
        }

        nav ul {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 60px;
            right: 0;
            background-color: rgba(0, 128, 128, 1);
            width: 100%;
            padding: 10px;
            text-align: center;
        }

        nav ul li {
            margin: 10px 0;
        }

        nav ul li a {
            font-size: 18px;
        }



        nav .menu {
            display: block;
            font-size: 10px;
            height: 1px;
            width: 5px;

            margin-bottom: 50px;
            margin-right: 50px;
            padding-right: 30px;
        }

        nav .menu a img {
            height: 10px;
            width: 10px;
        }

        nav .search {
            padding-right: 10px;
        }

        nav h6 {
            font-size: 16px;
            padding-right: 0;
        }





        footer {
            height: auto;
        }

        footer div h2 {
            margin-left: 20px;
            padding-top: 10px;

        }

        footer div input {

            height: 32px;
            margin-left: 10px;
            margin-right: 10px;
            margin-top: 20px;
            border: 1px solid gray;
            border-radius: 5px;
            text-align: left;
            padding: 5px 5px;
            background-color: white;

        }

        footer div .sign-up {
            width: 80px;
            height: 32px;
            background-color: rgba(51, 51, 51, 1);
            /* Green background */
            color: white;
            margin-top: 10px;
            margin-left: 10px;
            /* White text */
            padding: 5px 5px;
            /* Padding around text */
            font-size: 16px;
            /* Font size */
            border: none;
            /* Remove borders */
            border-radius: 4px;
            /* Rounded corners */
            cursor: pointer;
            /* Change cursor on hover */
            text-align: center;
            /* Center text inside button */


        }

        .footer-container a {
            margin-left: 80px;
        }

        .footer-end {
            display: flex;
            background-color: rgba(0, 128, 128, 1);
            color: white;
            height: 52px;
        }

        .footer-end p {
            margin-left: 10px;
            text-align: center;
            margin-right: 10px;
            padding-top: 20px;
            font-size: 12px;
        }

        .footer-end img {
            margin: 10px 10px;
            color: none;
            margin-left: px;
            width: 20px;
            height: 20px;
            align-items: center;
        }

        .foot-info a {
            display: block;
        }

    }
}