@import url('https://cdn.jsdelivr.net/npm/@qpokychuk/gilroy@1.0.2/index.min.css');

/*
 * Fresh Yard Initiative Core Stylesheet
 * Developed with premium CSS layout patterns, typography, and interactive components.
 */

:root {
    --bg-color: #fbf9f7;
    --text-color: #002808;
    --accent-color: #a3c418;
    --border-color: #e2ddd5;
    --accent-hover: #8fb114;
    --text-muted: rgba(0, 40, 8, 0.75);
    --text-light: #fbf9f7;
    --font-sans: 'Gilroy', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Gilroy', 'Playfair Display', Georgia, serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & ACCESSIBILITY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-color);
}

p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 24px;
}

strong {
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    border-bottom: 1px solid rgba(226, 221, 213, 0.3);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(251, 249, 247, 0.7); /* Translucent warm ivory */
    backdrop-filter: blur(20px); /* Premium frosted glass blur */
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 40, 8, 0.03); /* Soft premium shadow */
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 72px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-title span {
    color: var(--accent-color);
}

.logo-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    opacity: 0.7;
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--accent-color);
}

nav a:hover::after,
nav li.current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin-bottom: 5px;
    transition: var(--transition-smooth);
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--text-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.btn:hover {
    background-color: transparent;
    color: var(--text-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-hero-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-hero-secondary:hover {
    background-color: #ffffff;
    color: var(--text-color);
    border-color: #ffffff;
}

/* --- HERO SECTION (FULLWIDTH OVERLAY) --- */
.hero-fullwidth {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 40, 8, 0.45) 0%, rgba(0, 40, 8, 0.75) 100%);
    z-index: 1;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-overlay {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    color: var(--bg-color); /* Ivory color */
    margin-bottom: 30px;
    line-height: 1.15;
    text-shadow: 0 3px 15px rgba(0, 40, 8, 0.6);
}

.btn-hero {
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
    border-color: var(--accent-color) !important;
}

.btn-hero:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
}

/* --- SECTIONS --- */
section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

section.bg-white {
    background-color: #ffffff;
}

section.bg-ivory {
    background-color: var(--bg-color);
}

section.bg-light-green {
    background-color: rgba(0, 40, 8, 0.03);
}

.section-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.split-title h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    position: sticky;
    top: 140px;
}

/* --- ACHIEVEMENTS BOX SECTION --- */
.achievements-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* Align items centered to keep the section compact */
}

.achievements-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.achievements-right-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.achievements-right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(105%);
    transition: var(--transition-smooth);
}

.achievements-right-img:hover img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.02);
}

.achievement-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center up and down perfectly */
    align-items: center;     /* Center left and right perfectly */
    text-align: center;
    height: 100%;
}

/* --- ACHIEVEMENTS GALLERY GRID (2x2) --- */
.achievements-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 100%;
    aspect-ratio: 1 / 1; /* Make the gallery a perfect square */
    max-width: 460px; /* Restrict max size so it stays compact */
    margin: 0 auto;
}

.achievements-gallery-item {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.achievements-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(10%) contrast(102%);
}

.achievements-gallery-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(100%);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 40, 8, 0.05);
}

.achievement-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 10px;
}

.achievement-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.achievement-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- HORIZONTAL CARD SLIDER (Mastercard Foundation Inspired) --- */
.slider-section {
    position: relative;
    overflow: hidden;
}

.slider-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
}

.slider-btn:hover svg {
    stroke: var(--bg-color);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
    fill: none;
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.slider-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 30px;
    margin: 0 -40px;
    padding-left: 40px;
    padding-right: 40px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.slider-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.slider-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 40, 8, 0.04);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.slider-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.25;
}

.card-title a:hover {
    color: var(--accent-color);
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.card-link svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-color);
    fill: none;
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.slider-card:hover .card-link {
    color: var(--accent-color);
}

.slider-card:hover .card-link svg {
    stroke: var(--accent-color);
    transform: translateX(4px);
}

/* --- CALLOUT SECTION & SUBSCRIBE FORM --- */
.callout-section {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 80px 0;
    border-top: 5px solid var(--accent-color);
    border-bottom: 5px solid var(--accent-color);
    width: 100%;
}

.callout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.callout-text h2 {
    color: var(--bg-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.callout-text p {
    color: rgba(251, 249, 247, 0.8);
    margin-bottom: 0;
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(251, 249, 247, 0.2);
    padding: 15px 20px;
    color: var(--bg-color);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
}

.subscribe-form .btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.subscribe-form .btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* --- SERVICES GRID (FOUR COLUMNS) --- */
.services-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-icon-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    border-top: 4px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 2px;
}

.service-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 40, 8, 0.05);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(163, 196, 24, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-color);
}

.service-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-color);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon-box h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-icon-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 40, 8, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(163, 196, 24, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-color);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.clean-list {
    list-style: none;
    margin-top: 20px;
}

