:root {
    --primary: #ff8b66;
    --primary-dark: #ff8b66;
    --primary-light: #ff8b66;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --muted: #6b7280;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --max-width: 1200px;
    --header-height: 80px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: #0f172a;
    background: linear-gradient(60deg, #f8f7f3, #f8f7f3)
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
header {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    height: var(--header-height);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain
}

.brand h1 {
    margin: 0;
    font-size: 20px
}

.brand p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9
}

/* Nav */
nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 70%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://www.chinchwadgaon.in/assets/images/b5.jpg') center/cover no-repeat;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.banner-content {
    color: white;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.banner-content h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: white;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: black;
}

/* .news-section{
    height: 1200px;
    background-color: #f4f6fa;
} */

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    padding: 48px 0;
    /* background-color: #f8fafc; */
}

.hero-card {
    background: var(--card);
    border-radius: 14px;
    height: 350px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(12, 18, 26, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(12, 18, 26, 0.1);
}

.news-ticker {
    overflow: hidden;
    position: relative;
}

.ticker-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    /* border: 2px solid #ddd; */
    background: #fff;
}

.ticker-wrapper {
    display: flex;
    flex-direction: column;
    animation: ticker-scroll 15s linear infinite;
}

.ticker-content {
    display: flex;
    flex-direction: column;
}

.ticker-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
    color: black;
    background: #fff;
}

@keyframes ticker-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Sections */
section {
    padding: 46px 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: var(--card);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(12, 18, 26, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(12, 18, 26, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 6px
}

.muted {
    color: var(--muted)
}

/* Notices/Announcements */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.news-2 {
    margin-top: -30px;
}

.notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.notice:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.services p {
    text-align: center;
}


/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Contact */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px
}

input,
textarea,
select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e6edf0;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.map-container {
    margin-top: 20px;
}

.map-placeholder {
    height: 200px;
    background: #eef2f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 2px dashed #cbd5e1;
}

/* Footer */
footer {
    padding: 20px 0;
    border-top: 1px solid #e6edf0;
    color: var(--muted);
    font-size: 14px;
    background: #f8fafc;
}

/* Utilities */
.center {
    display: flex;
    align-items: center;
    justify-content: center
}

.chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 110, 79, 0.08);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 110, 79, 0.3);
}

.btn.secondary {
    background: transparent;
    border: 2px solid rgba(20, 20, 20, 0.12);
    /* color:var(--primary); */
    color: black;
}

.btn.secondary:hover {
    background: rgba(11, 110, 79, 0.05);
    border-color: var(--primary);
}

/* Badge */
.badge {
    background: var(--accent);
    color: #fff;
    padding: 6px 8px;
    border-radius: 999px;
    font-weight: 800;
}

/* Sticky notice */
.sticky-notice {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 9999;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sticky-notice:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.phone-icon {
    font-size: 1.2rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    transition: all 600ms cubic-bezier(.2, .9, .2, 1)
}

.fade-up.show {
    opacity: 1;
    transform: none
}

.quick-links .btn {
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width:1000px) {
    .hero {
        grid-template-columns: 1fr
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    .banner-content h2 {
        font-size: 2rem;
    }
}

@media (max-width:680px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, var(--primary-dark), var(--primary));
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: block
    }

    .hero {
        padding: 28px 0
    }

    .badge {
        margin-left: 10px;
    }

    .cards {
        grid-template-columns: 1fr
    }

    .gallery {
        grid-template-columns: 1fr
    }

    .logo {
        width: 48px;
        height: 48px
    }

    .banner {
        height: 60vh;
        min-height: 400px;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-buttons {
        flex-direction: row;
        align-items: flex-start;
    }

    .brand h1 {
        font-size: 18px;
    }

    .call-top .muted {
        margin-left: 15px;
    }

    .quick-links .btn {
        margin-bottom: 15px;
    }
}


/* 

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        } */

#about {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 2px;
}

.about-content {
    position: relative;
}

.muted {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: bold;
}

.text-collapse {
    position: relative;
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.5s ease;
}

.text-collapse.expanded {
    max-height: 2000px;
}

.fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fade-out.hidden {
    opacity: 0;
}

.btn-see-more {
    display: block;
    margin: 25px auto;
    padding: 14px 35px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-see-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-see-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.6);
}

.btn-see-more:hover::before {
    opacity: 1;
}

.btn-see-more:active {
    transform: translateY(0);
}

.btn-see-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-see-more.expanded i {
    transform: rotate(180deg);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #2ecc71;
}

.card:nth-child(2) {
    border-top-color: #3498db;
}

.card:nth-child(3) {
    border-top-color: #e74c3c;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #about {
        padding: 25px;
    }

    h2 {
        font-size: 2.2rem;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
    }
}



/* .container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 20px;
        } */

#contact {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 5px;
    margin-top: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border-radius: 2px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.muted {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info {
    padding-right: 20px;
}

.info-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 10px;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

.info-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    /* margin-bottom: -30px; */
    margin-top: 5px;
}

.info-content p {
    position: relative;
    top: -20px
}


.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    font-size: 0.9rem;
}

form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

input,
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff7e5f;
    box-shadow: 0 0 0 3px rgba(255, 126, 95, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.primary {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4);
}

.btn.secondary {
    background: #f1f5f9;
    /* color: #64748b; */
    border: 2px solid #e2e8f0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.5);
}

.btn.secondary:hover {
    box-shadow: 0 8px 20px rgba(100, 116, 139, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    margin-right: 8px;
}

#formMsg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.success {
    background: #dcfce7;
    color: #166534;
    display: block !important;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    display: block !important;
}

