* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --Primary-Color: #4CAF50;
    --Secondary-Color: #FFA500;
}



@media screen and (max-width: 700px) {
    .navbar__main__list {
        position: absolute;
        top: 59px;
        left: 0px;
        background-color: rgba(0, 0, 0, 0.963);
        color: white;
        width: 250px;
        transition: opacity 0.5s ease, transform 0.5s ease;
        opacity: 0;
        transform: translateX(-100%);
        pointer-events: none;
        padding: 50px 10px;
        /* Prevent clicking when hidden */
    }

    .navbar_response_icon {
        display: block;
    }

    .navbar__main__list ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar__main__list ul li {
        padding: 8px;
    }

    .navbar__main__list ul li a {
        color: white;
    }

    .contact__navbar {
        display: none;
    }


    /* *************************** End of navbar section code ********************** */

    /* main section****************** */

    .main__section {
        width: 100%;
        height: 100%;
        margin: auto;
    }

    .main__section__text {
        width: 100%;
        padding: 15px;
    }

    .main__section__text h2 {
        margin:3px;
        letter-spacing: 3px;
    }

    .main__section__text p {
        padding-bottom: 15px;
        text-align: justify;
    }

    .text__button button {
        background-color: var(--Primary-Color);
        border: none;
        outline: none;
        cursor: pointer;
        font-size: 16px;
        margin: 0px 5px;
        border-radius: 5px;
    }

    .contact__navbar a {
        font-size: 15px;
    }

    /* about section */
    .about__section {
        padding: 20px;
    }

    .about__main {
        flex-direction: column;
        align-items: center;
    }

    .about__text {
        margin: 0 0 20px 0;
        text-align: center;
    }

    .about__text h2 {
        font-size: 20px;
    }

    .about__text p {
        font-size: 16px;
        line-height: 28px;
    }

    .about__text button {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .about__img {
        max-width: 100%;
    }

    .about__img img {
        height: auto;
    }
}



/* **************************** service section ************************** */

@media (max-width: 750px) {
    .services__section {
        padding: 20px;
    }

    .services__title {
        font-size: 20px;
    }

    .services__container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .service__card {
        max-width: 100%;
    }

    .service__img {
        height: auto;
    }

    .service__card h3 {
        font-size: 18px;
    }

    .service__card p {
        font-size: 16px;
        padding: 10px;
    }
}


/* ********************* product section ****************** */
@media (max-width: 750px) {
    .products__section {
        padding: 20px;
    }

    .products__title {
        font-size: 20px;
    }

    .products__container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .product__card {
        max-width: 90%;
    }

    .product__img {
        height: auto;
    }

    .product__card h3 {
        font-size: 18px;
    }

    .product__card p {
        font-size: 16px;
        padding: 10px;
    }
}


/* *************************** contact us ******************* */

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-us {
        width: 95%;
        /* Adjust width for small screens */
        padding: 10px;
    }

    .contact-intro p {
        font-size: 14px;
        /* Smaller font size for better readability */
        line-height: 1.4;
    }

    .contact-form {
        padding: 15px;
        /* Reduced padding for compact design */
    }

    .contact-form h3 {
        font-size: 16px;
        /* Slightly smaller heading */
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.9rem;
        /* Adjust input font size */
        padding: 0.6rem;
        /* Smaller padding for inputs */
    }

    .contact-form .contact-time {
        flex-direction: column;
        /* Stack options vertically */
        gap: 0.8rem;
    }

    .time-option {
        padding: 0.5rem;
        /* Compact padding */
        font-size: 0.9rem;
        /* Smaller font size */
    }

    .footer-social {
        flex-direction: column;
        /* Stack social icons vertically */
        gap: 10px;
    }

    .footer-social li a {
        font-size: 20px;
        /* Smaller icon size */
    }
}



/* Class to show the navbar */
.navbar_icon_used {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    /* Enable clicking when visible */
}