body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: #fff;
    position: relative;
}

.navbar-cover {
    background-color: #fff;
}

.sticky-nav {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background-color: white;
}

/* ===== NAVBAR ===== */
.navbar {
    /* background: linear-gradient(90deg, #012437, #036fa6, #0391c3); */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); */
      overflow: visible !important;
    position: relative;
    z-index: 9999;
}

.navbar-brand {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: cover;
    transition: 0.3s ease;
}

/* .navbar-brand img:hover {
      transform: scale(1.06);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    } */

/* ===== TOGGLER BUTTON ===== */
.navbar-toggler {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    gap: 4px;
}

.toggler-line {
    width: 28px;
    height: 3px;
    background-color: #ffef8a;
    border-radius: 3px;
}

/* ===== COLLAPSE AREA ===== */
.navbar-collapse {
    border-radius: 40px 25px 10px 0px;
    margin-top: 5px;
    background-color: rgb(11, 194, 255);
    display: flex;
    flex-direction: column;
    position: relative;
}

.navbar-collapse::before {
    content: "";
    position: absolute;
    left: -50px;
    height: 50px;
    width: 50px;
    bottom: 10px;
    border-radius: 50%;
    background-color: transparent;
    box-shadow: 20px 20px 0 rgb(11, 194, 255);
}

/* ===== SECTIONS ===== */
.topmenu {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    border-radius: 0 25px 0px 60px;
    order: 1;
}

.extra {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 10px;
    width: 50%;
    background-color: rgb(11, 194, 255);
}

.center-area {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    text-align: center;
    border-radius: 20px;
    order: 2;
}

.white-bar {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    border-radius: 50px 25px 0 0;
    order: 3;
    width: 90%;
    border-bottom-right-radius: 10px;
}

/* ===== NAV LINKS ===== */
.navbar-nav .nav-link {
    color: #f9f9f9;
    font-size: smaller;
    font-weight: 500;
    margin: 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link i {
    font-size: 18px;
}

.navbar-nav .nav-link:hover {
    color: #ffeb70;
    text-shadow: 0 0 8px rgba(255, 235, 112, 0.7);
}

.white-bar .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: smaller;
}

.white-bar .nav-link:hover {
    color: #ffe626 !important;
}

/* ===== SEARCH BAR ===== */
.search-pill {
    background: linear-gradient(90deg, #ffffff, #f0f8ff);
    border-radius: 50px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 360px;
    transition: box-shadow 0.3s ease;
}

.search-pill input {
    flex: 1;
    font-size: 14px;
    color: #073b62;
    background: transparent;
    border: none;
    outline: none;
}

.pill-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* ===== MARQUEE ===== */
.updates-marquee {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    padding: 6px 15px;
    width: 100%;
    max-width: 420px;
}

/* ===== SOCIAL ICONS ===== */
.right-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.social-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* More Links Dropdown Custom Styling */
.custom-menu {
    min-width: 220px;
    border-radius: 18px;
    background: #ffffff;
    padding: 10px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.custom-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 18px;
    font-weight: 600;
    color: #004b8e;
    transition: 0.2s;
}

.custom-menu .dropdown-item:hover {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    padding-left: 25px;
}



/* ===== MOBILE VIEW ORDER FIX ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        flex-direction: column;
        background: linear-gradient(180deg, #012437, #036fa6, #0391c3);
        border-radius: 15px;
        padding: 15px;
    }

    .extra {
        display: none;
    }

    .navbar-collapse::before {
        display: none;
    }

    .navbar-brand img {
        height: 50px;
        width: auto;
        object-fit: cover;
        margin-left: 80px;
        transition: 0.3s ease;
    }
    .navbar-brand span {
        font-size: 14px;
    }

    /* Change order only for small screens */
    .topmenu {
        order: 1;
        background: transparent;
    }

    .white-bar {
        order: 2;
        background: transparent;
    }

    .center-area {
        order: 3;
        flex-direction: column;
        background: transparent;
    }

    .navbar-nav .nav-link {
        color: #ffffff !important;
    }
}
@media (max-width: 520px) {
    .navbar-brand img {
        margin-left: 110px;
    }
    .navbar-brand span {
        font-size: 13px;
    }
}

/* usm trsu section crousel  */
.ums-trust-section {
    font-family: "Poppins", sans-serif;
    background: #f6f9fc;
    text-align: center;
}

.ums-trust-heading {
    font-weight: 600;
    /* margin-bottom: 30px; */
    font-size: 1.8rem;
    color: #222;
}

