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

:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #8fb996;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Navigation - FIXED */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 35px;
    width: auto;
    margin-right: 8px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

/* Desktop Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.7rem;
    transition: var(--transition);
    font-size: 0.92rem;
    white-space: nowrap;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(44, 85, 48, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile Navigation Menu - Compact Version */
.nav-menu-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem;
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 50px; /* Reduced height */
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-mobile-link i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.2rem;
}

.nav-mobile-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

@media (min-width: 769px) {
    .nav-menu-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-menu-mobile {
        height: 45px; /* Even more compact for very small screens */
        padding: 0.2rem;
    }
    
    .nav-mobile-link {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }

    .nav-mobile-link i {
        font-size: 1.1rem;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem;
    z-index: 1001;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--primary-color);
    margin: 2.5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hide mobile elements on desktop */
.mobile-menu-header,
.nav-footer {
    display: none;
}

@media (max-width: 768px) {
    /* Mobile Container Adjustments */
    .nav-container {
        padding: 0.8rem 5%;
    }
    
    /* Mobile Logo Adjustments */
    .nav-logo img {
        height: 30px;
    }
    
    .nav-logo a {
        font-size: 1.1rem;
    }

    /* Show Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Navigation Panel */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -50vw;
        width: 50vw;
        max-width: 380px;
        min-width: 260px;
        height: 80vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        transition: left 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.12);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        display: flex;
    }

    .nav-links {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .nav-footer {
        padding: 16px;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        background-color: #f8f9fa;
    }

    .dev-credit {
        color: #666;
        font-size: 0.85rem;
        margin: 0;
    }

    .dev-link {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .dev-link:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .nav-menu.active {
        left: 0;
        visibility: visible;
        opacity: 1;
    }

    /* Mobile menu header inside panel */
    .mobile-menu-header {
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        z-index: 1;
    }
    .mobile-menu-header img {
        height: 28px;
        width: auto;
    }
    .mobile-menu-title {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 1.05rem;
        white-space: nowrap;
    }

    /* Mobile Navigation Links */
    .nav-links {
        flex-direction: column;
        padding-top: 0;
    }

    .nav-link {
        padding: 0.3rem 12px;
        display: block;
        font-size: 0.85rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        margin: 0;
        background-color: transparent;
        transition: all 0.25s ease;
        line-height: 1;
    }

    .nav-link:hover {
        background-color: rgba(44, 85, 48, 0.05);
        color: var(--primary-color);
    }

    .nav-link.active {
        background-color: rgba(44, 85, 48, 0.1);
        color: var(--primary-color);
        font-weight: 600;
    }

    /* Remove desktop active indicator on mobile */
    .nav-link.active::after {
        display: none;
    }

    /* Show footer in mobile menu */
    .nav-footer {
        display: block;
        padding: 16px;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        background-color: var(--light-color);
        margin-top: auto;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -5px);
    }
}


/* Medium screens - Navigation adjustments */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.88rem;
        padding: 0.5rem 0.5rem;
    }
    
    .nav-logo a {
        font-size: 1.3rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #343a40;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Quick Links Section */
.quick-links {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

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

.link-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background-color: var(--light-color);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Content */
.about-content {
    padding: 5rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.business-model h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.model-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.model-card:hover {
    transform: translateY(-5px);
}

.model-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.model-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Production Capabilities */
.production-capabilities {
    margin-top: 4rem;
}

.production-capabilities h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.capability-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.capability-item:hover {
    transform: translateY(-5px);
}

.capability-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.capability-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Products Content */
.products-content {
    padding: 5rem 0;
}

.products-intro {
    margin-bottom: 3rem;
}

.products-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-promise {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.service-promise h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.promise-item {
    text-align: center;
}

.promise-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.promise-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.export-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

/* Services Content */
.services-content {
    padding: 5rem 0;
}

.services-intro {
    margin-bottom: 3rem;
}

.services-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Timeline Section */
.timeline-section {
    margin-top: 4rem;
}

.timeline-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    position: absolute;
    top: 15px;
    z-index: 1;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -75px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -75px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Team Content */
.team-content {
    padding: 5rem 0;
}

.team-intro {
    margin-bottom: 3rem;
}

.team-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
}

.compliance-section {
    margin: 4rem 0;
}

.compliance-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.compliance-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.compliance-card:hover {
    transform: translateY(-5px);
}

.compliance-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.compliance-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.certifications {
    margin-top: 4rem;
}

.certifications h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.certification-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.certification-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.certification-list li:last-child {
    border-bottom: none;
}

.certification-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Contact Content */
.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 40px;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.future-plans {
    margin-top: 4rem;
}

.future-plans h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.plan-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.plan-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.plan-category ul {
    list-style-type: none;
}

.plan-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.plan-category li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-section p, .footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design - Additional fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .team-stats {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 15px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 3%;
    }
    
    .nav-logo a {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}