/* فونت و تنظیمات عمومی */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

:root {
    --primary-green: #00e676; /* سبز اصلی و درخشان از لوگو */
    --dark-bg: #000000; /* پس‌زمینه کاملاً مشکی */
    --card-bg: #0a0a0a; /* پس‌زمینه کارت‌ها، بسیار کمی روشن‌تر از مشکی */
    --text-light: #f0f0f0; /* متن روشن */
    --text-faded: #b0b0b0; /* متن کمی محو شده برای جزئیات */
    --border-subtle: #1a1a1a; /* خطوط جداکننده بسیار ظریف */
    --glow-color: #00ff88; /* سبز روشن‌تر برای هاور/درخشش قوی‌تر */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* اسکرول نرم برای کل صفحه */
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--dark-bg);
    direction: rtl; /* برای فارسی */
    text-align: right; /* برای فارسی */
    overflow-x: hidden; /* جلوگیری از اسکرول افقی ناخواسته */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* پدینگ کناری بیشتر برای حس فضای لوکس */
}

/* Header */
header {
    background-color: var(--dark-bg);
    padding: 1.2rem 0; /* پدینگ کمی بیشتر */
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 230, 118, 0.03); /* سایه سبز بسیار ملایم */
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.98); /* تقریباً کدر هنگام اسکرول */
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.08); /* سایه کمی قوی‌تر */
}

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

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

.logo img {
    height: 65px; /* بزرگ‌تر */
    margin-left: 20px; /* فاصله بیشتر */
    filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.6)); /* درخشش نئونی قوی‌تر */
}

.logo h1 {
    font-size: 2.5rem; /* بسیار بزرگ */
    margin: 0;
    color: var(--primary-green);
    letter-spacing: 1px; /* فاصله حروف بیشتر برای لاکچری */
    font-weight: 700;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-right: 35px; /* فاصله بیشتر بین آیتم‌ها */
}

header nav ul li:last-child {
    margin-right: 0;
}

header nav ul li a {
    color: var(--text-faded); /* متن کمی محو برای لینک‌ها */
    text-decoration: none;
    font-weight: 500; /* وزن متوسط */
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 7px; /* پدینگ بیشتر برای زیرخط */
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
}

header nav ul li a:hover {
    color: var(--primary-green);
    transform: translateY(-2px); /* حرکت نرم در هاور */
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Nav Toggle for Mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 2.2rem; /* بزرگ‌تر */
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
#hero {
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.08) 0%, transparent 70%); /* درخشش سبز قوی‌تر در مرکز */
    color: var(--text-light);
    padding: 12rem 0 10rem 0; /* پدینگ بسیار زیاد برای حس فضای باز */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh; /* تمام صفحه */
}

#hero .container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 100px; /* فاصله بسیار زیاد */
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.2; /* متن کمی فضای بیشتری بگیرد */
    text-align: right;
    animation: fadeInScale 1.5s ease-out forwards; /* انیمیشن آرام‌تر */
}

.hero-content h2 {
    font-size: 5.5rem; /* بسیار بزرگ و لاکچری */
    margin-bottom: 1.8rem;
    line-height: 1.05; /* فاصله خط کمتر */
    color: var(--text-light); /* متن سفید */
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.5); /* درخشش شدیدتر */
}

.hero-content .tagline {
    font-size: 1.7rem; /* بزرگتر و واضح‌تر */
    margin-bottom: 4rem;
    opacity: 0.95;
    color: var(--text-faded); /* کمی محو برای حس ظریف */
    font-weight: 400; /* وزن نرمال */
    letter-spacing: 0.5px; /* فاصله حروف ملایم */
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInZoom 1.5s ease-out forwards; /* انیمیشن آرام‌تر */
}

.hero-image img {
    max-width: 95%; /* بزرگ‌تر */
    height: auto;
    border-radius: 25px; /* گوشه‌های بسیار گرد */
    box-shadow: 0 0 60px rgba(0, 230, 118, 0.7), 0 0 30px rgba(0, 230, 118, 0.5) inset; /* درخشش شدیدتر با Inner Shadow */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* انیمیشن روان‌تر */
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 80px rgba(0, 230, 118, 0.9), 0 0 40px rgba(0, 230, 118, 0.7) inset;
}