.ums-trust-heading span {
    color: #077fcb;
    font-weight: 700;
}

/* Layout */
.ums-trust-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Side panels */
.ums-trust-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 0.8;
    min-width: 160px;
}

.ums-trust-item {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.ums-trust-item:hover {
    background: linear-gradient(135deg, #f2b61f, #f9f977);
    transform: scale(1.06);
    color: #000;
}

/* Carousel */
.ums-trust-carousel {
    flex: 2.4;
    position: relative;
    aspect-ratio: 16/9;
    max-width: 950px;
    min-height: 420px;
    overflow: hidden;
}

.ums-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.ums-slide {
    position: absolute;
    width: 60%;
    left: 20%;
    top: 50%;
    transform: translateY(-50%) scale(0.88);
    opacity: 0.5;
    transition: all 0.8s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.ums-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.ums-slide.active {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    z-index: 5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* Arrows */
.ums-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #0078d7;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    padding: 6px 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s;
}

.ums-arrow:hover {
    background: #0078d7;
    color: #fff;
}

.ums-prev {
    left: 10px;
}

.ums-next {
    right: 10px;
}

/* Dots */
.ums-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 15;
}

.ums-dot {
    height: 10px;
    width: 10px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ums-dot.active {
    background: #0078d7;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .ums-trust-content {
        flex-direction: column;
    }

    .ums-trust-carousel {
        order: -1;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .ums-slide {
        width: 80%;
        left: 10%;
        transform: translateY(-50%) scale(0.92);
    }

    .ums-slide.active {
        transform: translateY(-50%) scale(1);
    }

    .ums-trust-side {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ums-trust-item {
        flex: 1 1 45%;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .ums-trust-item {
        flex: 1 1 100%;
        font-size: 13px;
    }

    .ums-arrow {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Section Background */
.about-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Content Box */
.about-box {
    background: #fff;
    border-left: 6px solid #000;
    transition: all 0.3s ease;
}

.about-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Underline Animation */
.about-box h2 {
    position: relative;
    display: inline-block;
}

.about-box h2 .underline {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transition: width 0.5s ease;
}

.about-box:hover h2 .underline {
    width: 100%;
}

/* Banner Image */
.about-banner {
    position: relative;
    overflow: hidden;
}

.about-banner img {
    transition: transform 0.6s ease;
}

.about-banner:hover img {
    transform: scale(1.1);
}

/* Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.about-banner:hover .banner-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Banner Text */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Section Background */
.departments-section {
    position: relative;
    overflow: hidden;
}

.departments-section::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.3),
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.departments-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(0, 191, 255, 0.3),
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

/* Department Card */
.dept-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    border-left: 6px solid #000;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.dept-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Icon Circle */
.icon-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef6640, #dd9783);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
    width: 200%;
    height: auto;
}

/* Title */
.dept-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
}

/* Description */
.dept-card p {
    font-size: 0.95rem;
    color: #555;
    min-height: 70px;
}

/* Our Services */
/* Section background */
.services-modern {
    background: linear-gradient(135deg, #f9f9fb, #eef3ff);
    position: relative;
    overflow: hidden;
}

.services-modern::before,
.services-modern::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.services-modern::before {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -80px;
    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.25),
        transparent 70%
    );
}

.services-modern::after {
    width: 320px;
    height: 320px;
    bottom: -90px;
    right: -90px;
    background: radial-gradient(
        circle,
        rgba(0, 191, 255, 0.25),
        transparent 70%
    );
}

/* Card modern */
.service-card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card-modern:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

/* Background Image */
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.service-card-modern:hover .card-bg {
    transform: scale(1.15);
}

/* Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.75)
    );
    z-index: 1;
    transition: background 0.4s ease;
}

.service-card-modern:hover .card-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.85)
    );
}

/* Content */
.card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.card-content p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.card-content a {
    color: #ffb347;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-content a:hover {
    color: #ffd166;
}

/* grievance  */
.public-grievance {
    position: relative;
    overflow: hidden;
}

.public-grievance::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #0077ff33, transparent 70%);
    top: -60px;
    left: -60px;
    border-radius: 50%;
}

.public-grievance::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00c6ff33, transparent 70%);
    bottom: -80px;
    right: -80px;
    border-radius: 50%;
}

.grievance-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.grievance-card:hover {
    transform: translateY(-6px);
}

.message-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    text-align: justify;
}

