/* ==========================
   FULL CSS
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* TOP BAR */
.topbar {
    background: linear-gradient(90deg, #2346b6, #1f3fa3);
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative; /* Scrollable with page */
    z-index: 1000;
}
.active {
    cursor: pointer;

}

.top-left i {
    margin-right: 12px;
    transition: transform 0.3s;
    cursor: pointer;
}

.top-left i:hover {
    transform: scale(1.3);
    color: #f4b400;
}

.lang {
    background: #f4b400;
    border: none;
    padding: 6px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.lang:hover {
    background: #ffcc00;
    transform: scale(1.05);
}

/* HEADER + NAVBAR WRAPPER */
.header-navbar-wrapper {
    position: sticky; /* Sticky wrapper */
    top: 0;
    z-index: 1001;
    background: #f9f9f9; /* Wrapper background */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
   
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    body.menu-open .header {
        display: none;
    }
}


/* LOGO AREA */
.logo-area {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 10px;

}

.logo-area img {
    width: 170px;
    margin-right: 20px;
    transition: transform 0.3s;

}
/* ================= MOBILE NAVBAR ================= */
.mobile-bar {
    display: none;
}

@media (max-width: 768px) {

    .mobile-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: #1f3c88;
        color: #fff;
        font-weight: bold;
    }

    .hamburger::before {
        content: "☰";
        font-size: 26px;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: #1f3c88;
        width: 100%;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .nav-menu li a {
        padding: 14px;
        display: block;
        color: #fff;
    }

    .dropdown-content {
        position: static;
        background: #274b9f;
        box-shadow: none;
    }
}
/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {

    .header {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .logo-area img {
        width: 70px;
        margin-bottom: 8px;
    }

    .title-area h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .title-area a {
        font-size: 14px;
        display: block;
    }

    .search-area {
        width: 100%;
        margin-top: 10px;
        display: flex;
        gap: 6px;
    }

    .search-area input {
        flex: 1;
        font-size: 14px;
    }

    .search-area button {
        font-size: 14px;
        padding: 6px 12px;
    }
}



.logo-text span, .logo-text small {
    color: #555;
    font-size: 30px;
}

/* TITLE AREA */
.title-area {
    text-align: center;
    flex: 1;
    margin: 15px 0;
    font-size: 10px;
}

.title-area h1 {
    font-size: 36px;
    color: #2346b6;
    font-weight: bold;
    animation: fadeIn 1.5s ease-in-out;
}

.title-area a {
    color: #1f3fa3;
    text-decoration: none;
    font-size: 16px;
}

.title-area a:hover {
    text-decoration: underline;
}

/* SEARCH AREA */
.search-area {
    display: flex;
    gap: 10px;
}

.search-area input {
    padding: 10px 12px;
    width: 250px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    transition: all 0.3s;
}

.search-area input:focus {
    border-color: #2346b6;
    box-shadow: 0 0 8px rgba(35,70,182,0.3);
}

.search-area button {
    padding: 5px 18px;
    background: #f4b400;
    border: 2px solid #efd58c;   /* 🔴 IMPORTANT */
    color: white;
    font-weight: bold;
      font-size: 14px; 
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;     /* 🔴 MOST IMPORTANT */
    transition:  box-shadow 0.3s;
}

.search-area button:hover {
    background: #f1cf7a;
    /* border same ठेव */
}
/* NAVBAR */
.navbar {
    background: #1f3fa3;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul li a {
    color: white;
    padding: 14px 18px;
    display: block;
    text-decoration: none;
   
    margin-left: 40px;
    transition: all 0.3s;
}

.navbar ul li a:hover,
.navbar ul li.active a {
    background: #2c55d4;
    border-radius: 6px;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    body.menu-open .header {
        display: none;
    }
}


/* PAGE TITLE */
.page-title {
    background: linear-gradient(90deg, #f4b400, #ffcc00);
    padding: 12px 0;
    overflow: hidden;
    color: white;
    margin-top: 10px;
}

/* wrapper */
.title-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* moving text */
.title-track {
    display: inline-block;
    padding-left: 100%;
    animation: scrollTitle 15s linear infinite;
    font-size: 20px;
    font-weight: bold;
}

/* animation */
@keyframes scrollTitle {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.page-title h2 {
    font-size: 20px;
    animation: fadeInUp 1.5s ease-in-out;
}

/* INFO TEXT */
.info-text {
    width: 90%;          /* 70% → 90% */
    max-width: 1200px;   /* फार जास्त न होण्यासाठी */
    margin: 30px auto;
    font-size: 13px;
    line-height: 1.8;    /* इथे bug fix */
    color: #222;
    padding: 20px;
    background: #e7e9f0;
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}



.info-text:hover {
    transform: scale(1.01);
}

.info-text h2 {
    color: #1f3fa3;
    margin-bottom: 15px;
}

.info-text p {
    margin-bottom: 12px;
    text-align: justify;
}

/* POEM */
.poem {
    margin-top: 25px;
    text-align: center;
    font-weight: bold;
    color: #444;
    background: #f4f4f4;
    padding: 15px 10px;
    border-radius: 10px;
    animation: fadeIn 2s ease-in-out;
}
.gaon-seva {
    width: 92%;
    margin: 50px auto;
    padding: 35px 25px;
    background: #f9fbff;
    border: 2px solid #e1e8ff;
    border-radius: 14px;
}

.gaon-seva h2 {
    text-align: center;
    color: #1f3fa3;
    font-size: 28px;
    margin-bottom: 35px;
    position: relative;
}

.gaon-seva h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #f4b400;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}

.seva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.seva-box {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border-top: 5px solid #2346b6;
    transition: all 0.3s ease;
}

.seva-box .icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.seva-box h3 {
    font-size: 18px;
    color: #2346b6;
    margin-bottom: 8px;
}

.seva-box p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.seva-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}


.intro-box{
    background:#f4f8ff;
    padding:20px;
    border-left:5px solid #1a4fa3;
    border-radius:6px;
    margin-bottom:30px;
}

.card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:30px 0;
}

.info-card{
    background:#fff;
    padding:20px;
    text-align:center;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.info-card i{
    font-size:30px;
    color:#1a4fa3;
    margin-bottom:10px;
}

.image-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:15px;
    margin:20px 0;
}

.image-grid img{
    width:100%;
    border-radius:10px;
    box-shadow:0 3px 8px rgba(0,0,0,0.15);
}

/* ================= Village History Section ================= */

.village-history {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

/* Decorative line */
.village-history::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: #f4b400;
    border-radius: 14px 0 0 14px;
        transition: transform 0.3s, box-shadow 0.3s;
}

/* Section Title */
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid #1e293b;
}

/* Paragraph Styling */
.village-history p {
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 18px;
    text-align: justify;
}

/* Highlight paragraph on hover (soft) */
.village-history p:hover {
    background: #f9fafb;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .village-history {
        padding: 22px;
    }

    .section-title {
        font-size: 22px;
    }

    .village-history p {
        font-size: 15px;
    }
}

/* ================= Religious Places ================= */

.religious-places {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
    background: #fff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.place-card {
    margin-top: 25px;
        transition: transform 0.3s, box-shadow 0.3s;
}

.place-card h3 {
    font-size: 22px;
    color: #7c2d12;
    margin: 20px 0 15px;
}

.place-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
    text-align: justify;
    margin-bottom: 15px;
}

