/* ===============================================
       === تعریف فونت ساحل (دقیقا مشابه index.html) ===
       =============================================== */
    
        
    

    
        
    

    

    /* ===============================================
       === استایل‌های عمومی ===
       =============================================== */

    :root {
        --primary-color: #0277bd;
        --primary-dark: #01579b;
        --primary-light: #b3e5fc;
        --secondary-color: #0288d1;
        --accent-color: #01579b;
        --text-color: #263238;
        --light-text: #455a64;
        --background-color: #f5f5f5;
        --card-color: #ffffff;
        --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.2);
        --font-primary: 'Sahel', sans-serif; /* متغیر فونت اضافه شد */
    }

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

    body {
        font-family: var(--font-primary); /* استفاده از فونت ساحل */
        background-color: var(--background-color);
        color: var(--text-color);
        line-height: 1.6;
        overflow-x: hidden;
        font-weight: 400;
    }

    /* Animated Background */
    .bg-animation {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        overflow: hidden;
    }

    .bubble {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(2, 119, 189, 0.05), rgba(1, 87, 155, 0.1));
        animation: float 20s infinite ease-in-out;
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) translateX(0) scale(1);
        }
        33% {
            transform: translateY(-80px) translateX(30px) scale(1.02);
        }
        66% {
            transform: translateY(40px) translateX(-30px) scale(0.98);
        }
    }

    /* Header & Navigation */
    header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
        transition: all 0.3s ease;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        max-width: 1400px;
        margin: 0 auto;
        flex-direction: row;
    }

    .logo {
        font-family: var(--font-primary); /* اطمینان از اعمال فونت */
        font-size: 32px;
        font-weight: 700;
        color: var(--primary-dark);
        text-decoration: none;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
        order: 2;
    }

    .logo img {
        margin-left: 10px;
        width: 200px;
        height: 50px;
        object-fit: contain;
    }

    .logo:hover {
        transform: scale(1.02);
    }

    .nav-links {
        display: flex;
        list-style: none;
        order: 1;
    }

    .nav-links li {
        margin-left: 25px;
        margin-right: 0;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 700; /* کمی ضخیم‌تر مثل فایل اصلی */
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        padding: 5px 0;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-links a:hover {
        color: var(--primary-dark);
    }

    /* Mobile Menu Toggle */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary-dark);
        cursor: pointer;
    }

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

    /* Staff Section */
    .staff-section {
        padding: 80px 20px;
        text-align: center;
    }

    .section-title {
        font-family: var(--font-primary);
        font-size: 42px;
        font-weight: 900; /* Black weight */
        margin-bottom: 50px;
        color: var(--primary-dark);
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
        border-radius: 3px;
    }

    .staff-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .staff-card {
        background: var(--card-color);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        text-decoration: none; 
    }

    .staff-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .staff-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .staff-card:hover .staff-image {
        transform: scale(1.05);
    }

    .staff-info {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .staff-name {
        font-family: var(--font-primary);
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        color: var(--primary-dark);
    }

    .staff-position {
        font-size: 16px;
        color: var(--light-text);
        margin-bottom: 10px;
        font-weight: 400;
    }

    .staff-linkedin {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 18px;
        margin-top: 10px;
        transition: all 0.3s ease;
    }

    .staff-linkedin:hover {
        color: var(--primary-dark);
        transform: translateY(-3px);
    }

    .contact-section {
        padding: 80px 20px;
        text-align: center;
        margin-bottom: 60px;
    }

    .contact-container {
        max-width: 800px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 20px;
        padding: 50px;
        box-shadow: var(--shadow-hover);
    }

    .contact-container p {
        font-size: 18px;
        margin-bottom: 40px;
        color: var(--light-text);
    }

    .contact-info {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        color: var(--text-color);
        transition: all 0.3s ease;
        padding: auto;
        border-radius: 10px;
        min-width: 0; 
    }

    .contact-item:hover {
        background: rgba(2, 119, 189, 0.1);
        transform: translateY(-5px);
    }

    .contact-item i {
        font-size: 28px;
        color: var(--primary-color);
        margin-bottom: 10px;
    }

    .contact-item span {
        font-weight: 600; /* SemiBold */
    }
    
    /* Footer */
    footer {
        background: rgba(255, 255, 255, 0.9);
        padding: 30px 20px;
        text-align: center;
        color: var(--light-text);
        font-size: 16px;
        border-top: 1px solid rgba(2, 119, 189, 0.2);
        margin-top: 60px;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .staff-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
            order: 3;
        }

        .nav-links {
            display: none;
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            height: calc(100vh - 70px);
            background: rgba(255, 255, 255, 0.98);
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 50px;
            z-index: 999;
        }
        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 20px 0;
        }

        .staff-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .contact-info {
            flex-direction: column;
            align-items: center;
        }
    }

    @media (max-width: 576px) {
        .logo img {
            width: 150px;
        }
        
        .section-title {
            font-size: 32px;
        }

        .staff-grid {
            grid-template-columns: 1fr;
        }
    }


/* Offline refresh additions */
.staff-intro{text-align:center;color:#607d8b;line-height:2;margin:0 auto 4px;max-width:760px;padding:0 16px}
.staff-count{display:flex;width:max-content;margin:8px auto 24px}