.btn-modern {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to top, rgb(237, 215, 213), #d17627);
    box-shadow: 0 6px 18px rgba(0, 119, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 119, 255, 0.45);
}

.grievance-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.grievance-img-wrapper img {
    transition: transform 0.6s ease;
}

.grievance-img-wrapper:hover img {
    transform: scale(1.08);
}

.grievance-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 119, 255, 0.25),
        rgba(0, 198, 255, 0.25)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.grievance-img-wrapper:hover .grievance-overlay {
    opacity: 1;
}

/* Modal Improvements */
.modal-content {
    border-radius: 20px;
}

.modal-title {
    font-size: 1.25rem;
}

/* yojana */
.yojana-section {
    background: linear-gradient(135deg, #f8fbff, #eef4fa);
    position: relative;
    overflow: hidden;
}

.yojana-section::before,
.yojana-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.yojana-section::before {
    width: 250px;
    height: 250px;
    background: #0077ff44;
    top: -60px;
    left: -60px;
}

.yojana-section::after {
    width: 300px;
    height: 300px;
    background: #00c6ff44;
    bottom: -80px;
    right: -80px;
}

.yojana-heading {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.yojana-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0077ff, #00c6ff);
    border-radius: 3px;
}

.yojana-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.yojana-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.yojana-card h5 {
    margin-top: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.yojana-card p {
    color: #666;
    font-size: 0.95rem;
    min-height: 50px;
}

.icon-box {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 30%;
    background: linear-gradient(135deg, #0077ff, #00c6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 119, 255, 0.25);
}

.icon-box img {
    width: 100%;
    height: 100%;
    border-radius: 30%;
}

.btn-modern {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 119, 255, 0.3);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 119, 255, 0.5);
}

/* gallery */
.gallery-section {
    background: #d6deef;
    font-family: "Segoe UI", sans-serif;
}

.gallery-section p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* event  */
.events-news h2 .underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border-radius: 5px;
    animation: slideWidth 2s infinite alternate;
}

@keyframes slideWidth {
    from {
        width: 40px;
    }

    to {
        width: 100px;
    }
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.event-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-img img {
    transform: scale(1.1);
}

.date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.event-body {
    padding: 1rem 1.2rem;
}

.event-body h5 {
    font-weight: 600;
    color: #0072ff;
    margin-bottom: 0.5rem;
}

.event-body p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* staff */
.staff-section h2 .underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    border-radius: 5px;
    animation: slideWidth 2s infinite alternate;
}

@keyframes slideWidth {
    from {
        width: 40px;
    }

    to {
        width: 100px;
    }
}

.staff-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.staff-img {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f6fa;
    overflow: hidden;
}

.staff-img img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-img img {
    transform: scale(1.1);
}

.staff-overlay {
    position: absolute;
    inset: 0;
    background: rgba(232, 102, 66, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
}

.staff-card:hover .staff-overlay {
    opacity: 1;
}

.staff-overlay i {
    margin-right: 6px;
}

.staff-info {
    padding: 1rem;
}

.staff-info h5 {
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #0072ff;
}

.staff-info p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

/* download */
.form-card {
    transition: all 0.3s ease;
    background: #fff;
}

.form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.form-card:hover .icon-circle {
    background: #ffecec;
}

.download-btn {
    background: #dc3545;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}

.download-btn:hover {
    background: #b02a37;
    color: #fff;
    transform: scale(1.05);
}

/* Feedback */
#feedback {
    background-color: #f2f6fe;
}

#feedback .form-control {
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: border 0.3s, box-shadow 0.3s;
}

#feedback .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 6px rgba(40, 167, 69, 0.3);
}

#feedback h2 {
    color: #2c3e50;
}

#feedback button {
    font-weight: 600;
    transition: 0.3s;
}

#feedback button:hover {
    transform: scale(1.05);
}

/* contact us  */
.contact-section {
    padding: 60px 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

iframe {
    border: none;
    border-radius: 16px;
    width: 100%;
    height: 350px;
}

/* footer  */
.footer {
    background: linear-gradient(90deg, #004b8e, #0071c5, #00a4ff);
    color: #fff;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}
.footer h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}
.footer h5::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #d5e4f9;
    position: absolute;
    left: 0;
    bottom: -8px;
}
.footer-list {
    list-style: none;
    padding: 0;
}
.footer-list li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-list li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-list li a:hover {
    color: black;
    padding-left: 5px;
}
.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: 0.3s;
}
.social-links a:hover {
    background: #000;
    transform: translateY(-3px);
}
.footer-bottom {
    margin-top: 30px;
    font-size: 13px;
    color: #fff;
}
.footer-bottom .visitors {
    color: #ff0000;
    font-weight: bold;
}
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* about page  */
/* ABOUT SECTION (SAFE – NO OVERLAP) */
.about-sec * {
    font-family: "Poppins", sans-serif;
}

