:root {
    --primary-green: #0b6b44;
    --accent-gold: #d3a20c;
    --secondary-green: #708A44;
    --light-bg: #F8F8F8;
    --white: #FFFFFF;
    --heading-font: 'Inter', 'Open Sans', sans-serif;
    --body-font: 'Inter', 'Open Sans', sans-serif;
}

html {
    width: 100%;
}

body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    background-color: var(--light-bg); /* Changed */
    color: var(--primary-green);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: bold;
    color: var(--primary-green);
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
    color: var(--secondary-green);
}

header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100px;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header-logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 99999;
    padding: 10px;
    transition: transform 0.3s ease;
    position: relative;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--primary-green);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    position: relative;
    z-index: 99999;
}

/* Hamburger animation to X */
.hamburger-menu.active .bar {
    background-color: #FFFFFF;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 107, 68, 0.95);
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.4s ease, visibility 0s;
}

/* Mobile menu - hidden by default on desktop */
.mobile-menu {
    display: none;
}

/* Mobile menu close button (X) */
.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-menu-close .close-bar {
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.mobile-menu-close .close-bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close .close-bar:nth-child(2) {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 30px;
        right: 20px;
        z-index: 99999;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .hamburger-menu.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hide desktop menu on mobile */
    .desktop-menu {
        display: none !important;
    }

    /* Show mobile menu */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        width: calc(100vw - 25px);
        max-width: 400px;
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
        position: fixed;
        top: 0;
        right: -100vw;
        height: 100vh;
        padding: 80px 30px 40px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 9000;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease;
        align-items: flex-start;
        justify-content: flex-start;
        opacity: 0;
        pointer-events: none;
        list-style: none;
        margin: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mobile-menu.active {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease;
        position: relative;
        z-index: 1;
    }

    .mobile-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .mobile-menu.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .mobile-menu.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .mobile-menu.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .mobile-menu li a {
        color: var(--white);
        font-size: 28px;
        font-weight: 700;
        padding: 20px 0;
        display: block;
        width: 100%;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        letter-spacing: 1px;
        position: relative;
        z-index: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .mobile-menu li a:hover {
        color: var(--accent-gold);
        transform: translateX(10px);
        border-bottom-color: var(--accent-gold);
    }
}

@media (max-width: 400px) {
    .mobile-menu {
        padding: 80px 20px 40px;
    }

    .mobile-menu li a {
        font-size: 24px;
    }
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding: 10px 15px;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-gold);
    transition: width 0.4s ease;
    z-index: -1;
}

nav ul li a:hover {
    color: var(--white);
}

nav ul li a:hover::before {
    width: 100%;
}

main {
    text-align: center;
}

section {
    padding: 0px 0px;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.rule-top {
    top: 0;
}

.rule-bottom {
    bottom: 0;
}

.parallax-section {
    background-image: url('/images/patterns/farmset1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    background-size: 30%;
    position: relative;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.parallax-section h2 {
    color: var(--secondary-green);
}

.rule-top-dark-green {
    position: relative;
    top: 0;
    height: 80px;
    width: 100%;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rule-bottom-dark-green {
    position: relative;
    bottom: 0;
    height: 35px;
    width: 100%;
    background-color: var(--primary-green);
}

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

.rule-top, .rule-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--accent-gold);
}

.rule-top {
    top: 40px;
}

.rule-bottom {
    bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Added margin-bottom */
}

.benefit-icon-container {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.benefit-icon-container .fas {
    font-size: 40px;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon-container {
    transform: scale(0.9);
}

.benefit-item:hover .fas {
    transform: scale(1.5);
}

.pathway-item {
    background-color: var(--white);
    border: 1px solid var(--light-bg);
}

.hero {
    background-image: url('/images/patterns/valley2.webp');
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: var(--primary-green); /* Text color changed to green */
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-logo {
    max-width: 40%;
    margin-bottom: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    will-change: transform, opacity;
}

/* Introduction Section */
.introduction {
    background-color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.introduction .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.introduction h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-green);
}

.introduction .intro-main {
    font-size: 20px;
    line-height: 1.8;
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .introduction {
        padding: 60px 20px;
    }

    .introduction h2 {
        font-size: 28px;
    }

    .introduction .intro-main {
        font-size: 18px;
    }
}

.cta-button {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 179, 43, 0.5);
}

footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2em 0;
    margin-top: 40px;
}

#partnership-animation {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 150px 20px;
    position: sticky;
    top: 60px;
    z-index: 1;
    margin-bottom: 20px;
    overflow: hidden; /* Hide the texture when it scrolls out of view */
    width: 100%;
    box-sizing: border-box;
}

.scrolling-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    transform: translateY(0);
}

.partnership-content {
    position: relative;
    z-index: 2;
}

#partnership-inner {
    will-change: transform;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

section:not(#partnership-animation) {
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.partnership-heading {
    font-size: clamp(32px, 8vw, 120px);
    font-weight: bold;
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#partnership-animation.animate .partnership-heading {
    animation: wipe-in 1.5s forwards;
}

.icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    gap: 2vw;
}

#partnership-animation.animate .icons-container {
    animation: fade-in 1s 1.5s forwards;
}

