/* ===== متغیرها و تنظیمات پایه ===== */
:root {
    /* پالت رنگ مذهبی - آستان قدس رضوی */
    --primary: #0a6e3d;          /* سبز امام رضا (سبز تیره قدسی) */
    --primary-dark: #074d2a;     /* سبز بسیار تیره */
    --primary-light: #1a9e5f;    /* سبز روشن‌تر */
    --secondary: #c9a227;        /* طلایی قدسی */
    --secondary-dark: #a8861a;   /* طلایی تیره */
    --secondary-light: #e6c34a;  /* طلایی روشن */
    --accent: #c9a227;           /* طلایی (تأکید) */
    --gold: #d4af37;             /* طلایی ناب */
    --gold-light: #f5e6a8;       /* طلایی کم‌رنگ */
    --dark: #0f1a14;             /* مشکی متمایل به سبز */
    --gray-900: #1a1f1c;         /* مشکی سبز */
    --gray-700: #3d4a42;         /* خاکستری سبز */
    --gray-500: #6b756f;         /* خاکستری متوسط */
    --gray-300: #c5cdc8;         /* خاکستری روشن */
    --gray-100: #f4f7f5;         /* کرم سبز */
    --gray-50: #f9fbf9;          /* تقریباً سفید */
    --white: #ffffff;            /* سفید ناب */
    --success: #0a6e3d;          /* سبز */
    --danger: #074d2a;           /* سبز بسیار تیره (به جای قرمز) */
    --warning: #c9a227;          /* طلایی */
    --holy-green: #0a6e3d;
    --holy-gold: #c9a227;
    --holy-cream: #faf8f0;
    --shadow-sm: 0 1px 2px rgba(15,26,20,0.08);
    --shadow: 0 4px 6px rgba(15,26,20,0.10), 0 2px 4px rgba(15,26,20,0.06);
    --shadow-md: 0 10px 25px rgba(15,26,20,0.12), 0 4px 10px rgba(15,26,20,0.06);
    --shadow-lg: 0 20px 40px rgba(15,26,20,0.15);
    --shadow-gold: 0 8px 24px rgba(201,162,39,0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

/* افکت ظاهر شدن هنگام اسکرول */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* اسکرول‌بار سفارشی */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--holy-green), var(--gold));
    border-radius: 6px;
    border: 2px solid var(--gray-100);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}

/* انتخاب متن */
::selection {
    background: var(--gold);
    color: var(--dark);
}

body {
    font-family: 'Vazirmatn', -apple-system, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== دکمه‌ها ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--holy-green); color: var(--gold-light); }
.btn-primary:hover { background: var(--primary-dark); color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,110,61,0.4); }
.btn-light { background: white; color: var(--holy-green); border: 2px solid var(--gold); }
.btn-light:hover { background: var(--holy-cream); color: var(--holy-green); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--secondary-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== هدر (بازطراحی لوکس: سبز قدسی + طلایی) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #0c5f37 0%, #074d2a 100%);
    box-shadow: 0 2px 18px rgba(7, 45, 25, 0.28);
    transition: box-shadow 0.3s ease;
}
/* خط طلایی پایین هدر */
.site-header::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.site-header.scrolled {
    box-shadow: 0 10px 32px rgba(5, 35, 19, 0.45);
}

/* --- نوار اطلاع‌رسانی بالایی --- */
.header-topbar {
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(201, 162, 39, 0.22);
    font-size: 12.5px;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}
.topbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e9f0ea;
    text-decoration: none;
    opacity: 0.95;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.topbar-item svg { color: var(--gold); flex: none; }
a.topbar-item:hover { color: var(--gold-light); opacity: 1; }
.topbar-social { display: flex; align-items: center; gap: 7px; }
.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--gold-light);
    border: 1px solid rgba(201, 162, 39, 0.35);
    transition: var(--transition);
}
.topbar-social a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* --- ردیف اصلی هدر --- */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 20px;
    max-width: 1200px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner {
    padding-top: 8px;
    padding-bottom: 8px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: none;
}
.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.brand:hover .logo-img { transform: scale(1.06); }
.logo-placeholder {
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 30% 25%, var(--primary-light), var(--primary-dark));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(201, 162, 39, 0.25);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.logo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 230, 168, 0.35) 50%, transparent 70%);
    animation: logo-shine 3.2s linear infinite;
}
@keyframes logo-shine {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}
.brand:hover .logo-placeholder { transform: scale(1.06); }
.brand-text { display: flex; flex-direction: column; }
.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.brand-sub {
    font-size: 11.5px;
    color: var(--gold-light);
    line-height: 1.5;
    opacity: 0.95;
}

