/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logo-based Color Palette */
    --primary-brown: #4A3B2F;
    --secondary-beige: #D4C1A5;
    --accent-green: #228B22;
    --accent-rust: #A0522D;
    --text-dark: #333333;
    --light-bg: #F5F5DC;
    --alert-yellow: #FDD017;
    --saffron-yellow: #FBB917;
    --white: #FFFFFF;
    --shadow: rgba(74, 59, 47, 0.1);
    --shadow-hover: rgba(74, 59, 47, 0.2);
}

body {
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.lang-btn {
    background: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--accent-rust);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}
/* Floating Phone number */
.float-phone-number {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
}

.float-phone-number-btn {
    background: var(--alert-yellow);
    color: var(--text-dark);
    border: none;
    padding: 10px 10px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.float-phone-number-btn:hover {
    background: var(--saffron-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}
/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
nav ul li .number-link{
    background: var(--secondary-beige) ;
    color: var(--primary-brown) ;
}
nav a:hover {
    background: var(--secondary-beige);
    color: var(--primary-brown);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-brown);
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--secondary-beige) 0%, var(--light-bg) 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: var(--accent-green);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.3);
}

.cta-btn:hover {
    background: var(--accent-rust);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(160, 82, 45, 0.4);
}

.hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px var(--shadow);
}

/* Features Section */
#features {
    padding: 80px 0;
    background: var(--white);
}

#features h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-beige);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Products Section */
#products {
    padding: 80px 0;
    background: var(--secondary-beige);
}

#products h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow-hover);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-info p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-features span {
    color: var(--accent-green);
    font-weight: 500;
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background: var(--white);
}

#testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--secondary-beige);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
    background: var(--white);
}

.customer-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.customer-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 15px var(--shadow);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer-info {
    text-align: center;
}

.customer-info strong {
    display: block;
    color: var(--primary-brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.customer-info span {
    color: var(--accent-rust);
    font-size: 0.9rem;
}

/* Case Study Section */
#case-study {
    padding: 80px 0;
    background: var(--secondary-beige);
}

#case-study h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    font-weight: 700;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.farmer-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px var(--shadow);
}

.case-study-text h3 {
    font-size: 1.8rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.quote {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-green);
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px var(--shadow);
}

.quote p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.farmer-location {
    color: var(--accent-rust);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background: var(--primary-brown);
    color: var(--white);
}

#contact h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

#contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-rust));
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    color: var(--primary-brown);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    position: relative;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-green);
    border-radius: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    border: 2px solid var(--secondary-beige);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-bg);
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--accent-rust);
    background: var(--white);
}

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A3B2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    appearance: none;
    padding-right: 45px;
}

#contact-form button {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-rust));
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

#contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#contact-form button:hover::before {
    left: 100%;
}

#contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(107, 142, 35, 0.4);
}

#contact-form button:active {
    transform: translateY(-1px);
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: var(--accent-green);
}

/* Footer */
footer {
    background: var(--primary-brown);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
.logo {
    display: flex;
    align-items: center;     /* vertical center */
    justify-content: center; /* horizontal center */
    gap: 10px;
    /* padding: 15px; */
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}
    
    /* Hero Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content div:first-child {
        order: 2;
    }
    #hero {
        padding-top:30px;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    /* .hero-image img {
        height: 200px;
    } */
    
    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    /* Products Mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Case Study Mobile */
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .farmer-image img {
        height: 250px;
    }
    
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact Mobile */
    .contact-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    #contact-form {
        padding: 2.5rem 2rem;
        margin: 0 15px;
    }
    
    .form-group label::after {
        width: 25px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
    }
    
    #contact-form button {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    /* Typography Mobile */
    h2 {
        font-size: 2.2rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    #contact-form {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    #contact-form button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
}

.float-phone-number-btn {
    padding: 10px;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .language-switcher,
    header,
    #contact,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

