/* FORCE MODERN CSS - FINAL SAFE VERSION */
/* NO SLIDESHOW - STATIC BANNER ONLY */

/* ========================================
   CRITICAL: STOP ALL BACKGROUND ISSUES
   ======================================== */
* {
    background-image: none !important;
}

html,
body {
    background: #F0F4F8 !important;
    background-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #1E293B !important;
}

/* ========================================
   HEADER
   ======================================== */
.header-top {
    background: white !important;
    padding: 1rem 2rem !important;
    border-bottom: 3px solid #0891B2 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* ========================================
   HORIZONTAL NAVIGATION MENU - PROFESSIONAL GOVERNMENT COLORS
   ======================================== */
.horizontal-nav {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%) !important;
    background-image: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%) !important;
}

/* ========================================
   MINISTER/LEADERSHIP SECTION - PROFESSIONAL GOVERNMENT COLORS
   ======================================== */
.leadership-row {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%) !important;
    background-image: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%) !important;
    padding: 1.2rem 0 !important;
    border-bottom: 3px solid #D97706 !important;
}

.leadership-inline .leader-info span {
    color: #1E293B !important;
    font-weight: 700 !important;
}

.leadership-inline .leader-info p {
    color: #0F172A !important;
    font-weight: 600 !important;
}

/* ========================================
   SLIDER TEXT VISIBILITY FIX
   ======================================== */
.hero-overlay-text {
    background: rgba(30, 58, 138, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    max-width: 80% !important;
    margin: 0 auto !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    text-align: center !important;
}

.hero-overlay-text h1 {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    font-weight: 900 !important;
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
}

.hero-overlay-text p {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

/* Footer Span Fix */
.footer-section p,
.footer-section a,
.footer-section li,
.footer-container p,
.footer-container a,
.footer-container li,
.footer-container span,
.footer-container strong {
    color: #FFFFFF !important;
}


.gp-logo {
    height: 70px !important;
    width: auto !important;
}

.village-title {
    font-size: 1.6rem !important;
    color: #0F172A !important;
    font-weight: 800 !important;
}

.lgd-number-box {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #0891B2 !important;
    border: 2px solid #CBD5E1 !important;
    padding: 0.25rem 1rem !important;
    border-radius: 6px !important;
}

/* ========================================
   HERO BANNER & SLIDESHOW
   ======================================== */
.hero-banner-static {
    background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%) !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.hero-content-box h1 {
    color: white !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    margin: 0 0 1rem 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.hero-content-box p {
    color: #E0F2FE !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
}

/* Explicit Slideshow Styling to prevent cropping issues */
.slideshow {
    width: 100% !important;
    height: 600px !important;
    /* Larger fixed height */
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    /* Full width vibe usually implies no radius or simple radius */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    background: #000 !important;
}

.slideshow img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
    /* "Dont crop" implies showing everything, even if stretched. Fill stretches. Contain creates letterbox. */
}

/* ========================================
   CONTENT AREA
   ======================================== */
#dynamic-content-area {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
}

/* ========================================
   SECTIONS
   ======================================== */
section,
.population-section-ref,
.members-section-home,
.schemes-section-home,
.alerts-section {
    background: white !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08) !important;
}

.section-title {
    color: #1E293B !important;
    /* Dark text title */
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-align: left !important;
    margin: 0 0 2rem 0 !important;
    padding-left: 1rem !important;
    border-left: 5px solid #0891B2 !important;
    /* Vertical Blue Bar */
    border-bottom: none !important;
    /* Removed underline */
    text-transform: uppercase !important;
}

/* ========================================
   POPULATION SECTION
   ======================================== */
.pop-summary-card {
    background: #F0F9FF !important;
    border: 2px solid #0891B2 !important;
    border-radius: 10px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
}

