/* ============================================================
   Panchayat Work Custom CSS - ERP-Connect UP Style
   ============================================================ */

:root {
    --panchayat-green: #0f8a5f;
    --panchayat-green-dark: #0b6847;
    --panchayat-orange: #f37021;
    --panchayat-orange-hover: #d95e18;
    --panchayat-yellow: #ffb800;
    --panchayat-dark: #1e293b;
    --panchayat-light: #f8fafc;
    --panchayat-border: #e2e8f0;
    --panchayat-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --panchayat-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Base modifications */
body {
    background-color: #f3f4f6;
    color: #374151;
    font-family: 'Google Sans', 'Inter', sans-serif;
}

/* ────────── Main Top Header Logo Strip ────────── */
.up-gov-header {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 2px solid var(--panchayat-orange);
}
.up-gov-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.up-gov-logo-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.up-gov-logo-left img {
    height: 60px;
    width: auto;
}
.up-gov-title {
    display: flex;
    flex-direction: column;
}
.up-gov-title-main {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--panchayat-green);
    line-height: 1.1;
}
.up-gov-title-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--panchayat-orange);
    text-transform: uppercase;
    margin-top: 4px;
}
.up-gov-logo-right {
    text-align: right;
}
.up-gov-logo-right img {
    height: 55px;
    width: auto;
}
.up-gov-dept-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--panchayat-dark);
}

/* ────────── Green Navigation Bar ────────── */
.panchayat-nav-bar {
    background-color: var(--panchayat-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.panchayat-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 54px;
}
.panchayat-nav-links {
    display: flex;
    gap: 5px;
}
.panchayat-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    padding: 16px 20px;
    display: inline-block;
    transition: background-color 0.2s, color 0.2s;
    font-family: 'Google Sans', sans-serif;
}
.panchayat-nav-link:hover, .panchayat-nav-link.active {
    background-color: var(--panchayat-green-dark);
    color: var(--panchayat-yellow);
}
.panchayat-nav-right .login-btn {
    background-color: var(--panchayat-orange);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 24px;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
}
.panchayat-nav-right .login-btn:hover {
    background-color: var(--panchayat-orange-hover);
    transform: translateY(-1px);
}

/* Hide XEP Header */
.xep-header {
    display: none !important;
}

/* Adjust top padding since header isn't absolute/fixed in XEP style anymore */
.xep-body {
    padding-top: 0 !important;
}

/* ────────── Orange Statistics Banner ────────── */
.panchayat-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.92) 0%, rgba(255, 184, 0, 0.88) 100%), 
                url('../images/panchayat_bg.jpg') no-repeat center center / cover;
    padding: 50px 0 60px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}
.panchayat-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-family: 'Google Sans', sans-serif;
}
.panchayat-hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px 15px;
    color: var(--panchayat-dark);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--panchayat-green);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.15);
}
.stat-icon-wrapper {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--panchayat-orange);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.3);
    border: 2px solid #ffffff;
}
.stat-card:nth-child(2) .stat-icon-wrapper { background-color: var(--panchayat-green); }
.stat-card:nth-child(3) .stat-icon-wrapper { background-color: #2563eb; }
.stat-card:nth-child(4) .stat-icon-wrapper { background-color: #7c3aed; }

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--panchayat-dark);
    margin-top: 10px;
    margin-bottom: 0;
}

/* ────────── Webflow-Inspired Modern UI (Panchayat Work) ────────── */
.wf-section {
    padding: 80px 20px;
}
.wf-bg-light {
    background-color: #f8fafc;
}
.wf-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Modern Hero */
.wf-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(241,245,249,1) 100%);
    border-radius: 24px;
    margin: 40px auto;
    max-width: 1240px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}
.wf-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--panchayat-dark);
    margin-bottom: 20px;
    font-family: 'Google Sans', sans-serif;
}
.wf-hero-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}
.wf-hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.wf-hero-image img:hover {
    transform: translateY(-10px);
}
@media (max-width: 991px) {
    .wf-hero {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    .wf-hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Modern Buttons */
.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.wf-btn-primary {
    background-color: var(--panchayat-orange);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243, 112, 33, 0.4);
}
.wf-btn-primary:hover {
    background-color: #e86315;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.5);
    color: #fff;
}
.wf-btn-secondary {
    background-color: #fff;
    color: var(--panchayat-green);
    border: 2px solid var(--panchayat-green);
}
.wf-btn-secondary:hover {
    background-color: var(--panchayat-green);
    color: #fff;
}

/* Section Titles */
.wf-section-title {
    text-align: center;
    margin-bottom: 50px;
}
.wf-section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--panchayat-dark);
    margin-bottom: 15px;
}
.wf-section-title p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Course Grid */
.wf-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.wf-course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}
.wf-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}
.wf-course-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.wf-course-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.wf-course-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--panchayat-green);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.wf-course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--panchayat-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}
.wf-course-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}
.wf-course-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--panchayat-orange);
}

