
           /* Faculty card */

        .row-flex {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }

        .staff-container {
            width: 50%; /* डेस्कटॉप पर दो कॉलम */
            padding: 15px;
            box-sizing: border-box;
        }

        .backgroundstaff {
            background: #fff;
            border: 1px solid #ddd;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            height: 100%; /* कार्ड की ऊंचाई बराबर रखने के लिए */
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .high_img img {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid #eee;
        }

        /* मोबाइल व्यू के लिए फिक्स (Media Query) */
        @media (max-width: 768px) {
            .staff-container {
                width: 100%; /* मोबाइल पर पूरी चौड़ाई (एक कॉलम) */
                float: none !important; /* पुराने फ्लोट को हटाना */
            }
            
            .backgroundstaff {
                margin-bottom: 20px;
                height: auto; /* मोबाइल पर हाइट आटोमेटिक */
            }

            .content-area p {
                text-align: justify;
                font-size: 15px;
            }
        }
        
        .btn-custom {
            display: inline-block;
            width: 100%;
            margin-top: 10px;
        }
    /* मुख्य कार्ड डिजाइन */
    .faculty-card {
        background: #fff;
        border-radius: 15px;
        padding: 25px 15px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;
        margin-bottom: 30px;
        transition: transform 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faculty-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

    /* प्रोफाइल इमेज स्टाइल */
    .profile-img-container {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        padding: 5px;
        border: 2px solid #007bff;
        margin-bottom: 15px;
    }

    .profile-img-container img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

    /* नाम और पद */
    .faculty-name {
        font-size: 20px;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
    }

    .faculty-designation {
        font-size: 14px;
        color: #007bff;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    /* आईडी लिंक्स - मोबाइल के लिए सुधार */
    .faculty-links {
        width: 100%;
        text-align: left;
        background: #f8f9fa;
        padding: 12px;
        border-radius: 10px;
        font-size: 13px;
    }

    .link-item {
        margin-bottom: 8px;
        display: flex;
        flex-direction: column; /* लेबल ऊपर और लिंक नीचे */
    }

    .link-item strong {
        color: #555;
        margin-bottom: 2px;
    }

    .link-item a {
        color: #0066cc;
        text-decoration: none;
        display: block;
        white-space: nowrap;      /* एक लाइन में रखने के लिए */
        overflow: hidden;         /* ओवरफ्लो छुपाने के लिए */
        text-overflow: ellipsis;  /* लंबा लिंक होने पर '...' दिखाएगा */
    }

    .btn-profile {
        margin-top: auto;
        width: 100%;
        border-radius: 25px;
        font-weight: 600;
        padding: 8px 20px;
    }

    /* मोबाइल रिस्पॉन्सिव फिक्स */
    @media (max-width: 768px) {
        .faculty-card { padding: 20px 10px; }
        .faculty-name { font-size: 18px; }
    }
