/* --- 1. Color Palette & Fonts --- */
:root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --green: #138808;
    --navy: #0B3D91;
    --gray: #6C757D;
    --light-gray-bg: #f1f1f1;
    --light-gray-menu: #f1f3f5;
    --border-color: #dee2e6;
}

/* --- 2. Global Reset & Base Styles --- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--off-white);
    color: var(--navy);
}

body.no-scroll {
    overflow: hidden;
}

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

/* --- 3. Government of Maharashtra Top Bar --- */
.top-government-bar {
    background-color: var(--light-gray-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 0.8rem;
}

.top-government-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gov-links a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 500;
}

.gov-links a:first-child {
    border-right: 1px solid #ccc;
}

.gov-links a:hover {
    text-decoration: underline;
}

.gov-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gov-icons a,
.gov-icons button {
    color: #333;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.gov-icons a:hover,
.gov-icons button:hover {
    opacity: 0.7;
}

.gov-icons svg {
    width: 18px;
    height: 18px;
    fill: #333;
}

.translate-btn {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* --- 4. Main Header Section --- */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.emblem-india {
    height: 70px;
}

.header-title h1,
.header-title h2 {
    margin: 0;
    line-height: 1.3;
}

.header-title h1 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
}

.header-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray);
}

/* --- 5. Main Navigation Bar --- */
.main-navigation {
    background-color: var(--navy);
    border-top: 3px solid var(--saffron);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

.main-navigation.sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu>li {
    position: relative;
}

.main-menu>li>a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.has-dropdown>a::after {
    content: ' ▾';
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 4px;
    border: 1px solid var(--light-gray-menu);
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray-menu);
    color: var(--saffron);
}

.has-dropdown:hover>a::after {
    transform: rotate(180deg);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

/* --- 6. Alerts & Notices Ticker (JS Controlled) --- */
.notice-ticker {
    background-color: var(--light-gray-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.ticker-container {
    display: flex;
    align-items: center;
}

.ticker-label {
    flex-shrink: 0;
    background-color: var(--navy);
    color: #FFFFFF !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 20px;
    font-size: 0.85rem;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    flex-shrink: 0;
}

.ticker-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    padding-right: 20px;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.ticker-item::after {
    /* Separator */
    content: '|';
    position: absolute;
    right: 0;
    color: var(--border-color);
}

.ticker-content a:last-child .ticker-item::after {
    content: '';
}

.ticker-item:hover span {
    color: var(--saffron);
    text-decoration: underline;
}

.new-tag-ticker {
    display: inline-block;
    background-color: var(--green);
    color: var(--white);
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    animation: flashAnimation 1.5s infinite;
}

@keyframes flashAnimation {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 3px var(--green);
    }

    50% {
        opacity: 0.7;
        box-shadow: none;
    }
}

/* --- 7. Hamburger & Mobile Menu --- */
.hamburger-menu {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    border-radius: 4px;
}

.hamburger-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    left: 0;
    transition: all 0.25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 9px;
}

.hamburger-menu span:nth-child(3) {
    top: 18px;
}

.hamburger-menu.active span {
    background: var(--navy);
}

.hamburger-menu.active span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.hamburger-menu.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(5px);
    z-index: 2000;
    /* Increased z-index */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    padding: 80px 20px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Thought of the Day Section --- */
.thought-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0f5099 100%);
    padding: 20px 0;
    border-bottom: 3px solid var(--saffron);
}

.thought-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border-left: 4px solid var(--saffron);
}

.thought-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 153, 51, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thought-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--saffron);
}

.thought-content h3 {
    color: var(--saffron);
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin: 0 0 8px 0;
}

.thought-content p {
    color: var(--navy);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .thought-card {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Welcome Video Section - Professional & Attractive --- */
.welcome-video {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
    position: relative;
}

.welcome-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--green), var(--navy), var(--saffron));
}

.video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--saffron);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.video-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 2px solid var(--saffron);
    padding-bottom: 15px;
}

.video-info p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0 0 25px 0;
    font-size: 1.1rem;
    text-align: center;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.video-stats .stat {
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.video-stats .stat:hover {
    transform: translateY(-3px);
}

.video-stats .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-stats .stat-number+span {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
}

/* --- Village Progress Section (Rebuilt) --- */
.village-progress-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.village-progress-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Modern Progress Section */
.modern-progress-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.progress-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.progress-modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.progress-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.progress-card-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.progress-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.progress-card-header.literacy .progress-icon {
    background: #0B3D91;
}

.progress-card-header.water .progress-icon {
    background: #1565C0;
}

.progress-card-header.electricity .progress-icon {
    background: #FF9933;
}

.progress-card-header.roads .progress-icon {
    background: #7B1FA2;
}

.progress-card-header.sanitation .progress-icon {
    background: #388E3C;
}

.progress-card-header.digital .progress-icon {
    background: #00ACC1;
}

.progress-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.progress-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    color: white;
}

.progress-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.progress-card-body {
    padding: 25px;
    background: white;
}

.progress-percentage {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
}

.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar-track {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

.progress-bar-fill.literacy {
    background: linear-gradient(90deg, #0B3D91 0%, #1565C0 100%);
}

.progress-bar-fill.water {
    background: linear-gradient(90deg, #1565C0 0%, #42A5F5 100%);
}

.progress-bar-fill.electricity {
    background: linear-gradient(90deg, #FF9933 0%, #FFB366 100%);
}

.progress-bar-fill.roads {
    background: linear-gradient(90deg, #7B1FA2 0%, #AB47BC 100%);
}

.progress-bar-fill.sanitation {
    background: linear-gradient(90deg, #388E3C 0%, #66BB6A 100%);
}

.progress-bar-fill.digital {
    background: linear-gradient(90deg, #00ACC1 0%, #4DD0E1 100%);
}

.progress-modern-card .progress-desc {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Overall Progress Card */
.overall-progress-card {
    margin-top: 40px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.overall-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.overall-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overall-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.overall-text h4 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 700;
}

.overall-text p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
}

.overall-meter {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.overall-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.overall-bar-track {
    width: 200px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
}

.overall-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9933 0%, #FFB366 100%);
    border-radius: 6px;
}

/* Responsive Modern Progress */
@media (max-width: 1024px) {
    .progress-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overall-progress-card {
        flex-direction: column;
        text-align: center;
    }

    .overall-header {
        flex-direction: column;
    }

    .overall-meter {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .modern-progress-section {
        padding: 50px 0;
    }

    .progress-modern-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .progress-card-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }

    .progress-card-header .progress-icon {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .progress-card-header h3 {
        text-align: left;
        margin: 0;
    }

    .progress-card-body {
        text-align: left;
    }

    .overall-progress-card {
        padding: 30px;
    }

    .overall-value {
        font-size: 2.5rem;
    }

    .overall-bar-track {
        width: 150px;
    }
}


/* Grid Layout */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styling */
.progress-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Icon Wrapper */
.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon-wrapper.navy-bg {
    background: rgba(11, 61, 145, 0.1);
    color: var(--navy);
}

.card-icon-wrapper.saffron-bg {
    background: rgba(255, 153, 51, 0.1);
    color: var(--saffron);
}

.card-icon-wrapper.green-bg {
    background: rgba(19, 136, 8, 0.1);
    color: var(--green);
}

.card-icon-wrapper.blue-bg {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

/* Content Styling */
.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 20px;
}

.progress-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin-top: 15px;
}

/* Accurate SVG Meter Styling */
/* Accurate SVG Meter Styling */
.progress-meter-container {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    position: relative;
}

.progress-meter {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.meter-bg,
.meter-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.meter-bg {
    stroke: #f0f0f0;
}

.meter-fill {
    transition: stroke-dashoffset 1.5s ease-out;
}

/* Colors */
.navy-stroke {
    stroke: var(--navy);
}

.saffron-stroke {
    stroke: var(--saffron);
}

.green-stroke {
    stroke: var(--green);
}

.blue-stroke {
    stroke: #2196F3;
}

.navy-text {
    fill: var(--navy);
}

.saffron-text {
    fill: var(--saffron);
}

.green-text {
    fill: var(--green);
}

.blue-text {
    fill: #2196F3;
}

/* Centered Text */
.meter-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
}

/* Overall Summary Box */
.progress-summary-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.summary-box {
    background: linear-gradient(135deg, var(--navy) 0%, #1a237e 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(11, 61, 145, 0.2);
}

.summary-box h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
}

.linear-progress-track {
    background: rgba(255, 255, 255, 0.2);
    height: 10px;
    border-radius: 5px;
    margin: 0 auto 15px;
    max-width: 500px;
    overflow: hidden;
}

.linear-progress-fill {
    height: 100%;
    background: var(--saffron);
    border-radius: 5px;
    width: 0;
    /* Animated via JS if needed, currently inline style */
}

.linear-progress-label {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--saffron);
}

.summary-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.progress-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.progress-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    position: relative;
    transition: all 0.3s ease;
}

.progress-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--saffron), var(--green), var(--navy));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.progress-icon.cleanliness {
    background: linear-gradient(135deg, rgba(19, 136, 8, 0.15), rgba(19, 136, 8, 0.05));
}

.progress-icon.water {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.15), rgba(11, 61, 145, 0.05));
}

.progress-icon.electricity {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
}

.progress-icon.schemes {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(255, 153, 51, 0.05));
}

.progress-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
    z-index: 2;
    position: relative;
}

.progress-icon.cleanliness svg {
    color: var(--green);
}

.progress-icon.water svg {
    color: var(--navy);
}

.progress-icon.schemes svg {
    color: var(--saffron);
}

.progress-icon.electricity svg {
    color: #FFC107;
}

.progress-card:hover .progress-icon {
    transform: scale(1.1);
}

.progress-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin: 0 0 20px 0;
    font-weight: 600;
}

.circular-progress {
    width: 140px;
    height: 140px;
    position: relative;
    margin: 0 auto 20px auto;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 4;
}

.circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 113 113;
    stroke-dashoffset: 113;
    transition: stroke-dashoffset 2s ease-in-out;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cleanliness .circle {
    stroke: var(--green);
}

.water .circle {
    stroke: var(--navy);
}

.schemes .circle {
    stroke: var(--saffron);
}

.electricity .circle {
    stroke: #FFC107;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    fill: var(--navy);
    text-anchor: middle;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.progress-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

.progress-summary {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.summary-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 40px 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.summary-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.overall-progress {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 6px;
    transition: width 2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    min-width: 50px;
}

.summary-card p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Weather Section */
/* Modern Weather Section - Site Color Scheme */
.weather-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

/* New Modern Weather Section */
.modern-weather-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.weather-modern-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    margin-top: 50px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.weather-main-panel {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.weather-location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.weather-location-header svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.weather-location-header span {
    font-size: 0.95rem;
    font-weight: 500;
}

.weather-temp-display {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.weather-icon-modern {
    width: 80px;
    height: 80px;
}

.weather-icon-modern svg {
    width: 100%;
    height: 100%;
    fill: rgba(255, 255, 255, 0.9);
}

.temp-main {
    display: flex;
    align-items: flex-start;
}

.temp-number {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.temp-degree {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
}

.weather-condition {
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.weather-update-info {
    font-size: 0.8rem;
    opacity: 0.7;
}

.weather-details-panel {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-content: center;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.weather-detail-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.detail-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.detail-icon.feels {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.detail-icon.humidity {
    background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
}

.detail-icon.wind {
    background: linear-gradient(135deg, #00ACC1 0%, #4DD0E1 100%);
}

.detail-icon.pressure {
    background: linear-gradient(135deg, #7B1FA2 0%, #AB47BC 100%);
}

.detail-icon.visibility {
    background: linear-gradient(135deg, #388E3C 0%, #66BB6A 100%);
}

.detail-icon.uv {
    background: linear-gradient(135deg, #F57C00 0%, #FFB74D 100%);
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.weather-detail-item .detail-label {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 3px;
}

.weather-detail-item .detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
}

.weather-attribution {
    text-align: center;
    margin-top: 25px;
}

.weather-attribution a {
    color: #888;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.weather-attribution a:hover {
    color: var(--navy);
}

/* Responsive Modern Weather */
@media (max-width: 1024px) {
    .weather-modern-card {
        grid-template-columns: 1fr;
    }

    .weather-main-panel {
        padding: 40px;
    }

    .weather-details-panel {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .modern-weather-section {
        padding: 50px 0;
    }

    .weather-main-panel {
        padding: 30px;
    }

    .temp-number {
        font-size: 3.5rem;
    }

    .weather-icon-modern {
        width: 60px;
        height: 60px;
    }

    .weather-details-panel {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .weather-detail-item {
        padding: 12px;
    }
}


.weather-widget {
    max-width: 900px;
    margin: 50px auto 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.weather-main {
    padding: 50px;
    background: white;
    color: var(--navy);
    border-bottom: 3px solid var(--saffron);
}

.weather-current {
    text-align: center;
    margin-bottom: 40px;
}

.weather-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
    border: 3px solid var(--saffron);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.weather-icon-large svg {
    width: 70px;
    height: 70px;
    fill: var(--saffron);
    stroke: var(--saffron);
}

.weather-temp-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.temp-value {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
}

.temp-unit {
    font-size: 2.5rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 10px;
}

.weather-desc {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.weather-location-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.location-icon {
    width: 20px;
    height: 20px;
    fill: var(--navy);
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.weather-detail-card {
    background: rgba(255, 153, 51, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 153, 51, 0.2);
    text-align: center;
}

.weather-detail-card:hover {
    background: rgba(255, 153, 51, 0.15);
    transform: translateY(-3px);
}

.detail-icon {
    font-size: 2rem;
    line-height: 1;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.weather-footer {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray);
}

.weather-update {
    font-weight: 500;
}

.weather-link {
    color: var(--saffron);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.weather-link:hover {
    color: var(--navy);
}

@media (max-width: 768px) {
    .weather-main {
        padding: 30px 20px;
    }

    .temp-value {
        font-size: 3.5rem;
    }

    .temp-unit {
        font-size: 2rem;
    }

    .weather-desc {
        font-size: 1.2rem;
    }

    .weather-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .weather-detail-card {
        padding: 15px;
    }

    .detail-icon {
        font-size: 1.5rem;
    }

    .weather-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay .main-menu {
    flex-direction: column;
    text-align: left;
    width: 100%;
    max-width: 600px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-nav-overlay .main-menu>li {
    width: 100%;
    background-color: #f0f0f0;
    /* Temporary for debugging */
}

.mobile-nav-overlay .main-menu>li>a {
    font-size: 1.5rem;
    padding: 15px 0;
    color: var(--navy);
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    display: block;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-overlay .main-menu>li>a:hover {
    color: var(--saffron);
}

.mobile-nav-overlay .has-dropdown.open>a::after {
    transform: rotate(180deg);
}

.mobile-nav-overlay .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background-color: transparent;
}

.mobile-nav-overlay .has-dropdown.open .dropdown-menu {
    display: block;
}

.mobile-nav-overlay .dropdown-menu li a {
    font-size: 1.2rem;
    color: var(--gray);
    padding: 10px 0;
    border-bottom: none;
}

/* Fallback to force menu visibility */
.mobile-nav-overlay.active .main-menu,
.mobile-nav-overlay.active .main-menu>li,
.mobile-nav-overlay.active .main-menu>li>a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* --- 8. Hero Carousel --- */
.hero-carousel {
    height: 500px;
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray-bg);
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--saffron), var(--white) 30%, var(--white) 70%, var(--green));
    z-index: 5;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

/* Minimal Hero Style */
.hero-content.hero-minimal {
    max-width: 500px;
}

.hero-content.hero-minimal h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: #FF9933 !important;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Position hero content with button at bottom */
.hero-content.hero-minimal {
    top: auto;
    bottom: 60px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-hero-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--saffron) 0%, #FFB366 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
    margin-top: 25px;
}

.btn-hero-explore svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-hero-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 153, 51, 0.5);
}

.btn-hero-explore:hover svg {
    transform: translateX(5px);
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.2rem;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-secondary {
    background-color: var(--saffron);
    color: var(--navy);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--saffron);
    border-color: var(--saffron);
}

.btn-primary-hero {
    background-color: var(--white);
    color: var(--navy);
}

.btn-primary-hero:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary-hero {
    background-color: var(--saffron);
    color: var(--navy);
    font-weight: 700;
}

.btn-secondary-hero:hover {
    background-color: transparent;
    color: var(--saffron);
    border-color: var(--saffron);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--white);
}

/* --- 9. Introduction Section --- */
.intro-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Modern Intro Section */
.modern-intro-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.intro-modern-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.intro-content-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.intro-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    color: white;
}

.intro-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.intro-card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.intro-card-body {
    padding: 30px;
}

.intro-card-body p {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.intro-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
}

.intro-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.intro-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.intro-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(11, 61, 145, 0.9) 0%, transparent 100%);
    color: white;
}

.image-overlay span {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Intro Stats Grid */
.intro-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.intro-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.intro-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.stat-icon-circle {
    width: 65px;
    height: 65px;
    min-width: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.intro-stat-card:hover .stat-icon-circle {
    transform: rotate(360deg) scale(1.1);
}

.stat-icon-circle svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.stat-icon-circle.population {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
}

.stat-icon-circle.households {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.35);
}

.stat-icon-circle.area {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.35);
}

.stat-icon-circle.literacy {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.35);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 10px;
    font-weight: 200;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
    margin-top: 2px;
}

/* Responsive Modern Intro */
@media (max-width: 1024px) {
    .intro-modern-grid {
        grid-template-columns: 1fr;
    }

    .intro-image-card {
        order: -1;
        max-height: 350px;
    }

    .intro-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-intro-section {
        padding: 50px 0;
    }

    .intro-card-header {
        padding: 20px;
    }

    .intro-card-body {
        padding: 20px;
    }

    .intro-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .intro-stat-card {
        flex-direction: row;
        text-align: left;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .intro-stats-grid {
        grid-template-columns: 1fr;
    }

    .intro-stat-card {
        flex-direction: row;
        text-align: left;
    }
}


.section-header,
.section-tagline,
.section-title {
    text-align: center;
}

#tagline-abt {
    text-align: left;
}

.section-tagline {
    color: var(--saffron);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.intro-text h2,
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF !important;
    margin-top: 0;
    margin-bottom: 50px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.intro-text h2 {
    margin-bottom: 15px;
    text-align: left;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--navy);
    margin-bottom: 30px;
}

.intro-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stats-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--saffron);
}

.stat-info strong {
    display: block;
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    line-height: 1.1;
}

.stat-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 4px solid var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* --- 10. Key Members Section --- */
.members-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-tagline {
    margin: 0 auto 8px auto;
}

.section-header .section-title {
    margin-top: 0;
    margin-bottom: 0;
}

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

.member-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 2px var(--navy);
    margin-bottom: 20px;
}

.member-info h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    margin: 10px 0 5px;
    font-size: 1.4rem;
}

.member-info h4 {
    color: var(--saffron);
    font-weight: 500;
    font-size: 1rem;
    margin: 0 0 20px;
    font-family: var(--font-body);
}

.member-contact {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    font-size: 0.9rem;
    max-width: 250px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.member-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray);
}

.member-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--navy);
    flex-shrink: 0;
}

.view-all-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* --- 11. Gallery Section --- */
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Gallery Grid Container */
.gallery-grid-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    transition: opacity 0.5s ease-in-out;
}

.gallery-grid-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(11, 61, 145, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.gallery-grid-item:hover {
    transform: translateY(-8px);
    border-color: var(--saffron);
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.3);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

/* Gallery Navigation */
.gallery-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-nav-btn {
    background: rgba(11, 61, 145, 0.1);
    border: 2px solid var(--navy);
    color: var(--navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: var(--navy);
    color: white;
    transform: scale(1.1);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.gallery-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Gallery Dots */
.gallery-dots-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(11, 61, 145, 0.2);
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--saffron);
    border-color: var(--saffron);
    transform: scale(1.3);
}

.gallery-dot:hover {
    background: rgba(255, 153, 51, 0.5);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 12. Contact & Map Section --- */
.contact-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

/* Modern Contact Section */
.modern-contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.contact-info-card,
.map-modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-card-header,
.map-card-header {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.contact-header-icon,
.map-header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-header-icon svg,
.map-header-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.contact-card-header h3,
.map-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-items {
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-item-icon.location {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.contact-item-icon.phone {
    background: linear-gradient(135deg, #388E3C 0%, #66BB6A 100%);
}

.contact-item-icon.email {
    background: linear-gradient(135deg, #1565C0 0%, #42A5F5 100%);
}

.contact-item-icon.hours {
    background: linear-gradient(135deg, #7B1FA2 0%, #AB47BC 100%);
}

.contact-item-text {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-text p {
    margin: 0;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.contact-item-text a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-text a:hover {
    color: var(--saffron);
}

.map-wrapper {
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Modern Contact */
@media (max-width: 1024px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-contact-section {
        padding: 50px 0;
    }

    .contact-card-header,
    .map-card-header {
        padding: 20px;
    }

    .contact-items {
        padding: 20px;
    }

    .contact-item {
        padding: 15px 0;
    }

    .map-wrapper {
        height: 300px;
    }
}


.contact-grid {
    display: grid;
    grid-template-columns: minmax(350px, 1fr) 1.5fr;
    gap: 40px;
    align-items: stretch;
}

.contact-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.6rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    text-align: center;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray-menu);
    transition: background-color 0.3s ease;
}

.contact-details li:hover .contact-icon {
    background-color: rgba(255, 153, 51, 0.15);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--saffron);
}

.contact-info strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 1.1rem;
}

.contact-info p {
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
}

/* --- 13. Schemes & Notices Section --- */
.schemes-notices-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.schemes-notices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.key-schemes h3,
.latest-notices h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.item-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--saffron);
}

.item-main-link {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-decoration: none;
}

.item-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 153, 51, 0.1);
}

.item-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--saffron);
}

.item-content {
    flex-grow: 1;
}

.item-content strong {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.item-download {
    flex-shrink: 0;
    padding-right: 20px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray-menu);
    transition: background-color 0.3s ease;
}

.btn-download svg {
    width: 20px;
    height: 20px;
    fill: var(--navy);
    transition: fill 0.3s ease;
}

.btn-download:hover {
    background-color: var(--green);
}

.btn-download:hover svg {
    fill: var(--white);
}

.latest-notices .view-all-btn-container,
.key-schemes .view-all-btn-container {
    margin-top: 30px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--navy);
    color: var(--off-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 15px;
    border-left: 3px solid var(--saffron);
    padding-left: 10px;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
    padding-bottom: 10px;
}

.footer-links li a:hover {
    color: var(--saffron);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* --- Schemes Page Styles --- */
.page-hero-section {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.page-hero-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-controls {
    padding: 20px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.filter-controls .container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.search-wrapper {
    flex-grow: 1;
    position: relative;
}

#searchInput {
    width: 100%;
    padding: 12px 15px 12px 40px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-sizing: border-box;
}

.search-wrapper::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--gray);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center;
}

.filter-wrapper {
    display: flex;
    gap: 20px;
}

.filter-wrapper select {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--white);
}

.schemes-list-section {
    padding: 60px 0;
}

.results-count {
    margin-bottom: 20px;
    font-weight: 500;
}

.scheme-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
}

.scheme-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.scheme-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 153, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scheme-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--saffron);
}

