/* Import a professional font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* -- CSS VARIABLES -- */
:root {
    --primary-color: #005f4b; /* Dark Green */
    --secondary-color: #008a6d; /* Lighter Green */
    --dark-grey: #333;
    --medium-grey: #555;
    --light-grey-bg: #f4f7f6;
    --white: #ffffff;
    --footer-bg: #222;
    --footer-text: #ccc;
    --footer-link-hover: var(--white);
}

/* -- BASIC SETUP -- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* -- HEADER & NAVIGATION -- */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo img {
    height: 40px;
    width: auto;
}
.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 500;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--secondary-color);
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}
.main-nav a:hover::after {
    transform: scaleX(1);
}

/* -- HERO SECTION (HOMEPAGE) -- */
.hero {
    background-color: var(--light-grey-bg);
    padding: 100px 0;
    text-align: center;
}
.company-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}
.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* -- BUTTONS -- */
.cta-button, .cta-button-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
.cta-button-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.cta-button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}
.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* -- GENERIC CONTENT SECTIONS -- */
.content-section { padding: 80px 0; }
.content-section-alt { padding: 80px 0; background-color: var(--light-grey-bg); }
.content-section h2, .content-section-alt h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* -- HOMEPAGE SERVICE CARDS -- */
.services-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-card h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* -- INTERNAL PAGE HEADER -- */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}
.page-header h1 {
    margin: 0;
    font-size: 3rem;
}

/* -- ABOUT PAGE -- */
.founder-section .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.founder-photo img {
    border-radius: 50%;
    max-width: 250px;
}
.founder-bio h2 {
    text-align: left;
}

/* -- SERVICES PAGE -- */
.service-list .service-item {
    background: var(--light-grey-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--secondary-color);
}
.service-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* -- IMPACT PAGE -- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.impact-point {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.impact-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.impact-point h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* -- CONTACT PAGE -- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-details p {
    margin-bottom: 1rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}
.contact-form .cta-button {
    width: 100%;
}
.form-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 1rem;
}

/* -- NEW & UPDATED FOOTER STYLES -- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-col-1 .logo {
    margin-bottom: 1rem;
}
.footer-col-1 .logo span {
    color: var(--white); /* Make logo text white in footer */
}
.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.footer-copyright {
    font-size: 0.8rem;
    color: #999;
}
.footer-grid h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    text-decoration: none;
    color: var(--footer-text);
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--footer-link-hover);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.social-links a {
    color: var(--footer-text);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--footer-link-hover);
    transform: scale(1.1);
}
.footer-col-3 p {
    font-size: 0.9rem;
}

/* -- ANIMATIONS -- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -- RESPONSIVENESS (for smaller screens) -- */
@media (max-width: 768px) {
    .services-overview, .impact-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .founder-section .container {
        flex-direction: column;
        text-align: center;
    }
    .founder-bio h2 {
        text-align: center;
    }
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    /* New footer responsive styles */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col-1 .logo {
        justify-content: center; /* Center the logo */
    }
    .social-links {
        justify-content: center; /* Center social icons */
    }
}