/* =========================
GLOBAL
========================= */

body{
font-family:Arial, Helvetica, sans-serif;
margin:0;
background:#f4f6f9;
}


/* =========================
HEADER
========================= */

.header{
background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
padding:18px 10px;
text-align:center;
}

.header h1{
margin:0;
font-size:32px;
font-weight:700;
color:#000;
letter-spacing:1px;
}


/* =========================
MENU
========================= */

.menu{
background:#ffffff;
border-bottom:3px solid #138808;
}

.menu-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 15px;
max-width:1200px;
margin:auto;
}

/* LOGO */

.logo a{
color:#2c3e50;
text-decoration:none;
font-size:18px;
font-weight:bold;
}

/* MENU LINKS */

.menu-links{
display:flex;
gap:20px;
list-style:none;
margin:0;
padding:0;
}

.menu-links li a{
color:#333;
font-weight:600;
}

.menu-links li a:hover{
background:#f2f2f2;
border-radius:5px;
}

/* HAMBURGER */

.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:3px;
background:white;
display:block;
}


/* =========================
CONTAINER
========================= */

.container{
max-width:1200px;
margin:auto;
padding:15px;
}


/* =========================
SLIDER + NEWS
========================= */

.top-section{
display:flex;
flex-wrap:wrap;
gap:20px;
}

/* SLIDER */

.slider{
flex:3;
min-width:300px;
height:320px;
overflow:hidden;
border-radius:6px;
position:relative;
background:#ddd;
}

.slider-container{
width:100%;
height:100%;
position:relative;
}

.slide{
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
opacity:0;
transition:opacity 1s ease-in-out;
}

.active{
color:#138808 !important;
font-weight:bold;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

/* NEWS */

.news{
flex:1;
min-width:250px;
height:300px;
background:white;
border:1px solid #ddd;
padding:10px;
overflow:hidden;
border-radius:6px;
}


/* =========================
SECTION TITLE
========================= */

.section-title{
color:#FF9933;
font-weight:700;
}


/* =========================
STATISTICS
========================= */

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:15px;
}

.stat-box{
background:white;
padding:20px;
text-align:center;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
border-radius:6px;
}

.stat-box h3{
margin:0;
font-size:28px;
color:#2c7be5;
}

.stat-box p{
margin-top:8px;
color:#555;
}


/* =========================
ABOUT VILLAGE
========================= */