.office-hours {
    display: flex;
    align-items: center;
    /* background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); */
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.hours-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.hours-content h3 {
    font-size: 1.2rem;
    /* margin-bottom: 0px; */
    margin-top: 15px;
    display: flex;
}

@media (max-width: 968px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    #contact {
        padding: 25px;
    }

    h2 {
        font-size: 2.2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .info-item {
        flex-direction: column;
    }

    .info-icon {
        margin-bottom: 10px;
        display: none;
    }
}


.committee-section {
    background: #fff;
    padding: 40px 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    max-width: 1200px;
    margin-top: 50px;
    /* margin: auto; */
}

.committee-section .title {
    text-align: center;
    color: #c00;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.committee-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.committee-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}

.committee-list li:last-child {
    border-bottom: none;
}

.name {
    color: #003366;
    /* निळा */
    font-weight: 500;
}

.role {
    font-weight: bold;
}

.sarpanch,
.upsarpanch {
    color: red;
}

.member {
    color: red;
}

.officer {
    color: red;
}

.staff {
    color: red;
}


.committee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.title {
    text-align: center;
    color: #c00;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 2px;
}

.tenure {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 500;
}



.committee-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.title {
    text-align: center;
    color: #c00;
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    border-radius: 2px;
}

.tenure {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.committee-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.committee-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid;
    display: flex;
    flex-direction: column;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sarpanch {
    border-top-color: #c00;
}

.upsarpanch {
    border-top-color: #ff5252;
}

.officer {
    border-top-color: #6c757d;
}

.staff {
    border-top-color: #17a2b8;
}

.operator {
    border-top-color: #28a745;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.card-header .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.sarpanch .icon {
    background: rgba(192, 0, 0, 0.1);
    color: #c00;
}

.upsarpanch .icon {
    background: rgba(255, 82, 82, 0.1);
    color: #ff5252;
}

.officer .icon {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.staff .icon {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.operator .icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #343a40;
}

.card-content .name {
    font-size: 1.1rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.5;
}

.operator-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #dee2e6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.operator-contact i {
    color: #28a745;
    font-size: 1.2rem;
}

.operator-contact a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.operator-contact a:hover {
    color: #28a745;
}

.members-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: -50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.members-title {
    text-align: center;
    margin-top: 0px;
    color: #c00;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.members-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c00;
    border-radius: 2px;
}

.map-section {
    padding: 40px 0;
    text-align: center;
    /* background: #f9fafb; */
}

.map-heading {
    font-size: 30px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 20px;
}

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}


.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.member-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.2s ease;
    border-left: 3px solid #c00;
}

.member-card:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.member-card .name {
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .committee-section {
        padding: 40px 15px;
    }

    .committee-card {
        padding: 20px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-header .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .operator-contact {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}



.panchayat-raj-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.panchayat-raj-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.section-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.pdf-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.pdf-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pdf-card:nth-child(1) {
    border-top-color: #e74c3c;
}

.pdf-card:nth-child(2) {
    border-top-color: #2ecc71;
}

.pdf-card:nth-child(3) {
    border-top-color: #3498db;
}

.pdf-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pdf-card:nth-child(1) .pdf-icon {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.pdf-card:nth-child(2) .pdf-icon {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.pdf-card:nth-child(3) .pdf-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.pdf-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.pdf-description {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pdf-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pdf-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.pdf-open-btn i {
    margin-right: 8px;
}

/* PDF मोडल स्टाईलिंग */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-modal.active {
    display: flex;
    opacity: 1;
}

.pdf-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.pdf-modal.active .pdf-modal-content {
    transform: scale(1);
}

.pdf-modal-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.pdf-modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.pdf-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pdf-modal-close:hover {
    color: #e74c3c;
}

.pdf-modal-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-title-flex {
    display: flex;

}

.pdf-title-flex h3 {
    margin-left: 15px;
    margin-top: 15px;

}

@media (max-width: 768px) {
    .pdf-cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .panchayat-raj-section {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pdf-card {
        padding: 20px;
    }

    .pdf-modal-content {
        width: 95%;
        height: 70%;
    }
}



.team-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.section-title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;

}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #e74c3c;

}

/* .bottom-border{
            height: 5px;
            width: 100%;
            background-color: #e74c3c;
            margin-top: 10px;
            
        } */

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.member-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-top: -20px;
}

.member-name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0px;
    font-weight: 600;
}

.member-role {
    color: #e74c3c;
    font-size: 1.1rem;
    /* margin-bottom: 5px; */
    font-weight: 800;
}

.member-description {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.member-contact {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: auto;
    margin-left: -15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.contact-info {
    flex-grow: 1;
}

.contact-info p {
    margin: 2px 0;
    font-size: 0.95rem;
}

.contact-number {
    font-weight: 600;
    color: #2c3e50;
}

.contact-address {
    color: #6c757d;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-section {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .member-details {
        padding: 20px;
    }

    .member-name {
        font-size: 1.3rem;
    }
}



.scanner-section {
    background: #fff;
    border-top: 5px solid #ff7e5f;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.section-title {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.scanner-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.scanner-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    width: 300px;
    text-align: center;
}

.scanner-image {
    width: 100%;
    height: 250px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    border: 2px dashed #cbd5e1;
}

.scanner-name {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .scanner-cards {
        flex-direction: column;
        align-items: center;
    }

    .scanner-card {
        width: 100%;
        max-width: 300px;
    }
}
.foo-bold{
    font-weight: bold;
}
.content-foo li::before{
    content: "> ";
}

.site-footer {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: #fff;
    padding: 40px 20px 20px;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
    position: relative;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}




.footer-col ul li a {
    
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: red;
}

.footer-col p {
    color: white;
    line-height: 1.6;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #ddd;
    font-size: 18px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    margin-bottom: 0px;
    margin-top: 10px;
    border-top: 1px solid white;
    font-size: 14px;
    color: white;
}