.pop-header-gold {
    color: #0891B2 !important;
    text-align: center !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin: 0 0 1rem 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.pop-divider-gold {
    height: 2px !important;
    background: #0891B2 !important;
    width: 60% !important;
    margin: 0 auto 1.5rem !important;
}

.pop-row-stat {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0.75rem 0 !important;
    font-size: 1.1rem !important;
}

.pop-row-stat .label {
    font-weight: 500 !important;
    color: #475569 !important;
}

.pop-row-stat .value {
    font-weight: 700 !important;
    color: #0F172A !important;
}

.pop-divider-light {
    height: 1px !important;
    background: #E2E8F0 !important;
    margin: 0.5rem 0 !important;
}

.pop-detail-title {
    font-size: 1.5rem !important;
    color: #0F172A !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    padding-left: 1rem !important;
    border-left: 5px solid #0891B2 !important;
}

.pop-village-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
}

.pop-village-card {
    background: white !important;
    border: 1px solid #CBD5E1 !important;
    border-top: 4px solid #0891B2 !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
}

.village-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
}

.v-name {
    color: #0891B2 !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
}

.v-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

.v-stat {
    display: flex !important;
    flex-direction: column !important;
}

.v-stat .l {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #64748B !important;
    text-transform: uppercase !important;
    margin-bottom: 0.25rem !important;
    letter-spacing: 0.5px !important;
}

.v-stat .v {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
}

.v-highlight {
    font-size: 1.5rem !important;
    color: #0891B2 !important;
    font-weight: 900 !important;
}

.v-stat-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 0.75rem !important;
    margin-top: 0.5rem !important;
    border-top: 1px dashed #CBD5E1 !important;
}

.v-stat-row .l {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin-bottom: 0 !important;
}

/* ========================================
   SCHEMES GRID
   ======================================== */
.schemes-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 1.5rem !important;
}

.scheme-card-modern {
    background: white !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 2rem 1.5rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.scheme-card-modern:hover {
    transform: translateY(-5px) !important;
    border-color: #0891B2 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15) !important;
}

.scheme-icon-circle {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    background: #E0F2FE !important;
    color: #0891B2 !important;
    font-size: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem !important;
}

.scheme-card-modern h3 {
    font-size: 1.15rem !important;
    color: #0F172A !important;
    margin-bottom: 0.5rem !important;
}

.scheme-card-modern p {
    font-size: 0.95rem !important;
    color: #64748B !important;
    margin-bottom: 1rem !important;
}

.learn-more {
    color: #0891B2 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* ========================================
   MEMBERS GRID
   ======================================== */
.gp-members-home-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.5rem !important;
}

.member-card {
    background: white !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.member-card:hover {
    border-color: #0891B2 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.member-img {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    border: 3px solid #E2E8F0 !important;
    object-fit: cover !important;
    margin-bottom: 1rem !important;
}

.member-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    margin-bottom: 0.25rem !important;
}

.member-designation {
    font-size: 0.9rem !important;
    color: #0891B2 !important;
    font-weight: 500 !important;
    color: #0891B2 !important;
}

/* ========================================
   ALERTS GRID
   ======================================== */
.alerts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
}

.alert-card {
    background: white !important;
    border: 1px solid #CBD5E1 !important;
    border-left: 5px solid #0891B2 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    display: flex !important;
    gap: 1rem !important;
}

.alert-icon {
    font-size: 1.8rem !important;
}

.alert-content h4 {
    color: #0F172A !important;
    font-size: 1.1rem !important;
    margin: 0 0 0.5rem 0 !important;
}