.about-box{
display:flex;
gap:25px;
background:white;
padding:20px;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.about-image{
width:300px;
}

.about-image img{
width:100%;
border-radius:6px;
object-fit:cover;
}

.about-text{
flex:1;
line-height:1.7;
}


/* =========================
SARPANCH SECTION
========================= */

.sarpanch-box{
display:flex;
gap:25px;
background:white;
padding:20px;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.sarpanch-image{
width:200px;
}

.sarpanch-image img{
width:100%;
border-radius:6px;
}

.sarpanch-text{
flex:1;
line-height:1.7;
}


/* =========================
SARPANCH GRID
========================= */

.sarpanch-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:10px; /* gap before button */
}

.sarpanch-card{
background:white;
padding:15px;
text-align:center;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.sarpanch-card img{
width:100%;
height:180px;
object-fit:cover;
border-radius:6px;
}


/* =========================
MEMBERS GRID
========================= */

.members-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
}

.member-card{
background:white;
padding:15px;
text-align:center;
border-radius:6px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.member-card img{
width:100%;
height:180px;
object-fit:cover;
border-radius:6px;
}

.member-card p{
font-size:14px;
color:#666;
}


/* =========================
SCHEMES LIST PAGE
========================= */

.scheme-list{
display:flex;
flex-direction:column;
gap:25px;
margin-top:20px;
}

.scheme-card{
display:flex;
gap:20px;
background:white;
padding:15px;
border-radius:8px;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
align-items:center;
}

.scheme-image{
width:250px;
flex-shrink:0;
}

.scheme-image img{
width:100%;
height:150px;
object-fit:cover;
border-radius:6px;
}

.scheme-details{
flex:1;
}

.scheme-details h3{
margin-bottom:10px;
color:#2c3e50;
}

.scheme-details p{
color:#555;
line-height:1.6;
margin-bottom:10px;
}

.scheme-read{
color:#2c7be5;
font-weight:bold;
text-decoration:none;
}


/* =========================
SCHEME DETAIL PAGE
========================= */

.scheme-detail-box{
display:flex;
gap:30px;
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.scheme-detail-image{
flex:1;
}

.scheme-detail-image img{
width:100%;
max-width:350px;
border-radius:6px;
}

.scheme-detail-content{
flex:2;
}

.scheme-detail-content h3{
margin-top:0;
font-size:24px;
color:#2c3e50;
}

.scheme-detail-content p{
line-height:1.6;
}


/* =========================
FOOTER
========================= */

.footer{
background:#333;
color:white;
text-align:center;
padding:15px;
margin-top:40px;
font-size:14px;
}


/* =========================
MOBILE
========================= */

@media (max-width:768px){

.header h1{
font-size:22px;
}

.hamburger{
display:flex;
}

.menu-links{
display:none;
flex-direction:column;
background:#333;
position:absolute;
top:60px;
left:0;
width:100%;
}

.menu-links.active{
display:flex;
}

.menu-links li{
border-top:1px solid #444;
text-align:center;
}

.menu-links li a{
padding:12px;
}

.slider{
height:200px;
}

.news{
height:200px;
}

.about-box,
.sarpanch-box,
.scheme-card,
.scheme-detail-box{
flex-direction:column;
}

.about-image,
.sarpanch-image,
.scheme-image{
width:100%;
}

.scheme-image img{
height:auto;
}

}
.gallery-categories{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.gallery-box img{
width:100%;
height:180px;
object-fit:cover;
border-radius:6px;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:15px;
}

.gallery-item img{
width:100%;
border-radius:6px;
}
/* DROPDOWN MENU */

.dropdown{
position:relative;
}

.dropdown > a::after{
content:" ▾";
font-size:12px;
margin-left:4px;
}

/* SUBMENU */

.submenu{
display:none;
position:absolute;
top:100%;
left:0;
background:#ffffff;
border-radius:6px;
min-width:200px;
box-shadow:0 6px 18px rgba(0,0,0,0.15);
padding:6px 0;
z-index:999;
transition:all 0.3s ease;
}

/* MENU ITEMS */

.submenu li{
list-style:none;
}

.submenu li a{
display:block;
padding:12px 16px;
font-size:15px;
color:#333;
text-decoration:none;
transition:0.2s;
}

/* HOVER EFFECT */

.submenu li a:hover{
background:#2c7be5;
color:#fff;
}

/* SHOW MENU */

.dropdown:hover .submenu{
display:block;
}

.scheme-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.scheme-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
    display:flex;
    flex-direction:column;
}

.scheme-card:hover{
    transform:translateY(-5px);
}

.scheme-card img{
    width:100%;
    height:160px;
    object-fit:cover;
}

.scheme-content{
    padding:15px;
    display:flex;
    flex-direction:column;
    height:100%;
}

.scheme-content h3{
    font-size:15px;
    font-weight:600;
    margin-bottom:8px;

    /* FIX: TITLE CONTROL */
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.scheme-content p{
    font-size:13px;
    color:#555;
    flex-grow:1;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.scheme-btn{
    margin-top:10px;
    align-self:flex-start;
    background:#2c7be5;
    color:#fff;
    padding:6px 12px;
    border-radius:5px;
    text-decoration:none;
    font-size:13px;
}

.view-all-btn{
    background:#28a745;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
}
.menu{
position:relative;
z-index:10;
}
/* GRID 4 PER ROW */
.gallery-grid{
display:grid;
grid-template-columns: repeat(4,1fr);
gap:20px;
}

/* CARD */
.dev-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

/* IMAGE FIX SIZE */
.dev-img{
width:100%;
height:200px;
overflow:hidden;
}

.dev-img img{
width:100%;
height:100%;
object-fit:cover;
cursor:pointer;
transition:0.3s;
}

/* HOVER ZOOM */
.dev-img img:hover{
transform:scale(1.1);
}

/* CONTENT */
.dev-content{
padding:10px;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
.gallery-grid{
grid-template-columns: repeat(2,1fr);
}
}

@media(max-width:480px){
.gallery-grid{
grid-template-columns: 1fr;
}
}
.img-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
justify-content:center;
align-items:center;
z-index:1000; /* FIX */
}

.img-modal img{
width:50%;
max-height:80%;
border-radius:10px;
}
.dev-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.dev-img{
width:100%;
height:180px;
overflow:hidden;
}

.dev-img img{
width:100%;
height:100%;
object-fit:cover;
transition:0.3s;
cursor:pointer;
}

.dev-img img:hover{
transform:scale(1.1);
}

.dev-content{
padding:10px;
}

.status-completed{ color:green; font-weight:bold; }
.status-progress{ color:orange; font-weight:bold; }
.status-planned{ color:red; font-weight:bold; }
.view-btn{
background:#2c7be5;
color:#fff;
padding:8px 16px;
text-decoration:none;
border-radius:6px;
font-size:14px;
display:inline-block;
transition:0.3s;
}

.view-btn:hover{
background:#1a5edb;
}
.menu-links li a{
display:flex;
align-items:center;
gap:6px;
}

.menu-links li a i{
font-size:14px;
}
/* MOBILE MENU FIX */
.menu-links li a{
display:flex;
align-items:center;
justify-content:flex-start;
gap:10px;
}

/* ICON SIZE */
.menu-links li a i{
font-size:16px;
width:20px;
text-align:center;
}

/* MOBILE MENU ITEMS */
@media(max-width:768px){

.menu-links li{
border-bottom:1px solid rgba(255,255,255,0.1);
}

.menu-links li a{
padding:12px 15px;
font-size:15px;
}

}
.sarpanch-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.sarpanch-card{
    background:#fff;
    border-radius:12px;
    padding:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.sarpanch-card:hover{
    transform:translateY(-5px);
}

.sarpanch-card img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:10px;
}

.sarpanch-card h3{
    font-size:16px;
    margin-bottom:5px;
}

.sarpanch-card .duration{
    font-size:13px;
    color:#666;
    margin-bottom:8px;
}

.sarpanch-card .desc{
    font-size:13px;
    color:#555;
}
.member-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:10px; /* important */
}

.member-card{
    background:#fff;
    border-radius:12px;
    padding:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.member-card:hover{
    transform:translateY(-5px);
}

.member-card img{
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:10px;
}

.member-card h3{
    font-size:15px;
    margin-bottom:5px;
}

.member-card .designation{
    font-size:13px;
    color:#555;
}

.member-card .mobile{
    font-size:13px;
    color:#2c7be5;
}
/* ABOUT PAGE IMPROVEMENT */

.about-text{
    font-size:18px;
    line-height:1.9;
    color:#333;
    margin-top:20px;
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* Heading */
.container h1{
    font-size:28px;
    margin-bottom:15px;
}

/* Image */
.container img{
    display:block;
    margin:0 auto;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* Paragraph spacing */
.about-text p{
    margin-bottom:15px;
}

/* Mobile responsive */
@media(max-width:768px){
    .about-text{
        font-size:16px;
        padding:15px;
    }
}
/* VIEW MORE BUTTON */

.view-more-wrapper{
    text-align:center;
    margin-top:20px;
}

.view-more-btn{
    display:inline-block;
    background:#2c7be5;
    color:#fff;
    padding:10px 20px;
    border-radius:25px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.view-more-btn:hover{
    background:#1a5fd1;
    transform:translateY(-2px);
}
/* ===== SCHEME DETAIL UI ===== */

.scheme-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Headings inside editor */
.scheme-content h1,
.scheme-content h2,
.scheme-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #1a5276;
}

/* Paragraph spacing */
.scheme-content p {
    margin-bottom: 12px;
}

/* Lists */
.scheme-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.scheme-content li {
    margin-bottom: 8px;
}

/* Section headings */
.scheme-section-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #145a32;
    border-left: 4px solid #27ae60;
    padding-left: 8px;
}

/* Image styling */
.scheme-image {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Mobile */
@media(max-width:768px){
    .scheme-content{
        font-size:15px;
    }
}
/* MAIN CARD */
.scheme-card-main{
    background:#ffffff;
    padding:22px;
    border-radius:14px;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
    margin-top:15px;
}

/* TITLE */
.scheme-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:18px;
    color:#2c3e50;
    line-height:1.4;
}

/* IMAGE */
.scheme-img-box img{
    width:100%;
    max-width:460px;
    border-radius:14px;
    display:block;
    margin:0 auto 18px;
}

/* INFO BOX */
.scheme-info-box{
    background:#f1f5f9;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
    font-size:16px;
    line-height:2;
}

/* SECTION COMMON */
.section-box{
    padding:18px;
    border-radius:12px;
    margin-bottom:20px;
}

/* DIFFERENT COLORS */
.desc-box{
    background:#eef7ff;
}

.benefit-box{
    background:#eafaf1;
}

.eligibility-box{
    background:#fff8e6;
}

.doc-box{
    background:#f9f0ff;
}

/* HEADINGS */
.section-box h3{
    font-size:21px;
    margin-bottom:12px;
    color:#1a5276;
}

/* CONTENT */
.content{
    font-size:18px;
    line-height:2.1;
    color:#333;
}

/* LIST */
.content ul{
    padding-left:22px;
}

.content li{
    margin-bottom:12px;
}

/* MOBILE */
@media(max-width:768px){

.scheme-title{
    font-size:24px;
}

.content{
    font-size:17px;
}

}
/* MENU CONTAINER */
.menu-container{
display:flex;
justify-content:space-between;
align-items:center;
}

/* HAMBURGER ICON */
.menu-toggle{
display:none;
font-size:24px;
cursor:pointer;
color:#333;
}

/* MOBILE MENU */
@media(max-width:768px){

.menu-links{
display:none;
flex-direction:column;
background:#fff;
position:absolute;
top:50px;
right:10px;
width:220px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
border-radius:8px;
padding:10px;
z-index:999;
}

.menu-links.show{
display:flex;
}

.menu-toggle{
display:block;
}

}
/* HEADER */
.header{
background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
text-align:center;
padding:18px 10px;
}

.header h1{
margin:0;
font-size:32px;
font-weight:700;
color:#000;
}

/* MENU */
.menu{
background:#fff;
border-bottom:3px solid #138808;
}

.menu-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 15px;
}

/* HAMBURGER */
.hamburger{
display:none;
font-size:22px;
cursor:pointer;
}

/* MENU LINKS */
.menu-links{
display:flex;
gap:20px;
list-style:none;
}

/* MOBILE */
@media(max-width:768px){

.hamburger{
display:block;
}

.menu-links{
display:none;
flex-direction:column;
position:absolute;
right:10px;
top:60px;
background:#fff;
width:220px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
border-radius:8px;
padding:10px;
}

.menu-links.show{
display:flex;
}

}
/* FOOTER */
.footer{
background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
padding:15px 10px;
margin-top:40px;
}

.footer-container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
font-size:14px;
color:#000;
}

/* MOBILE */
@media(max-width:768px){

.footer-container{
flex-direction:column;
gap:5px;
text-align:center;
font-size:13px;
}

}
.slide.active{
opacity:1;
z-index:1;
}
/* ===== HEADER PREMIUM ===== */

.header{
background: linear-gradient(90deg,#FF9933,#ffffff,#138808);
padding:12px 10px;
}

.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
max-width:1200px;
margin:auto;
}

.header-left,
.header-right{
font-size:24px;
color:#2c3e50;
}

.header-center{
text-align:center;
flex:1;
}

.header-center h1{
margin:0;
font-size:28px;
font-weight:700;
color:#000;
}

.header-sub{
font-size:13px;
color:#444;
}


/* ===== MENU PREMIUM ===== */

.menu{
background:#ffffff;
border-bottom:3px solid #138808;
box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.menu-container{
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
padding:10px 15px;
}

/* LOGO */
.logo a{
color:#FF9933;
font-size:20px;
font-weight:700;
text-decoration:none;
}

/* MENU LINKS */
.menu-links{
display:flex;
gap:18px;
list-style:none;
}

.menu-links li a{
color:#333;
font-weight:600;
padding:6px 10px;
border-radius:6px;
transition:0.3s;
}

.menu-links li a:hover{
background:#f2f2f2;
color:#138808;
}

/* HAMBURGER */
.hamburger{
display:none;
font-size:22px;
cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){

.header-center h1{
font-size:22px;
}

.header-left,
.header-right{
display:none;
}

.hamburger{
display:block;
}

.menu-links{
display:none;
flex-direction:column;
position:absolute;
right:10px;
top:60px;
background:#fff;
width:220px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
border-radius:10px;
padding:10px;
}

.menu-links.show{
display:flex;
}

}
.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
.view-btn{
background:#2c7be5;
color:#fff;
padding:8px 16px;
text-decoration:none;
border-radius:6px;
font-size:14px;
display:inline-block;
transition:0.3s;
}

.view-btn:hover{
background:#1a5edb;
}
/* FOOTER NEW DESIGN */

.footer{
background:#2c3e50;
color:#fff;
padding:30px 15px;
margin-top:40px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
max-width:1200px;
margin:auto;
}

.footer-col h4{
margin-bottom:10px;
color:#FF9933;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:#ddd;
text-decoration:none;
font-size:14px;
display:flex;
align-items:center;
gap:8px;
}

.footer-col ul li a:hover{
color:#fff;
}

/* BOTTOM */

.footer-bottom{
margin-top:20px;
padding-top:15px;
border-top:1px solid rgba(255,255,255,0.2);
display:flex;
justify-content:space-between;
flex-wrap:wrap;
font-size:13px;
}

@media(max-width:768px){
.footer-bottom{
flex-direction:column;
text-align:center;
gap:5px;
}
}
.footer-container{
align-items:flex-start;
}
/* FIX FOOTER ALIGNMENT */

.footer-col{
text-align:left;
}

.footer-col h4{
margin-bottom:10px;
color:#FF9933;
text-align:left;
}

.footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:#ddd;
text-decoration:none;
font-size:14px;
display:flex;
align-items:center;
gap:8px;
justify-content:flex-start; /* IMPORTANT */
}
/* ===== LIGHTBOX FINAL FIX ===== */

.lightbox{
z-index:99999 !important;
position:fixed !important;
}

.lb-outerContainer,
.lb-container,
.lb-dataContainer{
z-index:99999 !important;
}

.lb-overlay{
z-index:99998 !important;
background:rgba(0,0,0,0.9) !important;
}

.lb-image{
margin:auto !important;
}

body.lb-disable-scrolling{
overflow:hidden;
}
.special-thanks-section{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}
.special-thanks-section .thanks-item{
    margin-bottom: 25px !important;
}