* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --Primary-Color: #4CAF50;
    --Secondary-Color: #FFA500;
}

/******************** HEADER SECTION START ********************/

/* HEADER CONTAINER */
.header__container {
    width: 100%;
    padding: 5px 0;
    background-color: whitesmoke;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* LOGO CONTAINER */
.logo__section img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 0;
    /* Adjusted to remove unwanted top margin */
}

/* NAVBAR CONTAINER */
.nav__section {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__main__list ul,
.contact__navbar {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    /* Reset margin and padding for proper alignment */
}

.navbar__main__list ul li a,
.contact__navbar li a {
    color: black;
    font-size: 16px;
    text-decoration: none;
}

.navbar__main__list ul li a:hover,
.contact__navbar li a:hover {
    color: var(--Primary-Color);
    font-weight: bold;
    transition: all 0.5s ease;
}

/* CONTACT CONTAINER */
.contact__navbar li a {
    color: white;
    background-color: var(--Primary-Color);
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
}

.contact__navbar li a:hover {
    background-color: white;
    border: 1px solid var(--Primary-Color);
    transition: all 0.5s ease;
}

/* NAVBAR RESPONSIVE BUTTON */
.navbar_response_icon {
    padding: 6px 8px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    display: none;
    background-color: transparent;
    /* Ensure no background for button */
    color: black;
    /* Match the navbar color */
}


/******************** MAIN SECTION START ********************/

.main__section {
    width: 100%;
    height: 90vh;
    background-image: url('../images/Background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__section__text {
    width: 80%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main__section__text h2 {
    color: var(--Primary-Color);
    border-bottom: 2px solid var(--Primary-Color);
    letter-spacing: 5px;
}

.main__section__text p {
    padding-top: 10px;
    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;
}

.text__button button:hover {
    background: none;
    transform: scale(1.05);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: all 0.5s ease;
}

.text__button button a {
    text-decoration: none;
    color: white;
    padding: 12px 17px;
    display: block;
    transition: all 0.5s ease;
}

.text__button button a:hover {
    color: var(--Primary-Color);
}

/******************** ABOUT SECTION START ********************/

/* MANAGER MESSAGE CONTAINER */
.about__section {
    padding: 20px 50px;
    background-color: #FFFFF0;
}

.about__main {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about__text {
    flex: 1;
    margin-right: 50px;
}

.about__text h2 {
    color: var(--Secondary-Color);
    padding-bottom: 10px;
    font-size: 24px;
}

.about__text span {
    color: #666;
    font-weight: bold;
}

.about__text p {
    color: #666;
    padding: 10px 0px;
    font-size: 18px;
    text-align: justify;
    line-height: 33px;
}

.about__text button {
    background-color: var(--Secondary-Color);
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
}

.about__text button:hover {
    background-color: #FF8C00;
    transform: scale(1.05);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: all 0.5s ease;
}

/* MANAGER IMAGE CONTAINER */
.about__img {
    flex: 1;
    max-width: 350px;
}

.about__img img {
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

/******************** SERVICES SECTION START ********************/

.services__section {
    padding: 40px;
    background-color: #FFF5EE;
}

.services__title {
    color: var(--Secondary-Color);
    padding-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.services__container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service__card {
    background-color: white;
    max-width: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service__card h3 {
    color: var(--Primary-Color);
    font-size: 20;
    text-align: center;
}

.service__card p {
    color: #666;
    padding: 10px;
    text-align: justify;
}

/******************** product section **********************************/

.products__section {
    padding: 40px;
    background-color: #FFFFF0;
}

.products__title {
    color: var(--Secondary-Color);
    padding-bottom: 20px;
    font-size: 24px;
    text-align: center;
    margin-top: 5px;
}

.products__container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product__card {
    background-color: white;
    max-width: 270px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 5px;
}

.product__card h3 {
    color: var(--Primary-Color);
    font-size: 20px;
    text-align: center;
}

.product__card p {
    color: #666;
    padding: 10px;
    text-align: justify;
}


/* ************************** start in installtion section ********** */

.installation {
    margin: 0;
    padding: 0;
    background-color: black;
    font-family: Arial, sans-serif;
    color: #fff;
}

.installation_header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #383636;
    margin-bottom: 2rem;
}

.installation_header h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.installation_header p {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 0.5rem;
}

.card-container {
    padding: 2rem 1rem;
}

.installation .card {
    background-color: #000;
    color: #fff;
    text-align: center;
    border: none;
}

.icon-circle {
    width: 150px;
    height: 150px;
    padding: 25px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
}

.icon-circle img {
    border-radius: 40px;
    width: 90%;
    height: 90%;
}

.number-circle {
    position: absolute;
    bottom: -10px;
    background-color: #28a745;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1.5rem;
}

.description {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.5rem;
}


/******************** CONTACT SECTION START ********************/

.contact__section {
    padding: 40px;
    background-color: #FFF5EE;
}

.contact__section h2 {
    color: var(--Secondary-Color);
    padding-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.contact__container {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact__card {
    background-color: white;
    width: 250px;
    height: 250px;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact__card i {
    color: var(--Secondary-Color);
    font-size: 40px;
}

.contact__card h3 {
    color: var(--Primary-Color);
    font-size: 18px;
}

.contact__card p {
    color: #666;
}

/******************** GALLERY SECTION START ********************/

.gallery__section {
    padding: 20px; /* Reduce padding for mobile */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery__container {
    display: grid;
    margin: auto;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 100%; /* Ensure the container does not exceed viewport width */
    width: 100%; /* Occupy the full width of the parent */
    box-sizing: border-box; /* Include padding in width calculation */
}

.gallery__item {
    overflow: hidden;
    position: relative; /* For better control of image positioning */
}

.gallery__item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.gallery__item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
    .gallery__container {
        grid-template-columns: 1fr; /* Single column layout */
        padding: 0; /* Remove any extra padding */
    }
    
    .gallery__section {
        padding: 10px; /* Adjust padding for smaller screens */
    }
}




/****************** contact us page ****************/

.contact-us {
    width: 60%;
    margin: 20px auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-intro p {
    font-size: 18px;
    font-weight: 500;
}

.contact-form {
    padding: 30px;
    max-width: 700px;
    margin: 0 auto 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--Primary-Color);
    font-size: 18px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.contact-form label {
    font-size: 1rem;
    color: #444;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form .contact-time {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.contact-form button {
    background-color: var(--Secondary-Color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.contact-form button:hover {
    background-color: #FF8C00;
    transform: scale(1.05);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.contact-time {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.time-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-option:hover {
    background-color: #ffa500;
    border-color: #ffa500;
    color: #fff;
}

.time-option input[type="radio"] {
    display: none;
}

.time-option span {
    font-size: 1rem;
    color: #444;
}

.time-option input[type="radio"]:checked+span {
    font-weight: bold;
    color: #004d40;
}

.social-media {
    text-align: center;
    margin-top: 2rem;
}

.social-media h3 {
    color: var(--Primary-Color);
    font-size: 18px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-social li {
    display: inline-block;
    border-radius: 50%;
}

.footer-social li a {
    color: black;
    font-size: 25px;
    display: block;
    padding: 3px 10px;
}

.footer-social li:hover {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    transition: all 0.5s;
}

.footer-social li a:hover {
    color: var(--Secondary-Color);
    transition: all 0.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;
    }

    .contact-form {
        width: 100%;
        padding: 1.5rem;
    }
}

/* *************** preloader ******************** */

.preloader {
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* Ensure it appears on top */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Prevent scrolling while preloader is visible */
}

/* Preloader image specific to mobile */
.preloader img {
    max-width: 80%;
    /* Ensure image fits within mobile screens */
    max-height: 80%;
    /* Prevent image overflow */
    object-fit: contain;
    /* Ensure the image scales properly */
}

/* Hide preloader after page load */
.preloader.hidden {
    display: none;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .preloader {
        padding: 10px;
        /* Add some padding for small screens */
    }

    .preloader img {
        max-width: 60%;
        /* Further reduce image size for smaller devices */
    }
}