.icons-container .icon-partner {
    width: clamp(80px, 15vw, 200px);
    height: clamp(80px, 15vw, 200px);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    animation: float 3s ease-in-out infinite;
    flex-shrink: 0;
}

.icons-container .icon-partner-2 {
    animation-delay: 0.5s;
}

.partnership-x {
    font-size: clamp(40px, 10vw, 120px);
    font-weight: bold;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    #partnership-animation {
        padding: 100px 10px;
    }

    .partnership-heading {
        font-size: clamp(24px, 10vw, 60px);
        padding: 0 5px;
    }

    .icons-container {
        padding: 10px;
        gap: 3vw;
    }

    .icons-container .icon-partner {
        width: clamp(60px, 20vw, 120px);
        height: clamp(60px, 20vw, 120px);
    }

    .partnership-x {
        font-size: clamp(30px, 12vw, 80px);
    }
}

@media (max-width: 480px) {
    #partnership-animation {
        padding: 80px 5px;
    }

    .partnership-heading {
        font-size: clamp(20px, 12vw, 40px);
    }

    .icons-container {
        padding: 5px;
        gap: 2vw;
    }

    .icons-container .icon-partner {
        width: clamp(50px, 22vw, 100px);
        height: clamp(50px, 22vw, 100px);
    }

    .partnership-x {
        font-size: clamp(25px, 14vw, 60px);
    }
}

.icon-divider {
    font-size: 6vw;
    font-weight: bold;
    margin: 0 2vw;
}

