@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700&display=swap');

:root {
    --main-green: #3c562e;
    --dark-green: #2a3d20;
    --accent-yellow: #ffea50;
    --accent-yellow-hover: #e6d348;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-offwhite: #fafaf8;
    --border-color: rgba(60, 86, 46, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(60, 86, 46, 0.08);
    --shadow-hover: 0 20px 40px rgba(60, 86, 46, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Onest', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-offwhite);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 110px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.15;
    color: var(--main-green);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.section {
    padding: 100px 0;
}

.text-green { color: var(--main-green); }
.text-center { text-align: center; }

/* Buttons & Interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 12px;
}

.btn-orange { /* Re-mapped to Yellow for class compatibility */
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 8px 20px rgba(255, 234, 80, 0.3);
}

.btn-orange:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 234, 80, 0.4);
}

.btn-white {
    background-color: white;
    color: var(--main-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-white:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    color: var(--dark-green);
}

/* Navbar */
.navbar-green {
    background-color: var(--main-green);
    padding: 12px 0;
    color: white;
    position: fixed;
    top: calc(20px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar-green.scrolled {
    background-color: rgba(60, 86, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.navbar-green .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

/* Groups nav links + button on the right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.brand-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}
.brand-logo:hover img {
    transform: scale(1.05);
}

/* Hero Bento */
.hero {
    padding-top: 0px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
    font-weight: 400;
    white-space: nowrap;
}

.hero-content h1 strong {
    font-weight: 700;
    color: var(--main-green);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-image-single {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 50px;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero-image-single img {
    width: 120%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(100%) contrast(1.05);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
}

.hero-image-single:hover img {
    transform: scale(1.05) translateY(-10px);
    filter: grayscale(0%) contrast(1);
}


/* Feature Pills */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature-pill {
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 24px 10px 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--main-green);
}

.feature-pill img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.feature-pill span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services section */
.services-section {
    padding-top: 40px;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}

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

.service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--main-green);
}

.service-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    padding: 12px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.8s ease;
}

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

.service-content {
    padding: 24px 24px 40px;
}

.service-content h3 {
    font-size: 1.25rem;
    color: var(--main-green);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-icon-bottom {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: white;
    color: var(--main-green);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(60, 86, 46, 0.1);
    transition: var(--transition);
}

.service-card:hover .service-icon-bottom {
    transform: translateX(-50%) scale(1.15);
}

/* About Block */
.about-block {
    background-color: var(--main-green);
    margin: 100px 0;
    color: white;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 30px 60px rgba(60, 86, 46, 0.2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px;
    align-items: center;
}

.about-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-images {
    position: relative;
    height: 400px;
}

.truck-img {
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 120%;
    max-width: 700px;
    z-index: 2;
    transition: var(--transition);
    /* No border or radius — blends with the green background */
    border: none;
    border-radius: 0;
    background: transparent;
}

.about-block:hover .truck-img {
    transform: translateX(-10px);
}

.veg-box-img {
    position: absolute;
    right: 40px;
    top: 0px;
    width: 280px;
    border-radius: var(--radius-md);
    border: 6px solid var(--bg-offwhite);
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.about-block:hover .veg-box-img {
    transform: translateY(-10px) rotate(2deg);
}

/* Gallery / Wide Selection */
.gallery-section {
    padding-top: 60px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0 60px;
}

.filter-btn {
    padding: 12px 36px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--main-green);
    color: white;
    border-color: var(--main-green);
    box-shadow: 0 10px 20px rgba(60, 86, 46, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
    position: relative;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(60, 86, 46, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: white;
    color: var(--main-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    font-size: 1.5rem;
    transition: var(--transition);
}

.gallery-nav:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--accent-yellow);
}

.gallery-nav.prev { left: -28px; }
.gallery-nav.next { right: -28px; }

/* Why Choose Us */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.why-us-img {
    height: 550px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.why-us-img:hover {
    transform: scale(1.02);
}

.why-us-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    margin-left: -80px; 
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.why-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--main-green);
}

.why-card:nth-child(2) { margin-left: -30px; }
.why-card:nth-child(3) { margin-left: -100px; }

.why-card img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
}

.why-card p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer Block */
.footer-block {
    background-color: var(--main-green);
    margin-top: 120px;
    padding: 100px 0;
    color: white;
}

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

.faq-list {
    list-style: none;
    margin-top: 32px;
}

.faq-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.faq-list li:hover {
    color: var(--accent-yellow);
    transform: translateX(10px);
}

.faq-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
}

.call-btn:hover {
    border-color: var(--accent-yellow) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-dark);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.contact-card h2 {
    color: var(--main-green);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-card p {
    margin-bottom: 32px;
    color: var(--text-muted);
}

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

.form-input {
    width: 100%;
    padding: 18px 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-offwhite);
}

.form-input:focus {
    outline: none;
    border-color: var(--main-green);
    background: white;
    box-shadow: 0 0 0 4px rgba(60, 86, 46, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}


/* ── Clients Marquee ────────────────────────── */
.clients-section {
    padding: 80px 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    /* No overflow:hidden here — chips would get clipped on hover */
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12px 0; /* extra breathing room so hover lift isn't clipped */
}

/* Fade edges */
.marquee-fade {
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

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

.marquee-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: marquee-scroll 70s linear infinite; /* slowed down */
}

.marquee-track:hover {
    animation-play-state: paused;
}

.client-chip {
    flex-shrink: 0;
    padding: 14px 32px;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    background: white;
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
    letter-spacing: 0.01em;
}

.client-chip:hover {
    border-color: var(--main-green);
    color: white;
    background: var(--main-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Animations Triggered by JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive Mobile View ────────────────────────── */
@media (max-width: 992px) {
    .hero { padding-top: 40px; }
    .hero-grid { 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
    }
    .hero-content { display: contents; }
    .hero-content h1 { order: 2; margin-bottom: 16px; font-size: 1.25rem; z-index: 2; position: relative; align-self: flex-start; text-align: left; width: calc(100% - 12px); margin-left: 12px; line-height: 1.3; white-space: normal;}
    .hero-content p { order: 3; margin-bottom: 24px; max-width: 100%; z-index: 2; position: relative; font-size: 0.85rem; align-self: flex-start; text-align: left; width: calc(100% - 12px); margin-left: 12px; }
    .hero-content > a.btn { order: 3; z-index: 2; position: relative; align-self: flex-start; padding: 10px 20px; font-size: 0.85rem; margin-left: 12px; }
    
    .hero-image-single { 
        order: 4; 
        margin-top: -10px; 
        margin-bottom: 0; 
        z-index: 1;
        position: relative;
    }
    .features-grid { 
        order: 5;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin-top: -50px; /* Overlay on bottom of image */
        z-index: 5;
        position: relative;
    }
    .feature-pill { 
        width: 31%; 
        padding: 12px 6px; 
        flex-direction: column; 
        justify-content: center; 
        text-align: center; 
        gap: 8px;
        border-radius: 16px; /* Rounded rectangle instead of full pill */
    }
    .feature-pill span { font-size: 0.75rem; line-height: 1.2; white-space: normal; }
    .feature-pill img { width: 36px; height: 36px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    
    .about-block { overflow: hidden; }
    .about-grid { grid-template-columns: 1fr; padding: 50px 20px 0; text-align: center; gap: 20px;}
    .about-content p { margin: 0 auto 30px; }
    .about-images { height: auto; display: flex; justify-content: center; align-items: flex-end; margin-top: 20px; }
    .truck-img { position: relative; right: auto; bottom: auto; width: 120%; max-width: 450px; margin-bottom: -10px; }
    .veg-box-img { display: none; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-us-img { height: 350px; }
    .why-card { margin-left: 0 !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    .contact-card { padding: 30px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-right { gap: 16px; }
    .btn { padding: 12px 24px; font-size: 0.95rem; }
    .hero-content h1 { font-size: 1.45rem; line-height: 1.3;}
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-item { height: 250px; }
    .gallery-grid .gallery-item:nth-of-type(n+4) { display: none; }
    h2 { font-size: 2rem !important; }
    .filter-tabs { flex-wrap: wrap; justify-content: center; }
    .why-us-img { height: 250px; }
    .marquee-fade { width: 40px; }
}
