﻿: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;
}

a {
    text-decoration: none;
}

/* ===== یوتیلیتی ===== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    position: relative;
}

    .section-title span {
        color: var(--primary-color);
        position: relative;
        display: inline-block;
    }

        .section-title span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            right: 0;
            width: 100%;
            height: 12px;
            background: rgba(11, 79, 108, 0.15);
            z-index: -1;
            border-radius: 10px;
        }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ===== ناوبری (مثل قبل) ===== */
.navbar {
    background-color: var(--bg-light) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

    .navbar-brand i {
        color: var(--secondary-color);
        margin-left: 8px;
        font-size: 1.8rem;
    }

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color) !important;
    }

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-primary-custom:hover {
        background-color: transparent;
        color: var(--primary-color) !important;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(11, 79, 108, 0.15);
    }

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-color) !important;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-outline-custom:hover {
        background-color: var(--primary-color);
        color: white !important;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(11, 79, 108, 0.15);
    }

/* ===== هدر صفحه درباره ما ===== */
.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);
}

/* ===== بخش معرفی ===== */
.about-intro {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(11, 79, 108, 0.15);
    position: relative;
}

    .about-image img {
        width: 100%;
        height: auto;
        transition: transform 0.6s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
}

    .about-content h2 i {
        color: var(--secondary-color);
        margin-left: 10px;
    }

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-highlight {
    background: var(--bg-offwhite);
    padding: 1.8rem;
    border-radius: 20px;
    border-right: 5px solid var(--secondary-color);
    margin: 2rem 0;
}

    .about-highlight p {
        margin-bottom: 0;
        font-weight: 500;
        color: var(--text-dark);
    }

/* ===== فلسفه و ماموریت ===== */
.philosophy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    .philosophy-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,100 M0,100 L100,0" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
        opacity: 0.1;
    }

.philosophy-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    transition: all 0.3s ease;
}

    .philosophy-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.15);
    }

.philosophy-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.philosophy-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.philosophy-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ===== ارتباط با نهادهای بالادستی ===== */
.connections-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.connection-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .connection-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: var(--secondary-color);
        transform: translateX(-100%);
        transition: transform 0.4s ease;
    }

    .connection-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 45px rgba(11, 79, 108, 0.12);
    }

        .connection-card:hover::after {
            transform: translateX(0);
        }

.connection-logo {
    width: 120px;
    height: 120px;
    background: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    font-size: 3.5rem;
    color: var(--primary-color);
    border: 2px dashed var(--border-light);
    transition: all 0.3s ease;
}

.connection-card:hover .connection-logo {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.connection-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.connection-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.connection-badge {
    display: inline-block;
    background: rgba(11, 79, 108, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== تایم لاین تاریخچه ===== */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-offwhite);
}

.timeline {
    position: relative;
    padding: 40px 0;
    margin-top: 30px;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 50%;
        transform: translateX(50%);
        width: 4px;
        height: 100%;
        background: var(--primary-color);
        opacity: 0.2;
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }

.timeline-content {
    width: 45%;
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        transform: scale(1.02);
        box-shadow: 0 20px 40px rgba(11, 79, 108, 0.1);
        border-color: var(--primary-light);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        background: white;
        border-left: 2px solid var(--border-light);
        border-bottom: 2px solid var(--border-light);
    }

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    transform: rotate(135deg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    transform: rotate(-45deg);
}

.timeline-year {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        right: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 60px;
    }

    .timeline-content {
        width: 100%;
    }

        .timeline-content::before {
            display: none;
        }
}

/* ===== تیم مدیریت - تاکید بر مهندس عظمتی ===== */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.founder-card {
    background: linear-gradient(145deg, white, var(--bg-offwhite));
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(11, 79, 108, 0.15);
    border: 1px solid var(--border-light);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

    .founder-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

.founder-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 5rem;
    color: white;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}

.founder-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(244, 180, 0, 0.15);
    padding: 0.3rem 2rem;
    border-radius: 50px;
}

.founder-bio {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

.team-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%;
}

    .team-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 45px rgba(11, 79, 108, 0.15);
    }

.team-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.team-social {
    position: absolute;
    bottom: -40px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    bottom: 20px;
    opacity: 1;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .team-social a:hover {
        background: var(--secondary-color);
        color: var(--primary-dark);
        transform: translateY(-5px);
    }

.team-info {
    padding: 1.8rem;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

/* ===== آمار ===== */
.stats-mini-section {
    background: linear-gradient(135deg, var(--bg-offwhite), white);
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-mini-item {
    text-align: center;
}

.stat-mini-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-mini-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== فوتر (مثل قبل) ===== */
.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);
}
