/* =====================
   GLOBAL
===================== */
body {
    font-family: 'Hind', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #212529;
}

/* =====================
   CAROUSEL
===================== */
.carousel-img {
    
width: 100%;
height: auto;          
    max-height: 550px; 
    /*object-fit: cover;*/
     object-fit: contain; 
    object-position: center;
     background: #000; 
    margin-top: 0;           
    border: 6px solid #fff;
    border-radius: 18px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);

    transition: all 0.4s ease-in-out;
}


.carousel-item.active .carousel-img {
    animation: zoomEffect 10s ease-in-out infinite;
}

@keyframes zoomEffect {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}



/* 🎠 Carousel Control Buttons container */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

/* 🎯 Button circle + gradient */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background-color: transparent;
    background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;

    background-image: var(--bs-carousel-control-prev-icon-bg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);

    /* Dual color background */
    background-color: #0d6efd;
    background-image:
        linear-gradient(135deg, #0d6efd, #20c997),
        var(--bs-carousel-control-prev-icon-bg);
}

/* NEXT button icon */
.carousel-control-next-icon {
    background-image:
        linear-gradient(135deg, #0d6efd, #20c997),
        var(--bs-carousel-control-next-icon-bg);
}

/* Hover effect */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-image:
        linear-gradient(135deg, #dc3545, #fd7e14),
        var(--bs-carousel-control-prev-icon-bg);
    transform: scale(1.08);
}

/* NEXT hover fix */
.carousel-control-next:hover .carousel-control-next-icon {
    background-image:
        linear-gradient(135deg, #dc3545, #fd7e14),
        var(--bs-carousel-control-next-icon-bg);
}

/* Drop shadow for arrow clarity */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.6));
}

/* 📱 Mobile */
@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-img {
        height: 200px;
        object-fit: cover;
    }
}

/* =====================
   STAFF WRAPPER
===================== */
.staff-wrapper {
    border: 1px solid #ffb3b3;
    background: #fff;
}

/* =========================
   PERSON / STAFF CARD
========================= */
.person-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;

  padding: 25px 15px 10px 15px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* TOP & BOTTOM BLUE STRIP */
.person-card::before,
.person-card::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #7b2cbf;
}

.person-card::before {
    top: 0;
}

.person-card::after {
    bottom: 0;
}

/* =========================
   IMAGE
========================= */
.person-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #0d6efd;
    margin-bottom: 10px;
}

/* =========================
   TEXT
========================= */
.person-name {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 2px;
}

.person-designation {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 3px;
}

.person-ward,
.person-mobile {
    font-size: 12px;
    font-weight: 400;
    color: #8a59fc;
    margin-bottom: 3px;
}

.person-meta {
    font-size: 13px;
}

/* =========================
   GRID â€“ 5 CARDS IN ONE ROW
========================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

/* =========================
   RESPONSIVE GRID
========================= */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* =====================
   OTHER SECTIONS (UNCHANGED)
===================== */
/* Card */
.dev-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #e9ecef;
}

/* Hover effect */
.dev-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

/* Image */
.dev-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-bottom: 4px solid #fad48e;
}



/* List */
.dev-list {
    list-style: none;
    padding: 14px 16px 18px;
    margin: 0;
    font-size: 14px;
    color: #333;
}

.dev-list li {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.dev-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 2px;
   color: #5a189a;
}


/* Strong text */
.dev-list strong {
    color: #0d6efd;
    font-weight: 600;
}

.info-box {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 16px;
    background: #fff;
    min-height: 230px;
  
}

.see-more-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
}


.notice-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Service Card */
.service-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-color: #0d6efd;
}

/* Icon box */
.service-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #198754);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* Title */
.service-card h6 {
    font-size: 15px;
    color: #0d6efd;
}

/* Description */
.service-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.btn-view-services {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;

    background: linear-gradient(135deg, #0d6efd, #198754);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);

    transition: all 0.35s ease;
}

.btn-view-services:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(25, 135, 84, 0.45);
}

/* Icon animation */
.btn-view-services i {
    transition: transform 0.3s ease;
}

.btn-view-services:hover i {
    transform: translateX(4px);
}

.see-more-btn {
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #198754);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

.see-more-btn:hover {
    color: #fff;
    box-shadow: 0 10px 24px rgba(25, 135, 84, 0.45);
}