﻿/*
|--------------------------------------------------------------------------
| CSS Variables & Base Styles
|--------------------------------------------------------------------------
| FINAL consolidated color palette, fonts, and base resets.
*/
:root {
    --brand: #2E7D32; /* Primary Brand Green */
    --brand-dark: #1B5E20; /* Darker green for contrast/hover */
    --accent: #1A73E8; /* Blue for primary CTAs, high contrast */
    --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 1px 4px rgba(0, 0, 0, 0.03);
    --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 {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/*
|--------------------------------------------------------------------------
| Header & Navigation
|--------------------------------------------------------------------------
| Final styles for sticky header and logo sizing.
*/
header {
    background: var(--card);
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 25px 0 !important;
    min-height: 130px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--header-shadow);
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto !important;
}

.header .logo {
    padding: 0 !important;
    margin: 0 !important;
}

    .header .logo a {
        display: inline-block;
        padding: 0;
    }

        .header .logo a img {
            width: 280px !important; /* FINAL MAXIMUM HEADER LOGO WIDTH */
            max-width: none !important;
            height: auto !important;
            transition: width 0.3s ease;
        }

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 (Standardized)
|--------------------------------------------------------------------------
*/
.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);
    }

.btn-primary {
    background: var(--brand);
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    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: #fff;
    }

.btn-outline {
    border: 2px solid var(--muted);
    color: var(--muted);
    background: transparent;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
}

    .btn-outline:hover {
        background: rgba(46, 125, 50, 0.05);
        border-color: var(--brand);
        color: var(--brand);
    }

/*
|--------------------------------------------------------------------------
| Page Hero (For general inner pages)
|--------------------------------------------------------------------------
*/
.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);
    }

.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;
                }

/*
|--------------------------------------------------------------------------
| Home Hero Slider
|--------------------------------------------------------------------------
*/
.hero-section-compact {
    padding-top: var(--compact-margin);
    padding-bottom: var(--compact-margin);
    background: var(--card);
}

.hero-slider {
    position: relative;
}

.slides {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.1), 0 3px 6px rgba(31, 41, 55, 0.05);
}

.slide {
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 260px;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    position: absolute;
    inset: 0;
    opacity: 0;
    color: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .slide.active {
        opacity: 1;
        position: relative
    }

    .slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 16px;
    }

    .slide .content-inner {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 24px;
        position: relative;
        z-index: 2;
        width: 100%;
        text-align: center;
    }

    .slide h1 {
        font-size: 30px;
        margin: 0 0 10px;
        color: #fff;
        text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    }

    .slide p.lead {
        font-size: 15px;
        margin: 0 auto 30px;
        max-width: 700px;
        color: rgba(255, 255, 255, 0.95);
    }

    .slide .cta {
        display: flex;
        gap: 16px;
        justify-content: center;
    }

    .slide .btn {
        padding: 14px 30px;
        font-size: 16px;
        border-color: #fff;
        color: #fff;
    }

    .slide .btn-outline {
        background: transparent;
    }

        .slide .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
        }

/* Slider Nav Dots */
.slider-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

    .dot.active {
        background: var(--brand);
        width: 25px;
        border-radius: 10px;
    }

    .dot:hover {
        background: rgba(255, 255, 255, 0.8);
    }

/*
|--------------------------------------------------------------------------
| Modules and Content Sections
|--------------------------------------------------------------------------
*/
section.module {
    padding: 80px 0;
    background: var(--card);
}

    section.module:nth-of-type(1) {
        background: var(--bg);
    }

.module.alt-bg {
    background: var(--bg);
}

/* Two-Column Module Layout */
.module .row {
    display: flex;
    align-items: center;
    gap: 60px;
}

    .module .row .text {
        flex: 1;
        /* Apply explicit styling only to the first module's text box for visual separation */
        padding: 40px;
        background: var(--card);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .module .row .media {
        flex: 1;
    }

    .module .row h5 {
        font-size: 16px;
        font-weight: 700;
        color: var(--brand);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
        font-family: "Poppins", Arial, sans-serif;
    }

    .module .row h3 {
        font-size: 38px;
        margin-bottom: 20px;
        color: #5A6473;
        line-height: 1.2;
    }

    .module .row p {
        font-size: 17px;
        color: var(--text-dark);
        line-height: 1.75;
        font-weight: 300;
        margin-bottom: 15px;
    }

    /* List styling for internal module lists (Standardized) */
    .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: "•";
                color: var(--brand);
                font-weight: bold;
                display: inline-block;
                width: 1em;
                margin-left: -1em;
            }

    /* Reverse Layout */
    .module.reverse .row,
    .module .row.reverse {
        flex-direction: row-reverse;
    }

