/* ======================================================== */
/* 1. GLOBAL VARIABLES & RESET */
/* ======================================================== */

:root {
    /* Color Palette */
    --primary-green: #2C5F2D;      /* Deep Avocado Green */
    --secondary-brown: #8A5C2E;    /* Rich Volcanic Earth Brown (Accent) */
    --accent-orange: #FF7F00;      /* Vibrant Habanero Orange (CTA) */
    --neutral-light: #FAF0E6;      /* Off-White/Cream (Background) */
    --neutral-dark: #333333;       /* Dark Text/Charcoal */
    --white: #ffffff;
    --light-grey: #e0e0e0;

    /* Typography */
    --font-header: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--white);
    overflow-x: hidden; /* Zuia scroll ya kando */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================================== */
/* 2. REUSABLE COMPONENTS (CTA Buttons, Links) */
/* ======================================================== */

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-header);
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #E67300;
    transform: translateY(-2px);
}

.full-width-cta {
    width: 100%;
    margin-top: 15px;
}

.learn-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.learn-more:hover {
    color: var(--secondary-brown);
}

h1, h2, h3 {
    font-family: var(--font-header);
    color: var(--primary-green);
}

/* ======================================================== */
/* 3. HEADER & NAVIGATION STYLES */
/* ======================================================== */

.hero-section {
    background-color: var(--primary-green); 
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.5rem;
}
.logo a {
    color: var(--white);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--white);
}

/* ======================================================== */
/* 4. PRODUCT SHOWCASE & VALUE PROPOSITION STYLES */
/* ======================================================== */

.value-prop {
    background-color: var(--neutral-light);
    padding: 60px 0;
    text-align: center;
}

.value-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
    color: var(--secondary-brown);
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-showcase {
    padding: 80px 0;
    text-align: center;
}

.product-showcase h2 {
    font-size: 2.2rem;
    color: var(--secondary-brown);
    margin-bottom: 10px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.5rem;
    padding: 15px 15px 5px;
}

.product-card p {
    padding: 0 15px 15px;
    font-size: 0.95rem;
}

.product-card a.learn-more {
    display: block;
    padding: 0 15px 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ======================================================== */
/* 5. CONTACT & QUOTE FORM STYLES (Used in contact.html) */
/* ======================================================== */

.contact-section { 
    padding: 80px 0; 
}

.contact-section-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap; 
    width: 100%;
}

.contact-intro {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.contact-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-intro h3 {
    font-size: 1.4rem;
    color: var(--secondary-brown);
    margin-top: 30px;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.quote-form-container {
    flex: 2;
    min-width: 400px;
    background: var(--neutral-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote-form-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.quote-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--neutral-dark);
    font-weight: 600;
}
.quote-form input, .quote-form select, .quote-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.quote-form textarea {
    resize: vertical;
}


/* ======================================================== */
/* 6. FOOTER & TRUST STYLES */
/* ======================================================== */

.trust-impact {
    background-color: var(--neutral-light);
    padding: 80px 0;
}

.trust-impact h2 {
    font-size: 2rem;
    color: var(--secondary-brown);
    margin-bottom: 20px;
}

.trust-impact .content-left {
    max-width: 800px;
    text-align: left;
}

.cta-footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-footer h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-footer p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}


/* ======================================================== */
/* 7. RESPONSIVE DESIGN (FOR MOBILE/TABLET) */
/* ======================================================== */

@media (max-width: 900px) {
    
    /* Navigation & Header */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 15px;
        padding-left: 0;
    }

    nav ul li {
        margin: 8px 0;
    }
    
    /* Contact Page Layout */
    .contact-section-content {
        flex-direction: column;
    }
    .contact-intro {
        padding-right: 0;
        margin-bottom: 30px;
        width: 100%;
    }
    .quote-form-container {
        width: 100%;
        min-width: unset;
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .grid-3 {
        gap: 20px;
    }
}
/* ======================================================== */
/* THANK YOU PAGE STYLES (Inatumika na thank_you.php) */
/* ======================================================== */

.thank-you-section {
    padding: 150px 0;
    text-align: center;
    /* Rangi ya Background: Off-White/Cream (neutral-light) */
    background-color: var(--neutral-light); 
    min-height: 80vh;
}
.thank-you-section h1 {
    font-family: var(--font-header);
    font-size: 3rem;
    /* Rangi ya Kichwa: Deep Avocado Green (primary-green) */
    color: var(--primary-green);
    margin-bottom: 20px;
}
.thank-you-section p {
    font-size: 1.2rem;
    /* Rangi ya Text: Dark Text (neutral-dark) */
    color: var(--neutral-dark); 
    margin-bottom: 30px;
}

/* Kufanya jina la kampuni lionekane zaidi */
.thank-you-section p[style*="font-weight"] {
    font-size: 1.3rem;
    color: var(--secondary-brown); /* Rich Brown kwa umuhimu zaidi */
    margin-top: 15px;
}

.thank-you-section .icon {
    font-size: 4rem;
    /* Rangi ya Icon: Vibrant Orange (accent-orange) */
    color: var(--accent-orange);
    display: block;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .thank-you-section h1 {
        font-size: 2.2rem;
    }
}



:root {
            --primary-green: #2C5F2D;
            --secondary-brown: #8A5C2E;
            --accent-orange: #FF7F00;
            --neutral-light: #FAF0E6;
            --neutral-dark: #333333;
            --white: #ffffff;
            --font-header: 'Montserrat', sans-serif;
            --font-body: 'Poppins', sans-serif;
        }

        /* CONTACT SECTION STYLES */
        .contact-section { 
            padding: 80px 0; 
        }

        .contact-section-content {
            display: flex;
            gap: 50px;
            align-items: flex-start;
            flex-wrap: wrap; 
            width: 100%;
        }

        .contact-intro {
            flex: 1;
            min-width: 300px;
            padding-right: 20px;
        }

        .contact-intro h1 {
            font-family: var(--font-header);
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 20px;
        }
        
        .contact-intro h3 {
            font-size: 1.4rem;
            color: var(--secondary-brown);
            margin-top: 30px;
            margin-bottom: 10px;
        }

        .contact-info p {
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
        
        /* FORM CONTAINER STYLES */
        .quote-form-container {
            flex: 2;
            min-width: 400px;
            background: var(--neutral-light);
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .quote-form-container h2 {
            font-family: var(--font-header);
            color: var(--primary-green);
            font-size: 2rem;
            margin-bottom: 20px;
        }

        /* FORM FIELD STYLES (contact-form inatumika kwenye contact_us.html) */
        .contact-form label {
            display: block;
            margin-bottom: 5px;
            color: var(--neutral-dark);
            font-weight: 600;
        }
        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 25px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-family: var(--font-body);
            font-size: 1rem;
        }

        .contact-form textarea {
            resize: vertical;
        }
        
        /* RESPONSIVE DESIGN (Simu/Tablet) */
        @media (max-width: 900px) {
            .contact-section-content {
                flex-direction: column;
            }
            .contact-intro {
                padding-right: 0;
                margin-bottom: 30px;
                width: 100%;
            }
            .quote-form-container {
                width: 100%;
                min-width: unset;
                padding: 30px 20px;
            }
        }