/* BOX */
.about-sec .as-box {
    background: #ffffff;
    border-radius: 18px;
    border-left: 6px solid #0071c5;
    transition: 0.3s ease;
}

.about-sec .as-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* TAG */
.about-sec .as-tag {
    background: #d8ebff;
    color: #0071c5;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* HEADING */
.about-sec .as-title {
    margin-top: 12px;
    font-size: 32px;
    font-weight: 800;
    color: #003d73;
    position: relative;
}

/* UNDERLINE */
.about-sec .as-line {
    width: 60px;
    height: 3px;
    display: block;
    background: linear-gradient(90deg, #004b8e, #00a4ff);
    border-radius: 5px;
    margin: 6px 0 12px;
}

/* SUBHEADING */
.about-sec .as-sub {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
}

/* TEXT */
.about-sec .as-text {
    font-size: 15px;
    color: #444;
    line-height: 1.75;
    text-align: justify;
}

/* STAT BOXES */
.about-sec .as-stat {
    background: #f1f6ff;
    padding: 14px 8px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.about-sec .as-stat h3 {
    color: #0071c5;
    font-size: 24px;
    font-weight: 800;
}

.about-sec .as-stat p {
    font-size: 13px;
    margin: 0;
    color: #555;
}

/* IMAGE WRAPPER */
.about-sec .as-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

/* IMAGE */
.about-sec .as-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.about-sec .as-img-wrapper:hover .as-img {
    transform: scale(1.08);
}

/* OVERLAY */
.about-sec .as-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    text-align: left;
}

.about-sec .as-overlay h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.about-sec .as-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* MOBILE FIX */
@media (max-width: 576px) {
    .about-sec .as-title {
        font-size: 26px;
    }
}

/* department  */
/* ========== SCOPED TO ONLY FLIP SECTION ========== */

.flip-section {
    padding: 50px 0;
    font-family: "Poppins", sans-serif;
}

.flip-section .flip-head {
    text-align: center;
    margin-bottom: 40px;
}

.flip-section .flip-head h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0077ff;
}

.flip-section .flip-head p {
    color: #666;
}

/* SCOPED CONTAINER — NOW SAFE */
.flip-section .flip-container {
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
}

/* GRID */
.flip-section .flip-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .flip-section .flip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .flip-section .flip-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.flip-section .flip-card {
    perspective: 1300px;
    height: 260px;
}

.flip-section .flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.flip-section .flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

/* FRONT & BACK */
.flip-section .flip-front,
.flip-section .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    padding: 25px;
    text-align: center;
}

/* FRONT */
.flip-section .flip-front {
    background: #fff;
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-section .flip-front img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.flip-section .flip-front h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0057d6;
}

/* BACK */
.flip-section .flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(150deg, #007bff, #00bfff);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-section .flip-back h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.flip-section .flip-back p {
    font-size: 14px;
    padding: 0 8px;
    line-height: 1.6;
}

/* gallery page  */
/* ================== Professional Gallery Page ================== */

.gallery-pro-section {
    background: #f5f7fc;
    font-family: "Poppins", sans-serif;
}

.gallery-title {
    font-size: 34px;
    font-weight: 800;
    color: #006fbe;
}

.gallery-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 680px;
    margin: auto;
}

/* ---- Card ---- */
.gallery-pro-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 260px;
    cursor: pointer;
    background: #000;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.gallery-pro-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-pro-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-pro-card:hover img {
    transform: scale(1.08);
    opacity: 0.92;
}

.gallery-pro-card:hover::after {
    opacity: 1;
}

/* Modal Image */
#galleryFullImage {
    max-height: 90vh;
    object-fit: contain;
}

/* Contact us page  */
/* ---------------- HERO ---------------- */
.contact-hero {
    text-align: center;
    color: #004b8e;
}
.contact-hero h1 {
    font-size: 40px;
    font-weight: 800;
}
.contact-hero p {
    max-width: 700px;
    margin: auto;
    font-size: 15px;
    opacity: 0.9;
}

/* ---------------- MAIN SECTION ---------------- */
.contact-pro-section {
    padding: 70px 0;
    font-family: "Poppins", sans-serif;
}

