﻿/* ============ تنظیمات پایه ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2d8659;
    --primary-dark: #1f6142;
    --secondary: #f39c12;
    --dark: #1a1a2e;
    --gray: #6b7280;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ دکمه‌ها ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(45, 134, 89, 0.35);
    }

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

    .btn-secondary:hover {
        background: #d68910;
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: var(--white);
    }

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============ هدر ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
}

    .header.scrolled {
        box-shadow: var(--shadow);
        padding: 10px 0;
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

    .logo i {
        font-size: 1.8rem;
    }

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    transition: var(--transition);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
    }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ============ هیرو ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #134e3a 0%, #2d8659 50%, #4caf7d 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(243, 156, 18, 0.15), transparent 70%);
        border-radius: 50%;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
        border-radius: 50%;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 750px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 20px;
}

    .hero h1 .highlight {
        color: var(--secondary);
        position: relative;
    }

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

    .hero-buttons .btn-primary {
        background: var(--secondary);
    }

        .hero-buttons .btn-primary:hover {
            background: #d68910;
            box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
        }

    .hero-buttons .btn-secondary {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }

        .hero-buttons .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.25);
        }

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 5px;
}

.stat p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* ============ ویژگی‌ها ============ */
.features {
    padding: 80px 0;
    background: var(--light);
    margin-top: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #4caf7d);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============ بخش‌ها ============ */
section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(45, 134, 89, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
}

/* ============ درباره ما ============ */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 18px;
}

.about-list {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

    .about-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 500;
        color: var(--dark);
        font-size: 0.95rem;
    }

    .about-list i {
        color: var(--primary);
        font-size: 1.1rem;
    }

.about-image-box {
    background: linear-gradient(135deg, var(--primary), #4caf7d);
    border-radius: 24px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
}

/* ============ محصولات ============ */
.products {
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: var(--shadow-lg);
    }

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(45, 134, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============ خدمات ============ */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    position: relative;
    padding: 40px 25px;
    background: var(--light);
    border-radius: 16px;
    transition: var(--transition);
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 4px;
        background: var(--primary);
        transition: var(--transition);
    }

    .service-card:hover::before {
        width: 100%;
    }

    .service-card:hover {
        background: var(--white);
        box-shadow: var(--shadow-lg);
    }

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(45, 134, 89, 0.15);
    line-height: 1;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ============ CTA ============ */
.cta {
    background: linear-gradient(135deg, #134e3a, #2d8659);
    padding: 70px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        margin-bottom: 30px;
        opacity: 0.9;
        font-size: 1.05rem;
    }

.cta .btn-primary {
    background: var(--secondary);
    color: var(--white);
}

    .cta .btn-primary:hover {
        background: #d68910;
    }

/* ============ تماس ============ */
.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: var(--shadow);
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-family: inherit;
        font-size: 0.95rem;
        transition: var(--transition);
        background: var(--light);
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 4px rgba(45, 134, 89, 0.1);
        }

    .form-group textarea {
        resize: vertical;
    }

/* ============ فوتر ============ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

    .footer-col ul li a {
        font-size: 0.9rem;
        transition: var(--transition);
    }

        .footer-col ul li a:hover {
            color: var(--secondary);
            padding-right: 5px;
        }

.social-links {
    display: flex;
    gap: 12px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

    .newsletter input {
        flex: 1;
        padding: 12px 15px;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
        font-family: inherit;
    }

        .newsletter input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter input:focus {
            outline: 1px solid var(--primary);
        }

    .newsletter button {
        padding: 12px 18px;
        background: var(--primary);
        color