.place-images img {
    width: 100%;
    height: 200px;        /* इथे size control */
    object-fit: cover;   /* image नीट crop होईल */
    border-radius: 8px;
        transition: transform 0.3s, box-shadow 0.3s;
}
    
/* Images row */
.place-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.img-box {
    height: 200px;          /* आधी 180px होतं */
    background: #f3f4f6;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: bold;
    border-radius: 8px;
}


/* Other places list */
.other-places {
    margin-top: 30px;
    padding: 20px;
    background: #f9fafb;
    border-left: 5px solid #f4b400;
    border-radius: 10px;
}



/* Responsive */
@media (max-width: 768px) {
    .place-images {
        grid-template-columns: 1fr;
    }

    .img-box {
        height: 200px;
    }
}

.river-section {
    margin: 50px 0;
    padding: 25px 20px;
    background: #fef9f4; /* mandir section background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
}

.river-section h2 {
    color: #d2691e; /* mandir section heading color */
    font-size: 1.7rem;
    margin-bottom: 18px;
    border-bottom: 2px solid #d2691e;
    padding-bottom: 6px;
}

.river-section p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.05rem;
}

.river-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
        transition: transform 0.3s, box-shadow 0.3s;
}

.river-images img {
    width: 100%;
    height: 200px;     /* flat / कमीत कमी height */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
}

.irrigation-section {
    margin: 50px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.irrigation-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #f4b400;
    border-bottom: 3px solid #f4b400;
    display: inline-block;
    padding-bottom: 5px;
}

.irrigation-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 22px;
    text-align: justify;
    color: #333;
}

.irrigation-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.irrigation-images .irrigation-image {
    flex: 1 1 30%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.irrigation-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Hover effect for images */
.irrigation-images .irrigation-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.education-section {
    margin: 50px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.education-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #f4b400;
    border-bottom: 3px solid #f4b400;
    display: inline-block;
    padding-bottom: 5px;
}

.education-section h3 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #333;
}