/* LEFT INFO BOX */
.contact-info-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}
.info-title {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 10px;
    color: #004b8e;
}
.info-text {
    color: #666;
    font-size: 14px;
}

/* INFO CARDS */
.pro-contact-card {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #f6f9ff;
    border-radius: 14px;
    padding: 18px;
    margin-top: 15px;
    transition: 0.3s ease;
}
.pro-contact-card:hover {
    transform: translateY(-4px);
    background: #eef4ff;
}
.pro-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}
.pro-contact-card h5 {
    margin-bottom: 2px;
    font-weight: 600;
}
.pro-contact-card p {
    font-size: 14px;
    margin: 0;
}

/* EXTRA BOX */
.extra-info-box {
    background: #fff;
    padding: 18px 15px;
    border-radius: 14px;
    margin-top: 22px;
    border: 1px solid #e9e9e9;
}
.extra-info-box h5 {
    margin-bottom: 4px;
    font-weight: 600;
    color: #004b8e;
}
.extra-info-box p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* ---------------- FORM SECTION ---------------- */
.contact-form-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
}
.contact-form-box h3 {
    font-weight: 700;
    color: #004b8e;
}
.pro-input {
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    padding: 10px 14px;
    font-size: 14px;
    transition: 0.3s;
}
.pro-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.contact-btn {
    background: linear-gradient(135deg, #007bff, #00a4ff);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s;
}
.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* ---------------- MAP ---------------- */
.map-full iframe {
    width: 100%;
    height: 420px;
    margin-top: 40px;
    border: 2px dashed beige;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}



/* ========== PUBLIC GRIEVANCE PREMIUM SECTION (IMAGE ONLY) ========== */
.grievance-pro-section {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f7faff 0%, #eaf3ff 100%);
    position: relative;
    overflow: hidden;
}

/* Soft radial glow */
.grievance-pro-section::before,
.grievance-pro-section::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.grievance-pro-section::before {
    background: #7cc3ff;
    top: -60px;
    left: -80px;
}

.grievance-pro-section::after {
    background: #00b7ff;
    bottom: -50px;
    right: -70px;
}

.gp-title {
    font-size: 38px;
    font-weight: 800;
    color: #006ad7;
}

.gp-subtitle {
    max-width: 650px;
    margin: auto;
    font-size: 15px;
    color: #555;
}

/* LEFT CONTENT BOX */
.gp-content-box {
    background: #fff;
    border-radius: 22px;
    padding: 35px 35px;
    border-left: 6px solid #007bff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    transition: 0.35s ease;
}

.gp-content-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.gp-heading {
    font-size: 26px;
    font-weight: 800;
    color: #006ad7;
}

.gp-text {
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: justify;
}

/* Button */
.gp-btn {
    padding: 12px 32px;
    background: linear-gradient(90deg, #0067e0, #00a2ff);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 118, 255, 0.35);
}

.gp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 118, 255, 0.5);
}

/* RIGHT IMAGE */
.gp-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.gp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.gp-img-wrapper:hover .gp-img {
    transform: scale(1.1);
}

/* Overlay */
.gp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    opacity: 0;
    transition: 0.35s ease;
}

.gp-img-wrapper:hover .gp-img-overlay {
    opacity: 1;
}

.gp-img-overlay h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.gp-img-overlay p {
    margin: 0;
    opacity: 0.85;
}

/* Responsive Fix */
@media (max-width: 576px) {
    .gp-title { font-size: 30px; }
}



/* =================== PREMUM GOVT SCHEME CARDS =================== */
.gov-schemes-grid-2 {
    background: linear-gradient(135deg, #f8fbff, #eef4fa);
    font-family: "Poppins", sans-serif;
}

.gs2-title {
    font-size: 32px;
    font-weight: 800;
    color: #006ad7;
}

.gs2-subtitle {
    color: #666;
    max-width: 700px;
    margin: auto;
}

/* Card */
.gs2-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 22px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.35s ease;
}

.gs2-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Icon + Glow Ring */
.gs2-img-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    background: #fff;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 0 0 6px rgba(0,132,255,0.05),
                0 0 0 12px rgba(0,132,255,0.04),
                0 0 12px rgba(0,132,255,0.18);
    transition: 0.3s;
}

.gs2-card:hover .gs2-img-wrap {
    transform: scale(1.08);
}

.gs2-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text */
.gs2-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #003d72;
    margin-top: 10px;
}

.gs2-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;     /* forces equal height */
    margin-bottom: 15px;
}

