﻿:root {
    --primary-color: #0B4F6C; /* آبی نفتی - رنگ اصلی */
    --primary-light: #1A6D8A;
    --primary-dark: #083C52;
    --secondary-color: #F4B400; /* زرد طلایی برای انرژی */
    --bg-light: #FFFFFF;
    --bg-offwhite: #F8FAFE;
    --bg-gray: #F0F4F8;
    --text-dark: #1E2B37;
    --text-muted: #546E7A;
    --border-light: #E2E8F0;
    --success: #27AE60;
    --info: #3498DB;
    --warning: #F39C12;
}
/* ===== هدر صفحه ===== */
.page-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

    .page-header::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(11, 79, 108, 0.03) 0%, transparent 70%);
        border-radius: 50%;
    }

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

    .page-title span {
        color: var(--primary-color);
    }

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 1rem 0 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* ===== بخش آمار سریع شرکت‌ها ===== */
.company-stats {
    padding: 40px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-badge {
    background: white;
    border-radius: 60px;
    padding: 1.2rem 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

    .stat-badge:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(11, 79, 108, 0.1);
        border-color: var(--primary-light);
    }

    .stat-badge .number {
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary-color);
        line-height: 1.2;
    }

    .stat-badge .label {
        font-size: 1rem;
        color: var(--text-muted);
        font-weight: 500;
    }

/* ===== فیلتر شرکت‌ها ===== */
.filter-section {
    padding: 30px 0;
    background-color: var(--bg-offwhite);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(11, 79, 108, 0.2);
    }

/* ===== کارت‌های شرکت‌ها ===== */
.companies-section {
    padding: 60px 0 80px;
    background-color: var(--bg-light);
}

.company-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

    .company-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 45px rgba(11, 79, 108, 0.15);
        border-color: var(--primary-light);
    }

.company-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.company-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .company-img::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.6s ease;
    }

.company-card:hover .company-img::before {
    opacity: 1;
}

.company-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    z-index: 1;
}

.company-card:hover .company-logo {
    transform: scale(1.1) rotate(5deg);
    border-radius: 30px;
}

.company-content {
    padding: 1.8rem 1.5rem 1.5rem;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.company-field {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(11, 79, 108, 0.08);
    padding: 0.2rem 1rem;
    border-radius: 50px;
}

.company-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.company-tag {
    background: var(--bg-offwhite);
    color: var(--text-muted);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.company-card:hover .company-tag {
    background: rgba(11, 79, 108, 0.08);
    color: var(--primary-color);
}

.company-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1.2rem;
}

.company-website {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .company-website:hover {
        gap: 10px;
        color: var(--secondary-color);
    }

.company-members {
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .company-members i {
        color: var(--secondary-color);
        margin-left: 5px;
    }

/* ===== هسته‌های فناور (کارت متفاوت) ===== */
.core-card {
    background: linear-gradient(145deg, white, var(--bg-offwhite));
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border-right: 5px solid var(--secondary-color);
}

    .core-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 45px rgba(11, 79, 108, 0.15);
    }

.core-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.core-logo {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.core-card:hover .core-logo {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.core-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.core-field {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.core-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.core-leader {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

    .core-leader i {
        color: var(--secondary-color);
    }

.core-progress {
    margin-top: 1rem;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: var(--border-light);
}

.progress-bar {
    background-color: var(--secondary-color);
    border-radius: 10px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

/* ===== بخش درخواست عضویت ===== */
.join-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    color: white;
}

    .join-cta h2 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .join-cta p {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 2rem;
    }

.btn-join {
    background: white;
    color: var(--primary-color) !important;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

    .btn-join:hover {
        background: transparent;
        color: white !important;
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

/* ===== فوتر (مثل قبل) ===== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.2rem;
}

    .footer-logo i {
        color: var(--secondary-color);
        margin-left: 8px;
    }

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--secondary-color);
        color: var(--primary-dark);
        transform: translateY(-5px);
    }

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 3px;
        background: var(--secondary-color);
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 1rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a:hover {
            color: white;
            padding-right: 8px;
        }

    .footer-links i {
        color: var(--secondary-color);
        font-size: 0.8rem;
    }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}