/* Animations (Adjusted for smoothness) */
@keyframes fadeInScale {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

.btn {
    display: inline-block;
    padding: 18px 40px; /* پدینگ بسیار بیشتر */
    text-decoration: none;
    border-radius: 40px; /* کاملاً گردتر */
    font-weight: 600; /* کمی سبک‌تر */
    font-size: 1.3rem; /* بسیار بزرگتر */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* انیمیشن روان‌تر */
    cursor: pointer;
    border: none;
    outline: none;
    letter-spacing: 0.5px; /* فاصله حروف ملایم */
}

.primary-btn {
    background-color: var(--primary-green);
    color: var(--dark-bg); /* متن مشکی روی سبز */
    box-shadow: 0 12px 35px rgba(0, 230, 118, 0.5); /* سایه سبز قوی‌تر */
}

.primary-btn:hover {
    background-color: var(--glow-color);
    transform: translateY(-7px); /* حرکت بیشتر */
    box-shadow: 0 20px 50px rgba(0, 230, 118, 0.8); /* سایه شدیدتر */
}

/* Sections */
section {
    padding: 10rem 0; /* پدینگ عمودی بسیار زیاد */
    position: relative;
}

section h3 {
    font-size: 4.5rem; /* بسیار بزرگ و چشمگیر */
    margin-bottom: 3.5rem;
    text-align: center;
    color: var(--primary-green);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
    letter-spacing: 1px; /* فاصله حروف برای لاکچری */
}

/* About Section */
.about-section {
    background: radial-gradient(circle at 80% 20%, rgba(0, 230, 118, 0.03) 0%, transparent 70%); /* درخشش ملایم */
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* متن کمی بیشتر، ویژن کمی کمتر */
    gap: 100px; /* فاصله بسیار زیاد */
    align-items: center;
    margin-top: 60px;
}

.about-text p {
    font-size: 1.35rem; /* بزرگتر و خواناتر */
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.9; /* فاصله خط بیشتر برای خوانایی */
    font-weight: 300;
}

.about-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px; /* فاصله بیشتر */
}

.vision-item {
    background-color: var(--card-bg);
    padding: 45px; /* پدینگ بیشتر */
    border-radius: 20px; /* گردتر */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vision-item:hover {
    transform: translateY(-12px); /* حرکت بیشتر */
    box-shadow: 0 20px 60px rgba(0, 230, 118, 0.3); /* سایه درخشان‌تر */
}

.vision-item .icon-glow {
    font-size: 4.8rem; /* بسیار بزرگتر */
    color: var(--primary-green);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(0, 230, 118, 0.8)); /* درخشش نئونی بسیار قوی */
    animation: pulseIcon 3s infinite ease-in-out alternate; /* انیمیشن پالس برای آیکون‌ها */
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.vision-item h4 {
    font-size: 2.2rem; /* بزرگتر */
    color: var(--text-light);
    margin-bottom: 18px;
    font-weight: 600;
}

.vision-item p {
    font-size: 1.2rem; /* بزرگتر */
    color: var(--text-faded);
    opacity: 0.9;
}

/* Services Section */
#services {
    background: radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.03) 0%, transparent 70%); /* درخشش ملایم */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* کمی بزرگ‌تر */
    gap: 60px; /* فاصله بیشتر */
    margin-top: 60px;
}

.service-item {
    background-color: var(--card-bg);
    padding: 45px; /* پدینگ بیشتر */
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 230, 118, 0.3);
    border-color: var(--primary-green);
}

.service-item .service-icon-glow {
    font-size: 5rem; /* بسیار بزرگتر */
    color: var(--primary-green);
    margin-bottom: 30px;
    filter: drop-shadow(0 0 25px rgba(0, 230, 118, 0.9)); /* درخشش نئونی بسیار قوی */
}

.service-item h4 {
    font-size: 2.2rem; /* بزرگتر */
    color: var(--text-light);
    margin-bottom: 18px;
    font-weight: 600;
}

.service-item p {
    font-size: 1.25rem; /* بزرگتر */
    color: var(--text-faded);
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.04) 0%, transparent 70%); /* درخشش ملایم */
}

#contact .contact-intro {
    text-align: center;
    font-size: 1.4rem; /* بزرگتر */
    margin-bottom: 60px;
    color: var(--text-faded);
    opacity: 0.95;
    font-weight: 400;
}