@keyframes wipe-in {
    from {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

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

.process-section {
    display: flex;
    margin: 0 auto 40px auto;
    gap: 0; /* Remove gap, handled by padding in .process-text */
    padding: 0;
    max-width: 1200px;
    background-color: var(--white);
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Image on left side (default) */
.process-section.left {
    flex-direction: row;
}

/* Image on right side */
.process-section.right {
    flex-direction: row-reverse;
}

.process-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: none;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
}

.image-overlay h2 {
    color: var(--white);
    font-size: 32px;
    margin: 0 0 10px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.title-rule {
    border: none;
    height: 3px;
    width: 80px;
    background-color: var(--accent-gold);
    margin: 0;
}

.process-text {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center all content */
}

.icon-list li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    position: relative;
    opacity: 0; /* Initial state for animation */
    transform: translateY(20px); /* Initial state for animation */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.icon-list.is-visible li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for list items */
.icon-list.is-visible li:nth-child(1) { transition-delay: 0.1s; }
.icon-list.is-visible li:nth-child(2) { transition-delay: 0.2s; }
.icon-list.is-visible li:nth-child(3) { transition-delay: 0.3s; }
.icon-list.is-visible li:nth-child(4) { transition-delay: 0.4s; }

.icon-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}



.icon-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
}

.icon-list i {
    font-size: 32px; /* Larger icon */
    color: var(--accent-gold);
    display: block; /* Icon on its own line */
    margin: 0 auto 15px auto; /* Spacing below icon */
}

.icon-list span {
    font-size: 18px;
    line-height: 1.6;
}

.parallax-element.gold {
    background-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .process-section {
        flex-direction: column !important;
        margin-bottom: 20px; /* Reduced margin for mobile */
    }

    /* Override left/right alignment - always stack image on top */
    .process-section.right,
    .process-section.left {
        flex-direction: column !important;
    }

    .process-section.right .process-image,
    .process-section.left .process-image {
        order: 0; /* Image with title appears first on mobile */
        min-height: 250px; /* Ensure image has some height */
    }

    .process-section.right .process-text,
    .process-section.left .process-text {
        order: 1; /* Icons and copy appear second on mobile */
        padding: 30px 20px;
    }

    .image-overlay h2 { font-size: 28px; }
    .icon-list li { font-size: 16px; }
}

.parallax-element {
    position: absolute;
    background-color: var(--primary-green);
    will-change: transform;
    top: var(--top);
    left: var(--left);
    width: var(--width);
    height: var(--height);
}

.parallax-element.dot {
    border-radius: 50%;
}

.parallax-element.gold {
    background-color: var(--accent-gold);
}


.placeholder-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
}

.process-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.process-banner-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.process-banner h1 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin: 0;
}

@media (max-width: 768px) {
    .process-banner {
        height: 300px;
    }

    .process-banner-overlay {
        padding: 40px 30px;
    }

    .process-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .process-banner {
        height: 250px;
    }

    .process-banner-overlay {
        padding: 30px 20px;
    }

    .process-banner h1 {
        font-size: 1.75rem;
    }
}

/* Process Page Logo Header Banner */
.process-page .section-header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background-color: var(--light-bg);
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.process-page .section-header-bar img {
    height: 40px;
    width: auto;
}

.process-page .section-header-bar p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: bold;
}

.process-page .section-header-bar .logo-renourish {
    height: 100px;
}

@media (max-width: 768px) {
    .process-page .section-header-bar {
        gap: 10px;
        padding: 20px 15px;
    }
    
    .process-page .section-header-bar img {
        height: 30px;
    }
    
    .process-page .section-header-bar .logo-renourish {
        height: 80px;
    }
    
    .process-page .section-header-bar p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .process-page .section-header-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 10px;
    }
    
    .process-page .section-header-bar img {
        height: 25px;
    }
    
    .process-page .section-header-bar .logo-renourish {
        height: 70px;
    }
    
    .process-page .section-header-bar p {
        font-size: 0.85rem;
    }
}

/* CTA Banner Styles */
.cta-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 60px 0;
}

.cta-banner-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
}

.cta-content h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    font-family: 'Inter', sans-serif;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin: 0 0 30px 0;
}

.cta-content .cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-content .cta-button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .cta-banner {
        height: 300px;
        margin: 40px 0;
    }

    .cta-banner-overlay {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        height: 250px;
        margin: 30px 0;
    }

    .cta-banner-overlay {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-content .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

#side-scroll-animation {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
}

.scroll-bar-top, .scroll-bar-bottom {
    position: absolute;
    width: 100%;
    height: 35px;
    background-color: var(--primary-green);
    z-index: 5; /* Above all layers */
}

.scroll-bar-top { top: 0; }
.scroll-bar-bottom { bottom: 0; }

.scroll-layer {
    position: absolute;
    top: 35px;
    bottom: 35px;
    left: 0;
    width: 200%; /* Double width for seamless loop */
    background-repeat: repeat-x;
    background-position: 0 bottom;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move left by one image width */
    }
}

@keyframes scroll-loop-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

