/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Introduction Section */
.intro {
    background: linear-gradient(to right, #004d00, #66cc66);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.intro h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.intro p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.services-section h1 {
    font-size: 42px;
    color: #004d00;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-content: center;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 48px;
    color: #66cc66;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #004d00;
}

.service-item p {
    font-size: 16px;
    color: #555;
}

/* Clients Section */
/*.clients {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.clients h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.clients p {
    font-size: 18px;
    margin-bottom: 40px;
}

.clients-container {
    position: relative;
}

.clients-gallery {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px;
    scroll-behavior: smooth;
}

.client-item {
    min-width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.client-item img {
    max-width: 100%;
    max-height: 100px;
}

.client-item:hover {
    transform: scale(1.1);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    background-color: #66cc66;
    color: white;
    border-radius: 50%;
    cursor: pointer;
}

.left-arrow {
    left: 10px;
}

.right-arrow {*/
/*    right: 10px;
}*/


/* Clients Section */
.clients {
    text-align: center;
}

.clients h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* Clients Section Styling */
.clients-container {
    position: relative;
    /*width: 90%;*/
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Flexbox Gallery for Clients Logos */
.clients-gallery {
    display: flex;
    gap: 30px;
    padding: 30px;
    background-color: gainsboro;
    border-radius: 10px;
    overflow-x: auto;
    flex-direction: row;
    width: 90%;
    margin: 0 auto;
    scroll-behavior: smooth; /* Smooth scrolling effect */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    user-select: none; /* Prevents text/image selection */
}




.clients-container:hover .gallery-arrow {
    display:block;
}


/* Arrow Styling */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #66cc66;
    color: white;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Hide arrows on small screens */
@media (max-width: 768px) {
    .gallery-arrow {
        display: none;
    }
}



.client-item {
    min-width: 250px;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /*transition: transform 0.3s ease-in-out;*/
}

/* Hover effect for the client items */
.client-item:hover {
    transform: scale(1.1);
    /*margin: -20px 0px;*/
    cursor: pointer;
}

/*.client-item.active {
    transform: scale(1.05);
    margin: -20px 0;
}*/

.client-item.active {
    /*margin: -15px 0;*/
    /*border-bottom: 2px solid #66cc66;  Add a green border to the active client */
    box-shadow: 0 0px 0px 1px #66cc66;  /*Add a shadow to make it stand out */
    /*background-color: black;*/
    transform: scale(1.1); /* Slightly enlarge the active item */
    transition: transform 0.2s ease, border 0s ease; /* Smooth transition for the active style */
}


.client-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-item a {
    display: block;
    width: 100%;
    height: 100%;
}







/* Projects Section */
.projects-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.projects-section h2 {
    font-size: 36px;
    color: #004d00;
    margin-bottom: 20px;
}

.projects-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Full-Width Projects Table */
.projects-table {
    width: 100%;  /* Full width */
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.projects-table thead {
    background-color: #004d00;
    color: white;
}

.projects-table th,
.projects-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 20px;  /* Increased font size */
}

/* Stop hover effect on <thead><tr> */
.projects-table thead tr:hover {
    background-color: inherit;  /* Prevent any hover effect on the header */
}

/* Alternate row colors */
.projects-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.projects-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* Hover effect with higher priority */
.projects-table tbody tr:hover {
    background-color: #f0f0f0 !important;
}

.projects-table th {
    font-size: 20px;  /* Increased font size */
    font-weight: bold;
}

/* Remove bottom border for the last row */
.projects-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-table {
        font-size: 18px;
    }

    .projects-table th,
    .projects-table td {
        padding: 10px;
    }
}






/* Remove bottom border for the last row */
.projects-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-table {
        font-size: 14px;
    }

    .projects-table th,
    .projects-table td {
        padding: 10px;
    }
}






.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #66cc66;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #004d00;
}

/* Suppliers Section */
.suppliers {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.suppliers ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.suppliers ul li {
    font-size: 18px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.suppliers ul li:hover {
    transform: translateY(-5px);
}

.suppliers ul li i {
    color: #66cc66;
    margin-right: 10px;
}

/* Closing Message Section */
.closing-message {
    background-color: #6c6;
    padding: 60px 20px;
    text-align: center;
    /*border-radius: 20px;*/
    /*width: 90%;*/
    color: white;
    background: linear-gradient(to right, #004d00, #66cc66);

}

.closing-message h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.closing-message p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro h1 {
        font-size: 36px;
    }

    .intro p, .closing-message p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Footer */
footer {
    background-color: #004d00;
    color: white;
    text-align: center;
    padding: 40px ;
}

footer p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #66cc66;
    color: white;
    padding: 15px;
    border-radius: 50%;
    border: none;
    font-size: 25px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensures it appears above all other content */
}

.back-to-top:hover {
    background-color: #004d00;
    transform: scale(1.1);
}
