/* Reset some basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-image: url('https://www.levelset.com/wp-content/uploads/2019/02/jobsite-collaboration.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent header */
    padding: 20px 0;
}

header h1 {
    font-size: 3rem;
    color: #fff;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #16a64a; /* Highlight color on hover */
}

/* Main Content */
main {
    margin: 50px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent background for contrast */
}

/* Hero Section */
.hero {
    padding: 50px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #16a64a; /* Green button */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #16a34a;
}

/* About Section */
.about {
    padding: 40px 0;
}

.about h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about .btn {
    background-color: #16a64a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.about .btn:hover {
    background-color: #16a34a;
}

/* Projects Section */
.projects {
    padding: 40px 0;
}

.projects h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.project-list img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.projects .btn {
    background-color: #16a64a;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.projects .btn:hover {
    background-color: #16a34a;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    color: #fff;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline-block;
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

footer ul li a:hover {
    color: #16a64a; /* Hover color for footer links */
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1.1rem;
    border: 2px solid #16a64a;
    border-radius: 5px;
    background-color: transparent;
    color: #fff;
}

.contact-form button {
    background-color: #16a64a;
    color: #fff;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #16a34a;
}

/* FAQ Section */
.faq-list .faq h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.faq-list .faq p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.faq-list {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul li {
        margin: 0 10px;
    }

    .project-list {
        flex-direction: column;
        align-items: center;
    }
}
/* FAQ Toggle Styles */
.faq-list .faq p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-list .faq.active p {
    max-height: 1000px; /* Adjust this value if the FAQ answers are large */
}
/* Projects Page Styles */

/* Project Section */
.projects {
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent background for contrast */
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

/* Project List */
.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.project {
    width: 100%;
    max-width: 300px;
    background-color: rgb(255, 255, 255); /* Light background for project boxes */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.project:hover {
    transform: translateY(-10px); /* Hover effect to lift up the project box */
}

.projects {
    padding: 40px 0;
}

.projects h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Project List Styles */
.project-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    cursor: pointer;
    text-align: center;
}

.project-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.project-item button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #006400;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.project-item button:hover {
    background-color: #004d00;
}

/* Project Details Page */
.project-details {
    display: none;
    padding: 20px;
    background-color: #000000;
}

.details-content {
    text-align: center;
}

.details-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}

.details-content button {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.details-content button:hover {
    background-color: #004d00;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    color: #fff;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer ul {
    list-style-type: none;
}

footer ul li {
    display: inline-block;
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

footer ul li a:hover {
    color: #34d399;
}
/* Modal styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    color: #333;
}

.close-btn {
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Project Item Image Hover */
.project-item img:hover {
    transform: scale(1.05);
    cursor: pointer;
}
/* Removed View All Projects Button */
.project-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    cursor: pointer;
}

.project-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    margin-bottom: 20px;
}
.faq p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq.active p {
    max-height: 100px; /* Adjust based on content length */
}

.logo {
    max-width: 100px; /* Adjust the size as needed */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the logo */
    padding: 10px 0; /* Add some padding */
}