#scroll-background { 
    z-index: 1; 
    animation-name: scroll-loop;
    animation-duration: 180s; /* Slowed down */
    background-size: auto 100%;
}

#scroll-mid { 
    z-index: 2; 
    animation-name: scroll-loop;
    animation-duration: 90s; /* Slowed down */
    background-size: auto 100%;
}

#scroll-truck { 
    z-index: 3; 
    animation-name: scroll-loop-reverse; /* Reversed animation */
    animation-duration: 20s; /* Fastest */
    background-size: auto 100%;
}

#scroll-foreground { 
    z-index: 4; 
    animation-name: scroll-loop;
    animation-duration: 60s; /* Slowed down */
    background-size: auto 100%;
}

/* Contact Page Styles */
.contact-page {
    width: 100%;
}

.contact-banner {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
}

.contact-banner h1 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin: 0 0 15px 0;
}

.contact-subheading {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-content {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    animation: slideIn 0.3s ease-out;
}

.alert i {
    font-size: 1.4rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-success i {
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-error i {
    color: #721c24;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.contact-detail-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.contact-detail-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.contact-detail-item p,
.contact-detail-item a {
    margin: 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
}

.contact-detail-item a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: var(--primary-green);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
}

.submit-btn:hover {
    background-color: #2d7a3e;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.success-message i {
    font-size: 1.2rem;
    color: #28a745;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-banner {
        height: 250px;
    }

    .contact-banner h1 {
        font-size: 2rem;
    }

    .contact-subheading {
        font-size: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        padding: 40px 20px;
    }

    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.5rem;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 220px;
    }

    .contact-banner-overlay {
        padding: 30px 15px;
    }

    .contact-banner h1 {
        font-size: 1.75rem;
    }

    .contact-subheading {
        font-size: 0.95rem;
    }

    .contact-detail-item {
        gap: 8px;
    }

    .contact-detail-item i {
        font-size: 2rem;
        margin-bottom: 8px;
    }
}

/* ===================================
   VISION, MISSION & VALUES PAGE STYLES
   =================================== */

.vision-page {
    background: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #E6B32B;
    font-weight: 600;
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mission, Vision, Core Business Cards */
.mvv-intro {
    padding: 80px 0;
    background: white;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(40, 92, 49, 0.2);
}

.mvv-icon {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-icon {
    transform: scale(0.9);
}

.mvv-icon i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.mvv-card:hover .mvv-icon i {
    transform: scale(1.5);
}

.mvv-card h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.mvv-card p {
    color: var(--primary-green);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Values Section */
.values-section {
    padding: 0;
}

.values-section.parallax-section {
    background-image: url('/images/patterns/corportate-pattern.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    background-size: 30%;
    position: relative;
    overflow: hidden;
}

.values-section.parallax-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
}

.section-title h2 {
    color: var(--secondary-green);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(40, 92, 49, 0.2);
}

.value-icon {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(0.9);
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    transform: scale(1.5);
}

.value-card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-concept {
    color: var(--secondary-green);
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
}

.value-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.value-benefit i {
    color: var(--accent-gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.value-benefit span {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
}

.value-description {
    color: var(--primary-green);
    line-height: 1.7;
    font-size: 1rem;
}

/* Personality Section */
.personality-section {
    padding: 80px 0;
    background: white;
}

.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.personality-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F8F8F8;
    padding: 25px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid #285C31;
}

.personality-item:hover {
    background: white;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(40, 92, 49, 0.15);
    border-left-color: #E6B32B;
}

.personality-item i {
    font-size: 2rem;
    color: #E6B32B;
    flex-shrink: 0;
}

.personality-item span {
    color: #285C31;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design for Vision Page */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .rule-top-dark-green {
        height: 60px;
    }

    .rule-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        padding: 0 15px;
    }

    .mvv-intro,
    .values-section,
    .personality-section {
        padding: 50px 20px;
    }

    .mvv-grid,
    .values-grid,
    .personality-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .mvv-card,
    .value-card {
        padding: 30px 20px;
    }

    .mvv-card h2,
    .value-card h3 {
        font-size: 1.5rem;
    }

    .personality-item {
        padding: 20px;
        gap: 15px;
    }

    .personality-item span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rule-top-dark-green {
        height: 50px;
    }

    .rule-title {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
}


/* --- Process Page Intro & Flowchart --- */
.process-intro {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.intro-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    /* No wrap */
}

.intro-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    max-width: 420px;
    text-align: center;
    border-top: 4px solid var(--primary-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Allow cards to grow and shrink */
    min-width: 150px; /* Prevent cards from becoming too narrow */
}

.intro-card-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.intro-card-logo-renourish {
    height: 120px;
}

.intro-card h3 {
    font-family: var(--heading-font);
    font-size: 1.7rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    height: 7rem; /* Fixed height to align bullet points */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
}

.intro-card p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-green);
    margin: 0;
}

@media (max-width: 600px) {
    .process-intro {
        padding: 2rem 1rem;
    }
    .intro-grid {
        gap: 1rem;
    }
    .intro-card {
        padding: 1rem;
    }
    .intro-card h3 {
        font-size: 1.1rem;
        height: 5.5rem; /* Fixed height for mobile to align bullet points */
        line-height: 1.2;
    }
    .intro-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .intro-card-logo {
        height: 80px;
        margin-bottom: 1rem;
    }
    .intro-card-logo-renourish {
        height: 80px;
    }
}

@media (max-width: 500px) {
    .intro-card-logo {
        height: 60px;
        margin-bottom: 0.75rem;
    }
    .intro-card-logo-renourish {
        height: 60px;
    }
}

/* --- Responsive Process Flowchart --- */
.responsive-flowchart {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 50px auto 50px auto;
    justify-items: center;
    align-items: center;
    gap: 0 20px;
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
}

.flow-item {
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 1rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    width: 100%;
    max-width: 280px;
    z-index: 1;
}

.item-top { grid-area: 1 / 1 / 2 / 3; }
.item-middle-1 { grid-area: 3 / 1 / 4 / 2; }
.item-middle-2 { grid-area: 3 / 2 / 4 / 3; }
.item-bottom { grid-area: 5 / 1 / 6 / 3; }

.flow-line {
    background-color: var(--accent-gold);
    position: relative;
}

.flow-line.has-arrow::after { /* Arrowhead */
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--accent-gold);
}

/* Vertical Lines */
.line-v { width: 2px; height: 100%; }
.line-v-1 { grid-area: 2 / 1 / 3 / 2; }
.line-v-2 { grid-area: 2 / 2 / 3 / 3; }
.line-v-3 { grid-area: 4 / 1 / 5 / 2; }
.line-v-4 { grid-area: 4 / 2 / 5 / 3; }

/* Horizontal Lines */
.line-h { height: 2px; width: 100%; }
.line-h-1 { grid-area: 2 / 1 / 3 / 3; }
.line-h-2 { grid-area: 4 / 1 / 5 / 3; }

/* Mobile Styles */
@media (max-width: 600px) {
    .responsive-flowchart {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .flow-item {
        width: 100%;
        max-width: 320px;
    }
    .flow-line {
        display: none; /* Hide all grid lines */
    }
    .flow-item:not(:last-child) {
        margin-bottom: 30px; /* Space for pseudo-element arrow */
        position: relative;
    }
    /* Create simple down arrows for mobile */
    .flow-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 25px;
        background-color: var(--accent-gold);
    }
    .flow-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 10px solid var(--accent-gold);
    }
    /* On mobile, the middle items are just regular items */
    .item-middle-1, .item-middle-2 {
        margin-bottom: 30px;
    }
    .item-bottom {
        margin-bottom: 0;
    }
    .item-bottom::before, .item-bottom::after {
        display: none;
    }
}

