﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f8f2;
}

*, *::before, *::after {
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .service-card img {
        height: 150px; 
    }

    footer {
        font-size: 12px;
    }

        footer nav a {
            font-size: 11px;
        }
}

.container-section {
    background-color: #f5f8f2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}


.faq-section {
    background-color: #ffffff;
}

.faq-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.faq-items {
    margin-bottom: 15px;
    padding-bottom: 10px; 
    border-bottom: 1px solid #ddd; 
}

    .faq-items:last-child {
        border-bottom: none; 
    }

header {
    background-color: #2d3e32;
    color: white;
    padding: 5px 0;
    text-align: center;
}

h1 {
    font-size: 36px; /* Controls the text size */
    padding: 10px 0; /* Adds space above and below the text */
    margin: 0px;
    margin-bottom: 10px; /* Adds space below the heading */
    line-height: 1.2; /* Controls the vertical spacing within the text */
    color: white; /* Example soft green 2e5d34 */
    text-align: center; /* Optional: Center the heading */
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav a {
    color: #a8e6a2;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px;
}

nav a:hover {
    text-decoration: underline;
}

footer {
    background-color: #2d3e32; /* Dark green shade */
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
}

footer nav a {
    color: #a8e6a2;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    font-size: 13px;
}

    footer nav a:hover {
        text-decoration: underline;
    }

#hero {
    text-align: center;
    background: #a5d6a7;
    padding: 10px 20px 30px 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('images/hero-image.png'); /* or your preferred image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); /* semi-transparent overlay */
    padding: 30px;
    border-radius: 10px;
    color: white;
}

    .hero-overlay h1 {
        font-size: 48px;
        margin-bottom: 10px;
    }

    .hero-overlay p {
        font-size: 20px;
        margin: 0;
    }

.hero-buttons {
    margin-top: 25px;
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    padding: 12px 20px;
    background-color: #4CAF50; /* soft green */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .hero-btn:hover {
        background-color: #3e8e41;
    }



.btn {
    display: inline-block;
    background-color: #1b5e20;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn:hover {
        background-color: #388e3c;
    }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
    .service-card img {
        width: 100%; 
        height: 200px; 
        object-fit: cover; 
        border-radius: 10px;

    }

    .service-card:hover {
        transform: scale(1.05);
    }

    .service-card h3 {
        display: inline-block;
        font-size: 1.2rem;
        font-weight: bold;
        margin: 10px 0 0 0;
        padding:  10px 11px;
        background-color: #4CAF50;
        color: white;
        text-align: center;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

    .service-card:hover h3 {
        background-color: #3e8e41;
    }


/* Modal base styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}


/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative;
}

    .modal-content img {
        width: 100%;
        max-height: 250px;
        object-fit: cover;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .modal-content h3 {
        margin-top: 0;
        color: #2e7d32;
    }

    .modal-content p {
        color: #444;
    }

/* Close button */
.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: #000;
    }



/* Contact Section */
.contact-section {
    background-color: #f5f8f2;
    padding: 40px 20px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info {
    flex: 1 1 300px;
    color: #333;
}

    .contact-info h2 {
        margin-top: 0px;
        margin-bottom: 20px;
        color: #2e7d32; /* dark green */
    }

    .contact-info p {
        margin-bottom: 30px;
        font-size: 16px;        
    }

    .contact-info a {
        color: #2e7d32; /* Soft green, matches your theme */
        text-decoration: none;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }


.contact-form {
    flex: 1 1 400px;
}

    .contact-form form {
        display: flex;
        flex-direction: column;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 9px;
        margin-bottom: 0px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }

    .contact-form button {
        width: 100%;
        box-sizing: border-box;
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 12px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

        .contact-form button:hover {
            background-color: #3e8e41;
        }

.captcha-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 10px 0;
}


form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    font-family: Arial, sans-serif;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #2e7d32;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    button:hover {
        background-color: #1b5e20;
    }

#formResponse {
    margin-top: 10px;
    padding: 1em;
    border-radius: 6px;
    font-weight: bold;
    display: none;
}

    .success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }


#service-area {
    padding: 10px 20px;
    background-color: #f6fef7;
    text-align: center;
}

    #service-area h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #2b4d2f;
    }

    #service-area p {
        max-width: 700px;
        margin: 0 auto 8px;
        font-size: 1rem;
        color: #333;
    }

.service-area-container {
    background-color: #f6fef7;
}

.service-area-grid {
    display: flex;
    justify-content: center;
}

    .service-area-grid ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 1rem;
        line-height: 1.8;
        color: #222;
    }
