/* =======================================================
   PREMIUM GLASSMORPHIC 3D PADADHIKARI PAGE DESIGN
   ======================================================= */

/* १. संपूर्ण पेजसाठी स्वच्छ, मऊ आणि डोळ्यांना आल्हाददायक लाइट बॅकग्राउंड */
.ux-padadhikari-page {
    background-color: #f4f7fc !important;
}

.ux-main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 60px 15px;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* २. हेडिंग्स पूर्णपणे स्क्रीनच्या सेंटरमध्ये आणणे */
.ux-center-heading {
    text-align: center;
    margin-bottom: 45px;
    margin-top: 30px;
}

.ux-center-heading h1 {
    font-size: 34px;
    font-weight: 700;
    color: #122b63; /* प्रिमियम नेव्ही ब्लू */
    margin-bottom: 12px;
}

.ux-center-heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: #122b63;
    margin-bottom: 10px;
}

/* ३. मुख्य टायटलच्या खाली ३डी मल्टि-कलर डिव्हायडर बार */
.ux-title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #122b63 0%, #ff8c00 100%);
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.ux-title-divider-short {
    width: 60px;
    height: 3.5px;
    background: linear-gradient(90deg, #122b63 0%, #ff8c00 100%);
    margin: 0 auto 0 auto;
    border-radius: 2px;
}

.ux-center-heading p {
    font-size: 16px;
    color: #556b96;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ४. मुख्य लोकप्रतिनिधी (सरपंच व ग्रामसेवक) ३डी कार्ड रचना */
.ux-officials-flex-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.ux-official-card {
    background: #ffffff;
    width: 280px;
    border-radius: 16px;
    padding: 30px 20px 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(18, 43, 99, 0.05), 0 2px 10px rgba(0, 0, 0, 0.02); /* हवेत तरंगणारा मऊ ३डी लुक */
    border: 1px solid #e2eaf8;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

/* जेव्हा युझर माऊस सरपंच/ग्रामसेवक कार्डवर नेईल */
.ux-official-card:hover {
    transform: translateY(-6px); /* कार्ड ६ पिक्सेल वर उचलले जाणे */
    box-shadow: 0 15px 35px rgba(18, 43, 99, 0.12); /* सावली गडद होणे */
}

/* प्रोफाइल फोटोला देखणा वर्तुळाकार फ्रेम देणे */
.card-avatar-frame {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f8fafc;
}

.card-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ux-official-card h3 {
    font-size: 19px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 8px;
}

/* पद दर्शवणारा देखणा बॅज */
.role-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
    background: #eef3ff;
    color: #122b63;
    border: 1px solid #cbdcfd;
}

/* कॉल करण्यासाठी प्रिमियम बटन */
.ux-call-btn {
    display: block;
    background: #122b63;
    color: #ffffff !important;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.ux-call-btn:hover {
    background: #1b663e; /* होव्हर केल्यावर सुरक्षित ग्रीन रंग */
    box-shadow: 0 4px 12px rgba(27, 102, 62, 0.25);
}

/* ५. ग्रामपंचायत सदस्य ग्रिड रचना (Perfect Alignment) */
.ux-members-section {
    margin-bottom: 60px;
}

.ux-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* स्क्रीनच्या रुंदीनुसार कार्ड्स स्वतः जागा ठरवतील */
    gap: 30px;
    margin-top: 40px;
}

.ux-member-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 15px 20px 15px;
    text-align: center;
    border: 1px solid #e8effa;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.ux-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(18, 43, 99, 0.08);
    border-color: #cbdcfd;
}

.member-avatar-frame {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    background: #f1f5f9;
}

.member-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ux-member-card h3 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-role {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.member-phone {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1b59ce;
    background: #edf4fe;
    padding: 3px 10px;
    border-radius: 4px;
}

.muted-phone {
    color: #94a3b8;
    background: #f1f5f9;
    font-weight: 500;
}

/* ६. कर्मचारी वर्ग विभाग रचना */
.ux-staff-flex-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.ux-staff-card {
    background: #ffffff;
    width: 240px;
    border-radius: 14px;
    padding: 25px 15px 20px 15px;
    text-align: center;
    border: 1px solid #e8effa;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

.ux-staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(18, 43, 99, 0.08);
}

.staff-avatar-frame {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    background: #f1f5f9;
}

.staff-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ux-staff-card h3 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 5px;
}

.staff-role {
    font-size: 13px;
    color: #d96914; /* कर्मचाऱ्यांसाठी प्रिफर्ड ऑरेंज थीम */
    font-weight: 600;
    margin-bottom: 10px;
}

.staff-phone {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1b663e;
    background: #eefbf4;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ७. मोबाईल सुसंगतता (Responsive UX) */
@media (max-width: 768px) {
    .ux-center-heading h1 { font-size: 26px; }
    .ux-center-heading h2 { font-size: 22px; }
    .ux-members-grid { gap: 20px; }
    .ux-official-card { width: 100%; max-width: 320px; }
    .ux-staff-card { width: 100%; max-width: 280px; }
}