/* Global Styles */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #222222;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    z-index: 1000;
    box-shadow: #00000061 0px 5px 30px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 100px;
    padding: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #333333;
    font-weight: bold;
}

.nav-links a:hover {
    color: #56ab2f;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 5px 20px 5px 20px;
}

.header h1 {
    margin-bottom: 20px;
    font-size: 4em;
    text-shadow: #2b2b2b36 2px 3px 5px;
    font-weight: bold;
}

.header .tagline {
    font-size: 1.25em;
}

/* Get in Touch Button Styles */
.get-in-touch {
    text-align: center;
    margin: 30px 0;
}

.btn-get-in-touch {
    display: inline-block;
    padding: 20px 50px;
    background-color: #56ab2f;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.15s;
    text-decoration: none;
}

.btn-get-in-touch:hover {
    background-color: #3d8b1e;
}

/* Sections */
.section {
    padding: 30px 0px 45px 0px;
}

.section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 20px;
}

.home-section {
    background-color: #e2ffc4;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid #dddddd;
    margin: 0;
}

/* Image Row */
.image-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.image-row img {
    width: 30%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
}

/* Contact Form Styles */
.contact-section {
    background-color: #f9f9f9;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form Layout */
.contact-section form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-section form .form-group {
    flex: 1;
}

.contact-section form textarea {
    height: 200px;
    resize: vertical;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-section form .form-actions {
    text-align: right;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
    color: #999999;
}

.contact-section button {
    padding: 15px 30px;
    background-color: #56ab2f;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-section button:hover {
    background-color: #3d8b1e;
}

/* Backup Contact Info */
.backup-contact {
    text-align: center;
    margin-top: 20px;
    font-size: 1.2em;
}

.backup-contact a {
    color: #56ab2f;
    font-weight: bold;
}

.backup-contact a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 20px 0;
}

.footer .container {
    text-align: center;
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: #ffffff;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .image-row img {
        width: 80%;
    }

    .header h1 {
        font-size: 2.5em;
    }

    .section h2 {
        font-size: 2em;
    }
}

/* Responsive Form Adjustments */
@media (max-width: 700px) {
    .contact-section form .form-row {
        flex-direction: column;
        gap: 0px;
        width: 75%;
        margin-left: 10%;
    }

    .contact-section textarea {
        width: 85%;
    }

    .nav-logo img {
        height: unset;
        width: 100%;
        padding: 5px;
    }

    .navbar .container {
        flex-direction: column;
    }
}

.portfolio-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    text-align: center;
}

.project h3 {
    margin-bottom: 20px;
    color: #56ab2f;
}

.before-after {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.image-container {
    position: relative;
    width: 45%;
    min-width: 300px;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-container .label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(86, 171, 47, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .image-container {
        width: 90%;
    }
}

select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fdffff;
    font-size: 16px;
}

select:focus {
    outline: none;
    border-color: #56ab2f;
}

.provider-field {
    transition: all 0.3s ease;
}

/* Ensure the provider field transitions smoothly */
.provider-field.show {
    opacity: 1;
    height: auto;
    margin: 10px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: calc(min(95%,1400px));
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    margin: 0;
    color: #56ab2f;
}

.service-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem 0;
    }
}