/* --- منوی اصلی --- */
.main-nav { display: flex; align-items: center; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 1px;
}
.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 10px;
    color: #eef4ef;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.28s ease;
}
.nav-link:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.07);
}
.nav-link:hover::after { width: 55%; }
.nav-link.is-active {
    color: var(--gold);
    font-weight: 700;
}
.nav-link.is-active::after { width: 55%; }

/* --- دکمه تماس (CTA) --- */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--secondary-light) 100%);
    color: var(--primary-dark);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
    transition: var(--transition);
}
.header-cta svg { flex: none; }
.header-cta:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(201, 162, 39, 0.5);
}

/* --- دکمه منوی موبایل --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    transition: var(--transition);
}
.menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--gold-light);
    border-radius: 3px;
    transition: var(--transition);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.15); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- بخش پایینی منوی موبایل (در دسکتاپ مخفی) --- */
.mobile-menu-footer { display: none; }

/* قفل اسکرول صفحه هنگام باز بودن منوی موبایل */
body.menu-open { overflow: hidden; }

/* --- ریسپانسیو هدر --- */
@media (max-width: 1240px) and (min-width: 861px) {
    .nav-link { padding: 10px 7px; font-size: 13px; }
    .header-cta { padding: 9px 14px; font-size: 13px; }
    .brand-title { font-size: 16px; }
    .brand-sub { font-size: 10.5px; }
}
@media (max-width: 860px) {
    .header-topbar { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .brand { position: relative; z-index: 1001; }
    .brand-sub { display: none; }
    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 28px 36px;
        background: linear-gradient(180deg, #0c5f37 0%, #053a20 100%);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    }
    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .nav-link {
        font-size: 16.5px;
        padding: 13px 14px;
        border-radius: 10px;
        border-bottom: 1px solid rgba(201, 162, 39, 0.14);
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.25s ease, background-color 0.25s ease;
    }
    .main-nav.open .nav-link { opacity: 1; transform: translateY(0); }
    .nav-link::after { display: none; }
    .nav-link.is-active {
        background: rgba(201, 162, 39, 0.14);
        border-bottom-color: rgba(201, 162, 39, 0.4);
    }
    /* ورود پلکانی لینک‌ها */
    .main-nav.open .nav-link:nth-child(1) { transition-delay: 0.04s; }
    .main-nav.open .nav-link:nth-child(2) { transition-delay: 0.08s; }
    .main-nav.open .nav-link:nth-child(3) { transition-delay: 0.12s; }
    .main-nav.open .nav-link:nth-child(4) { transition-delay: 0.16s; }
    .main-nav.open .nav-link:nth-child(5) { transition-delay: 0.2s; }
    .main-nav.open .nav-link:nth-child(6) { transition-delay: 0.24s; }
    .main-nav.open .nav-link:nth-child(7) { transition-delay: 0.28s; }
    .main-nav.open .nav-link:nth-child(8) { transition-delay: 0.32s; }
    .main-nav.open .nav-link:nth-child(9) { transition-delay: 0.36s; }
    .main-nav.open .nav-link:nth-child(10) { transition-delay: 0.4s; }
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        max-width: 460px;
        margin: 26px auto 0;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.4s ease 0.42s, transform 0.4s ease 0.42s;
    }
    .main-nav.open .mobile-menu-footer { opacity: 1; transform: translateY(0); }
    .mobile-call-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 13px 20px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--gold), var(--secondary-light));
        color: var(--primary-dark);
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
    }
    .mobile-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .mobile-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: var(--gold-light);
        border: 1px solid rgba(201, 162, 39, 0.4);
        transition: var(--transition);
    }
    .mobile-social a:hover { background: var(--gold); color: var(--primary-dark); border-color: var(--gold); }
}

/* ===== اسلاید شو ===== */
.slideshow {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--dark);
}
.slides-container { position: relative; width: 100%; height: 100%; }
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,77,42,0.75) 0%, rgba(15,26,20,0.65) 50%, rgba(201,162,39,0.3) 100%);
}
.slide-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}
.slide-content h1 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.3;
    color: var(--gold-light);
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 28px;
    opacity: 0.95;
    color: white;
}
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(201,162,39,0.25);
    border: 2px solid var(--gold);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 10;
}
.slide-nav:hover { background: var(--gold); color: var(--dark); }
.slide-prev { right: 20px; }
.slide-next { left: 20px; }
.slide-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.slide-dot.active { background: var(--gold); width: 35px; border-radius: 6px; box-shadow: var(--shadow-gold); }

