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

:root {
    /* Modern Premium Agriculture Palette */
    --primary-green: #22c55e;    /* Fresh leaf green */
    --dark-green: #0f3b21;       /* Deep forest green */
    --light-green: #dcfce7;      /* Very soft green for backgrounds */
    --accent-gold: #eab308;      /* Sunlight/Harvest gold */
    --earth-brown: #78350f;      /* Rich soil brown */
    
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --white: #ffffff;
    
    --bg-color: #f8faf7;         /* Very subtle earthy/green tinted white */
    --surface-color: #ffffff;
    --surface-border: rgba(34, 197, 94, 0.15);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(15, 59, 33, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(15, 59, 33, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(15, 59, 33, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(34, 197, 94, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(var(--light-green) 1px, transparent 1px);
    background-size: 40px 40px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--dark-green);
}

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

ul {
    list-style: none;
}

/* Floating Glassmorphism Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(15, 59, 33, 0.1);
    transition: var(--transition);
}

header.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 35px rgba(15, 59, 33, 0.15);
}

.nav-container {
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-container img {
    height: 48px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.logo-container h1 {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-container h1 span {
    display: block;
    font-size: 0.75rem !important;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--accent-gold) !important;
    -webkit-text-fill-color: var(--accent-gold);
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 12px;
    transition: var(--transition);
    border-radius: 20px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--dark-green);
    background: var(--light-green);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--dark-green);
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero.jpg') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomOut 20s ease infinite alternate;
}

@keyframes zoomOut {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 59, 33, 0.95) 0%, rgba(15, 59, 33, 0.7) 45%, rgba(15, 59, 33, 0.2) 100%);
    z-index: -1;
}

.hero-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    padding-top: 80px; /* offset for header */
}

.hero-content {
    color: var(--white);
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 1.2s 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-graphic {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1.2s 0.6s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.graphic-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    animation: floatFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.graphic-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: normal; /* Just in case */
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--accent-gold);
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: #e5e7eb;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--dark-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.4);
}

/* Common Section Styles */
.section {
    padding: 70px 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 5px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    margin-top: 35px;
    font-weight: 400;
}

/* Cards (Features) */
.about-grid.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 50px 30px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--light-green) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-green);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.feature-card:hover i {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    font-weight: 400;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s ease;
}

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

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.15rem;
}

/* Standalone Director Section */
.director-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-color), #ffffff);
    position: relative;
    overflow: hidden;
}

.director-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.director-image-wrapper {
    flex: 0 0 400px;
    position: relative;
}

.director-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.director-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    color: var(--dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(234, 179, 8, 0.4);
}

.director-message {
    padding: 60px 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--dark-green);
    color: var(--white);
    position: relative;
}

.director-message .quote-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.director-name {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.director-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 600;
}

.quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 300;
}

.signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-top: auto;
    opacity: 0.9;
}

/* Vision, Mission, Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.value-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: radial-gradient(circle, var(--light-green) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.core-values-list {
    text-align: left;
    margin-top: 10px;
}

.core-values-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.core-values-list li i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Products Section (Coming Soon) */
.products-coming-soon {
    background: var(--white);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 100px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.products-coming-soon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--light-green) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.products-coming-soon i {
    font-size: 5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.products-coming-soon h3 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.products-coming-soon p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: linear-gradient(145deg, var(--dark-green) 0%, #155e34 100%);
    padding: 60px 50px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.contact-info h3 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-top: 5px;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-item p {
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    padding: 60px 50px;
    background: var(--white);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-green);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--surface-border);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px var(--light-green);
    outline: none;
    background: var(--white);
}

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

/* Farming Insights Section */
.insights-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.insight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.insight-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.insight-card:hover::before {
    transform: scaleX(1);
}

.insight-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
    transition: var(--transition);
}

.insight-card:hover .insight-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: rotateY(180deg);
}

.insight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-green);
}

.insight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Download Card */
.download-card {
    background: linear-gradient(135deg, var(--dark-green), #155e34);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.download-card::after {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

.download-info h3 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.download-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

/* Download Button Animation */
.btn-download {
    background: var(--accent-gold);
    color: var(--dark-green);
    padding: 16px 35px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.btn-download:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.btn-download.downloading {
    background: var(--primary-green);
    color: var(--white);
    pointer-events: none;
    width: 220px; /* Fixed width to prevent jumping */
    justify-content: center;
}

.btn-download.downloading .btn-icon {
    animation: bounceDown 1s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
    }
}

/* Footer */
footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-top: 5px solid var(--primary-green);
}

footer p {
    opacity: 0.8;
    font-size: 1rem;
    margin-bottom: 5px;
}

footer p.credit {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 10px;
}

footer p.credit a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: opacity 0.3s;
}

footer p.credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .about-wrapper, .contact-wrapper, .about-grid.features {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid.features {
        gap: 30px;
    }
    .director-container {
        flex-direction: column;
    }
    .director-image-wrapper {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px 0;
        box-shadow: 0 15px 35px rgba(15, 59, 33, 0.15);
        border-radius: 0 0 30px 30px;
        text-align: center;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .logo-container h1 {
        font-size: 1.1rem;
    }
    .section, .director-section {
        padding: 80px 20px;
    }
    .contact-info, .contact-form {
        padding: 40px 30px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .director-message {
        padding: 40px 30px;
    }
    .quote-text {
        font-size: 1.1rem;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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