.clean-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.clean-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* --- APPROACH SPLIT (Accordion Timeline) --- */
.accordion-wrapper {
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-title-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.accordion-num {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--accent-color);
    font-style: italic;
    font-weight: 600;
}

.accordion-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.accordion-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    padding-top: 15px;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 250px;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* --- PARTNERS MARQUEE SLIDER --- */
.marquee-container {
    overflow: hidden;
    padding: 40px 0;
    border-top: none;
    border-bottom: none;
    background: rgba(251, 249, 247, 0.5);
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
    gap: 80px;
    align-items: center;
}

.marquee-item {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.3;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    opacity: 0.8;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- CONTACT FORM GRID --- */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: stretch;
}

.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px;
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--text-color);
    background-color: #ffffff;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23002808' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 40px !important;
    cursor: pointer;
}

.contact-side-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.contact-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) sepia(5%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-side-image:hover img {
    transform: scale(1.08);
}

/* --- APPROACH JOURNEY GALLERY --- */
#journey .split-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

#journey .journey-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    padding: 0;
    height: 100%;
    min-height: 580px;
    box-sizing: border-box;
}

#journey .journey-gallery-sub {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

#journey .journey-gallery-brand {
    aspect-ratio: 1 / 1;
    background-color: var(--text-color);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--text-color);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 2px;
}

#journey .journey-gallery-brand svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-color);
    margin-bottom: 12px;
}

#journey .journey-gallery-brand span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.journey-gallery {
    display: grid;
    grid-template-rows: 320px 220px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 0; /* Padding above and below the gallery */
}

.journey-gallery-main {
    grid-column: 1 / span 2;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.journey-gallery-sub {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.journey-gallery-main img,
.journey-gallery-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(10%) contrast(102%);
}

.journey-gallery-main:hover img,
.journey-gallery-sub:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(100%);
}

/* --- GALLERY GRID & SITEMAP --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    border: 1px solid var(--border-color);
    background: #ffffff;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 40, 8, 0.04);
}

.gallery-img {
    height: 240px;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.04);
}

.gallery-details {
    padding: 20px;
}

.gallery-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
}

.gallery-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Page Sitemap/Directory in Gallery */
.sitemap-section {
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sitemap-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.sitemap-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.sitemap-card h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sitemap-card p {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* --- RESOURCES DIRECTORY --- */
.resources-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.filter-tags {
    display: flex;
    gap: 12px;
}

.filter-tag {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tag.active, .filter-tag:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.resource-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.resource-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 40, 8, 0.03);
}

.resource-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.resource-card p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.resource-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

.resource-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.resource-action svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-color);
    fill: none;
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.resource-card:hover .resource-action {
    color: var(--accent-color);
}

.resource-card:hover .resource-action svg {
    stroke: var(--accent-color);
    transform: translateY(2px);
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
    width: 100%;
}

footer .container {
    max-width: 1140px !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--bg-color);
}

.footer-brand p {
    color: rgba(251, 249, 247, 0.7);
    font-size: 0.95rem;
    max-width: 360px;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(251, 249, 247, 0.6);
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(251, 249, 247, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(251, 249, 247, 0.4);
    font-size: 0.8rem;
}

/* --- SPACE PLANNER --- */
.planner-section {
    padding: 100px 0;
}

.planner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    align-items: stretch;
    margin-top: 40px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 40, 8, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.planner-card {
    background: transparent;
    border: none;
    padding: 50px;
    border-right: 1px solid var(--border-color);
}

.planner-results-card {
    background: rgba(163, 196, 24, 0.03);
    border: none;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.planner-group {
    margin-bottom: 35px;
}

.planner-group:last-child {
    margin-bottom: 0;
}

.planner-group label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 12px;
    display: block;
}

.planner-results-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 40, 8, 0.1);
    padding-bottom: 15px;
}

.result-item {
    margin-bottom: 25px;
}

.result-item:last-of-type {
    margin-bottom: 30px;
}

.result-item h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.result-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.yield-badge {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color);
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 2px;
    margin-top: 4px;
}

/* --- CUSTOM HELPER GRIDS --- */
.holiday-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.join-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