.education-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
    color: #444;
}

.education-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
      width: 90%;
}

.education-images .education-image {
    flex: 1 1 30%;
      width: 90%;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.education-images img {
    width: 90%;
    height: 200px;
    object-fit: cover;
    display: block;
     border-radius: 10px;
}

.education-images .education-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}




/* ================= TABLE – COMPACT & ATTRACTIVE ================= */

.gp-table,
.styled-table {
    width: 85%;              /* आधी 100% असेल तर कमी */
    margin: 18px auto;       /* center */
    border-collapse: collapse;
    font-size: 14px;         /* table text थोडा छोटा */
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header */
.gp-table th,
.styled-table th {
    padding: 10px 12px;      /* height कमी */
    text-align: left;
    background: #f2f2f2;     /* light govt look */
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #ddd;
}

/* Table Data */
.gp-table td,
.styled-table td {
    padding: 8px 12px;       /* row height कमी */
    font-size: 13.5px;
    border-bottom: 1px solid #e5e5e5;
}

/* Hover effect (bhari look) */
.gp-table tr:hover,
.styled-table tr:hover {
    background: #fafafa;
    transition: 0.3s;
}

/* Serial no column center */
.gp-table td:first-child,
.gp-table th:first-child {
    text-align: center;
    width: 60px;
}

/* ================= SECTION LOOK ================= */

.gp-section,
.info-section {
    width: 92%;
    margin: 35px auto;
}

/* Section Heading */
.gp-section h2,
.info-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

/* Left border for heading */
.gp-section h2::before,
.info-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    height: 80%;
    width: 4px;
    background: #000;
    border-radius: 5px;
}

/* Sub headings */
.gp-section h3,
.info-section h3 {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
}

/* Cards text compact */
.gp-card,
.info-card {
    width: 85%;
    margin: 15px auto;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.6;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 10px;
}

/* ================= पदाधिकारी Section ================= */

.padadhikari-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.padadhikari-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 35px;
    position: relative;
}

.padadhikari-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #1e4ed8;
    margin: 8px auto 0;
    border-radius: 10px;
}

/* Grid */
.padadhikari-grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Card */
.padadhikari-card {
    background: #fff;
    text-align: center;
    padding: 22px 15px 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.padadhikari-card:hover {
    transform: translateY(-6px);
}

/* Image */
.padadhikari-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
}

/* Name */
.padadhikari-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #111827;
}

/* Post */
.padadhikari-card p {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
}

.photo img {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #43a047;
    margin-bottom: 10px;
}

.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

/* default hidden */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e3a8a;
    min-width: 320px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.dropdown-content a:hover {
    background: #2749b3;
}

/* ONLY click वर दिसेल */
.dropdown-content.show {
    display: block;
}


#footer-links ul {
    list-style: none;
    padding: 0;
}

#footer-links ul li {
    margin-bottom: 8px;
}

#footer-links ul li a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

#footer-links ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-heading-link {
    text-decoration: none;
    color: #fff;
}

.footer-heading-link:hover h3 {
    text-decoration: underline;
}


#footer {
    background: #1f3c88;
    color: #fff;
    font-family: Arial, sans-serif;
}

#footer-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 8%;
    gap: 40px;
}

#footer-container h3 {
    margin-bottom: 12px;
    font-size: 14px;   /* आधी 20px */
}

#footer-contact,
#footer-links,
#footer-feedback {
    flex: 1;
}

/* CONTACT */
/* CONTACT TEXT */
#footer-contact p {
    margin: 8px 0;
    font-size: 12px;   /* आधी 15px */
}

/* LINKS */
#footer-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    font-size: 12px;
}

#footer-links li {
    cursor: pointer;
    transition: color 0.3s;
}

#footer-links li:hover {
    color: #ffd400;
    font-size: 12px;
}

/* FEEDBACK */
#footer-feedback p {
    margin-bottom: 15px;
    font-size: 12px;   /* आधी 15px */
}

#feedback-btn {
    background: #ffd400;
    color: #1f3c88;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
     padding: 10px 22px;
    font-size: 12px;   /* आधी 16px */
}


#feedback-btn:hover {
    background: #ffcc00;
}

/* FOOTER BOTTOM */
#footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    #footer-container {
        flex-direction: column;
    }

    #footer-links ul {
        grid-template-columns: 1fr;
    }

    #footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
@media (max-width: 768px) {
    body.menu-open .header {
        display: none;
    }
}





/* ANIMATIONS */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}