/* Button */
.gs2-btn {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.gs2-btn:hover {
    color: #0056b3;
}


/* ================= Chairman Premium Section ================= */

.chairman-pro {
    background: linear-gradient(135deg, #f7fbff, #e9f3ff);
    font-family: "Poppins", sans-serif;
}

/* LEFT CARD */
.cp-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.cp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* PHOTO */
.cp-photo {
    width: 170px;
    height: 170px;
    margin: auto;
    overflow: hidden;
    border-radius: 50%;
    border: 6px solid #cde7ff;
    box-shadow: 0 10px 25px rgba(0,132,255,0.25);
}

.cp-photo img {
    width: 100%;
    object-fit: cover;
}

/* TEXT */
.cp-name {
    font-size: 22px;
    font-weight: 700;
    margin-top: 18px;
    color: #004b8e;
}

.cp-role {
    color: #555;
    margin-top: -3px;
    font-weight: 500;
}

.cp-place {
    color: #777;
    font-size: 14px;
}

.cp-line {
    width: 80px;
    height: 3px;
    background: #007bff;
    margin: 18px auto;
    border-radius: 10px;
}

/* BADGES */
.cp-badges span {
    display: inline-block;
    background: #eef6ff;
    padding: 8px 14px;
    border-radius: 20px;
    margin: 3px;
    font-size: 13px;
    color: #0076d6;
    font-weight: 600;
}

.cp-badges i {
    margin-right: 4px;
}

/* RIGHT MESSAGE BOX */
.cp-message {
    background: #ffffff;
    padding: 40px 40px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-left: 6px solid #008cff;
    transition: 0.3s ease;
}

.cp-message:hover {
    transform: translateY(-5px);
}

/* Heading */
.cp-message h2 {
    font-size: 30px;
    font-weight: 800;
    color: #007bff;
}

.cp-underline {
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    margin: 6px 0 18px;
    border-radius: 10px;
}

/* Text */
.cp-message p {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

/* Signature */
.cp-sign {
    margin-top: 20px;
}

.sig-name {
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    color: #0077d4;
}


/* ==================== PREMIUM GOV EVENT SECTION ==================== */

.gov-events {
    background: #f0f5fb;
    font-family: "Poppins", sans-serif;
}

.ge-title {
    font-size: 36px;
    color: #006ad9;
    font-weight: 800;
}

.ge-sub {
    color: #555;
    font-size: 15px;
    margin-top: 5px;
}

/* CARD */
.ge-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
}

/* IMAGE */
.ge-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.ge-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.ge-card:hover img {
    transform: scale(1.1);
}

/* DATE TAG */
.ge-date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #007bff;
    padding: 6px 14px;
    font-size: 13px;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* BODY */
.ge-body {
    padding: 18px 20px 22px;
    flex-grow: 1;
}

.ge-body h4 {
    font-size: 18px;
    color: #004a8f;
    font-weight: 700;
    margin-bottom: 6px;
}

.ge-body p {
    font-size: 14px;
    color: #555;
    margin: 0;
}



/* ---- SECTION ---- */
.staff-pro-section {
    background: linear-gradient(135deg, #f5f9ff, #e9f3ff);
    font-family: "Poppins", sans-serif;
}

.staff-title {
    font-size: 34px;
    font-weight: 800;
    color: #0078d7;
}

.staff-sub {
    color: #555;
    font-size: 15px;
    margin-top: 8px;
}

/* ---- CARD ---- */
.staff-pro-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 25px 18px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.staff-pro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ---- PHOTO ---- */
.staff-photo {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
}

.staff-photo img {
    width: 100%;
    border-radius: 50%;
    border: 4px solid #0078d7;
    padding: 5px;
    background: #fff;
    transition: 0.35s ease;
}

.staff-pro-card:hover .staff-photo img {
    transform: scale(1.08);
}

/* ---- CONTACT OVERLAY ---- */
.staff-contact {
    position: absolute;
    inset: 0;
    background: rgba(0, 123, 255, 0.90);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    padding: 20px;
    transition: 0.35s ease;
    font-size: 12px;
    flex-direction: column;
}

.staff-photo:hover .staff-contact {
    opacity: 1;
}

.staff-contact p {
    margin: 4px 0;
    font-size: 13px;
}

/* ---- NAME ---- */
.staff-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #004a8f;
}

/* ---- ROLE ---- */
.staff-role {
    font-size: 14px;
    color: #666;
    margin-top: -4px;
}