/* --- RESPONSIVE DESIGNS --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    .hero-grid, .achievements-container, .split-grid, .contact-section-grid, .footer-grid, .holiday-split-grid, .join-steps-grid, .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .planner-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .planner-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px 30px;
    }
    .planner-results-card {
        padding: 40px 30px;
    }
    .hero-title,
    .hero-title-overlay {
        font-size: 2.8rem;
    }
    .hero-image-wrapper {
        height: 380px;
    }
    .split-title h2 {
        position: static;
    }
    .services-grid, .resources-grid, .services-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
    #journey .journey-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
        z-index: 10000 !important;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 10002 !important;
    }
    
    nav {
        position: fixed;
        top: 79px;
        left: 0;
        width: 100%;
        height: calc(100vh - 79px);
        background-color: var(--bg-color);
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10001 !important;
        display: block;
        border-top: 1px solid var(--border-color);
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 25px;
    }
    
    nav a {
        font-size: 1.1rem;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 130px 0 40px 0 !important;
    }
    
    .hero-title,
    .hero-title-overlay {
        font-size: 2.0rem !important;
        margin-bottom: 20px !important;
        line-height: 1.25 !important;
    }

    .hero-fullwidth {
        height: auto !important;
        min-height: 460px;
        padding: 130px 20px 80px 20px !important;
        box-sizing: border-box;
    }

    .btn {
        padding: 10px 20px !important;
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }
    
    .hero-lead {
        font-size: 1.15rem;
    }
    
    .contact-section-grid {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 40px !important;
    }
    
    .achievements-left, .services-grid, .resources-grid, .sitemap-grid, .services-grid-four {
        grid-template-columns: 1fr;
    }
    
    .callout-box {
        padding: 40px 30px;
    }
    
    .callout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-side-image {
        height: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 25px;
        padding-top: 15px;
    }
}

/* --- PREMIUM WHATSAPP CHAT WIDGET --- */
.whatsapp-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: var(--font-sans);
}

.whatsapp-float-trigger {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float-trigger:hover {
    transform: scale(1.08);
    background-color: #128c7e;
}

.whatsapp-float-trigger svg {
    width: 32px;
    height: 32px;
    fill: currentColor !important;
    stroke: none !important;
    stroke-width: 0 !important;
}

/* Chat Box Popup */
.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: 90vw;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-box-header {
    background-color: #075e54;
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.active-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border: 2px solid #075e54;
    border-radius: 50%;
}

.agent-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-sans);
}

.agent-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0 0 0;
}

.chat-box-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.chat-box-close:hover {
    opacity: 1;
}

/* Body */
.chat-box-body {
    background-color: #e5ddd5;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="%23b0bec5" fill-opacity="0.1"><path d="M40 0h40v40H40zM0 40h40v40H0z"/></g></svg>');
    padding: 20px;
    flex-grow: 1;
    max-height: 250px;
    overflow-y: auto;
}

.chat-bubble {
    background-color: #ffffff;
    padding: 12px 15px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 90%;
    position: relative;
    margin-bottom: 10px;
}

.chat-bubble p {
    font-size: 0.88rem;
    color: #333333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    font-weight: 400;
}

.chat-bubble p:last-of-type {
    margin-bottom: 0;
}

.chat-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #999999;
    margin-top: 4px;
}

/* Footer input */
.chat-box-footer {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-top: 1px solid var(--border-color);
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 5px 5px 5px 15px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.chat-input-wrapper input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-color);
    padding: 5px 0;
}

.chat-input-wrapper input::placeholder {
    color: #999999;
}

.chat-send-btn {
    background-color: #075e54;
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

.chat-send-btn svg {
    margin-left: 2px;
    fill: currentColor !important;
    stroke: none !important;
    stroke-width: 0 !important;
}

/* --- FOOTER SOCIAL ICONS --- */
.social-icons-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(251, 249, 247, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 249, 247, 0.1);
    text-decoration: none;
}

.social-icon-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.social-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- BLOG POSTS ENTRY TITLE RESPONSIVENESS --- */
.entry-title,
.page-title {
    font-size: 2.6rem !important;
    line-height: 1.15 !important;
}

@media (max-width: 1024px) {
    .entry-title,
    .page-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    .entry-title,
    .page-title {
        font-size: 1.8rem !important;
    }
}

/* --- BLOG POSTS SIDEBAR LAYOUT --- */
.single-post-grid {
    display: grid;
    grid-template-columns: 2.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.post-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 40, 8, 0.01);
}

.sidebar-widget h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 10px;
}

.sidebar-widget select,
.sidebar-widget input {
    width: 100%;
    margin-bottom: 15px;
}

.sidebar-widget .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.75rem;
}

/* Guides download list */
.widget-download-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-download-list li {
    margin-bottom: 15px;
}

.widget-download-list li:last-child {
    margin-bottom: 0;
}

.widget-download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.widget-download-link:hover {
    color: var(--accent-hover);
}

.widget-download-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-hover);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Ask an Agronomist widget */
.agronomist-widget-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.agronomist-widget-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-sizing: border-box;
}

.agronomist-widget-avatar img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.agronomist-widget-avatar .active-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.agronomist-widget-details h5 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.agronomist-widget-details p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.agronomist-widget-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agronomist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition-smooth);
    text-align: center;
}

.agronomist-btn:hover {
    border-color: var(--text-color);
    background-color: rgba(0, 40, 8, 0.02);
}

.agronomist-btn.wa-btn {
    background-color: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.agronomist-btn.wa-btn:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.agronomist-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor !important;
    stroke: none !important;
    stroke-width: 0 !important;
}

@media (max-width: 1024px) {
    .single-post-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .post-sidebar {
        position: static;
    }
}