/* Features Component */
.wf-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.wf-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.wf-feature-card:hover {
    transform: translateY(-5px);
}
.wf-feature-icon {
    width: 64px;
    height: 64px;
    background: #e0f2fe;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
}
.wf-feature-card:nth-child(2) .wf-feature-icon {
    background: #dcfce7;
    color: var(--panchayat-green);
}
.wf-feature-card:nth-child(3) .wf-feature-icon {
    background: #ffedd5;
    color: var(--panchayat-orange);
}
.wf-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.wf-feature-desc {
    color: #64748b;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .wf-features {
        grid-template-columns: 1fr;
    }
}
.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}
.stat-detail-row {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.stat-detail-item {
    text-align: center;
}
.stat-detail-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--panchayat-dark);
}
.stat-detail-lbl {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
}

/* ────────── Services Count Section ────────── */
.services-section {
    padding: 60px 0;
    background-color: #f8fafc;
}
.section-title-wrap {
    text-align: center;
    margin-bottom: 45px;
}
.section-title-main {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title-line {
    width: 60px;
    height: 3px;
    background-color: var(--panchayat-orange);
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--panchayat-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--panchayat-border);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--panchayat-shadow-lg);
}
.service-header {
    background: linear-gradient(135deg, #ff9b44 0%, #ff6f00 100%);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}
.service-card:nth-child(2) .service-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.service-logo-wrap {
    margin: 15px auto;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.service-logo-wrap img {
    height: 35px;
    width: auto;
    vertical-align: middle;
}
.service-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #1e40af;
}
.service-body {
    padding: 20px 25px;
}
.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.metric-row:last-child {
    border-bottom: none;
}
.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}
.metric-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--panchayat-dark);
}

/* ────────── About Mobile App Section ────────── */
.app-section {
    padding: 70px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--panchayat-border);
}
.app-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}
@media (max-width: 991px) {
    .app-container {
        flex-direction: column-reverse;
        text-align: center;
    }
}
.app-mockups {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.app-mockups img {
    height: 320px;
    width: auto;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border: 3px solid #e2e8f0;
}
.app-content {
    flex: 1;
}
.app-kicker {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.app-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}
.app-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 30px;
}
.download-btn {
    background-color: var(--panchayat-orange);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 32px;
    border-radius: 25px;
    box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
}
.download-btn:hover {
    background-color: var(--panchayat-orange-hover);
    transform: translateY(-1px);
}

/* ────────── Contact Us Section ────────── */
.contact-section {
    padding: 60px 0;
    background-color: #f8fafc;
    border-top: 1px solid var(--panchayat-border);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--panchayat-shadow);
    border: 1px solid var(--panchayat-border);
    transition: transform 0.3s;
}
.contact-card:hover {
    transform: translateY(-3px);
}
.contact-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--panchayat-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px;
}
.contact-card:nth-child(2) .contact-icon-wrap {
    background-color: rgba(15, 138, 95, 0.1);
    color: var(--panchayat-green);
}
.contact-card:nth-child(3) .contact-icon-wrap {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.contact-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--panchayat-dark);
    margin-bottom: 12px;
}
.contact-card-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

/* ────────── Custom Footer ────────── */
.panchayat-footer {
    background-color: #27272a;
    color: #a1a1aa;
    padding: 30px 0;
    border-top: 4px solid var(--panchayat-orange);
}
.panchayat-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    .panchayat-footer-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.footer-copy {
    font-size: 13.5px;
}
.footer-scroll-top-btn {
    background-color: var(--panchayat-orange);
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.footer-scroll-top-btn:hover {
    background-color: var(--panchayat-orange-hover);
}

/* ────────── inner page styling corrections ────────── */
.inner-header-banner {
    background: linear-gradient(135deg, var(--panchayat-green) 0%, var(--panchayat-green-dark) 100%);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.05);
}
.inner-header-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}