.scheme-content {
    flex-grow: 1;
}

.scheme-content h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0 0 10px;
}

.scheme-content p {
    margin: 0 0 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.scheme-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
}

.meta-tag {
    background-color: var(--light-gray-bg);
    padding: 4px 10px;
    border-radius: 15px;
    color: var(--gray);
    font-weight: 500;
}

.scheme-download {
    flex-shrink: 0;
    align-self: center;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--saffron);
    transition: background-color 0.3s ease;
}

.btn-download svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.btn-download:hover {
    background-color: var(--navy);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    background-color: var(--white);
    color: var(--navy);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    min-width: 40px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: var(--saffron);
    color: var(--white);
    border-color: var(--saffron);
}

.pagination-btn.active {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    cursor: default;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mobile-translate-btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--navy);
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-translate-btn:hover {
    color: var(--saffron);
}

/* --- Notices Page Styles --- */
.list-section {
    padding: 60px 0;
}

.table-container {
    overflow-x: auto;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table thead th {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}

.data-table tbody tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
}

.data-table .notice-title-cell {
    font-weight: 500;
    white-space: normal;
    /* Allow title to wrap */
}

.data-table .download-cell {
    text-align: center;
}

/* --- Gallery Page Styles --- */
.gallery-page-section {
    padding: 80px 0;
}

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

.gallery-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.gallery-card-image {
    height: 220px;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-meta {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 10px;
    font-weight: 500;
}

.gallery-meta .date-icon {
    color: var(--saffron);
    margin-right: 5px;
}

.gallery-card-content h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--navy);
}

.gallery-card-content p {
    font-size: 0.95rem;
    margin: 0 0 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11, 61, 145, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.85) 0%, rgba(255, 153, 51, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* --- Modal / Lightbox Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 1100px;
    height: 90vh;
    max-height: 700px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 15;
    transition: color 0.3s, transform 0.3s;
}

.close-modal:hover {
    color: var(--navy);
    transform: rotate(90deg);
}

.modal-details {
    flex-basis: 350px;
    flex-shrink: 0;
    padding: 30px;
    overflow-y: auto;
    background-color: var(--off-white);
}

.modal-details h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.modal-details .gallery-meta {
    font-size: 1rem;
    margin-bottom: 20px;
}

.modal-details p {
    font-size: 1rem;
}

.modal-carousel {
    flex-grow: 1;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-display {
    width: 100%;
    height: 100%;
}

.modal-image-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    color: var(--white);
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

/* --- Land Records Pages Styles --- */

/* Breadcrumb Navigation */
.breadcrumb-section {
    background-color: var(--off-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--saffron);
}

.breadcrumb-separator {
    color: var(--gray);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--gray);
    font-weight: 500;
}

/* Info Sections */
.info-section {
    padding: 60px 0;
    background-color: var(--white);
}

.info-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.info-card h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.8rem;
    margin: 0 0 25px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.info-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gray);
    line-height: 1.6;
}

.info-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

/* Search and Filter Sections */
.search-section,
.filter-section {
    padding: 60px 0;
    background-color: var(--off-white);
}

.search-card,
.filter-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.search-card h2,
.filter-card h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.6rem;
    margin: 0 0 30px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.search-form,
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 249, 250, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--saffron);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Dashboard Section */
.dashboard-section {
    padding: 60px 0;
    background-color: var(--white);
}

.dashboard-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.8rem;
    margin: 0 0 40px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.stat-card.revenue-card {
    border-left: 4px solid var(--green);
}

.stat-card.pending-card {
    border-left: 4px solid #FFC107;
}

.stat-card.mutation-card {
    border-left: 4px solid var(--navy);
}

.stat-card .stat-icon {
    margin: 0 auto 15px auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(11, 61, 145, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--navy);
}

.stat-card strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 5px;
}

.stat-card span {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Results Section */
.results-section {
    padding: 60px 0;
    background-color: var(--off-white);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.8rem;
    margin: 0;
}

.results-count {
    background-color: var(--navy);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Records Grid (Card Layout) */
.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.record-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.record-title {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.2rem;
    margin: 0;
}

.record-khata {
    background-color: var(--saffron);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.record-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
}

.record-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--gray);
}

.record-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Table Styles for Namuna 9 */
.table-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}

.data-table tbody tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-paid {
    background-color: var(--green);
    color: var(--white);
}

.status-pending {
    background-color: #FFC107;
    color: var(--white);
}

.status-completed {
    background-color: var(--green);
    color: var(--white);
}

.status-recorded {
    background-color: var(--navy);
    color: var(--white);
}

/* Mobile Card View for Namuna 9 */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Property Records Display Styles for Namuna 8 */
.property-records-section {
    padding: 60px 0;
    background-color: var(--off-white);
}

.records-header {
    text-align: center;
    margin-bottom: 50px;
}

.records-header h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 2rem;
    margin: 0 0 15px;
}

