﻿/* Professional Color Palette & Variables */
:root {
    --brand: #2E7D32; /* Primary Brand Green */
    --brand-dark: #1B5E20; /* Darker green for contrast/hover */
    --accent: #1A73E8;
    --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 SIZING --- */
.header {
    min-height: 130px !important;
    padding: 25px 0 !important;
    align-items: center;
}

    .header .container, .header-inner {
        height: auto !important;
    }

    .header .logo a img {
        width: 280px !important;
        max-width: none !important;
        height: auto !important;
        transition: width 0.3s ease;
    }

.footer-col img {
    width: 220px !important;
    height: auto !important;
    margin-bottom: 25px;
}

.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 (Used for the first header button) */
.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 .text-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

    .module .text-center h3, .module .text-center h2 {
        font-size: 40px;
        color: #5A6473;
        margin-bottom: 20px;
    }

/* Table Specific Styling */
.pricing-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--card);
}

    .pricing-table-wrapper table {
        width: 100%;
        min-width: 900px; /* Ensure wide enough for all columns */
        border-collapse: collapse;
        font-size: 14px;
    }

    .pricing-table-wrapper th, .pricing-table-wrapper td {
        padding: 15px;
        border: 1px solid #f0f0f0;
        vertical-align: middle;
    }

    .pricing-table-wrapper thead th {
        background-color: var(--bg);
        color: var(--text-dark);
        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        border-bottom: 2px solid var(--brand);
    }

    .pricing-table-wrapper thead tr:last-child th {
        background-color: var(--brand-dark);
        color: white;
        font-weight: 600;
        border-top: none;
        border-bottom: none;
    }

    .pricing-table-wrapper tbody tr:nth-child(even) {
        background-color: #fcfcfc;
    }

    .pricing-table-wrapper tbody tr:not(:has(td:empty)):not(.separator) td {
        color: var(--muted);
    }

    .pricing-table-wrapper td.font-weight-bolder {
        font-weight: 700;
        color: var(--text-dark); /* Highlight feature groups */
        background-color: #f9f9f9;
    }

    /* Empty rows for spacing */
    .pricing-table-wrapper tr:has(td:empty) {
        height: 5px;
        background-color: #F4F6F9;
    }

    .pricing-table-wrapper i.fa-check {
        color: var(--brand); /* Use brand color for checkmarks */
        font-size: 16px;
    }

.text-center {
    text-align: center !important;
}

.font-weight-bolder {
    font-weight: 700 !important;
}


/* --- 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;
    list-style: none; /* remove default list style */
    padding: 0;
}

    .footer-links a {
        color: #525A65; /* Darker link color */
        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 (Simplified for this file) */
@media(max-width:980px) {
    .header-inner nav.primary a:not(.btn):not(:nth-child(5)) {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col:first-child {
        grid-column: span 2;
    }
}

@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;
    }
}

/* Specific mobile table adjustment to ensure text visibility */
@media(max-width:600px) {
    .pricing-table-wrapper table {
        font-size: 12px;
        min-width: 700px;
    }

    .pricing-table-wrapper th, .pricing-table-wrapper td {
        padding: 10px 8px;
    }

    .pricing-table-wrapper thead th:nth-child(3),
    .pricing-table-wrapper thead th:nth-child(4),
    .pricing-table-wrapper thead th:nth-child(5),
    .pricing-table-wrapper thead th:nth-child(6) {
        white-space: nowrap;
    }
}


.pricing-table-wrapper {
    max-height: 550px; /* adjust as needed */
    overflow-y: auto;
}

.fixed-header thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    border-bottom: 2px solid #dee2e6;
}

.fixed-header thead tr:first-child th {
    top: 0;
}

.fixed-header thead tr:nth-child(2) th {
    top: 38px; /* height of first row */
}