/* ===== بخش‌ها ===== */
section { padding: 80px 0; }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-tag {
    display: inline-block;
    background: rgba(10,110,61,0.1);
    color: var(--holy-green);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(201,162,39,0.3);
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--holy-green), var(--gold));
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-desc { color: var(--gray-500); font-size: 16px; max-width: 600px; margin: 0 auto; }
.see-all {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--holy-green);
}

/* ===== معرفی ما ===== */
.about-section { background: var(--gray-50); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.about-text { font-size: 16px; color: var(--gray-700); line-height: 2; }
.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.img-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 18px;
    border: 2px dashed var(--gray-300);
}

/* ===== آمار ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
    position: relative;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--holy-green), var(--gold));
    border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--holy-green); }
.stat-number {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--holy-green), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-label { color: var(--gray-500); font-size: 14px; font-weight: 500; }

/* ===== کارت‌ها ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(201,162,39,0.15);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--holy-green), var(--gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
    z-index: 3;
}
.card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15,26,20,0.15);
    border-color: var(--gold);
}
.card-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
}
.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,110,61,0.4) 0%, transparent 50%, rgba(201,162,39,0.3) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}
.card:hover .card-image::after {
    opacity: 1;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.card:hover .card-image img { transform: scale(1.1); }
.card-image .img-placeholder { height: 100%; border: none; border-radius: 0; }
.badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--holy-green);
    color: var(--gold-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--gold);
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-date, .card-category {
    display: inline-block;
    font-size: 12px;
    color: var(--holy-green);
    font-weight: 600;
    margin-bottom: 8px;
}
.card-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    /* محدود کردن عنوان به ۲ خط */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 57px;
}
.card-body h3 a { color: var(--gray-900); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p {
    color: var(--gray-500);
    font-size: 14px;
    flex: 1;
    margin-bottom: 16px;
    /* محدود کردن به ۳ خط */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}
.read-more { font-weight: 600; font-size: 14px; }

/* ===== رنگ‌بندی بخش‌ها ===== */
.news-section { background: white; }
.articles-section { background: var(--gray-50); }
.projects-section { background: white; }
.opportunities-section { background: var(--gray-50); }

/* ===== صفحه ایده‌ها ===== */
.ideas-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--holy-green) 50%, var(--secondary-dark) 100%) !important;
}

/* بخش معرفی اصلی با تصویر */
.ideas-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.ideas-main-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 12px;
}
.ideas-main-subtitle {
    font-size: 18px;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}
.ideas-intro-text {
    color: var(--gray-700);
    line-height: 2;
    font-size: 16px;
}
.ideas-main-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold);
}
.ideas-img-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(245,230,168,0.5);
    border: 3px solid var(--gold);
}

/* بخش‌های توضیحات */
.ideas-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.ideas-section-grid.reverse {
    direction: rtl;
}
.ideas-section-grid.reverse .ideas-section-image {
    order: 2;
}
.ideas-section-grid.reverse .ideas-section-text {
    order: 1;
}
.ideas-section-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold);
}
.ideas-section-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 16px;
}
.ideas-section-content {
    color: var(--gray-700);
    line-height: 2;
    font-size: 16px;
}

@media (max-width: 968px) {
    .ideas-main-grid, .ideas-section-grid { grid-template-columns: 1fr; }
    .ideas-section-grid.reverse .ideas-section-image { order: 0; }
    .ideas-section-grid.reverse .ideas-section-text { order: 0; }
}

.ideas-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.idea-feature-card {
    background: white;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}
.idea-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.idea-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.idea-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}
.idea-feature-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

.ideas-submit-btn {
    font-size: 18px !important;
    padding: 16px 40px !important;
    box-shadow: 0 10px 30px rgba(10,110,61,0.4);
    animation: pulse-glow 2s infinite;
    background: var(--gold) !important;
    color: var(--dark) !important;
    border: 2px solid var(--gold-light) !important;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(201,162,39,0.4); }
    50% { box-shadow: 0 15px 40px rgba(201,162,39,0.7); }
}

/* مراحل ثبت ایده */
.ideas-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.idea-step {
    background: white;
    padding: 30px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}
.idea-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 16px;
}
.idea-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.idea-step p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}

/* سوالات متداول */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-right: 4px solid var(--primary);
}
.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.faq-item p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
}