#contact form {
    max-width: 800px; /* عرض بیشتر */
    margin: 0 auto 70px auto;
    display: flex;
    flex-direction: column;
    gap: 30px; /* فاصله بیشتر */
    background-color: var(--card-bg);
    padding: 60px; /* پدینگ بسیار بیشتر */
    border-radius: 25px; /* گردتر */
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-subtle);
}

#contact form input,
#contact form textarea {
    padding: 20px; /* پدینگ بسیار بیشتر */
    border: 1px solid var(--border-subtle);
    border-radius: 12px; /* گردتر */
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.2rem; /* بزرگتر */
    background-color: var(--dark-bg);
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
    color: #666;
    opacity: 0.8;
}

#contact form input:focus,
#contact form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 5px rgba(0, 230, 118, 0.4); /* درخشش تمرکز قوی‌تر */
}

#contact form button {
    cursor: pointer;
    align-self: flex-start;
    margin-top: 20px;
}

.contact-info {
    text-align: center;
    font-size: 1.35rem; /* بزرگتر */
    color: var(--text-light);
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    gap: 25px; /* فاصله بیشتر */
}

.contact-info p i {
    color: var(--primary-green);
    margin-left: 15px;
    font-size: 1.7rem; /* بزرگتر */
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-faded);
    text-align: center;
    padding: 3.5rem 0; /* پدینگ بیشتر */
    font-size: 1.05rem;
    border-top: 1px solid var(--border-subtle);
}

footer .social-links {
    margin-top: 25px;
}

footer .social-links a {
    color: var(--text-faded);
    font-size: 2.5rem; /* بزرگتر */
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-green);
    transform: translateY(-7px); /* حرکت بیشتر */
    filter: drop-shadow(0 0 15px rgba(0, 230, 118, 0.7)); /* درخشش قوی‌تر روی هاور */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    #hero .container {
        gap: 60px;
    }
    .hero-content h2 {
        font-size: 4.8rem;
    }
    section h3 {
        font-size: 3.8rem;
    }
    .about-grid {
        gap: 70px;
    }
}

@media (max-width: 992px) {
    header .logo h1 {
        font-size: 2rem;
    }
    header nav ul li {
        margin-right: 25px;
    }
    #hero .container {
        flex-direction: column-reverse;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content h2 {
        font-size: 3.8rem;
    }
    .hero-content .tagline {
        font-size: 1.4rem;
    }
    .hero-image img {
        max-width: 80%;
    }
    .btn {
        width: 90%;
        margin: 15px auto;
        display: block;
        text-align: center;
    }
    section h3 {
        font-size: 3rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-text, .about-vision {
        text-align: center;
    }
    .vision-item .icon-glow, .service-item .service-icon-glow {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    header nav {
        left: -100%;
        width: 80%;
        padding-top: 120px;
    }
    header nav.open {
        left: 0;
    }
    header nav ul {
        flex-direction: column;
        align-items: flex-end;
        padding-right: 40px;
    }
    header nav ul li {
        margin: 30px 0;
    }
    header nav ul li a {
        font-size: 1.5rem;
    }
    .nav-toggle {
        display: block;
    }
    #hero {
        padding: 8rem 0;
    }
    .hero-content h2 {
        font-size: 3rem;
    }
    .hero-content .tagline {
        font-size: 1.1rem;
    }
    section {
        padding: 6rem 0;
    }
    section h3 {
        font-size: 2.5rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-text p, .service-item p {
        font-size: 1.1rem;
    }
    .contact-info p {
        font-size: 1.2rem;
    }
    #contact form {
        padding: 40px;
    }
    #contact form input, #contact form textarea {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    header nav ul li a {
        font-size: 1.3rem;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content .tagline {
        font-size: 0.95rem;
    }
    section h3 {
        font-size: 2rem;
    }
    .vision-item h4, .service-item h4 {
        font-size: 1.8rem;
    }
    .vision-item .icon-glow, .service-item .service-icon-glow {
        font-size: 3.8rem;
    }
    .contact-info p {
        font-size: 1.1rem;
    }
    #contact form {
        padding: 30px;
    }
    .btn {
        padding: 14px 25px;
        font-size: 1.1rem;
    }
}
