:root {
    --primary: #2563eb;
    --primary-dark: hsl(125, 87%, 56%);
    --primary-light: #3b82f6;
    --secondary: #10d620;
    --secondary-dark: #45ff2d;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-2);
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─────────────── استایل منوی ناوبری ─────────────── */

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.logo-text span {
    color: #007bff;
}

/* ─────────────── تنظیمات منو برای نمایش افقی در همه جا ─────────────── */
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    /* فاصله بین دکمه‌ها */
    margin: 0;
    padding: 0;

    /* این خطوط باعث می‌شوند منو در موبایل اسکرول شود */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* برای نرمی اسکرول در آیفون */
    scrollbar-width: none;
    /* مخفی کردن نوار اسکرول در فایرفاکس */
}


.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    font-size: 0.9em;
    /* اندازه فونت کمی کوچکتر برای جا شدن در موبایل */
    white-space: nowrap;
    /* جلوگیری از شکستن متن دکمه‌ها */
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links li a:hover {
    color: #007bff;
    background-color: #f0f8ff;
}

/* مخفی کردن دکمه همبرگری چون دیگر نیازی نیست */
.hamburger {
    display: none !important;
}

/* اسکرول نرم برای لینک‌های داخلی */
html {
    scroll-behavior: smooth;
}




.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #4cacec 0%, #dbeafe 40%, #eff6ff 70%, #69ec91 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-overlay {
    display: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-image {
    display: none;
}


.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray);
    font-size: 22px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}


.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: var(--dark);
}

/* ─────────────── استایل بخش درباره ما ─────────────── */

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.about-text strong {
    color: #007bff;
    font-size: 1.2em;
}

/* استایل لیست ویژگی‌ها */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.af-item {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #444;
}

.af-item i {
    color: #28a745;
    margin-left: 10px;
    font-size: 1.2em;
}

/* استایل تصویر */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.about-image img:hover {
    transform: translateY(-10px);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .af-item {
        justify-content: center;
    }
}

.services {
    background: var(--bg-light);
    background-color: #298a9b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.service-card.featured h3,
.service-card.featured p {
    color: #fff;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #5f9ff1, #2ac9e6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}


.workshops {
    background: var(--bg-white);
    background-color: #6c8a99;
}

.workshops-content>p {
    text-align: center;
    color: var(--gray);
    max-width: 600px;
    margin: -30px auto 50px;
    font-size: 16px;

}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.workshop-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    background-color: #71c2f8;
}

.workshop-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.workshop-number {
    font-size: 40px;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.1);
    margin-bottom: 12px;
}

.workshop-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;


    .workshop-card p {
        font-size: 13px;
        color: var(--gray);
        margin-bottom: 16px;
        color: black;
    }
}

.workshop-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.workshop-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
}

.workshop-meta i {
    color: var(--primary);
    font-size: 13px;
}


.why-us {
    background: linear-gradient(135deg, var(--dark), #1e3a5f);
    color: #fff;
}

.why-us .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.why-us .section-header h2 {
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.why-card i {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.why-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}




.team {
    padding: 80px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.team .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── عنوان بخش ─── */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #f97316);
    color: #0c0b0b;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a0a0a;
}

/* ─── گرید اعضا ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ─── کارت عضو ─── */
.team-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #0ea5e9;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

/* ─── عکس عضو ─── */
.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0ea5e9;
    transition: 0.3s;
}

.team-card:hover .team-image {
    border-color: #f97316;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── اطلاعات عضو ─── */
.team-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.team-info span {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── آیکون‌های اجتماعی ─── */
.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.team-social a {
    width: 42px;
    height: 42px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
}

.team-social a:hover {
    background: #0ea5e9;
    transform: translateY(-4px);
}

/* ─── ریسپانسیو موبایل ─── */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .team-card {
        padding: 25px;
    }
}

/* ─────────────── استایل بخش تماس ─────────────── */

/* چیدمان دو ستونه برای موبایل و دسکتاپ */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
    /* در موبایل زیر هم قرار می‌گیرند */
}

/* استایل آیتم‌های اطلاعات (آدرس، تلفن و...) */
.ci-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    /* رنگ پس‌زمینه مشابه کارت‌ها */
    border-radius: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.ci-item:hover {
    transform: translateY(-3px);
    border-color: #007bff;
}

.ci-icon {
    font-size: 24px;
    color: #007bff;
    margin-left: 15px;
    width: 45px;
    height: 45px;
    background: #e7f1ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ci-text strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.ci-text p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* استایل فرم تماس */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* سایه ملایم */
    border: 1px solid #eee;
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.contact-form>p {
    color: #777;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* دکمه ارسال */
.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}

/* شبکه‌های اجتماعی */
.social-links {
    margin-top: 30px;
    text-align: center;
}

.social-links h4 {
    margin-bottom: 15px;
    color: #333;
}

.social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    margin: 0 8px;
    transition: all 0.3s;
}

.social-btn:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: scale(1.1);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: var(--primary-light);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(180, 174, 174, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e98989;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-right: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}


@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}