/* ===== مودال فرم ایده ===== */
.idea-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.idea-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.idea-modal {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s;
}
.idea-modal-overlay.active .idea-modal {
    transform: scale(1);
}
.idea-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    color: var(--gold-light);
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: 2px solid var(--gold);
}
.idea-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
}
.idea-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}
.idea-modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}
.idea-modal-body {
    padding: 24px;
}
.idea-modal-body .form-group {
    margin-bottom: 18px;
}
.idea-modal-body .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}
.idea-modal-body .form-group input,
.idea-modal-body .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: white;
}
.idea-modal-body .form-group input:focus,
.idea-modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--holy-green);
    box-shadow: 0 0 0 3px rgba(10,110,61,0.1);
}
.idea-modal-body .form-group input[type="file"] {
    padding: 8px;
    border: 1px dashed var(--gray-300);
    background: var(--gray-50);
}
.idea-modal-body .form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.idea-modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.idea-modal-body .req {
    color: var(--danger);
}
.idea-modal-body .hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
}
.idea-modal-body .form-actions {
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.idea-modal-body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.idea-modal-body .btn-primary {
    background: var(--holy-green);
    color: var(--gold-light);
}
.idea-modal-body .btn-primary:hover {
    background: var(--primary-dark);
}
.idea-modal-body .btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

@media (max-width: 968px) {
    .ideas-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ideas-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .ideas-features-grid { grid-template-columns: 1fr; }
    .ideas-steps-grid { grid-template-columns: 1fr; }
    .idea-modal-body .form-row { grid-template-columns: 1fr; }
}

/* ===== پیش‌نمایش مشهد در صفحه اصلی ===== */
.mashhad-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4f7f5 0%, #faf8f0 100%);
}
.mashhad-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.mashhad-preview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.mashhad-img-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    color: rgba(245,230,168,0.5);
    border: 2px solid var(--gold);
}
.mashhad-preview-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 12px;
}
.mashhad-subtitle {
    font-size: 18px;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 16px;
}
.mashhad-intro {
    color: var(--gray-700);
    line-height: 2;
    margin-bottom: 24px;
}
.mashhad-quick-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 28px;
    padding: 20px;
    background: rgba(255,255,255,0.6);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.mqs-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mqs-icon { font-size: 32px; }
.mqs-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
}
.mqs-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
}

/* ===== صفحه معرفی مشهد ===== */
.mashhad-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}
.mashhad-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,77,42,0.8) 0%, rgba(168,134,26,0.5) 100%);
}
.mashhad-hero-content {
    position: relative;
    z-index: 2;
}
.mashhad-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.mashhad-hero h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.mashhad-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* آمار مشهد */
.mashhad-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.mashhad-stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold);
    transition: var(--transition);
}
.mashhad-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.ms-icon {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
}
.ms-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 6px;
}
.ms-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
}

/* معرفی مشهد */
.mashhad-intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2.1;
    color: var(--gray-700);
    text-align: justify;
}

/* فرهنگ و تاریخ */
.mashhad-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.mashhad-culture-text {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-700);
}
.mashhad-culture-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.mashhad-culture-image .img-placeholder {
    height: 300px;
}

/* اقتصاد و اطلاعات سفر */
.mashhad-economy-content,
.mashhad-travel-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2.1;
    color: var(--gray-700);
    text-align: justify;
}

/* ریسپانسیو مشهد */
@media (max-width: 968px) {
    .mashhad-preview-grid { grid-template-columns: 1fr; }
    .mashhad-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mashhad-culture-grid { grid-template-columns: 1fr; }
    .mashhad-hero h1 { font-size: 36px; }
    .mashhad-hero p { font-size: 16px; }
    .mashhad-quick-stats { flex-direction: column; gap: 16px; }
}
@media (max-width: 640px) {
    .mashhad-stats-grid { grid-template-columns: 1fr; }
    .mashhad-preview-text h2 { font-size: 26px; }
    .mashhad-hero h1 { font-size: 28px; }
}

/* ===== بنر مسابقه ایده‌پردازی ===== */
.contest-banner {
    margin: 0;
    padding: 0;
}
.banner-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.banner-bg {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
    overflow: hidden;
}
.banner-link:hover .banner-bg {
    transform: scale(1.02);
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,77,42,0.7) 0%, rgba(168,134,26,0.5) 100%);
}
.banner-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
    z-index: 2;
}
.banner-badge {
    display: inline-block;
    background: rgba(201,162,39,0.25);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}
