:root {
    --primary-color: #8bc34a; /* سبز فسفری غیردرخشان (متی) */
    --primary-dark: #5a8f2c;
    --primary-light: #c5e1a5;
    --text-dark: #1a2a1a;
    --text-light: #4a5a4a;
    --bg-light: #f8faf8;
    --bg-white: #ffffff;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.15);
    --radius-lg: 20px;
    --radius-md: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, 'Segoe UI', Tahoma, 'Vazirmatn', sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; direction: rtl; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 30px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.accent-color { color: var(--primary-dark); font-weight: 600; }
.section-header { margin-bottom: 50px; }
.section-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
@media (max-width: 768px) { .section-title { font-size: 28px; } }
.section-description { color: var(--text-light); max-width: 700px; margin: 0 auto; }
.text-center { text-align: center; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; font-size: 16px; }
.btn-primary { background: var(--primary-color); color: var(--text-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--text-dark); }
.btn-outline:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-3px); }

/* Header */
.header { background: var(--bg-white); box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 30px; }
.logo-text { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.logo-green { color: var(--primary-dark); }
.nav-list { display: flex; gap: 40px; }
.nav-link { font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-dark); }
.mobile-menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--text-dark); margin: 3px 0; transition: 0.3s; }
@media (max-width: 768px) { .main-nav { position: fixed; top: 70px; left: -100%; background: white; width: 80%; height: calc(100vh - 70px); padding: 40px; box-shadow: var(--shadow-sm); transition: 0.3s; } .main-nav.active { left: 0; } .nav-list { flex-direction: column; gap: 30px; } .mobile-menu-toggle { display: flex; } .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); } .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; } .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); } }

/* Hero */
.hero { padding: 80px 0; background: linear-gradient(135deg, #f0f7e6 0%, var(--bg-white) 100%); }
.hero-container { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.hero-content { flex: 1; }
.hero-badge { background: var(--primary-light); color: var(--primary-dark); display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 14px; margin-bottom: 20px; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
@media (max-width: 768px) { .hero-title { font-size: 36px; } }
.hero-description { font-size: 18px; color: var(--text-light); margin-bottom: 30px; max-width: 550px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { flex: 1; display: flex; justify-content: space-around; gap: 20px; background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; color: var(--primary-dark); }
.stat-label { font-size: 14px; color: var(--text-light); }
@media (max-width: 768px) { .hero-container { flex-direction: column; } .hero-stats { width: 100%; } }

/* Services */
.services { padding: 100px 0; background: var(--bg-white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-white); padding: 40px 30px; border-radius: var(--radius-md); text-align: center; transition: all 0.3s ease; border: 1px solid #eef5e6; cursor: pointer; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary-light); }
.service-icon { font-size: 48px; margin-bottom: 20px; }
.service-title { font-size: 24px; font-weight: 700; margin-bottom: 15px; }
.service-desc { color: var(--text-light); }

/* Portfolio */
.portfolio { padding: 100px 0; background: var(--bg-light); }
.portfolio-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.portfolio-card { background: white; border-radius: var(--radius-md); overflow: hidden; transition: 0.3s; cursor: pointer; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.portfolio-image { background: var(--primary-light); padding: 40px; text-align: center; font-size: 48px; }
.portfolio-info { padding: 25px; text-align: center; }
.portfolio-info h4 { margin-bottom: 10px; font-size: 20px; }

/* Contact */
.contact { padding: 100px 0; background: var(--bg-white); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; background: var(--bg-white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow-sm); }
.contact-text { margin: 20px 0; color: var(--text-light); }
.contact-methods { margin: 30px 0; display: flex; flex-direction: column; gap: 15px; }
.contact-item { display: flex; align-items: center; gap: 15px; font-size: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { padding: 15px; background: var(--bg-light); border: 1px solid #eef5e6; border-radius: 12px; font-family: inherit; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(139,195,74,0.2); }
.form-message { padding: 15px; border-radius: 12px; margin-bottom: 20px; text-align: center; }
.form-message.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-message.error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
@media (max-width: 768px) { .contact-card { grid-template-columns: 1fr; padding: 30px; } }

/* Footer */
.footer { background: #1a2a1a; color: #d0e6c6; padding: 60px 0 20px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #d0e6c6; transition: 0.3s; }
.footer a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #2a3a2a; }