﻿: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;
    --danger: #E74C3C;
}
.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);
}

/* ===== تب‌های دسته‌بندی ===== */
.category-tabs {
    padding: 40px 0 20px;
    background-color: var(--bg-light);
}

.nav-tabs-custom {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: none;
    flex-wrap: wrap;
}

    .nav-tabs-custom .nav-link {
        background: white;
        border: 2px solid var(--border-light);
        border-radius: 60px !important;
        padding: 1rem 2.5rem !important;
        font-weight: 700;
        color: var(--text-muted);
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

        .nav-tabs-custom .nav-link i {
            margin-left: 10px;
            font-size: 1.2rem;
        }

        .nav-tabs-custom .nav-link:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            transform: translateY(-3px);
        }

        .nav-tabs-custom .nav-link.active {
            background: var(--primary-color);
            color: white !important;
            border-color: var(--primary-color);
            box-shadow: 0 10px 25px rgba(11, 79, 108, 0.3);
        }

/* ===== کارت‌های فرصت‌ها ===== */
.opportunities-section {
    padding: 40px 0 80px;
    background-color: var(--bg-light);
}

.opportunity-card {
    background: white;
    border-radius: 25px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .opportunity-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(11, 79, 108, 0.12);
        border-color: var(--primary-light);
    }

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.badge-job {
    background: rgba(52, 152, 219, 0.15);
    color: var(--info);
}

.badge-study {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
}

.badge-idea {
    background: rgba(244, 180, 0, 0.15);
    color: var(--warning);
}

.badge-hot {
    background: var(--danger);
    color: white;
    left: auto;
    right: 15px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(11, 79, 108, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.opportunity-card:hover .card-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.card-company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-details {
    margin-bottom: 1.2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

    .detail-item i {
        width: 20px;
        color: var(--secondary-color);
        font-size: 1rem;
    }

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.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;
}

.opportunity-card:hover .tag {
    background: rgba(11, 79, 108, 0.08);
    color: var(--primary-color);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1.2rem;
}

.deadline {
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .deadline i {
        color: var(--secondary-color);
        margin-left: 5px;
    }

.btn-apply {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

    .btn-apply:hover {
        background: transparent;
        color: var(--primary-color);
    }

.btn-idea {
    background: var(--warning);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--warning);
}

    .btn-idea:hover {
        background: transparent;
        color: var(--warning);
    }

/* ===== کارت‌های ویژه (ایده‌ها) ===== */
.idea-card {
    background: linear-gradient(145deg, white, var(--bg-offwhite));
    border-right: 5px solid var(--warning);
}

.idea-header {
    background: rgba(244, 180, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.investment-range {
    background: var(--bg-offwhite);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-align: center;
}

    .investment-range .label {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    .investment-range .amount {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--primary-color);
    }

/* ===== بخش ثبت فرصت جدید ===== */
.add-opportunity {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

    .add-opportunity h2 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .add-opportunity p {
        font-size: 1.2rem;
        opacity: 0.95;
        margin-bottom: 2rem;
    }

.btn-add {
    background: white;
    color: var(--primary-color) !important;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

    .btn-add: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);
}