.banner-content h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    color: var(--gold-light);
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.95;
    color: white;
}

/* ===== فرصت‌های سرمایه‌گذاری - کارت ===== */
.opp-quick-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}
.opp-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.opp-info-label {
    font-size: 11px;
    color: var(--gray-500);
}
.opp-info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}

/* ===== جزئیات پروژه - اطلاعات ===== */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}
.info-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}
.info-value {
    font-size: 15px;
    color: var(--gray-900);
    font-weight: 700;
}

/* ===== جزئیات فرصت سرمایه‌گذاری - مشخصات ===== */
.opp-detail-header {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--holy-green) 100%) !important;
}
.opp-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0;
}
.opp-spec-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    border-top: 3px solid var(--gold);
}
.opp-spec-icon {
    font-size: 28px;
    margin-bottom: 4px;
}
.opp-spec-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}
.opp-spec-value {
    font-size: 17px;
    color: var(--holy-green);
    font-weight: 800;
}
.opp-cta {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--holy-green) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    text-align: center;
    color: white;
    border: 2px solid var(--gold);
}
.opp-cta h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.opp-cta p {
    margin-bottom: 20px;
    opacity: 0.95;
}

/* ===== ریسپانسیو برای بخش‌های جدید ===== */
@media (max-width: 968px) {
    .opp-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .project-info-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-content h2 { font-size: 30px; }
    .banner-content p { font-size: 15px; }
    .banner-bg { min-height: 250px; }
}
@media (max-width: 640px) {
    .opp-spec-grid { grid-template-columns: 1fr; }
    .project-info-grid { grid-template-columns: 1fr; }
    .opp-quick-info { grid-template-columns: 1fr; }
    .banner-content h2 { font-size: 24px; }
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--holy-green) 0%, var(--primary-dark) 50%, var(--secondary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(201,162,39,0.2) 0%, transparent 50%);
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; color: var(--gold-light); position: relative; }
.cta-section p { font-size: 18px; opacity: 0.95; margin-bottom: 28px; position: relative; }

/* ===== صفحه هدر داخلی ===== */
.page-header {
    background: linear-gradient(135deg, var(--holy-green) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--gold);
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(201,162,39,0.2) 0%, transparent 50%);
}
.page-header h1 { font-size: 42px; font-weight: 900; margin-bottom: 8px; color: var(--gold-light); position: relative; }
.page-header p { font-size: 17px; opacity: 0.95; position: relative; }
.page-content { padding: 50px 20px; }

/* ===== صفحه جزئیات ===== */
.detail-header {
    background: var(--gray-50);
    padding: 50px 0 30px;
    border-bottom: 1px solid var(--gray-100);
}
.detail-header h1 {
    font-size: 34px;
    font-weight: 800;
    margin: 12px 0;
    line-height: 1.5;
}
.detail-summary { font-size: 18px; color: var(--gray-500); }
.detail-date {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}
.detail-author {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    color: var(--gray-500);
    font-size: 14px;
}
.detail-content {
    padding: 40px 20px;
    max-width: 800px;
}
.detail-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.detail-image img { width: 100%; }
.detail-body {
    font-size: 17px;
    line-height: 2.1;
    color: var(--gray-700);
}
.detail-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-size: 14px;
}
.related-section {
    background: var(--gray-50);
    padding: 60px 0;
}
.related-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

