* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Brand Colors */
    --brand-green: #308c50;
    --sage: #7bb891;
    
    /* Neutrals */
    --off-white: #fafaf8;
    --light-cream: #f5f5f0;
    --warm-gray: #6b6b60;
    --charcoal: #2d2d2a;
    
    
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--charcoal);
    background-color:#DFEAE3;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(48, 140, 80, 0.1);
}

li {
    margin-left: 25px;
    color:#2E2E2E;
}

#home { scroll-margin-top: 150px; }
#capabilities { scroll-margin-top: 150px; }
#about { scroll-margin-top: 150px; }
#contact { scroll-margin-top: 150px; }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--brand-green);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--brand-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-green);
}

.contact-btn {
    background-color: var(--brand-green);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: var(--deep-forest);
    color: var(--brand-green) !important;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 90px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    color: var(--brand-green);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--warm-gray);
    margin-bottom: 2rem;
    margin-right: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--brand-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--deep-forest);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-green);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--brand-green);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--brand-green);
    color: white;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow:hidden;
    height:1200;
    width:auto;
    background: linear-gradient(135deg, var(--sage) 0%, var(--brand-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Section */
.stats-section {
    background-color:#FAFAF8;
    padding: 4rem 3rem;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--brand-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--warm-gray);
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    padding: 6rem 3rem;
    max-width: 1500px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(48, 140, 80, 0.15);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin: auto;
    margin-bottom: 1.5rem;
    color: var(--brand-green);
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    justify-content: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.service-card p {
    color:#2E2E2E;
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    background-color:#FAFAF8;
    padding: 6rem 3rem;
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.partner-logo {
    /* height: 130px; */
    height: 160px;
    color: var(--warm-gray);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    background-color: white;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.3;
    transform: scale(1);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.partner-logo.dim-portrait img { height: 95%; }
.partner-logo.dim-square img { height: 75%;}
.partner-logo.dim-block img { height: 85%;}
.partner-logo.dim-classic img { width: 67.5%;}
.partner-logo.dim-landscape img { width: 75%; }
.partner-logo.dim-wide img { width: 97.5%; }

.the-grove img {
    position: relative;
    top: 2.5%;
}

.partner-card img,
.partner-logo img,
.partner-logo-img,
.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

/* .partner-logo.the-grove img { max-height: 90px; } */
/* .partner-logo.food-venture-accelerator img { max-height: 90px;} */

/* Brands Section */
.brands-section {
    position: relative;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.brands-grid {
    width: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.brand-logo {
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* .brand-logo.dim-portrait img { height: 95%; } */
.brand-logo.dim-square img { width: 50%;}
.brand-logo.dim-block img { width: 60%;}
.brand-logo.dim-classic img { width: 80%; }
.brand-logo.dim-landscape img { width: 85%; }
.brand-logo.dim-wide img { width: 95%; }
.brand-logo.dim-full img { width: 100%; }

/* About Section */
.about-section {
    background-color:#FAFAF8;
    padding: 6rem 3rem;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 440px;
    background: linear-gradient(135deg, var(--sage) 0%, var(--brand-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit:scale-down;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--brand-green);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.member-info p {
    color: var(--warm-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    
        }
/* Testimonials Section */
.testimonials-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
}

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 1rem;
    text-align: center;
}

.testimonial-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--charcoal);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 0.5rem;
}

.testimonial-company {
    font-size: 1rem;
    color: var(--warm-gray);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    /* transform: translateY(-50%); */
    width: calc(100% + 4rem);
    max-width: calc(1000px + 4rem);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    left: calc(50% - 1000px/2 - 2rem);
    pointer-events: none;
    transition: top 0.5s ease;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--brand-green);
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    line-height: 1;
    padding-bottom: 2px;
}

.testimonial-arrow:hover {
    background-color: var(--deep-forest);
    transform: scale(1.1);
}

.testimonial-arrow:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    background-color:#FAFAF8;
    color: var(--charcoal);
    padding: 4rem 3rem 2rem;
    border-top: 2px solid var(--light-cream);
}

.footer-container {
    max-width: 1440px;
    margin: 0 6rem;
    display: grid;
    grid-template-columns: 150px 1fr 157px;
    gap: 0;
    margin-bottom: 3rem;
}
.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-logo {
    width: 150px;
    height: auto;
}
.footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 2rem;
}

.footer-brand h3 {
    color: var(--brand-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h4 {
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    margin-left: 36px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin-bottom: 0;
    margin-left: 0;
}

.footer-section a {
    color: var(--warm-gray);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section a:hover {
    color: var(--brand-green);
}

.contact-icon {
    width: 25px;
    height: 25px;
    color: var(--brand-green);
    flex-shrink: 0;
}

.social-links-footer {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.social-links-footer .contact-icon {
    width: 30px;
    height: 30px;
}
.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--light-cream);
    text-align: center;
    color: var(--warm-gray);
}

/* Responsive */
@media (max-width: 1440px) {
    .footer-container { margin-left: 0; margin-right: 0; }
}
@media (max-width: 1250px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .partner-logo.dim-square img { height: 70%; }
    .partner-logo.dim-block img { height: 75%; }
    .partner-logo.dim-classic img { width: 60%; min-width: 175px;}
    .partner-logo.dim-landscape img { width: 65%; min-width: 185px; }

    .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .brand-logo { height: 150px; }
    .brand-logo.dim-square img { width: 50%; max-height: 75%; }
    .brand-logo.dim-block img { width: 60%; max-height: 70%; }
    .brand-logo.dim-classic img { width: 75%; }
    .brand-logo.dim-landscape img { width: 80%; }
    .brand-logo.dim-wide img { width: 90%; }
    .brand-logo.dim-full img { width: 100%; }

    .footer-container { grid-template-columns: 1fr; }
    .footer-logo-container { margin-bottom: 3em; }
    .footer-section { align-items: center; margin-top: 3rem;}
    .footer-section h4 { margin: 0; margin-bottom: 1.5rem; }
    .footer-section ul { display: inline-block; margin: 0 auto; width: 157px;}
}

@media (max-width: 1100px)
{
    .testimonial-nav { width: calc(100% + 3rem); left: -1.5rem;}
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .partner-logo.dim-classic { padding: 1.5rem 0; }
    .dim-landscape { padding: 0 2rem; }

    .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .brand-logo { height: 150px; }
    .brand-logo.dim-square img { width: 50%; max-height: 70%; }
    .brand-logo.dim-block img { width: 60%; max-height: 62.5%; }
    .brand-logo.dim-classic img { width: 75%; }
    .brand-logo.dim-landscape img { width: 100%; }
    .brand-logo.dim-wide img { width: 90%; }
    
}

@media (max-width: 768px) {

    .hero {
        margin-top: 200px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .brand-logo { height: 150px; }
    .brand-logo.dim-square img { width: 50%; max-height: 70%; }
    .brand-logo.dim-block img { width: 60%; max-height: 65%; }
    .brand-logo.dim-classic img { width: 60%; min-width: 130px;}
    .brand-logo.dim-landscape img { width: 90%; min-width: 160px;}
    .brand-logo.dim-wide img { width: 90%; }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
    }

    .nav-container .logo {
        margin-bottom: 15px;
    }

    .nav-links li:first-child {
        margin-left: 0;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .contact-btn {
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.5rem;
    }
    .partner-logo {
        padding: 1px;
        height: 120px;
    }
    .partner-logo.dim-portrait img { }
    .partner-logo.dim-square img { height: 80%; }
    .partner-logo.dim-block img { height: 80%; }
    .partner-logo.dim-classic img { width: 40%; min-width: 160px;}
    .partner-logo.dim-landscape img { width: 40%; min-width: 160px; }
    .partner-logo.dim-wide img { width: 65%; min-width: 210px; }

    .brands-grid { grid-template-columns: repeat(1, 1fr); gap: 0.5rem; }
    .brand-logo { height: 120px; }
    .brand-logo.dim-square img { width: 50%; max-height: 75%; }
    .brand-logo.dim-block img { width: 60%; max-height: 70%; }
    .brand-logo.dim-classic img { width: 35%; min-width: 120px;}
    .brand-logo.dim-landscape img { width: 47.5%; min-width: 150px;}
    .brand-logo.dim-wide img { width: 57.5%; min-width: 175px;}
    .brand-logo.dim-full img { width: 65%; }

    .footer-brand { padding: 0; }
}

@media (max-width: 480px) {
    .testimonial-content { padding: 2.5rem; }
    .testimonial-text { font-size: 1rem; }
    .testimonial-author { font-size: 1rem; }
    .testimonial-company { font-size: 0.9rem; }
    .testimonial-slide { padding: 0.25rem; }
    .testimonial-nav {
        padding: 0;
        width: calc(100% + 2rem);
        left: -1rem;
    }
    .testimonial-arrow {
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 420px) {
    .nav-links {
        gap: 0;
    }

    .nav-links li {
        margin-left: 15px;
    }

    .nav-links li:first-child {
        margin-left: 0;
    }
}
@media (max-width: 360px) {
    .testimonial-content { padding: 2.5rem 2rem; }
    .testimonial-text { font-size: 0.9rem; }
    .testimonial-author { font-size: 0.9rem; }
    .testimonial-company { font-size: 0.8rem; }
}