﻿/* Professional Color Palette & Variables */
:root {
    --brand: #2E7D32; /* Primary Brand Green */
    --brand-dark: #1B5E20; /* Darker green for contrast/hover */
    --accent: #1A73E8; /* Blue for primary CTAs, high contrast - kept for non-primary use */
    --muted: #6B7280; /* Neutral grey for secondary text */
    --text-dark: #1F2937; /* Very dark grey for main body text */
    --bg: #F4F6F9; /* Light background for separation from white cards */
    --card: #ffffff; /* Pure white for cards/sections */
    --container-width: 1200px;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(31, 41, 55, 0.08), 0 1px 3px rgba(31, 41, 55, 0.04);
    --header-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    --compact-margin: 40px;
}

* {
    box-sizing: border-box
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400
}

h1, h2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    color: #5A6473; /* Lighter dark grey for headers */
    line-height: 1.2;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--brand-dark);
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* Container for compact layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- LOGO SIZE FIX - REMOVE CONFLICTING HEIGHT RULE --- */
/* Note: Original file had a conflicting rule for .header-inner .logo img { height: 36px; } that must be ignored/removed */


/* --- FINAL ENFORCING MAXIMUM LOGO SIZE --- */

/* 1. Ensure the header container allows enough height */
.header {
    min-height: 130px !important; /* Increased header height to guarantee space */
    padding: 25px 0 !important; /* Ensure vertical padding is respected */
    align-items: center;
}

    /* 2. Remove any height constraints from the navigation or container */
    .header .container, .header-inner {
        height: auto !important;
    }

    /* 3. Targets the Logo image specifically inside the header's .logo container */
    .header .logo a img {
        width: 280px !important; /* FINAL MAXIMUM INCREASED HEADER LOGO WIDTH */
        max-width: none !important; /* Crucial: Prevents max-width from limiting size */
        height: auto !important; /* Guarantees height is not fixed */
        transition: width 0.3s ease;
    }

/* 4. Footer Logo (keeping the large size that worked) */
.footer-col img {
    width: 220px !important; /* Confirmed and kept large */
    height: auto !important;
    margin-bottom: 25px;
}

/* Keep structural fixes */
.header .logo {
    padding: 0 !important;
    margin: 0 !important;
}

    .header .logo a {
        display: inline-block;
        padding: 0;
    }


/* Header */
header {
    background: var(--card);
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--header-shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav.primary {
    display: flex;
    align-items: center;
    gap: 20px;
}

    nav.primary a:not(.btn) {
        color: var(--text-dark);
        font-weight: 600;
        font-size: 15px;
        padding: 5px 0;
        position: relative;
    }

        nav.primary a:not(.btn)::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--brand);
            transition: width 0.3s ease;
        }

        nav.primary a:not(.btn):hover::after {
            width: 100%;
        }

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    display: inline-block;
    text-align: center;
}

    .btn:hover {
        transform: translateY(-1px);
    }

/* Button: Primary Green */
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

    .btn-primary:hover {
        background: var(--brand-dark);
        box-shadow: 0 6px 14px rgba(46, 125, 50, 0.4);
        color: #000;
    }

/* Button: Outline */
.btn-outline {
    border: 2px solid var(--brand);
    color: var(--brand);
    background: transparent;
}

    .btn-outline:hover {
        background: rgba(46, 125, 50, 0.05);
    }

/* --- PAGE HERO STYLING --- */

