* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Verdana pro", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes the full viewport height */
    margin: 0;
    background-color: var(--white);
    font-optical-sizing: auto;

}

main {
    flex: 1;
    /* Makes the main content expand to fill available space */
}



:root {
    --logo-color: #f79836;
    --primary-color: #a8cf45;
    --primary-color-dark: #0e844d;
    --text-dark: #333333;
    --white: #ffffff;
    --button: #0b3d26;

}

p{
    color: var(--text-dark);
    line-height: 1.5;
}

/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4rem;
    background-color: var(--primary-color-dark);
    color: var(--white);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    margin: 0;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links li {
    font-size: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color-dark);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}


.title {
    font-size: 2rem;
    margin: 10px;
    color: var(--button);
    text-align: center;
    margin-bottom: 2rem;
}

/* General container with max-width */
.about {
    max-width: 1000px;
    margin: 0 auto;
    /* Centers the container horizontally */
    padding: 0 1rem;
    /* Adds padding for smaller screens */
    text-align: justify;
}

/* Row Styling */
.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* gap: 1rem; */
    flex-direction: row;
    /* Ensures image on left, content on right in web view */
}

/* Image Styling */
.about .row .image {
    flex: 1 1 45%;
    /* Take half of the container width */
    text-align: center;
    /* Center-align for smaller screens */
}

.about .row .image img {
    width: 75%;
    height: 40vh;
    border-radius: 0.5rem;
    object-fit: cover;
}

/* Content Styling */
.about .row .content {
    flex: 1 1 50%;
    /* Take half of the container width */
}

.about .row .content h3 {
    font-size: 1.7rem;
    color: var(--primary-color-dark);
}

.about .row .content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    padding: 10px 0;
}

/* Contact Form */
.contact-form {
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    justify-self: center;

}

.contact-form h3 {
    color: var(--button);
    font-size: 1.5rem;
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: var(--button);
    color: white;
    border: none;
    padding: 10px 40px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
}

.contact-flex {
    display: flex;
    gap: 2rem; /* Space between the two sections */
    flex-wrap: wrap;
}

.contact-details, .contact-form {
    flex: 1;
    max-width: 48%; /* To maintain space between them */
}



/* Responsive Styling */

/* For large screens (Desktops) */
@media (min-width: 1025px) {
    .about .row {
        flex-direction: row;
        /* Image left, content right */
    }
}

/* For tablets and smaller screens */
@media (min-width: 481px) and (max-width: 1024px) {
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: center;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .about .row {
        flex-direction: column;
        /* Stack image and content vertically */
        text-align: justify;
    }

    .about .row .image,
    .about .row .content {
        flex: 1 1 100%;
        /* Full width for both image and content */
    }

    .title {
        font-size: 2rem;
    }
    .about .row .image img {
        height: 25vh;
        width: auto;
        object-fit: cover;
    }

    .about .row .content p {
        font-size: 1.2rem;
    }
    .contact-form {
        max-width: 100%; /* Full width */
    }
}


.container {
    line-height: 1.5;
    color: var(--text-dark);
    font-size: 1.2rem;
    text-align: justify;
}

.about-content h2 {
    color: var(--primary-color-dark);
    /* Dark teal */
    font-size: 1.7rem;
    margin-top: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-points h3 {
    color: var(--primary-color-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-points p {
    margin-bottom: 1.5rem;
}

/* Call to Action Section */
.call-to-action {
    text-align: center;
    padding: 1rem 1rem;
}

/* .call-to-action h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
} */

.call-to-action p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-points h3 {
        font-size: 1.3rem;
    }

    .call-to-action h2 {
        font-size: 1.5rem;
    }
    .test{
        text-align: center;
    }
}

footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 4rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;       /* Slightly smaller text size */
    color: rgba(255, 255, 255, 0.8); /* Subtle text color */
}

footer a {
    color: #ffffff;          /* White links */
    text-decoration: none;   /* Remove underline */
    transition: color 0.3s;  /* Smooth hover effect */
}

footer a:hover {
    color: #f4a261;          /* Highlight color on hover */
}