/* ===== صفحه‌بندی ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    font-weight: 600;
}
.pagination a:hover { background: var(--gray-100); }
.pagination a.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== حالت خالی ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-state h3 { font-size: 24px; margin-bottom: 12px; color: var(--gray-700); }
.empty-state p { color: var(--gray-500); }

/* ===== تماس ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-info-box, .contact-form-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-info-box h2, .contact-form-box h2 {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--gray-900);
}
.contact-list { list-style: none; }
.contact-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-list strong { display: block; margin-bottom: 4px; color: var(--gray-900); }
.contact-list div { color: var(--gray-500); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* ===== فوتر ===== */
.site-footer {
    background: linear-gradient(180deg, var(--dark) 0%, #050a08 100%);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--holy-green), var(--gold), var(--holy-green));
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
}
.site-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.footer-top {
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
}
.footer-about-col {
    display: flex;
    flex-direction: column;
}
.footer-logo {
    margin-bottom: 16px;
}
.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: white;
    padding: 6px;
}
.footer-logo-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(201,162,39,0.3);
}
.footer-col h3 {
    color: var(--gold-light);
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--holy-green));
    border-radius: 2px;
}
.footer-col p { line-height: 1.9; margin-bottom: 16px; color: #b5bdb8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: #b5bdb8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links li a:hover {
    color: var(--gold-light);
    transform: translateX(-5px);
}
.footer-bullet {
    color: var(--gold);
    font-style: normal;
    font-size: 12px;
    transition: var(--transition);
}
.footer-links li a:hover .footer-bullet {
    color: var(--gold-light);
}
.contact-info { list-style: none; }
.contact-info li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
    transition: var(--transition);
}
.contact-info li:hover {
    transform: translateX(-3px);
}
.contact-icon {
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-info li:hover .contact-icon {
    background: var(--gold);
    color: var(--dark);
    transform: rotate(360deg);
}
.contact-label {
    display: block;
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    font-weight: 600;
}
.contact-info a, .contact-info span:not(.contact-label):not(.contact-icon) {
    color: #d5dcd7;
    font-size: 14px;
    line-height: 1.6;
}
.contact-info a:hover { color: var(--gold-light); }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.social-link {
    width: 42px;
    height: 42px;
    background: rgba(201,162,39,0.1);
    border: 1px solid rgba(201,162,39,0.25);
    color: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--secondary-dark));
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s;
}
.social-link svg {
    position: relative;
    z-index: 2;
}
.social-link:hover::before {
    transform: scale(1);
}
.social-link:hover {
    color: var(--dark);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(201,162,39,0.4);
    border-color: var(--gold);
}
.footer-bottom {
    border-top: 1px solid rgba(201,162,39,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 968px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-about-col { grid-column: 1 / -1; }
    .slide-content h1 { font-size: 36px; }
    .slide-content p { font-size: 16px; }
    .slideshow { height: 450px; }
    .board-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .board-grid-full { grid-template-columns: 1fr !important; }
}

/* ===== بخش هیأت مدیره (صفحه اصلی) ===== */
.board-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--holy-cream) 100%);
}
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.board-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(201,162,39,0.2);
    position: relative;
}
.board-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--holy-green), var(--gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
    z-index: 3;
}
.board-card:hover::before { transform: scaleX(1); transform-origin: left; }
.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15,26,20,0.15);
    border-color: var(--gold);
}
.board-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}
.board-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.board-card:hover .board-image { transform: scale(1.1); }
.board-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 800;
    color: var(--gold);
    border-bottom: 3px solid var(--gold);
}
.board-social {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(0deg, rgba(15,26,20,0.85) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}
.board-card:hover .board-social {
    opacity: 1;
    transform: translateY(0);
}
.board-social-link {
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.board-social-link:hover {
    background: white;
    transform: translateY(-3px);
}
.board-info {
    padding: 24px;
    text-align: center;
}
.board-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 6px;
}
.board-position {
    font-size: 14px;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 12px;
}
.board-bio {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}
.board-experience {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--gold);
    text-align: right;
}
.board-experience h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--holy-green);
    margin-bottom: 8px;
}
.board-experience p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* دکمه‌های رزومه */
.board-resume {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.board-resume .btn {
    padding: 8px 14px;
    font-size: 12px;
}
.board-resume-full {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

/* ===== صفحه کامل هیأت مدیره ===== */
.board-grid-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.board-card-full {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,162,39,0.2);
    display: flex;
    flex-direction: column;
}
.board-image-wrapper-full {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
}
.board-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.board-image-placeholder-full {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--holy-green), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    font-weight: 800;
    color: var(--gold);
}
.board-social-full {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(0deg, rgba(15,26,20,0.85) 0%, transparent 100%);
}
.board-info-full {
    padding: 30px;
}
.board-name-full {
    font-size: 24px;
    font-weight: 800;
    color: var(--holy-green);
    margin-bottom: 6px;
}
.board-position-full {
    font-size: 16px;
    color: var(--secondary-dark);
    font-weight: 600;
    margin-bottom: 20px;
}
.board-bio-full, .board-experience-full {
    margin-bottom: 20px;
}
.board-bio-full h4, .board-experience-full h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--holy-green);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}
.board-bio-full p, .board-experience-full p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 2;
    text-align: justify;
}

@media (max-width: 640px) {
    .board-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about-col { grid-column: auto; }
    .stats-grid { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .section-header h2, .cta-section h2 { font-size: 26px; }
    .page-header h1 { font-size: 28px; }
    .slide-content h1 { font-size: 26px; }
    section { padding: 50px 0; }
}
