/* ===== GREENOVA AGROTECH - DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: hsl(130, 42%, 26%);
    --primary-light: hsl(130, 40%, 38%);
    --primary-pale: hsl(130, 30%, 94%);
    --secondary: hsl(215, 50%, 20%);
    --accent: hsl(30, 50%, 65%);
    --accent-warm: hsl(35, 60%, 55%);
    --text-dark: hsl(220, 15%, 16%);
    --text-body: hsl(220, 8%, 42%);
    --text-muted: hsl(220, 6%, 58%);
    --bg: hsl(120, 15%, 98%);
    --bg-alt: hsl(0, 0%, 100%);
    --border: hsl(220, 10%, 92%);
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; transition: var(--transition); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 20px hsla(130,42%,26%,0.3); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-outline-dark { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-pale); color: var(--primary);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-header .tag i { font-size: 0.7rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-body); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== HEADER / NAVBAR ===== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 15px 0; transition: var(--transition);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.header.scrolled {
    padding: 10px 0;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 8px 18px; border-radius: 8px; font-weight: 500; font-size: 0.95rem;
    color: var(--primary);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-pale); }
.nav-links .btn-primary { color: var(--white) !important; background: var(--primary) !important; }
.nav-links .btn-primary:hover { background: var(--primary-light) !important; }

.menu-btn { display: none; font-size: 1.5rem; color: var(--primary); padding: 4px; }

/* Mobile Nav */
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; pointer-events: none;
    transition: var(--transition);
}
.mobile-nav.open { display: block; opacity: 1; pointer-events: all; }
.mobile-nav-content {
    position: absolute; top: 0; right: 0; width: 300px; height: 100%;
    background: var(--white); padding: 80px 30px 30px;
    transform: translateX(100%); transition: var(--transition);
}
.mobile-nav.open .mobile-nav-content { transform: translateX(0); }
.mobile-nav-content a {
    display: block; padding: 14px 0; font-weight: 500; color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}
.mobile-nav-content a.active { color: var(--primary); }
.mobile-nav .close-btn {
    position: absolute; top: 20px; right: 20px; font-size: 1.5rem; color: var(--text-dark);
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
        hsla(215,50%,8%,0.97) 0%,
        hsla(215,50%,10%,0.93) 40%,
        hsla(130,42%,15%,0.70) 70%,
        hsla(130,42%,15%,0.30) 100%);
}
/* hero container stretches full width so content aligns with navbar logo */
.hero > .container {
    flex: 1 1 100%;
    align-self: center;
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
}
.hero-content {
    color: var(--white);
    max-width: 620px;
    padding: 120px 0 80px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin-bottom: 24px; text-shadow: 0 3px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9); }
.hero h1 .highlight { color: hsl(120, 65%, 78%); display: block; text-shadow: 0 3px 20px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9); }
.hero p { font-size: 1.15rem; opacity: 1; margin-bottom: 40px; max-width: 520px; text-shadow: 0 2px 14px rgba(0,0,0,0.8); font-weight: 500; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }
.hero-stats {
    display: flex; gap: 40px; margin-top: 60px;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.2);
    justify-content: flex-start;
}
.hero-stats .stat h3 { font-size: 2rem; }
.hero-stats .stat p { font-size: 0.85rem; opacity: 0.7; }

/* ===== PAGE BANNER ===== */
.page-banner {
    position: relative; padding: 160px 0 80px; overflow: hidden;
}
.page-banner-bg {
    position: absolute; inset: 0; z-index: 0;
}
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, hsla(215,50%,12%,0.8), hsla(130,42%,20%,0.65));
}
.page-banner-content {
    position: relative; z-index: 2; color: var(--white); text-align: center;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; opacity: 0.8; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== CARDS ===== */
.card {
    background: var(--bg-alt); border-radius: var(--radius);
    overflow: hidden; transition: var(--transition);
    border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { height: 240px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-body p { color: var(--text-body); font-size: 0.95rem; }

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
    padding: 40px 30px; background: var(--bg-alt); border-radius: var(--radius);
    text-align: center; border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.feature-card .icon {
    width: 70px; height: 70px; border-radius: 16px;
    background: var(--primary-pale); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-body); font-size: 0.92rem; }

/* ===== ABOUT GRID ===== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-img-wrapper { position: relative; }
.about-img-wrapper img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-wrapper .accent-box {
    position: absolute; bottom: -20px; right: -20px;
    width: 180px; padding: 24px; background: var(--primary); color: var(--white);
    border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-img-wrapper .accent-box h3 { font-size: 2.2rem; }
.about-img-wrapper .accent-box p { font-size: 0.85rem; opacity: 0.85; }
.about-text .tag { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-pale); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-text h2 span { color: var(--primary); }
.about-text > p { color: var(--text-body); margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.about-features li {
    display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem;
}
.about-features li i { color: var(--primary); font-size: 1rem; }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden;
    height: 300px; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px; color: var(--white);
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { font-size: 1.1rem; }
.gallery-overlay p { font-size: 0.85rem; opacity: 0.8; }
.gallery-item.tall { grid-row: span 2; height: 100%; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.testimonial-card {
    background: var(--bg-alt); padding: 36px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-card .stars { color: hsl(45, 100%, 51%); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-card blockquote { font-style: italic; color: var(--text-dark); margin-bottom: 20px; line-height: 1.7; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-pale); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.testimonial-card .author-info h4 { font-size: 1rem; }
.testimonial-card .author-info span { font-size: 0.82rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: 12px; }
.contact-info h2 span { color: var(--primary); }
.contact-info > p { color: var(--text-body); margin-bottom: 30px; }
.info-list .info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.info-list .info-item .icon-box {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    background: var(--primary-pale); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-list .info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.info-list .info-item p { color: var(--text-body); font-size: 0.92rem; }

.contact-form {
    background: var(--bg-alt); padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem;
    background: var(--bg); outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px hsla(130,42%,26%,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== MAP ===== */
.map-container {
    border-radius: var(--radius); overflow: hidden;
    height: 400px; margin-top: 60px; box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0; text-align: center; color: var(--white);
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-section p { opacity: 0.85; margin-bottom: 30px; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
.footer { background: var(--secondary); color: var(--white); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08); display: flex;
    align-items: center; justify-content: center; font-size: 0.9rem;
}
.social-links a:hover { background: var(--primary); }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-newsletter p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
    flex: 1; padding: 12px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
    color: var(--white); font-size: 0.9rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
    background: var(--primary); color: var(--white);
    padding: 12px 18px; border-radius: var(--radius-sm);
}
.footer-bottom {
    padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 900;
    background: #25d366; color: var(--white);
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,0.55); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s ease-out; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s ease-out; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-btn { display: flex; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.tall { grid-row: auto; height: 300px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .about-features { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