.page-hero-wrapper {
    position: relative;
    padding: 120px 0;
    color: white;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .page-hero-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.65); /* Darker overlay for text contrast */
    }

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

    .page-hero-content h2 {
        font-size: 40px;
        color: #fff;
        margin-bottom: 10px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .page-hero-content .breadcrumb-wrap {
        margin-top: 20px;
    }

    .page-hero-content .breadcrumb {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
    }

        .page-hero-content .breadcrumb li {
            color: rgba(255, 255, 255, 0.7);
        }

            .page-hero-content .breadcrumb li a {
                color: rgba(255, 255, 255, 0.9);
                text-decoration: underline;
            }

                .page-hero-content .breadcrumb li a.active {
                    color: #fff;
                    text-decoration: none;
                    font-weight: 600;
                }

/* Main Content Sections */
section.module {
    padding: 80px 0;
    background: var(--card); /* Default to white background */
}

.module.alt-bg {
    background: var(--bg); /* Use light grey background for separation */
}

.module .row {
    display: flex;
    align-items: center;
    gap: 60px;
}

    .module .row.reverse {
        flex-direction: row-reverse;
    }

    .module .row .text, .module .row .media {
        flex: 1;
    }

    .module .row .text {
        /* Removed card styling for about page to simplify structure, focusing on clean typography */
        padding: 0;
    }

    .module .row h5 {
        font-size: 16px;
        font-weight: 700;
        color: var(--brand);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .module .row h3 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .module .row p {
        color: var(--muted);
        line-height: 1.75;
        font-weight: 300;
        margin-bottom: 15px;
    }

    .module .row ul {
        list-style-type: none;
        padding-left: 0;
    }

        .module .row ul li {
            padding-left: 1.5em;
            margin-bottom: 10px;
            position: relative;
            color: var(--text-dark);
            font-weight: 400;
            font-size: 16px;
        }

            .module .row ul li::before {
                content: "•"; /* Custom bullet */
                color: var(--brand);
                font-weight: bold;
                display: inline-block;
                width: 1em;
                margin-left: -1em;
            }

.module .text-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 0; /* Only centered content in about page, so we reset margin */
}

    .module .text-center h3 {
        font-size: 40px;
        color: #5A6473;
        margin-bottom: 20px;
    }


/* --- BOOK A DEMO SECTION (CTA) --- */

.book-demo-wrapper {
    padding: 50px 0;
    /* Green Background */
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
    position: relative;
    overflow: hidden;
}

.book-demo {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

    .book-demo .left {
        flex: 2;
    }

    .book-demo .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-width: 220px;
    }

    .book-demo h2 {
        font-family: "Montserrat", sans-serif;
        font-size: 34px;
        color: #fff;
        line-height: 1.15;
        margin: 0;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        font-weight: 700;
    }

    .book-demo .right .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 700;
    }

    .book-demo .btn-primary {
        /* Solid White Button with Green Text */
        background: #fff;
        color: var(--brand);
        border: 2px solid #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

        .book-demo .btn-primary:hover {
            background: #f0f0f0;
            color: var(--brand-dark);
            border-color: #f0f0f0;
            transform: translateY(-2px);
        }

    .book-demo .btn-outline {
        border: 2px solid #fff;
        color: #fff;
        background: transparent;
        box-shadow: none;
    }

        .book-demo .btn-outline:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

/* --- FOOTER STYLING --- */

footer {
    padding: 50px 0;
    background: #C8CDD1; /* Medium grey footer */
    color: var(--text-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #5A6473; /* Softer dark grey title */
    margin-bottom: 20px;
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.footer-col p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-links a {
        color: #525A65; /* Darker link color */
        font-size: 14px;
    }

        .footer-links a:hover {
            color: var(--brand);
        }


/* Responsive Adjustments (Simplified for this file) */
@media(max-width:980px) {
    .header-inner nav.primary a:not(.btn):not(:nth-child(5)) {
        display: none;
    }

    .module .row {
        flex-direction: column;
        gap: 30px;
    }

        .module .row.reverse {
            flex-direction: column; /* Stacks normally on mobile */
        }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col:first-child {
        grid-column: span 2;
    }

    .book-demo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media(max-width:768px) {
    .page-hero-wrapper {
        min-height: 350px;
        padding: 80px 0;
    }

    .page-hero-content h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    /* Mobile Nav Fix */
    .header-inner nav.primary {
        gap: 10px;
    }

    .header .logo a img {
        width: 180px !important;
    }
}

/* --- NEW MISSION SECTION STYLING --- */

.mission-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start; /* Aligns content to the top */
    padding: 20px 0; /* Add padding for breathing room */
}

.mission-text {
    flex: 2; /* Mission statement takes 2/3 width */
    padding-right: 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.1); /* Subtle vertical separator line */
}

.mission-values {
    flex: 1.5; /* Values take 1.5/3 width */
}

    .mission-values p strong {
        font-size: 18px;
        display: block;
        margin-bottom: 25px;
        color: #5A6473; /* Match heading color */
    }

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

    .value-item p {
        margin: 0;
        line-height: 1.5;
        color: var(--text-dark); /* Make value text prominent */
        font-weight: 400;
        font-size: 16px;
    }

.value-icon {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand); /* Green number accent */
    font-family: "Montserrat", sans-serif;
    line-height: 1;
    min-width: 30px; /* Ensures text alignment */
}

/* Responsive adjustment for mobile */
@media(max-width:980px) {
    .mission-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .mission-text {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Move separator to bottom */
        padding-right: 0;
        padding-bottom: 30px;
    }
}