/* Quote Section */
section.module:nth-of-type(2) {
    padding: 40px 0;
    background: var(--bg);
}

    section.module:nth-of-type(2) h4 {
        font-size: 24px;
        color: var(--brand-dark);
        line-height: 1.5;
        padding: 0 40px;
    }

/* Centered Header Block */
.module .text-center {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

    .module .text-center h5 {
        font-size: 16px;
        font-weight: 700;
        color: var(--brand);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
        font-family: "Poppins", Arial, sans-serif;
    }

    .module .text-center h3 {
        font-size: 35px;
        margin-bottom: 20px;
        color: #5A6473;
        position: relative;
        padding-bottom: 15px;
        font-family: "Montserrat", sans-serif;
        border-bottom: 2px solid rgba(46, 125, 50, 0.1);
        display: inline-block;
    }

    .module .text-center p.lead {
        font-size: 18px;
        color: var(--muted);
        margin-top: 20px;
    }

/* Key Benefits Grid */
.list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.list-item {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--brand);
    transition: transform 0.3s ease;
}

    .list-item strong {
        color: #5A6473;
        font-size: 20px;
        margin-bottom: 8px;
        display: block;
    }

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

    .feature-card:hover {
        border-top-color: var(--brand);
    }

/*
|--------------------------------------------------------------------------
| Book a Demo CTA Section (Finalized Green Background)
|--------------------------------------------------------------------------
*/
.book-demo-wrapper {
    padding: 50px 0;
    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 {
        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
|--------------------------------------------------------------------------
*/
footer {
    padding: 50px 0;
    background: #C8CDD1; /* Final medium grey */
    color: var(--text-dark);
}

    footer .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #5A6473;
    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-col img {
    width: 220px !important;
    height: auto !important;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
}

    .footer-links a {
        color: #525A65;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: var(--brand);
        }

.social-links {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

    .social-links a i {
        font-size: 20px;
        color: #525A65;
    }

    .social-links a:hover i {
        color: var(--brand);
    }

/*
|--------------------------------------------------------------------------
| Responsive Adjustments (CONSOLIDATED)
|--------------------------------------------------------------------------
*/

@media(max-width:1400px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:980px) {
    /* Header & Nav */
    .header-inner nav.primary a:not(.btn):not(:nth-child(5)) {
        display: none;
    }

    .header-inner nav.primary .btn-outline {
        display: none;
    }

    /* Modules */
    .module .row {
        gap: 30px;
        flex-direction: column;
    }

        .module .row .text {
            padding: 30px;
            flex: none;
            width: 100%;
        }

        .module .row h3 {
            font-size: 30px;
        }

        .module.reverse .row,
        .module .row.reverse {
            flex-direction: column;
        }

    .list-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col:first-child {
        grid-column: span 2;
    }
}

@media(max-width:768px) {
    /* Header */
    .header .logo a img {
        width: 180px !important;
    }

    .header-inner nav.primary {
        gap: 10px;
    }

    /* Page Hero */
    .page-hero-wrapper {
        min-height: 350px;
        padding: 80px 0;
    }

    .page-hero-content h2 {
        font-size: 30px;
    }

    /* Home Slider */
    .slide {
        min-height: 400px;
        padding-top: 60px;
    }

        .slide h1 {
            font-size: 26px;
        }

        .slide p.lead {
            font-size: 16px;
        }

        .slide .cta {
            flex-direction: column;
            gap: 10px;
        }

    /* Grids */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* CTA Section */
    .book-demo-wrapper {
        padding: 60px 0;
    }

    .book-demo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

        .book-demo .left {
            flex: none;
            width: 100%;
        }

        .book-demo .right {
            min-width: unset;
            width: 100%;
        }

        .book-demo h2 {
            font-size: 30px;
        }

    .module .text-center h3 {
        font-size: 32px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.video-thumb {
    position: relative;
    display: inline-block;
}

    .video-thumb img {
        width: 100%;
        max-width: 500px;
        border-radius: 8px;
    }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

