/* Reset and Base Styles - Optimized */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 60px;
    --spacing-xl: 4rem;
    --spacing-lg: 2rem;
    --spacing-md: 1rem;
}

.nav-menu {
    top: var(--header-height);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-subheader {
    margin-bottom: var(--spacing-lg);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
} 
.hero {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.about-hero {
    background: linear-gradient(135deg, #E3F2FD 0%, #E1F5FE 100%);
    padding: 120px 0 80px;
    display: flex;
    min-height: 100vh;
    justify-content: center;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.01rem;
}


.nav-logo img {
    height: 52px;
    width: auto;
    max-width: 175px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    top: var(--header-height);
}


.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #2E7D32;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E7D32;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(46, 125, 50, 0.1);
}

/* Hero Section - Mobile Optimized */

hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 15px;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image {
    flex: 1;
    text-align: center;
    padding: 20px 15px 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons - Mobile Optimized */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
    min-width: 120px;
    text-align: center;
    line-height: 1.2;
    touch-action: manipulation;
}

.btn-primary {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.btn-primary:hover {
    background: #1B5E20;
    border-color: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2E7D32;
    border-color: #2E7D32;
}

.btn-secondary:hover {
    background: #2E7D32;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2E7D32;
    border-color: #2E7D32;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #2E7D32;
    color: white;   
    transform: translateY(-2px);
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.btn-icon.btn-icon-large svg {
    width: 20px;
    height: 20px;
}
.btn-icon-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}
.btn-icon-large.btn-primary {
    padding: 16px 32px;
}
.btn-icon-large.btn-secondary {
    padding: 16px 32px;
}
.btn-icon-large.btn-outline {
    padding: 12px 28px;
}

/* Section Headers */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Company Section */
.company {
    padding: 80px 0;
    background: white;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.company-text h3 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.company-text h3:first-child {
    margin-top: 0;
}

.company-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    color: #2E7D32;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-size: 0.9rem;
}

.company-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */

.products {
    padding: 80px 0;
    background: #F8F9FA;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* OPTIMIZED */
.product-card {
    transform: translateZ(0); /* Hardware acceleration */
    will-change: transform, box-shadow;
}

.product-card:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Lighter shadow */
}


.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-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.3rem;
    color: #2E7D32;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: #E8F5E8;
    color: #2E7D32;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-price {
    font-size: 1.2rem;
    color: #2E7D32;
    font-weight: 700;
}

.product-card .btn {
    width: 100%;
    text-align: center;
}
.product-card .btn-primary {
    padding: 12px 0;
    font-size: 1rem;
}
.product-card .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Contact Section */

.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #2E7D32;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #2E7D32;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-forms {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-container {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
    color: #2E7D32;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 16px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.contact-form .btn {
    align-self: flex-start;
    padding: 14px 28px;
    font-size: 1rem;
}

.contact-form .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* Blog Section */


.blog {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateZ(0); /* Hardware acceleration */
}

.blog-card:hover {
    transform: translateY(-5px);
    
}

.blog-image {
    height: 23rem;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.date {
    color: #999;
    font-size: 0.9rem;
}

.read-more {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1B5E20;
}

/* Footer Section */

.footer {
    background: #2E7D32;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #F5F5F5;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section address p {
    color: #F5F5F5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #C8E6C9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #E0E0E0;
}