.records-header p {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Property Record Card */
.property-record-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.property-record-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Record Header */
.record-header {
    background-color: var(--navy);
    color: var(--white);
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.record-title h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.property-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.record-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 6px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background-color: var(--green);
    color: var(--white);
}

/* Property Overview Card */
.property-overview-card {
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(255, 153, 51, 0.05) 100%);
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

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

.overview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.overview-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.overview-content {
    flex-grow: 1;
}

.overview-content label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.overview-content span {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.4;
}

.tax-amount {
    color: var(--green) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

/* Property Details */
.property-details {
    padding: 0;
}

/* Detail Sections */
.detail-section {
    border-bottom: 1px solid var(--border-color);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section .section-title {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 15px 25px;
    border: none;
}

.info-card {
    padding: 25px;
    background-color: var(--white);
}

/* Info Rows */
.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 0;
}

.owner-name {
    color: var(--navy) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

.available {
    color: var(--green) !important;
    font-weight: 600 !important;
}

/* Boundary Map */
.boundary-map {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    grid-template-rows: 1fr 200px 1fr;
    gap: 10px;
    padding: 20px;
    background-color: var(--off-white);
    border-radius: 8px;
    margin: 20px 0;
}

.boundary-direction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}

.boundary-center {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-center {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.property-id {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.area-info {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 5px;
}

.direction-label {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.boundary-value {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Property Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: 6px;
    border-left: 3px solid var(--saffron);
}

.spec-item label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Tax Summary */
.tax-summary {
    max-width: 600px;
    margin: 0 auto;
}

.tax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.tax-row:last-child {
    border-bottom: none;
}

.tax-row.total {
    background: linear-gradient(135deg, var(--green) 0%, #18a510 100%);
    color: var(--white);
    margin-top: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    border-bottom: none;
}

.tax-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.tax-amount {
    font-weight: 700;
    font-size: 0.95rem;
}

.final-total {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
}

.tax-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 15px 0;
}

/* Legal Status */
.legal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(19, 136, 8, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(19, 136, 8, 0.2);
}

.status-icon {
    color: var(--green);
    font-size: 1.2rem;
}

.legal-text {
    color: var(--green);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Search Results Summary */
.search-results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-number {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.search-filters-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.filter-tag {
    background-color: var(--saffron);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Property Overview Cards */
.property-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.overview-card.primary {
    border-left: 4px solid var(--navy);
}

.overview-card.secondary {
    border-left: 4px solid var(--green);
}

.overview-card.accent {
    border-left: 4px solid var(--saffron);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 10px;
    font-weight: 600;
}

.card-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-content p strong {
    color: var(--navy);
    font-weight: 700;
}

/* Record Header with Actions */
.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.record-title h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    color: var(--navy);
}

.property-number {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 15px;
}

.record-actions {
    display: flex;
    gap: 10px;
}

.record-actions .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.record-actions .btn svg {
    width: 18px;
    height: 18px;
}

/* Tabbed Interface */
.record-details {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.details-tabs {
    display: flex;
    background-color: var(--navy);
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background-color: var(--saffron);
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

/* Info Section Cards */
.info-section-card {
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
}

.info-section-card:last-child {
    margin-bottom: 0;
}

.section-heading {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Structured Info Grid */
.info-grid-structured {
    padding: 25px;
    background-color: var(--white);
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row.full-width {
    grid-template-columns: 1fr;
}

.info-cell {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-cell label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-cell .value {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 12px;
    background-color: var(--off-white);
    border-radius: 4px;
    border-left: 3px solid var(--saffron);
}

.value.no-encumbrance {
    background-color: rgba(19, 136, 8, 0.1);
    border-left-color: var(--green);
    color: var(--green);
    font-weight: 600;
}

/* Boundary Visualization */
.boundary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 25px;
    background-color: var(--white);
}

.boundary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.boundary-item .direction {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.boundary-value {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Valuation Table */
.valuation-table {
    padding: 25px;
    background-color: var(--white);
}

.valuation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.valuation-row:last-child {
    margin-bottom: 0;
}

.valuation-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: 6px;
    border-left: 3px solid var(--saffron);
}

.valuation-item label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.valuation-item .value {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 700;
}

.valuation-total {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    border-radius: 8px;
    display: grid;
    gap: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.total-value {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Tax Breakdown */
.tax-breakdown {
    padding: 25px;
    background-color: var(--white);
}

.tax-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.tax-row:last-child {
    border-bottom: none;
}

.tax-row.header {
    background-color: var(--navy);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 6px;
    border-bottom: none;
}

.tax-row.subtotal {
    background-color: var(--green);
    color: var(--white);
    font-weight: 700;
    margin-top: 10px;
    padding: 15px 20px;
    border-radius: 6px;
    border-bottom: none;
}

/* Final Total Card */
.final-total-card {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    border-radius: 10px;
    text-align: center;
}

.total-display h5 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.final-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 0 10px;
}

.total-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* History Timeline */
.history-timeline {
    padding: 25px;
    background-color: var(--white);
}

.history-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-left: 3px solid var(--saffron);
    margin-left: 20px;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 14px;
    height: 14px;
    background-color: var(--saffron);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--saffron);
}

.history-item:first-child {
    padding-top: 0;
}

.history-item:last-child {
    padding-bottom: 0;
}

.history-date {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
    min-width: 120px;
}

.history-content h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1rem;
    margin: 0 0 5px;
    font-weight: 600;
}

.history-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Compact View for Second Record */
.record-details.compact {
    max-height: 300px;
    overflow-y: auto;
}

.info-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px;
}

.summary-section h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1rem;
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--saffron);
}

.summary-grid {
    display: grid;
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-item label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.summary-item .amount {
    color: var(--green);
    font-weight: 700;
    font-size: 1rem;
}

.summary-item .status-paid {
    background-color: var(--green);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
}

/* Pagination */
.records-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    color: var(--gray);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-current {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
}

.property-records-container {
    display: grid;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-record-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-record-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.record-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

.record-id {
    background-color: var(--navy);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.record-section {
    margin-bottom: 35px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.record-section:last-child {
    margin-bottom: 0;
}

.section-title {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-content {
    padding: 25px;
    background-color: var(--white);
}

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

.info-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: 6px;
    border-left: 4px solid var(--saffron);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-item:hover {
    background-color: rgba(255, 153, 51, 0.05);
    transform: translateX(5px);
}

.info-item label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.info-item.highlight {
    background: linear-gradient(135deg, var(--green) 0%, #18a510 100%);
    border-left: 4px solid var(--green);
}

.info-item.highlight label {
    color: var(--white);
}

.info-item.highlight span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.total-amount {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Structured Table Styles for Property Records */
.subsection {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--off-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--saffron);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 15px;
    vertical-align: top;
}

.label-cell {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
    width: 25%;
    background-color: rgba(255, 153, 51, 0.05);
    border-right: 1px solid var(--border-color);
}

.value-cell {
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 500;
    width: 25%;
    padding-left: 15px;
}

.value-cell strong {
    color: var(--navy);
    font-weight: 700;
}

.highlight-cell {
    background: linear-gradient(135deg, var(--green) 0%, #18a510 100%);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.table-header-row {
    background-color: var(--navy) !important;
}

.table-header-row .label-cell {
    background-color: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.table-header-row .value-cell {
    background-color: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.final-total-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    border-radius: 10px;
    text-align: center;
}

.total-highlight {
    display: inline-block;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.total-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-highlight .total-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Responsive Design for Structured Tables */
@media (max-width: 1024px) {
    .info-table {
        font-size: 0.9rem;
    }

    .label-cell,
    .value-cell {
        padding: 10px 12px;
    }

    .subsection {
        padding: 15px;
        margin-bottom: 20px;
    }

    .subsection-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .info-table td {
        padding: 8px 10px;
        display: block;
        width: 100%;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .info-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
    }

    .label-cell {
        width: 100%;
        background-color: var(--navy);
        color: var(--white);
        font-weight: 700;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .value-cell {
        width: 100%;
        padding-left: 0;
        background-color: var(--white);
        color: var(--navy);
        border-bottom: none;
    }

    .value-cell strong {
        color: var(--navy);
    }

    .highlight-cell {
        background: linear-gradient(135deg, var(--green) 0%, #18a510 100%);
        color: var(--white) !important;
        text-align: center;
        font-size: 1.1rem;
    }

    .subsection {
        padding: 12px;
        margin-bottom: 15px;
    }

    .subsection-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .final-total-section {
        margin-top: 20px;
        padding: 20px;
    }

    .total-highlight {
        padding: 15px 25px;
    }

    .total-title {
        font-size: 0.9rem;
    }

    .total-highlight .total-amount {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .subsection {
        padding: 10px;
        margin-bottom: 12px;
    }

    .subsection-title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table td {
        padding: 6px 8px;
    }

    .final-total-section {
        padding: 15px;
        margin-top: 15px;
    }

    .total-highlight {
        padding: 12px 20px;
    }

    .total-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .total-highlight .total-amount {
        font-size: 1.2rem;
    }
}

/* Responsive Design for Village Progress Section */
@media (max-width: 1024px) {
    .village-progress-section {
        padding: 60px 0;
    }

    .progress-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        margin: 30px 0;
    }

    .progress-card {
        padding: 30px 25px;
    }

    .progress-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .progress-icon svg {
        width: 35px;
        height: 35px;
    }

    .circular-progress {
        width: 120px;
        height: 120px;
    }

    .percentage {
        font-size: 1.4rem;
    }

    .progress-desc {
        font-size: 0.9rem;
    }

    .summary-card {
        padding: 30px 40px;
    }

    .overall-progress {
        gap: 15px;
    }

    .progress-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .village-progress-section {
        padding: 50px 0;
    }

    .progress-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 25px 0;
    }

    .progress-card {
        padding: 25px 20px;
    }

    .progress-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .progress-icon svg {
        width: 30px;
        height: 30px;
    }

    .progress-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .circular-progress {
        width: 100px;
        height: 100px;
    }

    .percentage {
        font-size: 1.2rem;
    }

    .progress-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .progress-summary {
        margin-top: 40px;
    }

    .summary-card {
        padding: 25px 30px;
    }

    .summary-card h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .overall-progress {
        gap: 12px;
        margin-bottom: 15px;
    }

    .progress-bar {
        height: 10px;
    }

    .progress-text {
        font-size: 1.4rem;
        min-width: 45px;
    }

    .summary-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .village-progress-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-tagline {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .progress-grid {
        gap: 20px;
        margin: 20px 0;
    }

    .progress-card {
        padding: 20px 15px;
    }

    .progress-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .progress-icon svg {
        width: 25px;
        height: 25px;
    }

    .progress-info h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .circular-progress {
        width: 80px;
        height: 80px;
    }

    .percentage {
        font-size: 1rem;
    }

    .progress-desc {
        font-size: 0.8rem;
    }

    .progress-summary {
        margin-top: 30px;
    }

    .summary-card {
        padding: 20px 25px;
    }

    .summary-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .overall-progress {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .progress-bar {
        height: 8px;
    }

    .progress-text {
        font-size: 1.3rem;
        min-width: auto;
        text-align: center;
    }

    .summary-card p {
        font-size: 0.9rem;
    }
}

/* Responsive Design for Property Records */
@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .property-record-card {
        padding: 25px 20px;
    }

    .section-content {
        padding: 20px;
    }

    /* Responsive Search Results Summary */
    .search-results-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .search-filters-applied {
        align-self: stretch;
    }

    /* Responsive Property Overview Cards */
    .property-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive Record Header */
    .record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .record-actions {
        align-self: stretch;
    }

    .record-actions .btn {
        flex: 1;
    }

    /* Responsive Tabs */
    .details-tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 auto;
        min-width: 120px;
    }

    /* Responsive Info Grid */
    .info-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive Boundary Grid */
    .boundary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Responsive Valuation Table */
    .valuation-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive Tax Breakdown */
    .tax-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    /* Responsive Pagination */
    .records-pagination {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .pagination-controls {
        align-self: stretch;
        justify-content: center;
    }

    /* Responsive Boundary Map */
    .boundary-map {
        grid-template-columns: 1fr 150px 1fr;
        grid-template-rows: 1fr 150px 1fr;
    }

    .property-center {
        width: 100px;
        height: 100px;
        padding: 15px;
    }

    .property-id {
        font-size: 1rem;
    }

    .area-info {
        font-size: 0.75rem;
    }

    /* Responsive Overview Grid */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .overview-item {
        padding: 12px;
    }

    /* Responsive Specs Grid */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spec-item {
        padding: 12px;
    }

    /* Responsive Tax Summary */
    .tax-summary {
        max-width: 100%;
    }

    .tax-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
    }

    .tax-row.total {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .property-records-section {
        padding: 40px 0;
    }

    .records-header h2 {
        font-size: 1.6rem;
    }

    .records-header p {
        font-size: 1rem;
    }

    .property-records-container {
        gap: 25px;
    }

    .property-record-card {
        padding: 20px 15px;
    }

    .record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }

    .record-header h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .section-content {
        padding: 15px;
    }

    .info-grid {
        gap: 12px;
    }

    .info-item {
        padding: 12px;
    }

    .info-item label {
        font-size: 0.8rem;
    }

    .info-item span {
        font-size: 0.9rem;
    }

    /* Mobile Overview Cards */
    .overview-card {
        padding: 15px;
    }

    .card-content h4 {
        font-size: 0.9rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    /* Mobile Search Results Summary */
    .search-results-summary {
        padding: 15px 20px;
    }

    .count-number {
        font-size: 1rem;
        padding: 6px 12px;
    }

    /* Mobile Tabs */
    .tab-button {
        padding: 12px 15px;
        font-size: 0.85rem;
        min-width: 100px;
    }

    /* Mobile Info Sections */
    .info-section-card {
        margin-bottom: 20px;
    }

    .section-heading {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .info-grid-structured {
        padding: 20px;
    }

    /* Mobile Structured Tables */
    .info-table td {
        padding: 8px 10px;
        display: block;
        width: 100%;
        text-align: left;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .info-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
    }

    .label-cell {
        width: 100%;
        background-color: var(--navy);
        color: var(--white);
        font-weight: 700;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .value-cell {
        width: 100%;
        padding-left: 0;
        background-color: var(--white);
        color: var(--navy);
        border-bottom: none;
    }

    .value-cell strong {
        color: var(--navy);
    }

    .highlight-cell {
        background: linear-gradient(135deg, var(--green) 0%, #18a510 100%);
        color: var(--white) !important;
        text-align: center;
        font-size: 1.1rem;
    }

    /* Mobile Final Total */
    .final-total-card {
        margin-top: 20px;
        padding: 20px;
    }

    .total-display h5 {
        font-size: 1rem;
    }

    .final-amount {
        font-size: 1.6rem;
    }

    .total-description {
        font-size: 0.85rem;
    }

    /* Mobile History Timeline */
    .history-timeline {
        padding: 20px;
    }

    .history-item {
        gap: 15px;
        padding: 15px 0;
    }

    .history-date {
        min-width: 100px;
        font-size: 0.85rem;
    }

    .history-content h6 {
        font-size: 0.95rem;
    }

    .history-content p {
        font-size: 0.85rem;
    }

    /* Mobile Compact View */
    .info-summary {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .summary-section h5 {
        font-size: 0.95rem;
    }

    .summary-grid {
        gap: 12px;
    }

    .summary-item label {
        font-size: 0.75rem;
    }

    .summary-item span {
        font-size: 0.85rem;
    }

    /* Mobile New Layout Elements */
    .property-overview-card {
        padding: 20px 15px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .overview-item {
        padding: 12px;
        gap: 10px;
    }

    .overview-icon {
        font-size: 1.5rem;
    }

    .overview-content label {
        font-size: 0.75rem;
    }

    .overview-content span {
        font-size: 0.9rem;
    }

    .tax-amount {
        font-size: 1rem !important;
    }

    /* Mobile Boundary Map */
    .boundary-map {
        grid-template-columns: 1fr 120px 1fr;
        grid-template-rows: 1fr 120px 1fr;
        gap: 8px;
        padding: 15px;
    }

    .boundary-direction {
        padding: 10px;
    }

    .direction-label {
        font-size: 0.8rem;
    }

    .boundary-value {
        font-size: 0.75rem;
    }

    .property-center {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .property-id {
        font-size: 0.9rem;
    }

    .area-info {
        font-size: 0.7rem;
    }

    /* Mobile Specs Grid */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-item {
        padding: 12px;
    }

    .spec-item label {
        font-size: 0.8rem;
    }

    .spec-value {
        font-size: 0.9rem;
    }

    /* Mobile Tax Summary */
    .tax-summary {
        max-width: 100%;
    }

    .tax-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 8px 0;
    }

    .tax-row.total {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        padding: 12px 15px;
    }

    .tax-label {
        font-size: 0.85rem;
    }

    .tax-amount {
        font-size: 0.9rem;
    }

    .final-total {
        font-size: 1.1rem !important;
    }

    /* Mobile Legal Status */
    .legal-status {
        padding: 12px;
        gap: 8px;
    }

    .status-icon {
        font-size: 1rem;
    }

    .legal-text {
        font-size: 0.9rem;
    }

    /* Mobile Info Cards */
    .info-card {
        padding: 20px 15px;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .info-item label {
        font-size: 0.85rem;
    }

    .info-item span {
        font-size: 0.9rem;
    }

    .owner-name {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 600px) {
    .records-header {
        margin-bottom: 30px;
    }

    .records-header h2 {
        font-size: 1.4rem;
    }

    .property-record-card {
        padding: 15px 12px;
    }

    .record-section {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    .section-content {
        padding: 12px;
    }

    .info-item {
        padding: 10px;
    }

    .info-item.highlight span {
        font-size: 1rem;
    }

    .total-amount {
        font-size: 1.1rem !important;
    }

    /* Extra Small Mobile */
    .search-results-summary {
        padding: 12px 15px;
    }

    .count-number {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .overview-card {
        padding: 12px;
    }

    .card-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .card-content h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 80px;
    }

    .info-section-card {
        margin-bottom: 15px;
    }

    .section-heading {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .info-grid-structured {
        padding: 15px;
    }

    .subsection {
        padding: 10px;
        margin-bottom: 12px;
    }

    .subsection-title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .info-table {
        font-size: 0.85rem;
    }

    .info-table td {
        padding: 6px 8px;
    }

    .final-total-section {
        padding: 15px;
        margin-top: 15px;
    }

    .total-highlight {
        padding: 12px 20px;
    }

    .total-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .total-highlight .total-amount {
        font-size: 1.2rem;
    }

    .history-timeline {
        padding: 15px;
    }

    .history-item {
        gap: 12px;
        padding: 12px 0;
    }

    .history-date {
        min-width: 80px;
        font-size: 0.8rem;
    }

    .history-content h6 {
        font-size: 0.9rem;
    }

    .history-content p {
        font-size: 0.8rem;
    }

    .info-summary {
        padding: 15px;
        gap: 20px;
    }

    .summary-section h5 {
        font-size: 0.9rem;
    }

    .summary-grid {
        gap: 10px;
    }

    .summary-item label {
        font-size: 0.7rem;
    }

    .summary-item span {
        font-size: 0.8rem;
    }

    .summary-item .amount {
        font-size: 0.9rem;
    }

    .summary-item .status-paid {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}

/* Database Records Container - 3 Section Layout */
.database-records-container {
    margin: 40px auto;
    max-width: 1400px;
}

.database-section {
    margin-bottom: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-header-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 70vh;
    border-radius: 0 0 12px 12px;
}

.property-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background-color: var(--white);
    min-width: 2800px;
    /* Ensure horizontal scrolling for all columns */
}

.property-data-table th {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-data-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.8rem;
    color: var(--navy);
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.property-data-table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.5);
}

.property-data-table tbody tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
    transform: scale(1.01);
}

.property-data-table .table-section-header {
    background: linear-gradient(135deg, var(--green) 0%, #18a510 100%) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: var(--white) !important;
    padding: 15px 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-data-table .column-headers th {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%) !important;
    font-size: 0.7rem !important;
    padding: 10px 6px !important;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 120px;
    min-width: 60px;
    white-space: nowrap;
    vertical-align: bottom;
    transform: rotate(180deg);
}

.property-data-table .final-total {
    background: linear-gradient(135deg, var(--green) 0%, #18a510 100%) !important;
    color: var(--white) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.property-data-table .no-records td {
    text-align: center !important;
    padding: 40px 20px !important;
    font-size: 1rem !important;
    color: var(--gray) !important;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(255, 153, 51, 0.05) 100%) !important;
}

.no-data-message {
    text-align: center;
    padding: 20px;
}

.no-data-message p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.no-data-icon {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 15px;
}

/* Load Data Section */
.load-data-section {
    background-color: var(--off-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.load-data-btn {
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-data-btn:hover {
    background-color: var(--saffron);
    color: var(--navy);
}

/* Database Table Styles for Namuna 8 - Simplified Professional Look */

.table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 70vh;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.property-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background-color: var(--white);
}

.property-data-table th {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
    vertical-align: middle;
}

.property-data-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.8rem;
    color: var(--navy);
    font-weight: 500;
}

.property-data-table tbody tr:nth-child(even) {
    background-color: var(--off-white);
}

.property-data-table tbody tr:hover {
    background-color: var(--light-gray-bg);
}

.property-data-table .table-section-header {
    background-color: var(--navy) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: var(--white) !important;
    padding: 15px 8px !important;
}

.property-data-table .column-headers th {
    background-color: var(--navy) !important;
    font-size: 0.7rem !important;
    padding: 10px 6px !important;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 120px;
    min-width: 60px;
    white-space: nowrap;
    vertical-align: bottom;
}

.property-data-table .final-total {
    background-color: var(--green) !important;
    color: var(--white) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
}

.property-data-table .no-records td {
    text-align: center !important;
    padding: 40px 20px !important;
    font-size: 1rem !important;
    color: var(--gray) !important;
}

.no-data-message {
    text-align: center;
    padding: 20px;
}

.no-data-message p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* View Toggle Section */
.view-toggle-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background-color: var(--off-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.view-toggle-section .btn {
    position: relative;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.view-toggle-section .btn.active {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-toggle-section .btn:not(.active):hover {
    background-color: var(--saffron);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Table Scrollbar Styling */
.table-responsive::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--light-gray-bg);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
}

/* Responsive Table Design */
@media (max-width: 1200px) {
    .property-data-table {
        font-size: 0.75rem;
    }

    .property-data-table th,
    .property-data-table td {
        padding: 6px 4px;
    }

    .property-data-table .column-headers th {
        height: 100px;
        min-width: 50px;
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .database-records-container {
        margin: 20px 0;
        border-radius: 6px;
    }

    .table-responsive {
        max-height: 60vh;
        overflow-x: auto;
        overflow-y: auto;
    }

    .property-data-table {
        font-size: 0.7rem;
        min-width: 2000px;
        /* Ensure horizontal scrolling */
    }

    .property-data-table th,
    .property-data-table td {
        padding: 4px 2px;
    }

    .property-data-table .table-section-header {
        font-size: 0.8rem !important;
        padding: 12px 6px !important;
    }

    .property-data-table .column-headers th {
        height: 80px;
        min-width: 40px;
        font-size: 0.6rem;
        padding: 8px 4px;
    }

    .view-toggle-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }

    .view-toggle-section .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .table-responsive {
        max-height: 50vh;
    }

    .property-data-table {
        font-size: 0.65rem;
    }

    .property-data-table .table-section-header {
        font-size: 0.75rem !important;
        padding: 10px 4px !important;
    }

    .property-data-table .column-headers th {
        height: 60px;
        min-width: 35px;
        font-size: 0.55rem;
        padding: 6px 2px;
    }

    .property-data-table td {
        padding: 3px 1px;
        font-size: 0.7rem;
    }

    .no-data-message {
        padding: 15px;
    }

    .no-data-message p {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .view-toggle-section {
        margin-top: 20px;
        padding: 12px;
    }

    /* Mobile responsive for 3-section layout */
    .database-section {
        margin-bottom: 25px;
        border-radius: 8px;
    }

    .section-header-card {
        padding: 20px 25px;
    }

    .section-header-card .section-title {
        font-size: 1.2rem;
    }

    .section-header-card .section-subtitle {
        font-size: 0.85rem;
    }

    .load-data-section {
        padding: 30px 20px;
        margin-top: 25px;
    }

    .load-data-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* --- Emergency Contacts Section --- */
.emergency-contacts-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Modern Emergency Section */
.modern-emergency-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.emergency-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.emergency-modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.emergency-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.emergency-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    color: white;
}

.emergency-modern-card.national .emergency-card-header {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.emergency-modern-card.police .emergency-card-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
}

.emergency-modern-card.health .emergency-card-header {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}

.emergency-modern-card.fire .emergency-card-header {
    background: linear-gradient(135deg, #e65100 0%, #ff9100 100%);
}

.emergency-modern-card.utility .emergency-card-header {
    background: linear-gradient(135deg, #00695c 0%, #26a69a 100%);
}

.emergency-modern-card.govt .emergency-card-header {
    background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%);
}

.emergency-icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emergency-icon-circle svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.emergency-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.emergency-card-body {
    padding: 20px 25px;
}

.emergency-number-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.emergency-number-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.emergency-number-item .number {
    display: inline-block;
    min-width: 130px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.emergency-number-item.highlight .number {
    background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    font-size: 1rem;
}

.emergency-number-item .label {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.4;
}

.emergency-notice-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(255, 179, 102, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--saffron);
}

.emergency-notice-modern .notice-icon {
    font-size: 1.5rem;
}

.emergency-notice-modern p {
    color: #444;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Modern Emergency */
@media (max-width: 1024px) {
    .emergency-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-emergency-section {
        padding: 50px 0;
    }

    .emergency-modern-grid {
        grid-template-columns: 1fr;
    }

    .emergency-card-header {
        padding: 15px 20px;
    }

    .emergency-card-body {
        padding: 15px 20px;
    }

    .emergency-number-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .emergency-number-item .number {
        min-width: auto;
    }
}


.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.emergency-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.emergency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--green), var(--navy));
}

.emergency-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--saffron);
}

.emergency-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    position: relative;
    transition: all 0.3s ease;
}

.emergency-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--saffron), var(--green), var(--navy));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

.emergency-icon svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
    z-index: 2;
    position: relative;
}

.emergency-card:hover .emergency-icon {
    transform: scale(1.1);
}

.emergency-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 20px 0;
    font-weight: 600;
    text-align: center;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(222, 226, 230, 0.3);
    transition: background-color 0.3s ease;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li:hover {
    background-color: rgba(255, 153, 51, 0.05);
    padding-left: 10px;
    margin-left: -10px;
    border-radius: 6px;
}

.contact-list strong {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-weight: 700;
    font-size: 1rem;
    min-width: 120px;
    flex-shrink: 0;
}

.contact-list span {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.emergency-notice {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.emergency-notice p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.emergency-notice strong {
    color: var(--white);
    font-weight: 700;
}

/* Emergency Contacts Responsive Design */
@media (max-width: 1024px) {
    .emergency-contacts-section {
        padding: 60px 0;
    }

    .emergency-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .emergency-card {
        padding: 25px 20px;
    }

    .emergency-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .emergency-icon svg {
        width: 30px;
        height: 30px;
    }

    .emergency-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .contact-list strong {
        min-width: 100px;
        font-size: 0.95rem;
    }

    .contact-list span {
        font-size: 0.85rem;
    }

    .emergency-notice {
        margin-top: 40px;
        padding: 20px 25px;
    }

    .emergency-notice p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .emergency-contacts-section {
        padding: 50px 0;
    }

    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 25px 0;
    }

    .emergency-card {
        padding: 20px 18px;
    }

    .emergency-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }

    .emergency-icon svg {
        width: 28px;
        height: 28px;
    }

    .emergency-info h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .contact-list li {
        padding: 10px 0;
        gap: 12px;
    }

    .contact-list strong {
        min-width: 90px;
        font-size: 0.9rem;
    }

    .contact-list span {
        font-size: 0.8rem;
    }

    .emergency-notice {
        margin-top: 30px;
        padding: 18px 20px;
    }

    .emergency-notice p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .emergency-contacts-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-tagline {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .emergency-grid {
        gap: 15px;
        margin: 20px 0;
    }

    .emergency-card {
        padding: 18px 15px;
    }

    .emergency-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .emergency-icon svg {
        width: 25px;
        height: 25px;
    }

    .emergency-info h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .contact-list li {
        padding: 8px 0;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-list strong {
        min-width: auto;
        font-size: 0.85rem;
    }

    .contact-list span {
        font-size: 0.8rem;
        text-align: left;
    }

    .emergency-notice {
        margin-top: 25px;
        padding: 15px 18px;
    }

    .emergency-notice p {
        font-size: 0.85rem;
    }
}

/* --- Village Facilities & Infrastructure Section --- */
.village-facilities-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.facility-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--green), var(--navy));
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--saffron);
}

.facility-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.facility-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.15), rgba(255, 153, 51, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.facility-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--navy);
}

.facility-card:hover .facility-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--saffron), var(--green));
}

.facility-card:hover .facility-icon svg {
    fill: var(--white);
}

.facility-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0;
    font-weight: 600;
}

.facility-content {
    padding: 0;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list li {
    margin-bottom: 20px;
}

.facility-list li:last-child {
    margin-bottom: 0;
}

.facility-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background-color: var(--off-white);
    border-radius: 8px;
    border-left: 3px solid var(--saffron);
    transition: all 0.3s ease;
}

.facility-item:hover {
    background-color: rgba(255, 153, 51, 0.05);
    transform: translateX(5px);
}

.facility-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.facility-value {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.facility-value strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

.facility-value span {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    font-weight: 500;
}

.facilities-summary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--saffron) 100%);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.facilities-summary h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin: 0 0 30px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 100px;
    text-align: center;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Village Facilities Responsive Design */
@media (max-width: 1024px) {
    .village-facilities-section {
        padding: 60px 0;
    }

    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
        margin: 30px 0;
    }

    .facility-card {
        padding: 25px;
    }

    .facility-header {
        gap: 15px;
        margin-bottom: 20px;
    }

    .facility-icon {
        width: 55px;
        height: 55px;
    }

    .facility-icon svg {
        width: 25px;
        height: 25px;
    }

    .facility-header h3 {
        font-size: 1.2rem;
    }

    .facility-item {
        padding: 12px;
    }

    .facility-value strong {
        font-size: 1.3rem;
    }

    .facilities-summary {
        margin-top: 40px;
        padding: 35px 25px;
    }

    .facilities-summary h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .summary-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 0.95rem;
        padding: 12px 18px;
        min-width: 90px;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .village-facilities-section {
        padding: 50px 0;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 25px 0;
    }

    .facility-card {
        padding: 20px;
    }

    .facility-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        margin-bottom: 18px;
    }

    .facility-icon {
        width: 50px;
        height: 50px;
    }

    .facility-icon svg {
        width: 22px;
        height: 22px;
    }

    .facility-header h3 {
        font-size: 1.15rem;
    }

    .facility-item {
        padding: 10px;
    }

    .facility-value strong {
        font-size: 1.2rem;
    }

    .facility-value span {
        font-size: 0.8rem;
    }

    .facilities-summary {
        margin-top: 30px;
        padding: 25px 20px;
    }

    .facilities-summary h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 0.9rem;
        padding: 10px 15px;
        min-width: 80px;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .village-facilities-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-tagline {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .facilities-grid {
        gap: 15px;
        margin: 20px 0;
    }

    .facility-card {
        padding: 18px;
    }

    .facility-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .facility-icon {
        width: 45px;
        height: 45px;
    }

    .facility-icon svg {
        width: 20px;
        height: 20px;
    }

    .facility-header h3 {
        font-size: 1.1rem;
    }

    .facility-item {
        padding: 8px;
    }

    .facility-value strong {
        font-size: 1.1rem;
    }

    .facility-value span {
        font-size: 0.75rem;
    }

    .facilities-summary {
        margin-top: 25px;
        padding: 20px 15px;
    }

    .facilities-summary h3 {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .summary-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 0.85rem;
        padding: 8px 12px;
        min-width: 70px;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Additional responsive styles for 3-section layout */
@media (max-width: 768px) {
    .database-records-container {
        margin: 20px auto;
    }

    .database-section {
        margin-bottom: 30px;
    }

    .section-header-card {
        padding: 20px 25px;
    }

    .section-header-card .section-title {
        font-size: 1.3rem;
    }

    .load-data-section {
        padding: 35px 25px;
        margin-top: 25px;
    }
}

.revenue-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.revenue-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.revenue-card-title {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.1rem;
    margin: 0;
}

.revenue-card-khata {
    background-color: var(--saffron);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.revenue-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.revenue-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.revenue-detail-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.revenue-detail-value {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 30px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background-color: var(--light-gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--gray);
}

.empty-state h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin: 0 0 15px;
}

.empty-state p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: var(--white);
}

.faq-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    font-size: 1.8rem;
    margin: 0 0 40px;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: var(--navy);
    color: var(--white);
    border: none;
    padding: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(11, 61, 145, 0.8);
}

.faq-question:focus {
    outline: none;
}

.faq-answer {
    padding: 20px;
    background-color: var(--off-white);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--gray);
    line-height: 1.7;
}

/* Desktop/Mobile View Toggles */
.desktop-view,
.mobile-view {
    display: block;
}

/* Responsive Design for Land Records */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .records-grid {
        grid-template-columns: 1fr;
    }

    .record-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .info-card,
    .search-card,
    .filter-card {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .info-card h2,
    .search-card h2,
    .filter-card h2 {
        font-size: 1.4rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-header h2 {
        font-size: 1.5rem;
    }

    .record-card {
        padding: 20px;
    }

    .record-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .record-actions {
        width: 100%;
        justify-content: stretch;
    }

    .record-actions .btn {
        flex: 1;
    }

    .revenue-card {
        padding: 15px;
    }

    .revenue-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 15px;
    }

    /* Hide table on mobile, show cards */
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }
}

@media (max-width: 600px) {
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .breadcrumb-separator {
        display: none;
    }

    .breadcrumb a,
    .breadcrumb-current {
        margin-bottom: 5px;
    }

    .info-card,
    .search-card,
    .filter-card {
        margin: 0 10px;
        padding: 20px 15px;
    }

    .form-row {
        gap: 15px;
    }

    .records-grid {
        gap: 15px;
    }

    .record-card {
        padding: 15px;
    }

    .revenue-card-details {
        gap: 5px;
    }

    .revenue-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .main-menu {
        display: none;
    }

    .nav-content {
        justify-content: flex-end;
        padding: 10px 0;
    }

    .hamburger-menu {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-menu span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--white);
        border-radius: 3px;
        left: 0;
        transition: all 0.25s ease-in-out;
    }

    .hamburger-menu span:nth-child(1) {
        top: 0px;
    }

    .hamburger-menu span:nth-child(2) {
        top: 9px;
    }

    .hamburger-menu span:nth-child(3) {
        top: 18px;
    }

    .hamburger-menu.active span {
        background: var(--navy);
    }

    .hamburger-menu.active span:nth-child(1) {
        top: 9px;
        transform: rotate(135deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }

    .hamburger-menu.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-135deg);
    }

    .intro-grid,
    .contact-grid,
    .schemes-notices-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text h2 {
        font-size: 2.2rem;
    }

    .intro-image {
        grid-row: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .gov-icons a {
        display: none;
        /* Hide search and sitemap icons */
    }

    .top-government-bar .container .translate-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        font-size: 0;
        /* Hide text on mobile */
        background-color: var(--white);
        border: 1px solid #ccc;
        border-radius: 50%;
        /* Circular button */
        margin-left: 10px;
        position: relative;
        /* Ensure it stays in flow */
        z-index: 1;
        /* Bring it above any potential overlays */
    }

    .top-government-bar .container .translate-btn::before {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-globe'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
        width: 24px;
        height: 24px;
        color: var(--navy);
    }

    .top-government-bar .container .translate-btn:hover {
        background-color: #f1f1f1;
    }

    .top-government-bar .container .translate-btn:hover::before {
        color: var(--saffron);
    }

    .top-government-bar .container {
        justify-content: space-between;
        flex-wrap: wrap;
        /* Allow wrapping if needed */
    }

    .ticker-label {
        display: none;
    }

    .hero-carousel {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content.hero-minimal h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-hero-explore {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .btn-hero-explore svg {
        width: 16px;
        height: 16px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .carousel-nav {
        display: none;
    }

    .stats-list {
        grid-template-columns: 1fr;
        /* Stack stats vertically on very small screens */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack footer sections vertically */
        gap: 30px;
        margin-bottom: 30px;
    }

    .site-footer {
        padding: 40px 0 20px;
        /* Reduce padding for mobile */
    }

    .site-footer h4 {
        font-size: 1.1rem;
        /* Slightly smaller headings */
    }

    .site-footer p,
    .footer-links li a {
        font-size: 0.9rem;
        /* Smaller text for better fit */
    }

    .footer-bottom {
        font-size: 0.85rem;
        /* Smaller footer text */
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-title h1 {
        font-size: 1.3rem;
        text-align: center;
    }

    .header-title h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .emblem-india {
        height: 60px;
    }

    .intro-text h2,
    .section-title {
        font-size: 2rem;
    }

    .site-footer {
        padding: 30px 0 15px;
        /* Further reduce padding */
    }

    .footer-grid {
        gap: 20px;
        /* Smaller gap for compact layout */
    }

    .site-footer h4 {
        font-size: 1rem;
        /* Even smaller headings */
    }

    .site-footer p,
    .footer-links li a {
        font-size: 0.85rem;
        /* Smaller text */
    }
}

/* about page styling

.section-header {
    text-align: center;
    margin-bottom: 50px;
    }
    
    .section-header .section-tagline {
    margin: 0 auto 8px auto;
    }
    
    .section-header .section-title {
    margin-top: 0;
    margin-bottom: 0;
    }
    /* --- 1. Color Palette & Fonts --- */
/* :root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --green: #138808;
    --navy: #0B3D91;
    --gray: #6C757D;
    --light-gray-bg: #f1f1f1;
    --light-gray-menu: #f1f3f5;
    --border-color: #dee2e6;
    }
    
    /* --- 2. Global Reset & Base Styles --- */
/* body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--navy);
    }
    body.no-scroll {
    overflow: hidden;
    }
    
    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    }
    
    p {
    color: var(--gray);
    line-height: 1.8;
    }
    
    /* --- 3. Government of Maharashtra Top Bar --- */
/* .top-government-bar {
    background-color: var(--light-gray-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 0.8rem;
    }
    
    .top-government-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .gov-links a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: 500;
    }
    .gov-links a:first-child {
    border-right: 1px solid #ccc;
    }
    
    .gov-links a:hover {
    text-decoration: underline;
    }
    
    .gov-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    }
    
    .gov-icons a, .gov-icons button {
    color: #333;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    } 
    .gov-icons a:hover, .gov-icons button:hover {
    opacity: 0.7;
    }
    
    .gov-icons svg {
    width: 18px;
    height: 18px;
    fill: #333;
    }
    .translate-btn {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    } */

/* --- 4. Main Header Section --- */
/* .site-header {
    background-color: var(--white);
    padding: 20px 0;
    }
    
    .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    }
    
    .emblem-india {
    height: 70px;
    }
    
    .header-title h1, .header-title h2 {
    margin: 0;
    line-height: 1.3;
    }
    
    .header-title h1 {
    font-family: var(--font-marathi);
    font-size: 1.5rem;
    font-weight: 500;
    }
    
    .header-title h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray);
    }
    /* --- 5. Main Navigation Bar --- */
/* .main-navigation {
    background-color: var(--navy);
    border-top: 3px solid var(--saffron);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
    }
    .main-navigation.sticky {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    } */

/* .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    }
    
    .main-menu > li { position: relative; }
    .main-menu > li > a {
    display: block; padding: 16px 20px; text-decoration: none; color: var(--white);
    font-weight: 500; font-size: 1rem; position: relative; opacity: 0.9;
    transition: opacity 0.3s ease, color 0.3s ease;
    } */
/* .has-dropdown > a::after { content: ' ▾'; font-size: 0.8em; display: inline-block; transition: transform 0.2s ease; }
    .dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; background-color: var(--white);
    list-style: none; padding: 5px 0; margin: 0; min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); z-index: 1000; border-radius: 4px; border: 1px solid var(--light-gray-menu);
    }
    .dropdown-menu li a {
    padding: 12px 20px; display: block; text-decoration: none; color: var(--navy);
    font-size: 0.95rem; transition: background-color 0.2s, color 0.2s;
    }
    .dropdown-menu li a:hover { background-color: var(--light-gray-menu); color: var(--saffron); }
    .has-dropdown:hover > a::after { transform: rotate(180deg); }
    .has-dropdown:hover .dropdown-menu { display: block; }  */
/* --- 6. Alerts & Notices Ticker --- */
/* .notice-ticker {
    background-color: var(--light-gray-bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    }
    .ticker-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    }
    .ticker-label {
    flex-shrink: 0;
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 20px;
    font-size: 0.85rem;
    }
    .ticker-wrap {
    flex-grow: 1;
    white-space: nowrap;
    }
    .ticker-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    }
    .ticker-item {
    display: inline-block;
    margin-right: 40px;
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
    }
    .ticker-wrap:hover .ticker-content {
    animation-play-state: paused;
    }
    @keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
    } */


/* --- 7. Hamburger & Mobile Menu --- */
/* .hamburger-menu { display: none; }
    .mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(248, 249, 250, 0.98); backdrop-filter: blur(5px);
    z-index: 1000; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto; padding: 100px 20px 40px;
    }
    .mobile-nav-overlay.active { opacity: 1; visibility: visible; }
    .mobile-nav-overlay .main-menu { flex-direction: column; text-align: left; width: 100%; }
    .mobile-nav-overlay .main-menu > li > a { font-size: 1.5rem; padding: 15px 0; color: var(--navy); border-bottom: 1px solid #e0e0e0; width: 100%; display: flex; justify-content: space-between; }
    .mobile-nav-overlay .has-dropdown.open > a::after { transform: rotate(180deg); }
    .mobile-nav-overlay .dropdown-menu { display: none; position: static; box-shadow: none; border: none; padding-left: 20px; background-color: transparent; }
    .mobile-nav-overlay .has-dropdown.open .dropdown-menu { display: block; }
    .mobile-nav-overlay .dropdown-menu li a { font-size: 1.2rem; color: var(--gray); padding: 10px 0; border-bottom: none; }
     */
/* --- 8. Page-Specific Sections (About Page) --- */
.page-hero-section {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.page-hero-section h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.content-section {
    padding: 80px 0;
    background-color: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tagline {
    color: var(--saffron);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
}

.text-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 20px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--saffron);
    /* Changed to saffron */
    margin-bottom: 30px;
}

.vision-mission-section {
    margin-top: 40px;
}

.vision-mission-section ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.vision-mission-section li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.vision-mission-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23138808'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E");
    background-size: contain;
}

.image-content {
    margin-top: 40px;
    /* Offset the image */
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 10px solid var(--white);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* --- 13.5. Famous Places Section --- */
.famous-places-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.famous-places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.place-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.place-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.place-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.place-card:hover .place-image img {
    transform: scale(1.15) rotate(2deg);
}

.place-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(11, 61, 145, 0.85) 0%,
            rgba(255, 153, 51, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.place-card:hover .place-overlay {
    opacity: 1;
}

.place-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0) rotate(-180deg);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.place-card:hover .place-icon {
    transform: scale(1) rotate(0deg);
}

.place-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--saffron);
}

.place-content {
    padding: 30px 28px;
}

.place-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.place-card:hover .place-content h3 {
    color: var(--saffron);
}

.place-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Responsive Design for Famous Places */
@media (max-width: 1024px) {
    .famous-places-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .famous-places-section {
        padding: 60px 0;
    }

    .famous-places-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .place-image {
        height: 240px;
    }

    .place-content {
        padding: 25px 22px;
    }

    .place-content h3 {
        font-size: 1.3rem;
    }

    .place-content p {
        font-size: 0.9rem;
    }
}

/* --- 14. Demographics Section --- */
.demographics-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.demographics-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--navy);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

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

.stat-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-icon {
    margin: 0 auto 15px auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(11, 61, 145, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--navy);
}

.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--navy);
}

.stat-card span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modern Stats Grid */
.modern-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.modern-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 28px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.modern-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.stat-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.modern-stat-card:hover .stat-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}

.stat-icon-wrapper svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Icon Color Variants */
.stat-icon-wrapper.population {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
}

.stat-icon-wrapper.households {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.35);
}

.stat-icon-wrapper.shg {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.35);
}

.stat-icon-wrapper.ratio {
    background: linear-gradient(135deg, #E91E63 0%, #F48FB1 100%);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.35);
}

.stat-icon-wrapper.tax {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.35);
}

.stat-icon-wrapper.budget {
    background: linear-gradient(135deg, #00BCD4 0%, #4DD0E1 100%);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.35);
}

.stat-icon-wrapper.odf {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}

.stat-icon-wrapper.immunization {
    background: linear-gradient(135deg, #FF5722 0%, #FF8A65 100%);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.35);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    text-align: left;
}

.stat-label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    text-align: left;
}

.stat-sub {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
    text-align: left;
}

/* Responsive Design for Modern Stats */
@media (max-width: 1200px) {
    .modern-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-stats-grid {
        grid-template-columns: 1fr;
    }

    .modern-stat-card {
        padding: 22px 18px;
    }

    .stat-icon-wrapper {
        width: 55px;
        height: 55px;
    }

    .stat-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }

    .stat-number {
        font-size: 0.9rem;
    }
}

.literacy-chart {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.bar-container {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-container:last-child {
    margin-bottom: 0;
}

.bar-label {
    flex-basis: 80px;
    flex-shrink: 0;
    text-align: right;
    font-weight: 500;
}

.bar {
    flex-grow: 1;
    height: 30px;
    background-color: var(--light-gray-bg);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    width: 0;
    /* Initially 0, animated by JS */
    height: 100%;
    background: linear-gradient(to right, var(--green), #18a510);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: 700;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.population-table-container {
    overflow-x: auto;
    /* For responsiveness */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    /* To apply border-radius to table */
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table thead th {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}

.data-table tbody tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
}

/* Modern Data Sections - Population, Growth, Livestock, Waste */
.modern-data-section {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.data-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.data-section-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.data-section-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.data-section-icon.population-icon {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
}

.data-section-icon.growth-icon {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.35);
}

.data-section-icon.livestock-icon {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.35);
}

.data-section-icon.waste-organic-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}

.data-section-icon.waste-inorganic-icon {
    background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%);
    box-shadow: 0 8px 20px rgba(158, 158, 158, 0.35);
}

.data-section-title h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
}

.data-section-title p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.data-table-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Year badges for growth table */
.year-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.year-badge.y2011 {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 2px 6px rgba(11, 61, 145, 0.4);
}

.year-badge.y2021 {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 2px 6px rgba(19, 136, 8, 0.4);
}

.year-badge.projected {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 2px 6px rgba(255, 153, 51, 0.4);
}

.highlight-row {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.05) 0%, rgba(255, 153, 51, 0.05) 100%);
}

.projected-row {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.08) 0%, rgba(255, 153, 51, 0.03) 100%);
}

.table-note-styled {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.table-note-styled svg {
    width: 18px;
    height: 18px;
    fill: var(--saffron);
    flex-shrink: 0;
}

/* Count cell status colors */
.count-cell.success {
    color: #4CAF50 !important;
}

.count-cell.warning {
    color: #FF9800 !important;
}

.count-cell.danger {
    color: #f44336 !important;
}

.count-cell.highlight {
    color: var(--saffron) !important;
    font-weight: 800 !important;
}

.sr-cell {
    font-weight: 600;
    color: var(--navy);
    text-align: center;
}

/* Livestock Cards */
.livestock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.livestock-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 14px;
    transition: all 0.4s ease;
}

.livestock-card:hover {
    transform: translateY(-8px);
}

.livestock-card.cattle {
    background: linear-gradient(135deg, #8D6E63 0%, #A1887F 100%);
    box-shadow: 0 10px 25px rgba(141, 110, 99, 0.3);
}

.livestock-card.goats {
    background: linear-gradient(135deg, #78909C 0%, #90A4AE 100%);
    box-shadow: 0 10px 25px rgba(120, 144, 156, 0.3);
}

.livestock-card.others {
    background: linear-gradient(135deg, #FF8A65 0%, #FFAB91 100%);
    box-shadow: 0 10px 25px rgba(255, 138, 101, 0.3);
}

.livestock-icon {
    font-size: 3rem;
}

.livestock-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.livestock-count {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.livestock-label {
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.livestock-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.livestock-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.25);
}

.total-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.total-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Data Sections */
@media (max-width: 1024px) {
    .livestock-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .livestock-card.others {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .livestock-cards {
        grid-template-columns: 1fr;
    }

    .livestock-card.others {
        grid-column: span 1;
    }

    .modern-data-section {
        padding: 25px 20px;
    }

    .data-section-header {
        flex-direction: column;
        text-align: center;
    }

    .data-table-wrapper {
        padding: 15px;
        overflow-x: auto;
    }

    .livestock-total {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Modern Sanitation Section */
.modern-sanitation-section {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.sanitation-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.sanitation-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.35);
}

.sanitation-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.sanitation-title h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
}

.sanitation-title p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.sanitation-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.sanit-overview-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-radius: 14px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sanit-overview-card:hover {
    transform: translateY(-6px);
}

.sanit-overview-card.total {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.25);
}

.sanit-overview-card.success {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.25);
}

.sanit-overview-card.warning {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.25);
}

.sanit-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sanit-card-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.sanit-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sanit-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.sanit-card-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.sanit-percentage {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Poppins', sans-serif;
}

.sanitation-table-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.sanitation-table-wrapper h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 20px 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sanitation-table-wrapper h4 svg {
    width: 24px;
    height: 24px;
    fill: var(--saffron);
}

.modern-data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.modern-data-table thead th {
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.modern-data-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease;
}

.modern-data-table tbody tr:hover {
    background: rgba(255, 153, 51, 0.08);
}

.modern-data-table td {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: #333;
}

.modern-data-table td:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-badge {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-badge.single-pit {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 2px 6px rgba(255, 153, 51, 0.4);
}

.tech-badge.double-pit {
    background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%);
    box-shadow: 0 2px 6px rgba(158, 158, 158, 0.4);
}

.tech-badge.septic {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
}

.count-cell {
    font-weight: 700;
    color: var(--navy);
    text-align: center;
}

.percentage-cell {
    font-weight: 600;
    color: var(--saffron);
    text-align: center;
}

.modern-data-table tfoot tr {
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.05) 0%, rgba(255, 153, 51, 0.05) 100%);
}

.modern-data-table tfoot td {
    padding: 16px 20px;
    font-weight: 700;
}

/* Responsive Sanitation */
@media (max-width: 1024px) {
    .sanitation-overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .sanit-overview-card.total {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .sanitation-overview-cards {
        grid-template-columns: 1fr;
    }

    .sanit-overview-card.total {
        grid-column: span 1;
    }

    .modern-sanitation-section {
        padding: 25px 20px;
    }

    .sanitation-header {
        flex-direction: column;
        text-align: center;
    }

    .sanit-percentage {
        position: static;
        transform: none;
        margin-left: auto;
    }
}

/* Modern About Section - History & Vision/Mission */
.modern-about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.modern-history-section {
    margin-bottom: 80px;
}

.history-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.history-main-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.history-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    color: white;
}

.history-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.history-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.history-card-content {
    padding: 30px;
}

.history-card-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.history-card-content p:last-child {
    margin-bottom: 0;
}

/* History Timeline */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--saffron);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(255, 153, 51, 0.5);
}