.alert-content p {
    color: #64748B !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

/* ========================================
   FOOTER - BEAUTIFUL & VISIBLE
   ======================================== */
.footer-container {
    background: #1E293B !important;
    color: #F1F5F9 !important;
    padding: 2rem 1.5rem !important;
    margin-top: 0.5rem !important;
    border-top: 3px solid #0891B2 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

.footer-section h3,
.footer-container h3 {
    color: #67E8F9 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    border-bottom: 2px dotted #475569 !important;
    padding-bottom: 0.4rem !important;
}

.footer-section p,
.footer-section a,
.footer-section li,
.footer-container p,
.footer-container a,
.footer-container li,
.footer-container span,
.footer-container strong {
    color: #FFFFFF !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.4rem !important;
    text-decoration: none !important;
}

.footer-container a:hover {
    color: #67E8F9 !important;
    text-decoration: underline !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column !important;
        padding: 1rem !important;
    }

    #dynamic-content-area {
        padding: 1rem !important;
    }

    section {
        padding: 1.5rem !important;
    }

    .hero-banner-static {
        padding: 2rem 1rem !important;
    }

    .hero-content-box h1 {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   GP SERVICES & REVENUE TABLE STYLES
   ======================================== */

/* GP Section Headings with Underline */
.gp-section-heading {
    color: #1E293B !important;
    font-size: 1.5rem !important;
    /* Larger size */
    font-weight: 800 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #E2E8F0 !important;
    /* Default underline */
    line-height: 1.3 !important;
}

/* Specific Gold Underline for Reference & Certificates */
.heading-gold-line {
    border-bottom: 2px solid #D4A373 !important;
    /* Soft Gold/Tan */
}

.revenue-table-container {
    overflow-x: auto !important;
    border: none !important;
    /* Removed border from container */
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.revenue-services-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: white !important;
    min-width: 600px !important;
}

.revenue-services-table th {
    background: #F1F5F9 !important;
    /* Light Grey Header */
    color: #0F172A !important;
    padding: 1rem 1.5rem !important;
    /* More padding */
    text-align: left !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    letter-spacing: 0.5px !important;
}

.revenue-services-table td {
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid #E2E8F0 !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

/* Center Table Columns */
.revenue-services-table th:nth-child(1),
.revenue-services-table td:nth-child(1),
.revenue-services-table th:nth-child(3),
.revenue-services-table td:nth-child(3),
.revenue-services-table th:nth-child(4),
.revenue-services-table td:nth-child(4) {
    text-align: center !important;
}

/* ========================================
   EXCLUDED SERVICES BOXES (YELLOW) - IMAGE 2 MATCH
   ======================================== */
.excluded-services-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2.5rem !important;
}

.excluded-service-box {
    background: #FEF9C3 !important;
    /* Yellow background */
    border: none !important;
    /* No visible border for cleaner look, or subtle */
    border-radius: 8px !important;
    padding: 2rem !important;
}

.excluded-service-box ol {
    margin: 0 !important;
    padding-left: 1.5rem !important;
}

.excluded-service-box li {
    margin-bottom: 0.8rem !important;
    color: #854D0E !important;
    /* Dark Brown/Yellow Text */
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

/* Brown Note Box at Bottom */
.brown-note-box {
    background: #E7DED0 !important;
    /* Light brown/beige */
    border-radius: 6px !important;
    padding: 1.25rem 2rem !important;
    margin-top: 2.5rem !important;
    color: #000000 !important;
    /* Black Text as per user preference likely, or dark brown */
    font-weight: 700 !important;
    font-size: 1rem !important;
}

.brown-note-box p {
    margin: 0 !important;
}

.note-list-styled {
    margin-left: 1.5rem !important;
    color: #475569 !important;
}

.note-list-styled li {
    margin-bottom: 0.8rem !important;
}


/* ========================================
   SELF DECLARATION / CERTIFICATES CARD GRID
   ======================================== */
.self-declaration-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
}

.self-declaration-card {
    background: white !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    padding: 2.5rem 2rem !important;
    text-align: center !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.2s !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 220px !important;
}

.self-declaration-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08) !important;
    border-color: #0891B2 !important;
}

.declaration-card-title {
    color: #1E293B !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    line-height: 1.4 !important;
}

/* Website Color Button (Blue/Teal) */
.declaration-download-btn {
    background: #0891B2 !important;
    /* Website Color */
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    width: 100% !important;
    font-size: 1rem !important;
    transition: all 0.3s !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px rgba(8, 145, 178, 0.2) !important;
}

.declaration-download-btn:hover {
    background: #0E7490 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 6px 8px rgba(8, 145, 178, 0.3) !important;
}

/* Explicit Borders for Services Sections */
#gp-services,
#revenue-services {
    border: 1px solid #CBD5E1 !important;
    border-radius: 4px !important;
    /* Sharper corners like the document image */
    background: white !important;
    padding: 2.5rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 2rem !important;
}

/* Ensure detail lists are visible */
.detail-list li {
    margin-bottom: 0.5rem !important;
}