/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
.logo img {
    width: 140px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    max-height: 100px; /* Optional: Set a maximum height */
  }
  


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #395760;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .nav-links {
    display: none; /* Initially hide links */
}

.navbar.show .nav-links {
    display: flex; /* Show links when the class 'show' is added */
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row; /* Arrange links horizontally for desktop */
    gap: 15px; /* Add spacing between links */
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: orange;
}

/* Only logo is visible by default */
.navbar .logo {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}


/* Always show nav-links in desktop view */
@media (min-width: 769px) {
    .navbar .nav-links {
        display: flex !important; /* Show menu */
        flex-direction: row; /* Horizontal menu */
        gap: 15px; /* Space between menu items */
        position: static; /* Default positioning */
        background-color: transparent; /* No background */
        box-shadow: none; /* Remove shadow */
        width: auto; /* Default width */
        padding: 0; /* No padding */
    }
    .nav-links a {
        padding: 10px 20px; /* Add spacing for dropdown links */
        text-align: center;
    }

}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none; /* Hide menu initially */
        flex-direction: row; /* Vertical menu */
        position: absolute;
        top: 100%; /* Show below navbar */
        left: 0;
        width: 100%; /* Full width */
  background-color: #395760(51, 51, 51, 0.4); /* 0.8 is the transparency level */; /* Background for dropdown */
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Dropdown shadow */
    }

    .navbar.show .nav-links {
        display: flex; /* Show menu when toggled */
    }
}

   




/* Hero Section */
.hero {
    width: 90%;
    height: 400px;
    margin: 100px auto 20px; /* Adjusted top and bottom margins */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.hero img.active {
    opacity: 1;
}

/* About Section */
.about {
    text-align: center;
    color: #395760;
    padding: 40px 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 20px auto; /* Reduced margin to make spacing consistent */
}

.about h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
}

 /* WhatsApp Section */
 .whatsapp-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
    background-color: #f9f9f9;
}

.whatsapp-section .left-image {
    flex: 1 1 45%;
    position: relative;
}

.whatsapp-section .left-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-section .left-image .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
}

.whatsapp-section .right-text {
    flex: 1 1 45%;
    text-align: center;
}

.whatsapp-section .right-text h2 {
    font-size: 28px;
    color: #395760;
    margin-bottom: 20px;
}

.whatsapp-section .right-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}



 /* Responsive CSS */
 @media (max-width: 768px) {
    .whatsapp-section {
        flex-direction: column;
    }

    .whatsapp-section .left-image, .whatsapp-section .right-text {
        flex: 1 1 100%;
    }

    .whatsapp-section .right-text {
        margin-top: 20px;
    }

    .whatsapp-section .left-image .overlay-text {
        font-size: 14px;
        padding: 10px;
    }

    .whatsapp-section .right-text h2 {
        font-size: 20px;
    }

    .whatsapp-section .right-text p {
        font-size: 16px;
    }
}


/* Products Section */
.products {
    padding: 40px 20px;
}





/* Products Section */
.products {
    padding: 40px 20px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
    padding: 10px;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Projects Section */
.projects {
    padding: 40px 20px;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project {
    flex: 1 1 calc(25% - 20px);
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
    padding: 10px;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}






/* Why Choose Us Section */
/* .why-choose-us {
    position: relative;
    padding: 50px 20px;
    text-align: center;
    background: url('/banner/pexels-heyho-7214467.jpg') no-repeat center/cover; 
    background-size: cover;
} */

.why-choose-container {
    background: url('/banner/pexels-heyho-6585747.jpg') no-repeat center/cover; /* Slightly increase opacity for better readability */
    backdrop-filter: blur(15px); /* Apply blur to the background */
    padding: 40px 20px;
    border-radius: 20px; /* Make the edges more rounded */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); /* Enhance the shadow for better contrast */
    max-width: 1200px;
    margin: auto;
}

.why-choose-us h2 {
    font-size: 32px;
    color:white;
    margin-bottom: 10px;
    font-weight: bold;
}

.why-choose-us h3 {
    font-size: 20px;
    color: white;
    margin-bottom: 30px;
    font-style: italic;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Distribute content evenly */
    gap: 20px;
    margin-top: 20px;
}

.feature {
    flex: 1 1 calc(33.33% - 20px); /* 3 Columns on larger screens */
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}

.feature h4 {
    font-size: 18px;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .feature {
        flex: 1 1 calc(50% - 20px); /* 2 Columns on tablets */
    }
}

@media (max-width: 480px) {
    .feature {
        flex: 1 1 100%; /* 1 Column on mobile */
        text-align: center; /* Center-align for mobile */
    }

    .why-choose-us h2, .why-choose-us h3 {
        text-align: center; /* Center-align headers on mobile */
    }
}


/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo,
.footer-contact,
.footer-address,
.footer-map {
    flex: 1 1 calc(25% - 20px);
}

.footer-logo h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.footer-social img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-contact h4,
.footer-address h4,
.footer-map h4 {
    color: #f9a825;
    margin-bottom: 10px;
}

.footer-contact p,
.footer-address p {
    font-size: 14px;
    color: #ccc;
}

.footer-map img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}










/* Responsive Adjustments */
@media (max-width: 768px) {
    .product,
    .project {
        flex: 1 1 calc(50% - 10px);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-content div {
        text-align: center;
    }
}


.footer-map {
    text-align: center;
    margin: 20px 0;
  }
  
  .footer-map h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
  }
  
  .map-iframe {
    width: 300px; /* Adjust width as needed */
    height: 200px; /* Adjust height as needed */
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
@media (max-width: 480px) {
    .product,
    .project {
        flex: 1 1 calc(100% - 10px);
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: row; /* Keeps links horizontal */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-content {
        text-align: center;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        margin: 70px auto 20px; /* Reduced top margin for mobile view */
    }

    .about {
        margin: 10px auto; /* Further reduced spacing for smaller screens */
        padding: 20px;
    }

    .about h2 {
        font-size: 24px;
    }

    .about p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin: 50px auto 20px; /* Reduced top margin further for very small screens */
    }

    .about {
        margin: 10px auto;
    }

    .about h2 {
        font-size: 20px;
    }

    .about p {
        font-size: 14px;
    }
}




/* WhatsApp Popup Modal */
.whatsapp-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* Adjust width as needed */
    background: rgba(255, 255, 255, 0.9); /* Slight white overlay */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for pop-up */
    z-index: 2000;
    display: none; /* Initially hide the pop-up */
    text-align: center;
    padding: 20px;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-image {
    width: 100%; /* Fit image inside the modal */
    height: auto;
    border-radius: 10px; /* Rounded corners for the image */
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: inline-block;
    background-color: #25d366; /* WhatsApp green color */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebe57; /* Darker green on hover */
}