.timeline-year {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    min-width: 70px;
    font-family: 'Poppins', sans-serif;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* History Stats Bar */
.history-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
}

.history-stat {
    text-align: center;
    color: white;
}

.history-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
}

.history-stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* History Map Container */
.history-map-container {
    margin-top: 40px;
}

.map-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    color: white;
}

.map-header svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.map-header span {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.village-map-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Modern Vision & Mission */
.modern-vision-mission {
    margin-top: 60px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.vm-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    color: white;
}

.vm-card.vision .vm-card-header {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.vm-card.mission .vm-card-header {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vm-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.vm-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.vm-card-content {
    padding: 30px;
}

.vm-card-content p {
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.vm-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vm-highlights li {
    background: linear-gradient(135deg, rgba(19, 136, 8, 0.1) 0%, rgba(27, 157, 15, 0.1) 100%);
    color: #138808;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(19, 136, 8, 0.2);
}

.vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vm-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vm-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.vm-list li span:not(.vm-check) {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Modern About Section */
@media (max-width: 1024px) {
    .history-content-grid {
        grid-template-columns: 1fr;
    }

    .history-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-about-section {
        padding: 50px 0;
    }

    .sanitation-table-wrapper {
        padding: 15px;
    }

    .modern-history-section {
        display: flex;
        flex-direction: column;
    }

    .modern-history-section .section-header {
        order: 1;
    }

    .history-map-container {
        order: 2;
        margin-bottom: 30px;
    }

    .history-content-grid {
        display: flex;
        flex-direction: column;
        order: 3;
    }

    .history-card-header,
    .vm-card-header {
        padding: 20px;
    }

    .history-card-content,
    .vm-card-content {
        padding: 20px;
    }

    .history-stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .history-stat .stat-value {
        font-size: 1.5rem;
    }

    .vm-highlights {
        flex-direction: column;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-item::before {
        display: none;
    }
}

/* Modern Village Facilities Section */
.village-facilities-modern {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.facilities-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.facility-modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.facility-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.facility-modern-card.full-width {
    grid-column: span 2;
}

.facility-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 30px;
    color: white;
}

.facility-card-header.polling {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
}

.facility-card-header.transport {
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
}

.facility-card-header.education {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.facility-card-header.schools {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.facility-card-header.health {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.facility-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facility-card-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.facility-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.facility-card-content {
    padding: 25px 30px;
}

/* Polling Stations List */
.facility-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-list-modern li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.facility-list-modern li:last-child {
    border-bottom: none;
}

.booth-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.facility-list-modern li span:not(.booth-number) {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Transport Section */
.transport-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.transport-section:last-child {
    border-bottom: none;
}

.transport-mode {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.transport-icon {
    font-size: 1.5rem;
}

.transport-mode h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.transport-section p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.station-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.station-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #444;
    font-size: 0.9rem;
}

.station-list li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #2196F3;
    border-radius: 50%;
}

/* Institution Items */
.institution-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.institution-item:last-child {
    border-bottom: none;
}

.institution-item h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
}

.institution-address {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Health Centers Grid */
.health-centers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.health-center-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.health-center-item:hover {
    background: #f0f4f8;
    transform: translateY(-4px);
}

.health-center-badge {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
}

.health-center-badge.phc {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.health-center-badge.sub-center {
    background: linear-gradient(135deg, #00BCD4 0%, #4DD0E1 100%);
}

.health-center-info h4 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
}

.health-type {
    font-size: 0.8rem;
    color: #138808;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.health-address {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Village Facilities */
@media (max-width: 1024px) {
    .facilities-modern-grid {
        grid-template-columns: 1fr;
    }

    .facility-modern-card.full-width {
        grid-column: span 1;
    }

    .health-centers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .village-facilities-modern {
        padding: 50px 0;
    }

    .facility-card-header {
        padding: 20px;
    }

    .facility-card-content {
        padding: 20px;
    }

    .facility-card-header h3 {
        font-size: 1.1rem;
    }

    .health-center-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Modern Finance Section */
.modern-finance-section {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.finance-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.finance-header-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BCD4 0%, #4DD0E1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.35);
}

.finance-header-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.finance-header-content h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
}

.finance-header-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.finance-stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.finance-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    border-radius: 14px;
    position: relative;
    transition: all 0.4s ease;
}

.finance-stat-card:hover {
    transform: translateY(-8px);
}

.finance-stat-card.budget {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.3);
}

.finance-stat-card.tax {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 10px 25px rgba(19, 136, 8, 0.3);
}

.finance-stat-card.grants {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.finance-stat-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.finance-stat-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.finance-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.finance-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
}

.finance-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.finance-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.finance-badge.success {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.budget-allocation-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.budget-allocation-section h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 25px 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.budget-allocation-section h4 svg {
    width: 24px;
    height: 24px;
    fill: var(--saffron);
}

.allocation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.allocation-item {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.allocation-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.allocation-label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.allocation-percent {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
}

.allocation-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.allocation-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.6s ease;
}

.allocation-fill.water {
    background: linear-gradient(90deg, #0B3D91 0%, #1565C0 100%);
}

.allocation-fill.sanitation {
    background: linear-gradient(90deg, #138808 0%, #1B9D0F 100%);
}

.allocation-fill.roads {
    background: linear-gradient(90deg, #FF9933 0%, #FFB366 100%);
}

.allocation-fill.other {
    background: linear-gradient(90deg, #9E9E9E 0%, #BDBDBD 100%);
}

.allocation-amount {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Finance Section */
@media (max-width: 1024px) {
    .finance-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .finance-stat-card.grants {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .finance-stats-cards {
        grid-template-columns: 1fr;
    }

    .finance-stat-card.grants {
        grid-column: span 1;
    }

    .allocation-grid {
        grid-template-columns: 1fr;
    }

    .modern-finance-section {
        padding: 25px 20px;
    }

    .finance-section-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Modern Village Info Section */
.modern-village-info {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.modern-village-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.village-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-category-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.info-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.category-header {
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.category-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.info-category-card:hover .category-icon {
    transform: rotate(360deg) scale(1.1);
}

.category-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.category-icon.location {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
}

.category-icon.agriculture {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 5px 15px rgba(19, 136, 8, 0.4);
}

.category-icon.demographics {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.category-icon.political {
    background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.category-icon.postal {
    background: linear-gradient(135deg, #00BCD4 0%, #4DD0E1 100%);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.category-header h4 {
    font-size: 1.2rem;
    color: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.category-content {
    padding: 25px 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-row:last-child {
    border-bottom: none;
}

.row-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.row-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 700;
    text-align: right;
    max-width: 50%;
}

.row-value.highlight {
    color: var(--saffron);
    font-size: 1.05rem;
}

/* Responsive Design for Village Info */
@media (max-width: 1024px) {
    .village-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .village-info-grid {
        grid-template-columns: 1fr;
    }

    .modern-village-info {
        padding: 25px 20px;
    }

    .category-header {
        padding: 20px;
    }

    .category-content {
        padding: 20px;
    }

    .row-value {
        max-width: 60%;
    }
}

/* Modern Wards Section */
.modern-wards {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.modern-wards h3,
.modern-education h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ward-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.ward-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.ward-header {
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ward-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}

.ward-badge {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ward-badge svg {
    width: 28px;
    height: 28px;
    fill: var(--saffron);
}

.ward-content {
    padding: 25px 30px;
}

.ward-content h4 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.ward-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.05) 0%, rgba(255, 153, 51, 0.05) 100%);
    border-radius: 8px;
}

.ward-info .info-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.ward-info .info-value {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

/* Modern Education Section */
.modern-education {
    margin-top: 50px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.education-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.edu-institution-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.edu-institution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 61, 145, 0.12);
    border-color: var(--saffron);
}

.edu-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.edu-institution-card:hover .edu-card-icon {
    transform: rotate(360deg) scale(1.1);
}

.edu-card-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.edu-card-icon.zp-school {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
}

.edu-card-icon.vasant {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.3);
}

.edu-card-icon.convent {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.3);
}

.edu-card-icon.anganwadi {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

.edu-card-content h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.edu-level {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.edu-count {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
}

/* Literacy Section */
.literacy-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed rgba(11, 61, 145, 0.1);
}

.literacy-section h4 {
    font-size: 1.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.literacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.literacy-card {
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
}

.literacy-card:hover {
    transform: translateY(-8px);
}

.literacy-card.overall {
    background: linear-gradient(135deg, var(--navy) 0%, #0b4991 100%);
    box-shadow: 0 12px 30px rgba(11, 61, 145, 0.25);
}

.literacy-card.overall .literacy-value,
.literacy-card.overall .literacy-label {
    color: white;
}

.literacy-card.male {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
    border: 2px solid rgba(11, 61, 145, 0.1);
}

.literacy-card.female {
    background: linear-gradient(135deg, #fff8f0 0%, #fff2e6 100%);
    border: 2px solid rgba(255, 153, 51, 0.2);
}

.literacy-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.literacy-card.male .literacy-icon svg {
    fill: var(--navy);
}

.literacy-card.female .literacy-icon svg {
    fill: var(--saffron);
}

.literacy-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.literacy-card.female .literacy-value {
    color: var(--saffron);
}

.literacy-label {
    font-size: 1rem;
    color: #666;
    margin-top: 8px;
    font-weight: 600;
}

.literacy-count {
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
}

/* Responsive Design for Wards & Education */
@media (max-width: 1024px) {
    .wards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .literacy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .wards-grid,
    .education-cards-grid {
        grid-template-columns: 1fr;
    }

    .modern-wards,
    .modern-education {
        padding: 25px 20px;
    }

    .ward-header {
        padding: 20px;
    }

    .ward-number {
        font-size: 2.5rem;
    }

    .literacy-value {
        font-size: 2rem;
    }
}

.table-container {
    overflow-x: auto;
    /* Makes table responsive on small screens */
}

/* Optional: Center text in the data table for a cleaner look */
.data-table th,
.data-table td {
    text-align: center;
}

.data-table td:first-child,
.data-table th:first-child {
    text-align: left;
    /* Keep first column left-aligned */
}

/* --- 16. Finance Overview Div --- */
.finance-overview {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.finance-overview h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--navy);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.finance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finance-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.finance-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--navy);
}

.finance-info strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.1rem;
}

.finance-info .finance-value {
    color: var(--gray);
    font-size: 1.3rem;
    font-weight: 700;
}

.finance-chart-container {
    text-align: center;
}

.donut-chart {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    position: relative;
    background: conic-gradient(var(--navy) 0% 30%,
            var(--green) 30% 55%,
            var(--saffron) 55% 75%,
            var(--gray) 75% 100%);
}

.donut-chart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-color: var(--white);
    border-radius: 50%;
}

.chart-legend {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.chart-legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.chart-legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Responsive adjustments for finance grid */
@media (max-width: 992px) {
    .finance-grid {
        grid-template-columns: 1fr;
    }

    .finance-details {
        margin-bottom: 40px;
    }
}

/* --- 17. Educational Overview Div --- */
.education-overview {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.education-overview h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--navy);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-list li:last-child {
    margin-bottom: 0;
}

.icon-list-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-list-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--navy);
}

.icon-list-info strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--navy);
    font-size: 1.1rem;
}

.icon-list-info .icon-list-value {
    color: var(--gray);
    font-size: 1.3rem;
    font-weight: 700;
}

.education-chart-container h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar-group {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: var(--light-gray-bg);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0;
    /* Animated by JS */
    height: 100%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    box-sizing: border-box;
    font-size: 0.8rem;
    font-weight: 700;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Responsive adjustments for education grid */
@media (max-width: 992px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-details {
        margin-bottom: 40px;
    }
}

/* --- New Section: Our Team --- */
.team-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

/* Modern Team Section */
.modern-team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.leader-photo {
    position: relative;
    padding: 30px 30px 0;
}

.leader-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--navy);
    transition: all 0.3s ease;
}

.leader-badge {
    position: absolute;
    bottom: 10px;
    right: calc(50% - 110px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leader-card.sarpanch .leader-badge {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.leader-card.upsarpanch .leader-badge {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.leader-card.sachiv .leader-badge {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.leader-badge svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.leader-info {
    padding: 25px 20px 30px;
}

.leader-role {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.leader-card.sarpanch .leader-role {
    background: rgba(255, 153, 51, 0.15);
    color: #FF9933;
}

.leader-card.upsarpanch .leader-role {
    background: rgba(19, 136, 8, 0.15);
    color: #138808;
}

.leader-card.sachiv .leader-role {
    background: rgba(11, 61, 145, 0.15);
    color: #0B3D91;
}

.leader-info h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Members Subtitle */
.members-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 60px 0 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Members Modern Grid */
.members-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.member-modern-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.member-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.member-photo {
    padding: 20px 20px 0;
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--navy);
    transition: all 0.3s ease;
}

.member-details {
    padding: 15px 15px 20px;
}

.member-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 153, 51, 0.15);
    color: #FF9933;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.member-details h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive Modern Team */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .members-modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-team-section {
        padding: 50px 0;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 50px auto 0;
    }

    .members-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-photo img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .members-modern-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
}


.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tagline {
    color: var(--saffron);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 auto 8px auto;
    display: block;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-top: 0;
    margin-bottom: 0;
}

/* Key Members Grid Styles */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.member-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.member-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 2px var(--navy);
    margin-bottom: 20px;
}

.member-info h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    margin: 10px 0 5px;
    font-size: 1.4rem;
}

.member-info h4 {
    color: var(--saffron);
    font-weight: 500;
    font-size: 1rem;
    margin: 0 0 20px;
    font-family: var(--font-body);
}

.member-contact {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    font-size: 0.9rem;
    max-width: 250px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.member-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--gray);
}

.member-contact svg {
    width: 16px;
    height: 16px;
    fill: var(--navy);
    flex-shrink: 0;
}

/* Government Employees Table Styles */
.subsection-title {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--navy);
    margin-top: 80px;
    /* Space between cards and table */
    margin-bottom: 30px;
    font-size: 1.8rem;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table thead th {
    background-color: var(--navy);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.data-table tbody tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}

.data-table tbody tr:hover {
    background-color: rgba(255, 153, 51, 0.1);
}

.team-section .data-table th:first-child,
.team-section .data-table td:first-child,
.team-section .data-table td:last-child {
    text-align: center;
}

/* Changes icon fill color to saffron in all stat sections */
.stat-card .stat-icon svg,
.finance-icon svg,
.icon-list-icon svg,
.stat-icon svg {
    fill: var(--saffron);
}

/* --- 9. Responsive Design --- */
@media (max-width: 1024px) {
    .main-menu {
        display: none;
    }

    .nav-content {
        justify-content: flex-end;
        padding: 10px 0;
    }

    .hamburger-menu {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-menu span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--white);
        border-radius: 3px;
        left: 0;
        transition: all 0.25s ease-in-out;
    }

    .hamburger-menu span:nth-child(1) {
        top: 0px;
    }

    .hamburger-menu span:nth-child(2) {
        top: 9px;
    }

    .hamburger-menu span:nth-child(3) {
        top: 18px;
    }

    .hamburger-menu.active span {
        background: var(--navy);
    }

    .hamburger-menu.active span:nth-child(1) {
        top: 9px;
        transform: rotate(135deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        left: -30px;
    }

    .hamburger-menu.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-135deg);
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .image-content {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .gov-icons {
        display: flex;
    }

    .gov-icons a {
        display: none;
        /* Hide search and sitemap icons */
    }

    .top-government-bar .container {
        justify-content: space-between;
    }

    .ticker-label {
        display: none;
    }

    .image-content {
        margin-top: 20px;
        /* Reduce offset on mobile */
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-title h1 {
        font-size: 1.3rem;
        text-align: center;
    }

    .header-title h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .emblem-india {
        height: 60px;
    }

    .page-hero-section h1 {
        font-size: 2rem;
    }

    .text-content h3 {
        font-size: 1.8rem;
    }
}

/* Sarpanch Message Section */
.sarpanch-message-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
}

/* Modern Sarpanch Section */
.modern-sarpanch-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.sarpanch-modern-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    margin-top: 50px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.sarpanch-card-left {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sarpanch-photo-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.sarpanch-photo-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--saffron);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sarpanch-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.5);
}

.sarpanch-badge svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.sarpanch-info h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
}

.sarpanch-role {
    display: inline-block;
    padding: 8px 25px;
    background: rgba(255, 153, 51, 0.9);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sarpanch-location {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.sarpanch-card-right {
    padding: 50px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1) 0%, rgba(255, 179, 102, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--saffron);
}

.message-content {
    padding-right: 60px;
}

.message-content p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.message-content p:first-child {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 500;
}

.message-signature {
    margin-top: 30px;
    padding-top: 20px;
}

.signature-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron) 0%, transparent 100%);
    margin-bottom: 15px;
}

.message-signature span {
    color: var(--navy);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Modern Sarpanch */
@media (max-width: 1024px) {
    .sarpanch-modern-card {
        grid-template-columns: 1fr;
    }

    .sarpanch-card-left {
        padding: 40px;
    }

    .sarpanch-card-right {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .modern-sarpanch-section {
        padding: 50px 0;
    }

    .sarpanch-modern-card {
        gap: 0;
    }

    .sarpanch-card-left {
        padding: 30px;
    }

    .sarpanch-photo-wrapper img {
        width: 140px;
        height: 140px;
    }

    .sarpanch-badge {
        width: 40px;
        height: 40px;
    }

    .sarpanch-badge svg {
        width: 20px;
        height: 20px;
    }

    .sarpanch-card-right {
        padding: 30px;
    }

    .quote-icon {
        display: none;
    }

    .message-content {
        padding-right: 0;
    }
}


.sarpanch-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-left: 6px solid var(--saffron);
}

.sarpanch-photo {
    text-align: center;
}

.sarpanch-photo img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid var(--saffron);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sarpanch-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 15px 0 5px 0;
    font-weight: 600;
}

.sarpanch-designation {
    color: var(--saffron);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.sarpanch-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sarpanch-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
    text-align: justify;
}

.sarpanch-signature h4 {
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: right;
    margin: 0;
}

@media (max-width: 768px) {
    .sarpanch-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .sarpanch-photo img {
        width: 180px;
        height: 225px;
    }

}

/* --- Scheme Details Modal --- */
.scheme-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.scheme-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.scheme-modal-container {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.scheme-modal-overlay.active .scheme-modal-container {
    transform: translateY(0);
}

.scheme-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scheme-modal-close:hover {
    background: #f8f9fa;
    color: #ff4757;
    transform: rotate(90deg);
}

/* Modal Header */
.scheme-modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.scheme-modal-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.scheme-modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scheme-modal-title-group {
    flex: 1;
}

.scheme-badge {
    display: inline-block;
    background: var(--saffron);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scheme-modal-title-group h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.scheme-year-tag {
    font-size: 0.9rem;
    color: #666;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

/* Modal Body */
.scheme-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.scheme-modal-section {
    margin-bottom: 25px;
}

.scheme-modal-section h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.scheme-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

/* List Styles */
.scheme-list-check,
.scheme-list-star,
.scheme-list-doc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scheme-list-check li,
.scheme-list-star li,
.scheme-list-doc li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.scheme-list-check li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--green);
    font-weight: bold;
}

.scheme-list-star li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--saffron);
}

.scheme-list-doc li::before {
    content: '📄';
    position: absolute;
    left: 0;
    top: 2px;
}

.high-priority {
    background: #fff8e1;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--saffron);
}

.high-priority h3 {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Modal Footer */
.scheme-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    background: white;
}

/* View Details Button */
.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
}

.btn-view-details:hover {
    background: var(--navy);
    color: white;
}

.scheme-actions {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scheme-modal-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .scheme-modal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .scheme-modal-close {
        top: 10px;
        right: 10px;
    }

    .scheme-modal-title-group h2 {
        font-size: 1.3rem;
    }
}

/* --- Gallery Empty State --- */
.gallery-empty-state {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-state-illustration {
    margin-bottom: 40px;
    animation: float 3s ease-in-out infinite;
}

.empty-state-illustration svg {
    stroke: var(--saffron);
    opacity: 0.3;
    filter: drop-shadow(0 10px 20px rgba(255, 103, 31, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.empty-state-content {
    max-width: 600px;
    margin-bottom: 50px;
}

.empty-state-content h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.empty-state-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Admin Upload Prompt */
.admin-upload-prompt {
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
    border: 2px dashed rgba(255, 103, 31, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-upload-prompt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 103, 31, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.admin-upload-prompt:hover::before {
    opacity: 1;
}

.admin-upload-prompt:hover {
    border-color: var(--saffron);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 103, 31, 0.15);
}

.upload-prompt-icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.upload-prompt-icon svg {
    stroke: var(--saffron);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.admin-upload-prompt h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.admin-upload-prompt p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--saffron);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 103, 31, 0.3);
    position: relative;
    z-index: 1;
}

.admin-login-btn:hover {
    background: #e55a1f;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(255, 103, 31, 0.4);
}

.admin-login-btn svg {
    transition: transform 0.3s ease;
}

.admin-login-btn:hover svg {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-empty-state {
        padding: 60px 20px;
        min-height: 50vh;
    }

    .empty-state-illustration svg {
        width: 150px;
        height: 150px;
    }

    .empty-state-content h2 {
        font-size: 2rem;
    }

    .empty-state-content p {
        font-size: 1rem;
    }

    .admin-upload-prompt {
        padding: 30px 20px;
    }

    .upload-prompt-icon svg {
        width: 40px;
        height: 40px;
    }

    .admin-upload-prompt h3 {
        font-size: 1.3rem;
    }

    .admin-upload-prompt p {
        font-size: 0.95rem;
    }
}

/* --- Public Services Page Styles --- */
.services-intro-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-intro-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--saffron);
}

.services-intro-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

.services-section {
    padding: 80px 0;
    background: white;
}

.services-section.alt-bg {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11, 61, 145, 0.15);
    border-color: var(--saffron);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.service-fee {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-time {
    color: var(--gray);
    font-size: 0.85rem;
}

/* How to Apply Section */
.how-to-apply-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.how-to-apply-section .section-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.how-to-apply-section .section-title {
    color: white !important;
}

.apply-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.apply-step-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--saffron);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: 'Poppins', sans-serif;
}

.apply-step-card h3 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.apply-step-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .apply-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .apply-steps-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Download Button in Service Card */
.btn-download-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download-form:hover {
    background: linear-gradient(135deg, #1565C0 0%, #0B3D91 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 61, 145, 0.3);
}

.btn-download-form svg {
    flex-shrink: 0;
}

/* Service Card Actions Container */
.service-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* View Details Button */
.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #FF6B1A 0%, #FF9933 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.4);
}

.btn-view-details svg {
    flex-shrink: 0;
}

/* Remove cursor pointer from service card itself */
.service-card {
    cursor: default;
}

/* --- Modern How to Apply Section --- */
.how-to-apply-section-modern {
    padding: 80px 0;
    background: var(--off-white);
}

.apply-steps-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.apply-step-modern-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 2px solid transparent;
}

.apply-step-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11, 61, 145, 0.12);
    border-color: var(--saffron);
}

.step-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.step-icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.step-icon-wrapper.step-1 {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.step-icon-wrapper.step-2 {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.step-icon-wrapper.step-3 {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.step-icon-wrapper.step-4 {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.step-number-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--saffron);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.apply-step-modern-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin: 0 0 12px;
    font-weight: 600;
}

.apply-step-modern-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .apply-steps-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .apply-steps-modern-grid {
        grid-template-columns: 1fr;
    }

    .apply-step-modern-card {
        padding: 25px 20px;
    }
}

/* --- RTI Page Styles --- */

/* RTI Introduction Section */
.rti-intro-section {
    padding: 80px 0;
    background: white;
}

.rti-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.rti-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 20px 0 30px;
}

.rti-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rti-highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--navy);
}

.rti-highlight-item svg {
    width: 24px;
    height: 24px;
    fill: #138808;
    flex-shrink: 0;
}

.rti-act-card {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
}

.rti-act-card .act-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rti-act-card .act-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.rti-act-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.rti-act-card p {
    opacity: 0.9;
    margin: 0 0 25px;
}

.btn-rti-link {
    display: inline-block;
    background: var(--saffron);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-rti-link:hover {
    background: #FF6B1A;
    transform: translateY(-2px);
}

/* PIO Section */
.pio-section {
    padding: 80px 0;
    background: var(--off-white);
}

.pio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pio-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pio-card:hover {
    transform: translateY(-5px);
    border-color: var(--saffron);
}

.pio-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pio-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.pio-icon.pio {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.pio-icon.apio {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.pio-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--navy);
    margin: 0 0 20px;
}

.pio-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pio-details .pio-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.pio-details .pio-designation {
    color: var(--gray);
    margin: 0;
}

.pio-details .pio-contact,
.pio-details .pio-email {
    color: var(--gray);
    margin: 5px 0 0;
}

/* RTI Process Section */
.rti-process-section {
    padding: 80px 0;
    background: white;
}

.rti-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.rti-process-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.rti-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.process-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.process-step-icon.step-1 {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.process-step-icon.step-2 {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.process-step-icon.step-3 {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.process-step-icon.step-4 {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.process-step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: var(--saffron);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.rti-process-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 12px;
}

.rti-process-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* RTI Fee Section */
.rti-fee-section {
    padding: 80px 0;
    background: var(--off-white);
}

.rti-fee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.fee-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.fee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.fee-card.free {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
    color: white;
}

.fee-card .fee-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.fee-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.fee-card.free h4 {
    color: white;
}

.fee-card .fee-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--saffron);
    margin: 0 0 5px;
}

.fee-card.free .fee-amount {
    color: white;
}

.fee-card .fee-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.fee-card.free .fee-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* RTI Timeline Section */
.rti-timeline-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.rti-timeline-section .section-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.rti-timeline-section .section-title {
    color: white !important;
}

.timeline-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.timeline-card.urgent {
    background: rgba(255, 153, 51, 0.3);
    border-color: var(--saffron);
}

.timeline-card .timeline-days {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.timeline-card .timeline-label {
    font-size: 1rem;
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* RTI Download Section */
.rti-download-section {
    padding: 80px 0;
    background: white;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--off-white);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-card:hover {
    background: white;
    border-color: var(--saffron);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.download-card .download-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-card .download-icon.external {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.download-card .download-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.download-card .download-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 5px;
}

.download-card .download-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* RTI Responsive */
@media (max-width: 1024px) {
    .rti-intro-grid {
        grid-template-columns: 1fr;
    }

    .pio-grid,
    .rti-process-grid,
    .rti-fee-grid,
    .timeline-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .pio-grid,
    .rti-process-grid,
    .rti-fee-grid,
    .timeline-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PIO Single Card Design --- */
.pio-single-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 50px auto 0;
}

.pio-photo {
    flex-shrink: 0;
}

.pio-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--saffron);
    box-shadow: 0 5px 20px rgba(255, 153, 51, 0.3);
}

.pio-photo-fallback {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    display: none;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--saffron);
}

.pio-photo-fallback svg {
    width: 70px;
    height: 70px;
    fill: white;
}

.pio-info {
    flex: 1;
}

.pio-badge {
    display: inline-block;
    background: var(--saffron);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pio-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 5px;
}

.pio-role {
    color: var(--gray);
    font-size: 1rem;
    margin: 0 0 20px;
}

.pio-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pio-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.pio-contact-item:hover {
    color: var(--saffron);
}

.pio-contact-item svg {
    width: 22px;
    height: 22px;
    fill: var(--saffron);
    flex-shrink: 0;
}

/* --- Modern Timeline Design --- */
.rti-timeline-section-modern {
    padding: 80px 0;
    background: var(--off-white);
}

.timeline-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.timeline-modern-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-modern-card:hover {
    transform: translateY(-5px);
    border-color: var(--saffron);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.timeline-modern-card.urgent {
    border-color: #E53935;
}

.timeline-modern-card.urgent:hover {
    border-color: #E53935;
}

.timeline-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.timeline-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.timeline-icon-wrapper.step-1 {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.timeline-icon-wrapper.step-2 {
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
}

.timeline-icon-wrapper.step-3 {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.timeline-icon-wrapper.step-4 {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.timeline-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.timeline-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--saffron);
}

.timeline-modern-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 8px;
}

.timeline-modern-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .timeline-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pio-single-card {
        flex-direction: column;
        text-align: center;
    }

    .pio-contact-details {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .timeline-modern-grid {
        grid-template-columns: 1fr;
    }

    .pio-single-card {
        padding: 30px 20px;
    }

    .pio-photo img,
    .pio-photo-fallback {
        width: 120px;
        height: 120px;
    }
}

/* Fix Timeline Value Alignment */
.timeline-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

/* --- Complaints Page Styles --- */

/* Complaints Introduction */
.complaints-intro-section {
    padding: 80px 0;
    background: white;
}

.complaints-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.complaints-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 20px 0 30px;
}

.complaint-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.complaint-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--navy);
}

.complaint-feature-item svg {
    width: 24px;
    height: 24px;
    fill: #138808;
    flex-shrink: 0;
}

.complaint-stats-card {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

/* Complaint Form Section */
.complaint-form-section {
    padding: 80px 0;
    background: var(--off-white);
}

.complaint-form-wrapper {
    max-width: 900px;
    margin: 50px auto 0;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.complaint-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saffron);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.file-hint {
    font-size: 0.85rem;
    color: var(--gray);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit-complaint {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-complaint:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-submit-complaint svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.btn-reset-form {
    background: transparent;
    color: var(--gray);
    border: 2px solid #e0e0e0;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-form:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* Complaint Categories */
.complaint-categories-section {
    padding: 80px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.category-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: var(--saffron);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.category-icon.water {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.category-icon.road {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.category-icon.electricity {
    background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
}

.category-icon.sanitation {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.category-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.category-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Contact Section */
.complaint-contact-section {
    padding: 80px 0;
    background: var(--off-white);
}

.complaint-contact-card {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 10px;
}

.contact-info>p {
    opacity: 0.9;
    margin: 0 0 25px;
}

.contact-methods {
    display: flex;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.contact-method:hover {
    opacity: 0.8;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    fill: var(--saffron);
}

.office-hours {
    text-align: right;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 15px;
}

.office-hours h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin: 0 0 10px;
    opacity: 0.9;
}

.office-hours p {
    margin: 0;
}

.office-hours .hours-time {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .complaints-intro-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .complaint-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .contact-methods {
        justify-content: center;
    }

    .office-hours {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .complaint-form-wrapper {
        padding: 30px 20px;
    }

    .complaint-stats-card {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 2px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* --- Our Works Page Styles --- */

/* Works Stats Section */
.works-stats-section {
    padding: 60px 0;
    background: white;
}

.works-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.works-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--off-white);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.works-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.stat-icon.completed {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.stat-icon.progress {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.stat-icon.sanctioned {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.stat-icon.budget {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Filter Section */
.works-filter-section {
    padding: 30px 0;
    background: var(--off-white);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--saffron);
    color: var(--saffron);
}

.filter-btn.active {
    background: var(--saffron);
    border-color: var(--saffron);
    color: white;
}

/* Works List Section */
.works-list-section {
    padding: 60px 0;
    background: var(--off-white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.work-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.work-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.work-status.completed {
    background: #138808;
}

.work-status.progress {
    background: #FF9933;
}

.work-status.sanctioned {
    background: #0B3D91;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: #138808;
    transition: width 0.5s ease;
}

.work-content {
    padding: 25px;
}

.work-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: var(--navy);
    margin: 0 0 12px;
    line-height: 1.4;
}

.work-description {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0 0 20px;
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    fill: var(--saffron);
}

.meta-item.progress-percent {
    color: #138808;
    font-weight: 600;
}

.work-budget {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.budget-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.budget-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .works-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .works-stats-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* --- Careers Page Styles --- */

/* Careers Introduction */
.careers-intro-section {
    padding: 60px 0;
    background: white;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 20px 0 0;
    max-width: 800px;
}

/* Vacancies Section */
.vacancies-section {
    padding: 80px 0;
    background: var(--off-white);
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.vacancy-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.vacancy-card.closed {
    opacity: 0.7;
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.vacancy-badge {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vacancy-badge.open {
    background: #E8F5E9;
    color: #138808;
}

.vacancy-badge.closed {
    background: #FFEBEE;
    color: #C62828;
}

.vacancy-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray);
}

.vacancy-date svg {
    width: 14px;
    height: 14px;
    fill: var(--gray);
}

.vacancy-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--navy);
    margin: 0 0 15px;
}

.vacancy-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--off-white);
    padding: 6px 12px;
    border-radius: 50px;
}

.detail-item svg {
    width: 16px;
    height: 16px;
    fill: var(--saffron);
}

.vacancy-requirements {
    margin-bottom: 20px;
}

.vacancy-requirements h4 {
    font-size: 0.9rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.vacancy-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vacancy-requirements li {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.vacancy-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--saffron);
    font-weight: bold;
}

.vacancy-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.salary-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.salary-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #138808;
}

.salary-amount span {
    font-size: 0.85rem;
    font-weight: 400;
}

.vacancy-deadline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #E53935;
    margin-bottom: 20px;
}

.vacancy-deadline svg {
    width: 18px;
    height: 18px;
    fill: #E53935;
}

.vacancy-deadline.closed-text {
    color: var(--gray);
}

.vacancy-deadline.closed-text svg {
    fill: var(--gray);
}

.btn-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-apply svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.btn-apply.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-apply.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* No Vacancies */
.no-vacancies-section {
    padding: 80px 0;
    background: var(--off-white);
}

.no-vacancies-card {
    background: white;
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.no-vacancies-card svg {
    width: 80px;
    height: 80px;
    fill: #ccc;
    margin-bottom: 20px;
}

.no-vacancies-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 15px;
}

.no-vacancies-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Careers Contact */
.careers-contact-section {
    padding: 80px 0;
    background: white;
}

.careers-contact-card {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

/* Application Modal */
.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.application-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.application-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.application-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    fill: var(--gray);
    transition: fill 0.3s ease;
}

.modal-close:hover svg {
    fill: var(--navy);
}

.application-modal h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0 0 5px;
}

.modal-position {
    font-size: 1.1rem;
    color: var(--saffron);
    font-weight: 600;
    margin: 0 0 25px;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-submit-application {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-application:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-cancel {
    background: transparent;
    color: var(--gray);
    border: 2px solid #e0e0e0;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* Responsive */
@media (max-width: 1024px) {
    .vacancies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-contact-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .vacancies-grid {
        grid-template-columns: 1fr;
    }

    .application-modal .modal-content {
        padding: 25px;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* Fix Vacancy Header Single Line */
.vacancy-header {
    flex-wrap: nowrap;
    gap: 10px;
}

.vacancy-date {
    white-space: nowrap;
    flex-shrink: 0;
}

.vacancy-badge {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Vacancy Details - Plain List Style */
.vacancy-details {
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Left align vacancy details */
.vacancy-details {
    align-items: flex-start;
}

/* Detail item icons on left */
.detail-item {
    flex-direction: row;
    align-items: center;
}

/* --- Financial Information Page Styles --- */

/* Finance Stats Section */
.finance-stats-section {
    padding: 80px 0;
    background: white;
}

.finance-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.finance-stat-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.finance-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.finance-stat-card .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.finance-stat-card .stat-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.finance-stat-card.total-budget .stat-icon {
    background: linear-gradient(135deg, #0B3D91 0%, #1565C0 100%);
}

.finance-stat-card.grants .stat-icon {
    background: linear-gradient(135deg, #138808 0%, #1B9D0F 100%);
}

.finance-stat-card.expenditure .stat-icon {
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
}

.finance-stat-card.balance .stat-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.stat-content .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

/* Revenue Section */
.revenue-section {
    padding: 80px 0;
    background: var(--off-white);
}

.revenue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.revenue-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.revenue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.revenue-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF9933 0%, #FF6B1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.revenue-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.revenue-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 10px;
}

.revenue-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #138808;
    margin: 0 0 15px;
    display: block;
}

.revenue-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.revenue-fill {
    height: 100%;
    background: linear-gradient(90deg, #138808 0%, #1B9D0F 100%);
    border-radius: 10px;
}

.revenue-percent {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Expenditure Section */
.expenditure-section {
    padding: 80px 0;
    background: white;
}

.expenditure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.expenditure-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 25px 30px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.exp-category {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.exp-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

.expenditure-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0 0 15px;
}

.exp-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.exp-fill {
    height: 100%;
    border-radius: 10px;
}

.exp-fill.infrastructure {
    background: linear-gradient(90deg, #0B3D91 0%, #1565C0 100%);
}

.exp-fill.water {
    background: linear-gradient(90deg, #2196F3 0%, #1976D2 100%);
}

.exp-fill.sanitation {
    background: linear-gradient(90deg, #138808 0%, #1B9D0F 100%);
}

.exp-fill.admin {
    background: linear-gradient(90deg, #FF9933 0%, #FF6B1A 100%);
}

/* FY Comparison Table */
.fy-comparison-section {
    padding: 80px 0;
    background: var(--off-white);
}

.fy-table-wrapper {
    margin-top: 50px;
    overflow-x: auto;
}

.fy-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.fy-table th,
.fy-table td {
    padding: 18px 20px;
    text-align: left;
}

.fy-table th {
    background: var(--navy);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.fy-table td {
    border-bottom: 1px solid #eee;
    color: var(--gray);
}

.fy-table tr:last-child td {
    border-bottom: none;
}

.fy-table tr.current-year {
    background: #FFF8E1;
}

.fy-table tr.current-year td {
    color: var(--navy);
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.ongoing {
    background: #E3F2FD;
    color: #1565C0;
}

.status-badge.completed {
    background: #E8F5E9;
    color: #138808;
}

/* Reports Download */
.reports-download-section {
    padding: 80px 0;
    background: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.report-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--off-white);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.report-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.report-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E53935 0%, #C62828 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.report-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.report-info {
    flex: 1;
}

.report-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 0 0 5px;
}

.report-info span {
    font-size: 0.8rem;
    color: var(--gray);
}

.download-icon {
    width: 40px;
    height: 40px;
    background: var(--saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Responsive */
@media (max-width: 1024px) {

    .finance-stats-grid,
    .revenue-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .finance-stats-grid,
    .revenue-grid,
    .expenditure-grid {
        grid-template-columns: 1fr;
    }

    .fy-table th,
    .fy-table td {
        padding: 12px;
        font-size: 0.85rem;
    }
}

/* --- Dropdown Submenu Navigation --- */

.main-menu>li {
    position: relative;
}

.main-menu>li.has-submenu>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-menu>li.has-submenu>a::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
}

.main-menu>li.has-submenu:hover>a::after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
}

.main-menu>li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--navy);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.submenu li a:hover {
    background: var(--off-white);
    color: var(--saffron);
    padding-left: 25px;
}

/* Mobile Submenu */
@media (max-width: 992px) {
    .mobile-nav-overlay .has-submenu>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-nav-overlay .has-submenu>a::after {
        content: '+';
        font-size: 1.2rem;
        font-weight: 300;
    }

    .mobile-nav-overlay .has-submenu.open>a::after {
        content: '−';
    }

    .mobile-nav-overlay .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 0;
        display: none;
        padding: 0;
        margin-left: 20px;
    }

    .mobile-nav-overlay .has-submenu.open .submenu {
        display: block;
    }

    .mobile-nav-overlay .submenu li a {
        color: white;
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .mobile-nav-overlay .submenu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 20px;
    }
}

/* --- Mobile Menu Submenu Fix --- */
@media (max-width: 992px) {
    .mobile-nav-overlay {
        overflow-y: auto;
    }

    .mobile-nav-overlay .main-menu {
        padding: 20px;
    }

    .mobile-nav-overlay .has-submenu {
        flex-direction: column;
    }

    .mobile-nav-overlay .has-submenu>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-nav-overlay .has-submenu>a::after {
        content: '+';
        font-size: 1.5rem;
        font-weight: 300;
        margin-left: auto;
    }

    .mobile-nav-overlay .has-submenu.open>a::after {
        content: '−';
    }

    .mobile-nav-overlay .submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        display: none;
        padding: 0 0 0 20px !important;
        margin: 0 !important;
        min-width: auto !important;
    }

    .mobile-nav-overlay .has-submenu.open .submenu {
        display: block;
    }

    .mobile-nav-overlay .submenu li {
        padding: 0;
    }

    .mobile-nav-overlay .submenu li a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 0 !important;
        font-size: 1.1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-nav-overlay .submenu li a:hover {
        color: white !important;
        background: transparent !important;
        padding-left: 10px !important;
    }
}

/* --- Mobile Close Button --- */
.mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 30px auto;
    transition: all 0.3s ease;
}

.mobile-close-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.mobile-close-btn:hover {
    background: white;
    color: var(--navy);
    border-color: white;
}

.mobile-close-btn:hover svg {
    fill: var(--navy);
}

/* Ensure mobile overlay has proper dark background */
@media (max-width: 992px) {
    .mobile-nav-overlay {
        background: linear-gradient(135deg, rgba(11, 61, 145, 0.98) 0%, rgba(0, 40, 100, 0.98) 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 80px !important;
    }

    .mobile-nav-overlay .main-menu>li>a {
        color: white !important;
        font-size: 1.3rem !important;
        padding: 18px 25px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

/* --- Mobile Menu Black Text --- */
@media (max-width: 992px) {
    .mobile-nav-overlay {
        background: white !important;
    }

    .mobile-nav-overlay .main-menu>li>a {
        color: var(--navy) !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .mobile-nav-overlay .submenu li a {
        color: var(--gray) !important;
    }

    .mobile-nav-overlay .submenu li a:hover {
        color: var(--saffron) !important;
    }

    .mobile-close-btn {
        background: var(--navy);
        color: white;
        border-color: var(--navy);
    }

    .mobile-close-btn svg {
        fill: white;
    }

    .mobile-close-btn:hover {
        background: var(--saffron);
        border-color: var(--saffron);
        color: white;
    }

    .mobile-close-btn:hover svg {
        fill: white;
    }
}

/* --- Tablet Menu (extend mobile menu to tablets) --- */
@media (max-width: 1024px) {

    /* Show hamburger on tablets */
    .hamburger-menu {
        display: flex !important;
    }

    /* Hide desktop menu on tablets */
    .main-navigation .main-menu {
        display: none !important;
    }

    /* Show mobile overlay on tablets */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white !important;
        z-index: 9999;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        overflow-y: auto;
    }

    .mobile-nav-overlay.active {
        display: flex !important;
    }

    .mobile-nav-overlay .main-menu {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .mobile-nav-overlay .main-menu>li>a {
        color: var(--navy) !important;
        font-size: 1.3rem !important;
        padding: 18px 10px !important;
        border-bottom: 1px solid #e0e0e0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* --- Close Button for Tablets --- */
@media (max-width: 1024px) {
    .mobile-close-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: var(--navy);
        color: white;
        border: 2px solid var(--navy);
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        margin: 30px auto;
    }

    .mobile-close-btn svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .mobile-close-btn:hover {
        background: var(--saffron);
        border-color: var(--saffron);
    }
}

/* --- Fix Header Visibility --- */
.site-header {
    background-color: white !important;
}

.header-title h1 {
    color: var(--navy) !important;
}

.header-title h2 {
    color: var(--gray) !important;
}

/* Ensure header component container is displayed properly */
#header-component {
    display: block;
}

#header-component .site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

#header-component .header-content {
    display: flex !important;
    visibility: visible !important;
}

#header-component .header-left {
    display: flex !important;
    align-items: center;
    gap: 20px;
}

#header-component .emblem-india {
    height: 70px;
    width: auto;
}

#header-component .header-title {
    display: block !important;
}

#header-component .header-title h1,
#header-component .header-title h2 {
    display: block !important;
}

/* Ensure translate button is visible */
.translate-btn {
    display: inline-block !important;
    visibility: visible !important;
}

/* DEBUG: Force site-header visibility */
.site-header {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 80px !important;
    background-color: #f8f8f8 !important;
    padding: 20px 0 !important;
    overflow: visible !important;
}

.site-header .container {
    display: block !important;
}

.site-header .header-content {
    display: flex !important;
    align-items: center !important;
}

.site-header .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.site-header .header-title {
    display: block !important;
}

.site-header .header-title h1 {
    display: block !important;
    color: #003366 !important;
    font-size: 1.5rem !important;
}

.site-header .header-title h2 {
    display: block !important;
    color: #666 !important;
    font-size: 1.2rem !important;
}

/* Support div.site-header from component */
div.site-header {
    background-color: var(--white) !important;
    padding: 20px 0 !important;
    display: block !important;
}

div.site-header .container {
    display: block !important;
}

div.site-header .header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

div.site-header .header-left {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

div.site-header .emblem-india {
    height: 70px !important;
}

div.site-header .header-title h1 {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--navy) !important;
    margin: 0 !important;
}

div.site-header .header-title h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--gray) !important;
    margin: 0 !important;
}

/* Mobile Language Toggle Button */
.mobile-translate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: 20px auto 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.mobile-translate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.mobile-translate-btn:active {
    transform: translateY(0);
}

.mobile-translate-btn svg {
    width: 22px;
    height: 22px;
}

/* Mobile Top Government Bar - Show single language text */
@media (max-width: 768px) {
    .gov-links {
        flex: 1;
    }

    /* Hide the language we don't need based on current selection */
    .gov-links a:first-child {
        border-right: none;
    }

    /* By default show Marathi, hide English on mobile */
    .gov-links a[data-lang-mr] {
        display: none;
    }

    .gov-links a.gov-link-single {
        display: inline-block;
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Make translate button visible and styled */
    .gov-icons {
        flex-shrink: 0;
    }

    .gov-icons .translate-btn {
        display: flex !important;
        visibility: visible !important;
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
        border-radius: 4px !important;
        width: auto !important;
        height: auto !important;
        background: var(--saffron) !important;
        color: white !important;
        border: none !important;
    }

    .gov-icons .translate-btn::before {
        display: none !important;
    }
}

/* Better mobile top bar styling */
@media (max-width: 768px) {
    .top-government-bar {
        padding: 8px 0;
    }

    .top-government-bar .container {
        padding: 0 10px;
    }

    .gov-links a {
        font-size: 0.7rem;
        padding: 0;
        font-weight: 600;
        color: var(--navy);
    }

    .gov-links a:first-child {
        border-right: none;
    }

    .gov-icons .translate-btn {
        font-size: 0.65rem !important;
        padding: 5px 12px !important;
        background: linear-gradient(135deg, var(--saffron), #e67e22) !important;
    }
}

@media (max-width: 480px) {
    .gov-links a {
        font-size: 0.65rem;
    }

    .gov-icons .translate-btn {
        font-size: 0.6rem !important;
        padding: 4px 8px !important;
    }
}

/* Ensure translate button is visible on mobile */
@media (max-width: 768px) {
    .top-government-bar {
        display: block !important;
        visibility: visible !important;
    }

    .gov-icons .translate-btn {
        display: inline-block !important;
        visibility: visible !important;
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
        background: var(--saffron) !important;
        color: white !important;
        border: none !important;
        border-radius: 4px !important;
        width: auto !important;
        height: auto !important;
    }

    .gov-icons .translate-btn::before {
        content: none !important;
        display: none !important;
    }
}

/* Updated Footer Grid for 4 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--saffron);
}

.footer-contact p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--saffron);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-links ul li {
        margin-bottom: 0;
    }
}

/* ====================================
   Contact Page Styles
   ==================================== */

.contact-main-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card-full,
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--saffron), #e67e22);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-header-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.contact-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon.location {
    background: rgba(255, 87, 34, 0.1);
}

.contact-item-icon.location svg {
    fill: #ff5722;
}

.contact-item-icon.phone {
    background: rgba(76, 175, 80, 0.1);
}

.contact-item-icon.phone svg {
    fill: #4caf50;
}

.contact-item-icon.email {
    background: rgba(33, 150, 243, 0.1);
}

.contact-item-icon.email svg {
    fill: #2196f3;
}

.contact-item-icon.hours {
    background: rgba(156, 39, 176, 0.1);
}

.contact-item-icon.hours svg {
    fill: #9c27b0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-text {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-text p {
    margin: 0;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item-text a {
    color: var(--saffron);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-text a:hover {
    color: var(--navy);
}

/* Contact Form Styles */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--saffron);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.btn-submit svg {
    width: 22px;
    height: 22px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Emergency Section */
.emergency-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
}

.emergency-section .section-tagline {
    color: var(--saffron);
}

.emergency-section .section-title {
    color: white;
}

.emergency-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1200px) {
    .emergency-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-main-section {
        padding: 50px 0;
    }

    .contact-info-card-full,
    .contact-form-card {
        padding: 25px;
    }

    .emergency-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Enhanced Styles */
.modern-map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-modern-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.map-modern-container iframe {
    display: block;
}

/* Form row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Emergency section with 6 cards - 3 columns */
.modern-emergency-section .emergency-modern-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .modern-emergency-section .emergency-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-emergency-section .emergency-modern-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Contact Information - Modern Design Language
   ========================================= */

.contact-main-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* Contact Info Card - Premium Style */
.contact-info-card {
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
    border-radius: 24px;
    padding: 40px;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-card .contact-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.contact-info-card .contact-header-icon {
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%);
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.contact-info-card .contact-header-icon svg {
    width: 32px;
    height: 32px;
}

.contact-info-card .contact-card-header h3 {
    color: white;
    font-size: 1.5rem;
}

.contact-info-card .contact-items {
    gap: 28px;
}

.contact-info-card .contact-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-card .contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.contact-info-card .contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.contact-info-card .contact-item-icon.location {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
}

.contact-info-card .contact-item-icon.phone {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
}

.contact-info-card .contact-item-icon.email {
    background: linear-gradient(135deg, #339af0 0%, #228be6 100%);
}

.contact-info-card .contact-item-icon.hours {
    background: linear-gradient(135deg, #cc5de8 0%, #be4bdb 100%);
}

.contact-info-card .contact-item-icon svg {
    fill: white;
}

.contact-info-card .contact-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-card .contact-item-text p {
    color: white;
    font-size: 1rem;
}

.contact-info-card .contact-item-text a {
    color: var(--saffron);
}

.contact-info-card .contact-item-text a:hover {
    color: #ffd699;
}

/* Contact Form Card - Premium Style */
.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form-card .contact-card-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.contact-form-card .contact-header-icon {
    background: linear-gradient(135deg, #339af0 0%, #228be6 100%);
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.contact-form-card .contact-header-icon svg {
    width: 32px;
    height: 32px;
}

.contact-form-card .contact-card-header h3 {
    font-size: 1.5rem;
}

/* Form Input Styles */
.modern-form .form-group input,
.modern-form .form-group select,
.modern-form .form-group textarea {
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background: #fafafa;
    transition: all 0.3s ease;
}

.modern-form .form-group input:focus,
.modern-form .form-group select:focus,
.modern-form .form-group textarea:focus {
    border-color: var(--navy);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.modern-form .form-group label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #004080 0%, #002855 100%);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {

    .contact-info-card,
    .contact-form-card {
        padding: 25px;
        border-radius: 20px;
    }

    .contact-info-card .contact-item {
        padding: 15px;
    }
}

/* Override: Office Information Card - White Background */
.contact-info-card {
    background: white !important;
    color: var(--navy) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e9ecef !important;
}

.contact-info-card::before {
    display: none !important;
}

.contact-info-card .contact-card-header {
    border-bottom: 2px solid #f0f0f0 !important;
}

.contact-info-card .contact-card-header h3 {
    color: var(--navy) !important;
}

.contact-info-card .contact-item {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

.contact-info-card .contact-item:hover {
    background: #f0f0f0 !important;
}

.contact-info-card .contact-label {
    color: #666 !important;
}

.contact-info-card .contact-item-text p {
    color: var(--navy) !important;
}

/* Override: Send us a Message Card - Dark Background with White Heading */
.contact-form-card {
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%) !important;
    border: none !important;
    color: white !important;
}

.contact-form-card .contact-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.contact-form-card .contact-header-icon {
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%) !important;
}

.contact-form-card .contact-header-icon svg {
    fill: white !important;
}

.contact-form-card .contact-card-header h3 {
    color: white !important;
}

.contact-form-card .form-group label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: var(--navy) !important;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
    background: white !important;
    border-color: var(--saffron) !important;
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.2) !important;
}

.contact-form-card .btn-submit {
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%) !important;
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.3) !important;
}

.contact-form-card .btn-submit:hover {
    box-shadow: 0 12px 35px rgba(255, 153, 51, 0.4) !important;
}

/* Override: Make form card background white */
.contact-form-card {
    background: white !important;
    border: 1px solid #e9ecef !important;
    color: var(--navy) !important;
}

.contact-form-card .contact-card-header {
    border-bottom: 2px solid #f0f0f0 !important;
}

.contact-form-card .contact-header-icon {
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%) !important;
}

.contact-form-card .contact-card-header h3 {
    color: var(--navy) !important;
}

.contact-form-card .form-group label {
    color: var(--navy) !important;
}

.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
    background: #fafafa !important;
    border-color: #e0e0e0 !important;
    color: var(--navy) !important;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
    background: white !important;
    border-color: var(--saffron) !important;
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1) !important;
}

/* Card Headers with colored background and white text */
.contact-info-card .contact-card-header,
.contact-form-card .contact-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%) !important;
    margin: -40px -40px 30px -40px !important;
    padding: 25px 40px !important;
    border-radius: 24px 24px 0 0 !important;
    border-bottom: none !important;
}

.contact-info-card .contact-card-header h3,
.contact-form-card .contact-card-header h3 {
    color: white !important;
}

.contact-info-card .contact-header-icon,
.contact-form-card .contact-header-icon {
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%) !important;
}

.contact-info-card .contact-header-icon svg,
.contact-form-card .contact-header-icon svg {
    fill: white !important;
}

/* Responsive fix for header */
@media (max-width: 992px) {

    .contact-info-card .contact-card-header,
    .contact-form-card .contact-card-header {
        margin: -30px -30px 25px -30px !important;
        padding: 20px 30px !important;
    }
}

@media (max-width: 576px) {

    .contact-info-card .contact-card-header,
    .contact-form-card .contact-card-header {
        margin: -25px -25px 20px -25px !important;
        padding: 18px 25px !important;
        border-radius: 20px 20px 0 0 !important;
    }
}

/* =========================================
   About/Contact Hero Section - Premium Style
   ========================================= */
.about-hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a365d 50%, #0d2137 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(248, 249, 250, 1) 0%, transparent 100%);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron) 0%, #e67e22 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}

.about-hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-hero-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 70px 0 60px;
    }

    .about-hero-section h1 {
        font-size: 2.5rem;
    }

    .about-hero-section p {
        font-size: 1.1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero-section h1 {
        font-size: 2rem;
    }

    .about-hero-section p {
        font-size: 1rem;
    }
}

/* --- Site Walkthrough Section (Premium) --- */
.site-walkthrough-section {
    padding: 100px 0;
    background-color: #fcfcfc;
    position: relative;
}

.walkthrough-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.walkthrough-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.walkthrough-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.walkthrough-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.walkthrough-card:hover::before {
    opacity: 1;
}

.walkthrough-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.walkthrough-card:hover .card-icon {
    background: linear-gradient(135deg, var(--saffron) 0%, #ff8c00 100%);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.walkthrough-card .card-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--navy);
    transition: all 0.4s ease;
}

.walkthrough-card:hover .card-icon svg {
    fill: white;
    transform: scale(0.9);
}

.walkthrough-card h3 {
    margin: 0 0 15px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.walkthrough-card:hover h3 {
    color: var(--saffron);
}

.walkthrough-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.walkthrough-card .explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--saffron);
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(255, 153, 51, 0.1);
    transition: all 0.3s ease;
}

.walkthrough-card:hover .explore-link {
    background-color: var(--saffron);
    color: white;
    padding-right: 25px;
}

.walkthrough-card .explore-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.walkthrough-card:hover .explore-link svg {
    transform: translateX(3px);
}

/* Responsive Styles for Walkthrough */
@media (max-width: 1024px) {
    .walkthrough-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .walkthrough-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .walkthrough-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .walkthrough-grid {
        grid-template-columns: 1fr;
    }

    .site-walkthrough-section {
        padding: 60px 0;
    }
}
/* --- Marathi Font Overrides --- */
body.lang-mr {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
}

/* Headings in Marathi */
body.lang-mr h1, 
body.lang-mr h2, 
body.lang-mr h3, 
body.lang-mr h4, 
body.lang-mr h5, 
body.lang-mr h6,
body.lang-mr .section-title,
body.lang-mr .hero-title,
body.lang-mr .nav-link,
body.lang-mr .btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
}

/* Specific body text override to ensure Noto Sans takes precedence */
body.lang-mr p,
body.lang-mr span,
body.lang-mr li,
body.lang-mr a,
body.lang-mr div,
body.lang-mr td,
body.lang-mr th,
body.lang-mr label,
body.lang-mr input,
body.lang-mr textarea,
body.lang-mr button,
body.lang-mr .section-tagline,
body.lang-mr .stat-label,
body.lang-mr .stat-sub {
    font-family: 'Noto Sans Devanagari', sans-serif !important;
    font-weight: 500;
}
