/* Font Awesome Local */
/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}

:root {
    --primary-color: #196826;
    --accent-color: #c27803; /* Refined Golden Oak - more wood-like, less orange */
    --bg-color: #f9fbf7; /* Refined: Subtle "Leaf Paper" - matches navbar better than vanilla */
    --navbar-bg: #eefee6; /* Fixed as requested */
    --text-muted: #64748b;
    --white: #ffffff;
    --stone: #f1f4ef; /* Refined: "Earthy Stone" - harmonizes with the green branding */
    --dark-text: #1e293b;
}

*, ::before, ::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Zilla Slab', serif;
    color: var(--primary-color);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* Header & Navbar */
header {
    background-color: var(--navbar-bg);
    color: var(--primary-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease, padding 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(25, 104, 38, 0.05);
}

header.header-hidden {
    transform: translateY(-100%);
}

header.scrolled {
    background-color: var(--navbar-bg);
    padding: 0.1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--primary-color) !important;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-brand img {
    margin-right: 0.75rem;
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 0; /* Increase padding for a more substantial header */
        min-height: 70px; /* Ensure a consistent minimum height */
    }
    .navbar-logo {
        height: 35px; /* Slightly larger than 25px for better readability */
    }
}

/* Navbar Toggle */
.navbar-toggler {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 10;
}

.navbar-toggler span {
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.navbar.navbar-open .navbar-toggler span:nth-child(1) {
    transform: rotate(45deg);
}

.navbar.navbar-open .navbar-toggler span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.navbar.navbar-open .navbar-toggler span:nth-child(3) {
    transform: rotate(-45deg);
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    background-color: var(--navbar-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.navbar.navbar-open .navbar-collapse {
    max-height: 500px; /* Adjust as needed */
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.75rem 0; /* Remove horizontal padding on mobile for left alignment */
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
    background-color: rgba(217, 119, 6, 0.05);
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        position: static;
        max-height: none;
        background: transparent;
        display: block;
        box-shadow: none;
        padding: 0;
        width: auto;
        backdrop-filter: none;
        flex-basis: auto;
        flex-grow: 0;
    }

    .navbar-nav {
        flex-direction: row;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        border-radius: 4px;
        color: var(--primary-color);
    }

    .nav-link:hover {
        background-color: rgba(25, 104, 38, 0.05);
        color: var(--accent-color);
    }
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center;
}

.col,
.col-md-6,
.col-md-7,
.col-md-5 {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.col {
    flex: 1 0 0%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

@media (max-width: 768px) {
    .col-md-6, .col-md-7, .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .row-cols-sm-2 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .row-cols-sm-2 > * {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Utilities */
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.hero-section {
    padding: 5rem 0; /* Reduced from 10rem for tighter layout */
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-img-container {
    width: 100%;
    margin-bottom: 0;
    padding-right: 2rem; /* More space between img and text */
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem; /* Slightly larger for emphasis */
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    border-bottom: 4px solid var(--accent-color);
    padding-bottom: 0.2rem;
}

.text-center.section-title {
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../img/logos/green_gecko_gecko.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.text-center.section-title::before {
    display: none;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        gap: 0.75rem;
    }
    .section-title::after {
        width: 32px;
        height: 32px;
    }
}

.about-content {
    padding-left: 3rem; /* Increased whitespace significantly */
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    .hero-img-container {
        padding-right: 0;
    }
    
    .testimonials-section {
        padding: 3rem 0; 
    }
    
    .main-quote p {
        font-size: 1.5rem; 
    }
    
    .main-quote i.fa-quote-left, .main-quote i.fa-quote-right {
        font-size: 1.8rem; 
    }

    .testimonial-story {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .case-study-sidebar {
        position: static; 
        padding: 1.5rem;
    }
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 12px; /* Softer corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Cards */
.album {
    padding: 4rem 0;
    background-color: var(--stone); /* Stone neutral instead of green */
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

.card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-top, .card-img-placeholder {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-img-placeholder {
    background-color: #fef3c7; /* Warm oak tint */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    overflow: hidden;
    position: relative;
}

.card-img-placeholder i {
    font-size: 8rem;
    opacity: 0.15;
    transform: rotate(-15deg);
    position: absolute;
}

.card-img-placeholder::after {
    content: '\f06c'; /* fa-leaf unicode */
    font-family: 'FontAwesome';
    font-size: 14rem;
    opacity: 0.08;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    transform: rotate(20deg);
}

.card-body {
    padding: 2rem;
}

.card-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../img/logos/green_gecko_gecko.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    position: relative;
    border-left: 6px solid var(--primary-color);
}

.main-quote {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.main-quote i.fa-quote-left {
    font-size: 3.5rem;
    color: rgba(25, 104, 38, 0.08);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.main-quote i.fa-quote-right {
    font-size: 3.5rem;
    color: rgba(25, 104, 38, 0.08);
    position: absolute;
    bottom: 2rem;
    right: 2rem;
}

.main-quote p {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.main-quote cite {
    font-style: normal;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.testimonial-story {
    padding-right: 3rem;
}

.testimonial-story p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.5rem;
}

.mini-quote {
    margin: 3rem 0;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-color); /* Use accent color for contrast */
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark-text);
}

.secondary-quote {
    background: var(--stone);
    color: var(--primary-color);
    border: 1px solid rgba(0,0,0,0.05);
    border-left: 6px solid var(--primary-color);
    margin-top: 3rem;
}

.secondary-quote p {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Sidebar Case Study */
.case-study-sidebar {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    position: sticky;
    top: 120px;
}

.sidebar-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
}

.carousel {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.carousel-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carousel-inner::-webkit-scrollbar {
    display: none;
}
.carousel-inner {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-item {
    position: relative;
    height: 350px;
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1.5rem 1rem 0.75rem;
    font-size: 0.9rem;
    text-align: center;
}

.carousel-nav {
    text-align: center;
    padding: 1rem;
    background: var(--stone);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
}

.stat-item i {
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 3rem 0 2rem;
    background-color: var(--stone);
    color: var(--dark-text);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 3rem for mobile */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-section h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section h5::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../img/logos/green_gecko_gecko.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.footer-logo-wrap {
    margin-top: 1.45rem; /* Refined for perfect h5 alignment */
    margin-bottom: 1.5rem;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.footer-social a.fa-facebook {
    background-color: #1877F2;
}

.footer-social a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Social Icons */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa:hover { opacity: 0.8; }

.text-white { color: var(--white) !important; }

/* FontAwesome Icons - Restored */
.fa-facebook:before { content: "\f09a"; }
.fa-facebook-official:before { content: "\f230"; }
.fa-envelope-o:before { content: "\f003"; }
.fa-envelope:before { content: "\f0e0"; }
.fa-phone:before { content: "\f095"; }
.fa-map-marker:before { content: "\f041"; }
.fa-quote-left:before { content: "\f10d"; }
.fa-quote-right:before { content: "\f10e"; }
.fa-check-circle:before { content: "\f058"; }
.fa-leaf:before { content: "\f06c"; }
.fa-check:before { content: "\f00c"; }
.fa-chevron-right:before { content: "\f054"; }
.fa-chevron-left:before { content: "\f053"; }

/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-tr...