@media(max-width: 768px) {
    .container {
        width: 100%;
        height: auto;
        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;
    }

    /* Toggle the menu visibility when clicking the hamburger icon */
    nav ul.show {
        display: flex;
    }




    nav .logo {
        width: 105px;
        height: 70px;
        margin-left: 40px;
        margin-top: 10px 10px;
    }

    nav .menu {
        display: block;
        color: rgb(255, 255, 255);
        height: 10px;
        width: 5px;
        margin-bottom: 20px;
        /* margin-right: 136px; */
        padding-right: 30px;
    }


    nav ul {
        display: none;
    }

    nav ul.show {
        display: flex;
        z-index: 10;
    }



    .text-overlay,
    .custom-button1,
    .custom-button2 {
        z-index: 1;

    }


    .image-container img {
        width: 100%;
        height: 200px;

    }

    image-container img {
        width: 100%;
        max-width: 80vw;
        /* Ensure image width doesn't exceed the viewport width */
        height: 200px;
        /* Maintain aspect ratio */
        object-fit: cover;
    }

    .text-overlay {

        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);

        color: white;
        font-size: 14px;
        font-weight: 600;

        white-space: nowrap;
        object-fit: cover;
        text-overflow: ellipsis;
    }

    .custom-button1 {
        position: absolute;
        top: 40%;
        left: 40%;
        transform: translate(-50%, -50);

        width: 100px;
        height: 24px;
        background-color: rgba(34, 101, 173, 1);
        border: none;
        color: white;
        padding: 5px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 10px;
        font-weight: small;
        margin: 5px 5px;
        margin-bottom: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .custom-button2 {
        position: absolute;
        top: 40%;
        left: 60%;
        transform: translate(-50%, -50);

        width: 100px;
        height: 24px;
        background-color: rgba(131, 191, 255, 1);
        border: none;
        color: white;
        padding: 5px 15px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 10px;
        font-weight: small;
        margin: 5px 5px;
        margin-bottom: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .text-container {
        height: 130px;
        background-color: rgb(255, 255, 255);
        margin-top: 20px;
        margin-right: 20px;
    }

    .text-container h2 {
        padding-top: 10px;
        font-size: 20px;
        text-align: center;

    }

    .text-container p {
        display: block;
        color: black;
        font-size: 15px;

    }

    .container3 {
        flex-direction: column;
        padding: 20px;
        height: 710px;
        margin-top: 30px;
        /* Adjust height based on content */
    }

    .product {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .product img {
        width: 100%;
        height: auto;
        /* Adjust height to maintain aspect ratio */
        margin-right: 0;
        margin-bottom: 20px;
        margin-top: 10px;
        /* Add space below the image */
        align-self: center;
        /* Center the image */
    }

    .content {
        width: 100%;
        margin-top: 10px;
        /* Take full width on small screens */

    }

    .container3 h2 {
        font-size: 20px;
        text-align: center;
        /* margin-bottom: 10p; */
        margin-top: 470px;

    }

    .container3 p {
        width: 90%;
        font-size: 12px;
        margin: 10px;
        /* text-align: center; */
        margin-right: 80px;

    }

    .custom-button3 {
        width: 90%;
        height: 40px;
        font-size: 15px;
        margin-right: 40px;

        align-items: center;
        box-sizing: border-box;
    }

    .key-benifites {
        height: auto;
        background-color: rgba(245, 245, 245, 1);
    }

    .key h2 {
        padding-top: 25px;
        font-size: 30px;
        text-align: center;

    }

    .key p {
        font-size: 18px;
        margin-left: 80px;
        margin-right: 80px;

        padding-top: 20px;
        color: 1A1A1A;
    }

    .benifites {
        display: flex;
        margin-top: 20px;
        margin-right: 40px;
        margin-left: 10px;
        padding-bottom: 10px;

    }

    .benifites div {

        display: flex;
        margin-left: 80px;
        margin-bottom: 10px;

        /* gap: 30px; */
        justify-content: space-between;
        flex-direction: column;
        /* Align items in a column (stacked vertically) */
        justify-content: center;
        /* Center items vertically */
        align-items: center;
        /* Center items horizontally */
        height: 35vh;
        /* Full viewport height */
        text-align: center;
        /* Align text center */


    }

    .benifites img {
        width: 44px;
        height: 44px;
        margin-bottom: 20px;
    }

    .benifites h2 {
        margin: 10px 0px;
    }

    .benifites p {
        margin: 20px 0px;
    }


    .prod-cat {
        height: 100px;
        /* Let height adjust based on content */
    }

    .prod-cat h2 {
        font-size: 23px;
        /* Adjust font size for better readability */
        padding-top: 20px;
    }

    .prod-cat p {
        font-size: 15px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .prod-cat {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .item-details {
        width: calc(50% - 20px);
        /* Two columns with space between */
        border: 2px solid gray;
        height: 140px;
        margin: 20px 10px;
        text-align: start;
    }

    .item-details h2 {
        font-size: 16px;
        text-align: start;
    }

    .item-details p {
        font-size: 12px;
        text-align: start;
    }

    .item-details h3 {
        font-size: 14px;
        text-align: start;
    }

    .results {
        flex-direction: row;
        /* Stack items vertically */
        align-items: center;
        margin-top: 600px;
    }

    .results h2 {
        font-size: 26px;
        /* Reduce heading size */
    }

    .results p {
        font-size: 14px;
        /* Reduce heading size */
    }

    .order-now {
        width: 240px;
        /* Reduce width for smaller screens */
        height: 70px;
        /* Let the height adjust */
        flex-direction: row;
        /* Stack content vertically */
        text-align: center;
        padding: 10px 10px;
    }

    .order h2 {
        font-size: 20px;
        /* Smaller heading size */
        margin-left: 40px;
        text-align: center;
        /* Center text on smaller screens */
    }

    .order p,
    .order button {
        margin-left: 10px;
        margin-right: 20px;
        text-align: center;
    }

    .order-now {
        margin-top: 20px;

    }

    div table {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }

    th,
    td {
        padding: 8px;
        font-size: 12px;
        /* Adjust font size for smaller screens */
        text-align: left;
    }

    th {
        font-size: 14px;
        /* Slightly larger font for headers */
        background-color: rgba(0, 128, 128, 1);
        color: white;
    }

    td {
        font-size: 12px;
        background-color: rgba(245, 245, 245, 1);
        color: rgb(53, 53, 53);
    }

    /* If needed, stack the table content for extremely small screens */
    table,
    th,
    td {
        display: block;
        width: 100%;
    }

    /* Remove horizontal borders to avoid overflow on mobile */
    th,
    td {
        border: none;
        border-bottom: 1px solid black;
    }

    th {
        background-color: rgba(0, 128, 128, 1);
        color: white;
        text-align: center;
    }

    /* Add some spacing and padding for better touch responsiveness */
    table {
        margin: 0 auto;
        padding: 10px;

        footer {
            width: 100%;
            height: 800px;
            background-color: rgba(217, 217, 217, 1);
        }

        .foot-info a {
            flex: 1;
            max-width: 300px;
            align-items: center;

        }

        .footer-end {
            display: flex;
            background-color: rgba(0, 128, 128, 1);
            color: white;
            height: 52px;
        }

        .footer-end p {
            margin-left: 20px;
            text-align: center;
            /* margin-right: 100px; */
            padding-top: 10px;
            font-size: 15px;

        }

        .footer-end img {
            margin: 10px 10px;
            color: none;
            margin-left: 20px;
            width: 30px;
            height: 30px;
        }




    }

}

/* For mobile responsiveness */

@media (max-width: 480px) {
    .container {
        width: 100%;
        height: 100px;
        overflow-x: hidden;
    }

    html,
    body {
        overflow-x: hidden;

    }

    nav {
        flex-direction: row;

        justify-content: space-between;

    }

    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: flex;
        font-size: 25px;

        margin-bottom: 20px;
        margin-right: 50px;
        padding-right: 10px;

    }

    nav ul.show {
        display: flex;
        z-index: 10;
    }

    .image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .text-overlay,
    .custom-button1,
    .custom-button2 {
        z-index: 1;
        /* Lower z-index to ensure these elements go behind the menu */
    }

    .text-overlay {
        font-size: 12px;
        text-align: center;
        position: absolute;
        top: 30%;
        object-fit: cover;
        left: 50%;
        z-index: 1;
    }

    .custom-button1 {
        width: 90px;
        height: 30px;
        font-size: 12px;
        position: absolute;
        top: 40%;
        left: 35%;
        z-index: 2;
    }

    .custom-button2 {
        width: 90px;
        height: 30px;
        font-size: 12px;
        position: absolute;
        top: 40%;
        left: 70%;
    }



    .text-container h2 {
        font-size: 18px;
        text-align: center;
    }

    .text-container p {
        font-size: 14px;
        text-align: center;
    }

    .container3 {
        padding: 15px;
        height: 500px;
        margin-top: 10px;
    }

    .product img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .content {
        width: 90%;
        margin: 0;
        padding: 0;
    }

    .container3 h2 {
        font-size: 20px;
        margin-top: 250px;
        margin-right: 30px;
    }

    .container3 p {
        font-size: 12px;
        text-align: center;
    }

    .custom-button3 {
        width: 90%;
        height: 40px;
        font-size: 14px;
        text-align: center;
    }

    .key-benifites {
        height: auto;
    }

    .key h2 {
        font-size: 22px;
        text-align: center;
        margin-top: 10px;
    }

    .key p {
        font-size: 14px;
        margin: 10px;
    }

    .benifites {
        display: flex;
        flex-direction: column;
        /* margin-left: 10px; */
        /* margin-right: 10px; */
        padding-bottom: 10px;
        align-items: center;

    }

    .benifites div {
        /* justify-content: center; */
        align-items: center;
        margin-left: 30px;


    }

    .benifites img {
        width: 36px;
        height: 36px;
        margin-left: 30px;
        margin-bottom: 20px;
        align-items: center;
    }

    .benifites h2,
    .benifites p {
        font-size: 14px;
        text-align: center;
    }

    .prod-cat {
        flex-direction: column;
        height: auto;
    }

    .prod-cat h2 {
        font-size: 18px;
        padding-top: 15px;
    }

    .prod-cat p {
        font-size: 14px;
        margin: 10px;
    }

    .item-details {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }

    .item-details h2 {
        font-size: 14px;
    }

    .item-details p {
        font-size: 12px;
    }

    .results {
        flex-direction: column;
        margin-top: 30px;
        align-items: center;
    }

    .results h2 {
        font-size: 22px;
        margin-bottom: 10PX;
    }

    .results p {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .order-now {
        width: 100%;
        height: auto;
        text-align: center;
        padding: 5px;
    }

    .order h2 {
        font-size: 18px;
        text-align: center;
    }

    .order p,
    .order button {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    div table {
        width: 100%;
        margin-left: 60px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    th,
    td {
        padding: 8px;
        font-size: 12px;
        /* Adjust font size for smaller screens */
        text-align: left;
    }

    th {
        font-size: 14px;
        /* Slightly larger font for headers */
        background-color: rgba(0, 128, 128, 1);
        color: white;
    }

    td {
        font-size: 12px;
        background-color: rgba(245, 245, 245, 1);
        color: rgb(53, 53, 53);
    }

    /* If needed, stack the table content for extremely small screens */
    table,
    th,
    td {
        display: block;
        width: 100%;
    }

    /* Remove horizontal borders to avoid overflow on mobile */
    th,
    td {
        border: none;
        border-bottom: 1px solid black;
    }

    th {
        background-color: rgba(0, 128, 128, 1);
        color: white;
        text-align: center;
    }

    /* Add some spacing and padding for better touch responsiveness */
    table {
        margin: 0 auto;
        padding: 10px;
    }

    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;
    }

}