/* pointer-events / fill / text-rendering / mask-* declarations of this file live in the sibling .css3-ext.css (tools/css3-split, GIGW_COMPLIANCE.md section 7). New ones added here are moved there by re-running the script. */
/* Theme Variables */
:root {
    --primary-color: #095a6f;
    --secondary-color: #084c5e;
    --accent-color: #128292;
    --text-color: #164e63;
    --bg-color: #f0fdfa;
    --card-bg: #ffffff;
    --border-color: #67e8f9;
    --nav-bg: #095a6f;
    --nav-text: #ffffff;
    --button-primary: #095a6f;
    --button-secondary: #ccfbf1;
    --shadow-color: rgba(8, 145, 178, 0.1);
    /* --hero-bg: url(/SCDLR/images/pexels-alejandro-barron.jpg);*/
    --glass-bg: rgba(204, 251, 241, 0.9);
    --glass-border: #67e8f9;
    --glass-text: #095a6f;
    --service-bg: rgba(204, 251, 241, 0.6);
    --service-text: #095a6f;
    --service-border: #67e8f9;
    --check-color: #095a6f;
    --service-btn-bg: #f0fdfa;
    --service-btn-border: #095a6f;
    --service-btn-text: #164e63;
    --active-service-bg: #095a6f;
    --active-service-text: #ffffff;
    --input-bg: #f0fdfa;
}

[data-theme="government"] {
    /* GIGW / WCAG AAA (7:1 for normal text), 23-Nov-2026. Each colour below is used as
       text on #ffffff / #fff7ed (page bg) / #fff4e9 (service button bg) AND as a fill
       behind white text, so it must clear 7:1 against all of them. Ratios listed as
       white / #fff7ed / #fff4e9. Same hue as before, just darker. */
    --primary-color: #933406;
    /* was #b44409 (5.57 / 5.24 / 5.14) -> 7.68 / 7.23 / 7.08 */
    --secondary-color: #774200;
    /* was #8c4d00 (6.61 / 6.23 / 6.10) -> 8.19 / 7.72 / 7.56 */
    --accent-color: #853b15;
    /* was #b95826 (4.68 / 4.41 / 4.32) -> 7.97 / 7.51 / 7.35 */
    --text-color: #1f2937;
    --bg-color: #fff7ed;
    --card-bg: #ffffff;
    --border-color: #cfcfcf;
    --nav-bg: #6b3d14;
    /* Darkened for accessibility */
    --nav-text: #ffffff;
    --button-primary: #933406;
    /* Matches primary. White text on it = 7.68:1 (AAA) */
    --button-secondary: #ffe5c7;
    --shadow-color: rgba(0, 0, 0, 0.1);
    /* --hero-bg: url(/SCDLR/images/scenic-view-farm-against-blue-sky.jpg);*/
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: #949494;
    --glass-text: #933406;
    /* AAA: was #bd4215 (5.31:1 on white) -> 7.68:1 */
    --service-bg: rgba(255, 255, 255, 0.6);
    --service-text: #933406;
    /* AAA: was #bd4215 (5.31:1) -> 7.68:1 (service circle labels on the home page) */
    --service-border: #c3c3c3;
    --check-color: #933406;
    --service-btn-bg: #fff4e9;
    --service-btn-border: #933406;
    --service-btn-text: #373737;
    --active-service-bg: #933406;
    /* AAA: white text on it was 5.31:1 -> 7.68:1 */
    --active-service-text: #ffffff;
    --input-bg: #ffffff;
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #a78bfa;
    --accent-color: #0d626e;
    /* GIGW fix: darkened from #128292 for tab contrast */
    --text-color: #f9fafb;
    --bg-color: #111827;
    --card-bg: #1f2937;
    --border-color: #374151;
    --nav-bg: #1f2937;
    --nav-text: #ffffff;
    --button-primary: #60a5fa;
    --button-secondary: #374151;
    --shadow-color: rgba(0, 0, 0, 0.3);
    /* --hero-bg: url(/SCDLR/images/landscape-cultivated-ground.jpg);*/
    --glass-bg: rgba(31, 41, 55, 0.9);
    --glass-border: #4b5563;
    --glass-text: #60a5fa;
    --service-bg: rgba(31, 41, 55, 0.6);
    --service-text: #60a5fa;
    --service-border: #4b5563;
    --check-color: #60a5fa;
    --service-btn-bg: #1f2937;
    --service-btn-border: #60a5fa;
    --service-btn-text: #f9fafb;
    --active-service-bg: #60a5fa;
    --active-service-text: #1f2937;
    --input-bg: #374151;
}

[data-theme="blue"] {
    --primary-color: #1e40af;
    --secondary-color: #3730a3;
    --accent-color: #0369a1;
    --text-color: #1e3a8a;
    --bg-color: #eff6ff;
    --card-bg: #dbeafe;
    --border-color: #3b82f6;
    /* GIGW fix: was #93c5fd -> now 3.75:1 on white ✅ */
    --nav-bg: #1e40af;
    --nav-text: #ffffff;
    --button-primary: #1e40af;
    /* AAA, 23-Nov-2026: was #1d4ed8 - white text on it 6.70:1 (fails 7:1). Now the theme's
       own primary blue: white 8.72 / #eff6ff 8.01 / #dbeafe 7.15. (Earlier: #3b82f6, 3.07:1) */
    --button-secondary: #dbeafe;
    --shadow-color: rgba(59, 130, 246, 0.1);
    /* --hero-bg: url(/SCDLR/images/pexels-alejandro-barron-21404-96715\ \(1\).jpg);*/
    --glass-bg: rgba(219, 234, 254, 0.9);
    --glass-border: #3b82f6;
    /* GIGW fix: was #93c5fd ✅ */
    --glass-text: #1e40af;
    --service-bg: rgba(219, 234, 254, 0.6);
    --service-text: #1e40af;
    --service-border: #3b82f6;
    /* GIGW fix: was #93c5fd ✅ */
    --check-color: #1e40af;
    --service-btn-bg: #eff6ff;
    --service-btn-border: #1e40af;
    --service-btn-text: #1e3a8a;
    --active-service-bg: #1e40af;
    --active-service-text: #ffffff;
    --input-bg: #dbeafe;
}

[data-theme="green"] {
    /* GIGW / WCAG AAA (7:1 for normal text), 23-Nov-2026. The greens are used as text on
       #ffffff / #ecfdf5 (page bg) / #d1fae5 (card bg) AND as fills behind white,
       #e9f6fb (e-Hakk card text) and yellow link text, so each must clear 7:1 on all of
       them. Ratios listed as white / #ecfdf5 / #d1fae5. Same hue, just darker. */
    --primary-color: #055a43;
    /* was #047857 (5.48 / 5.21 / 4.84) -> 8.24 / 7.82 / 7.26 */
    --secondary-color: #055a43;
    --accent-color: #145644;
    /* was #1f8567 (4.56 / 4.33 / 4.02) -> 8.59 / 8.16 / 7.58 */
    --text-color: #064e3b;
    --bg-color: #ecfdf5;
    --card-bg: #d1fae5;
    --border-color: #6ee7b7;
    --nav-bg: #055a43;
    /* was #047857: white 5.48, #e9f6fb 4.97, yellow 5.11 -> 8.24 / 7.47 / 7.67 */
    --nav-text: #ffffff;
    --button-primary: #055a43;
    --button-secondary: #d1fae5;
    --shadow-color: rgba(16, 185, 129, 0.1);
    /*  --hero-bg: url(/SCDLR/images/landscape-cultivated-ground.jpg);*/
    --glass-bg: rgba(209, 250, 229, 0.9);
    --glass-border: #6ee7b7;
    /* AAA: text tokens follow --primary-color #055a43 (was #047857, 4.84:1 on the
       #d1fae5 cards -> 7.26:1). */
    --glass-text: #055a43;
    --service-bg: rgba(209, 250, 229, 0.6);
    --service-text: #055a43;
    --service-border: #6ee7b7;
    --check-color: #055a43;
    /* was #03865e (4.05:1 on #d1fae5) */
    --service-btn-bg: #ecfdf5;
    --service-btn-border: #055a43;
    --service-btn-text: #064e3b;
    /* white text on it: was 5.48:1 -> 8.24:1 */
    --active-service-bg: #055a43;
    --active-service-text: #ffffff;
    --input-bg: #d1fae5;
}

.gigw-bold {
    font-weight: bold !important;
}

/* New Refreshing Themes */
[data-theme="nature"] {
    /* GIGW / WCAG AAA (7:1 for normal text), 23-Nov-2026. The greens are used as text on
       #ffffff / #f0fdf4 (page bg) / #dcfce7 (pale pills) AND as fills behind white,
       #e9f6fb (e-Hakk card text) and yellow link text, so each must clear 7:1 on all of
       them. Ratios listed as white / #f0fdf4 / #dcfce7. Same hue, just darker. */
    --primary-color: #0b5c2c;
    /* was #117a3b (5.43 / 5.18 / 4.94) -> 8.13 / 7.77 / 7.41 */
    --secondary-color: #0b5c2c;
    --accent-color: #1b5a33;
    /* was #288148 (4.86 / 4.64 / 4.42) -> 8.21 / 7.85 / 7.48 */
    --text-color: #14532d;
    --bg-color: #f0fdf4;
    --card-bg: #ffffff;
    --border-color: #86efac;
    --nav-bg: #0b5c2c;
    /* was #137939: white 5.49, #e9f6fb 4.98, yellow 5.12 -> 8.13 / 7.38 / 7.58 */
    --nav-text: #ffffff;
    --button-primary: #0b5c2c;
    --button-secondary: #dcfce7;
    --shadow-color: rgba(22, 163, 74, 0.1);
    /* --hero-bg: url(/SCDLR/images/landscape-cultivated-ground.jpg);*/
    --glass-bg: rgba(220, 252, 231, 0.9);
    --glass-border: #86efac;
    --glass-text: #0b5c2c;
    --service-bg: rgba(220, 252, 231, 0.6);
    --service-text: #0b5c2c;
    --service-border: #86efac;
    --check-color: #0b5c2c;
    --service-btn-bg: #f0fdf4;
    --service-btn-border: #0b5c2c;
    --service-btn-text: #14532d;
    --active-service-bg: #0b5c2c;
    --active-service-text: #ffffff;
    --input-bg: #f0fdf4;
}

[data-theme="sunset"] {
    --primary-color: #dc2626;
    --secondary-color: #ef4444;
    --accent-color: #f87171;
    --text-color: #7f1d1d;
    --bg-color: #fef2f2;
    --card-bg: #ffffff;
    --border-color: #fca5a5;
    --nav-bg: #b91c1c;
    --nav-text: #ffffff;
    --button-primary: #dc2626;
    --button-secondary: #fee2e2;
    --shadow-color: rgba(220, 38, 38, 0.1);
    /* --hero-bg: url(/SCDLR/images/landscape-cultivated-ground.jpg);*/
    --glass-bg: rgba(254, 226, 226, 0.9);
    --glass-border: #fca5a5;
    --glass-text: #dc2626;
    --service-bg: rgba(254, 226, 226, 0.6);
    --service-text: #dc2626;
    --service-border: #fca5a5;
    --check-color: #dc2626;
    --service-btn-bg: #fef2f2;
    --service-btn-border: #dc2626;
    --service-btn-text: #7f1d1d;
    --active-service-bg: #dc2626;
    --active-service-text: #ffffff;
    --input-bg: #fef2f2;
}

[data-theme="ocean"] {
    --primary-color: #095a6f;
    --secondary-color: #084c5e;
    --accent-color: #128292;
    --text-color: #164e63;
    --bg-color: #f0fdfa;
    --card-bg: #ffffff;
    --border-color: #67e8f9;
    --nav-bg: #095a6f;
    --nav-text: #ffffff;
    --button-primary: #095a6f;
    --button-secondary: #ccfbf1;
    --shadow-color: rgba(8, 145, 178, 0.1);
    /* --hero-bg: url(/SCDLR/images/landscape-cultivated-ground.jpg);*/
    --glass-bg: rgba(204, 251, 241, 0.9);
    --glass-border: #67e8f9;
    --glass-text: #095a6f;
    --service-bg: rgba(204, 251, 241, 0.6);
    --service-text: #095a6f;
    --service-border: #67e8f9;
    --check-color: #095a6f;
    --service-btn-bg: #f0fdfa;
    --service-btn-border: #095a6f;
    --service-btn-text: #164e63;
    --active-service-bg: #095a6f;
    --active-service-text: #ffffff;
    --input-bg: #f0fdfa;
}

/* Font Configuration */
body {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.8;
    /* 180% line height */
    font-weight: 300;
    color: #000;
    /* default text color */
}



@font-face {
    font-family: 'Sakal Marathi' !important;
    src: url('/fonts/Noto_Sans_Devanagari/Noto_Sans_Devanagari/NotoSansDevanagari-VariableFont_wdth.ttf') format('truetype');
    font-weight: 100 900;
    /* supports all weights */
    font-style: normal;
    font-display: swap;
}


/* today */
body,
p,
input,
textarea,
select,
label {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8;
    /* 180% line height */
    font-weight: 300;
    color: #000;
    /* default text color */
}

h1,
h2 {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 2.2rem !important;
}

h3,
h4,
h5,
h6 {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 1rem !important;
}

/* Headings re-levelled for a correct outline (WCAG 1.3.1 / axe heading-order, page-has-
   heading-one) carry the old level as a class (e.g. <h2 class="h5">), so they keep the size
   of the level they replaced instead of picking up the 2.2rem h1/h2 rule above. */
h1.h3, h1.h4, h1.h5, h1.h6,
h2.h3, h2.h4, h2.h5, h2.h6,
h3.h4, h3.h5, h3.h6 {
    font-size: 1rem !important;
}

/* Blog comment panels: .panel-title (custom-admin.css) has no bottom margin as an h3. */
h2.h3.panel-title {
    margin-bottom: 0;
}

h5 span {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 1rem !important;
}

/*a{
    font-size: 14px!important;
    
}*/
h2.card-title1 {
    font-size: 18px !important;
}

.accordion-label {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 12px !important;
}

.col-5 {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-size: 13px !important;
}


.breadcrumb-item.active {
    font-size: 14px !important;
}

table,
th,
td {
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    color: #000;
    /* Optional: keep consistent text color */
    line-height: 1.6;
}

th {
    font-size: 16px !important;
}

td {
    font-size: 12px !important;
}


/* today */

a {
    text-decoration: none !important;
}


/* Smooth scrolling offset for sticky navigation */
html {
    scroll-padding-top: 170px;
    /* Adjust based on navigation height */
}

/* Government Website Specific Styles */
.bg-orange-50 {
    background-color: #fff7ed;
}

.bg-orange-100 {
    background-color: #ffedd5;
}




.bg-orange-600 {
    background-color: #ea580c;
}

.bg-orange-700 {
    background-color: #c2410c;
}

.text-orange-600 {
    color: #ea580c;
}

.text-orange-700 {
    color: #c2410c;
}

.text-orange-800 {
    color: #9a3412;
}

.border-orange-300 {
    border-color: #fdba74;
}

.hover\:bg-orange-500:hover {
    background-color: #f97316;
}

.hover\:bg-orange-600:hover {
    background-color: #ea580c;
}

.hover\:bg-orange-700:hover {
    background-color: #c2410c;
}

.hover\:text-orange-900:hover {
    color: #7c2d12;
}

.hover\:text-orange-400:hover {
    color: #fb923c;
}



/* Desktop nav links */
.nav-link {
    /*color: #c2410c;*/
    /* text-orange-700 equivalent */
    padding: 0.5rem 0.75rem;
    /* px-3 py-2 */
    /*border-radius: 0.375rem;*/
    /* rounded-md */
    font-size: 16px !important;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    transition: color 0.2s ease;
    /* transition-colors duration-200 */
    text-decoration: none;
    /* optional for links */
}

.nav-link:hover {
    color: #F7A418;
    /* hover color */
}

/* Mobile nav links */
.mobile-nav-link {
    /*    color: #c2410c;*/
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    /* text-base */
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #d97706;
    /* text-orange-900 equivalent */
}

/* Optional hover background */
.nav-hover:hover {
    background-color: rgba(129, 80, 32, 0.7) !important;
}


/* Sticky Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Add shadow when scrolled */
.sticky-nav.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link:focus {
    color: var(--button-primary) !important;
    background-color: var(--button-secondary);
    border-radius: 4px;
}

/* Interactive Services Styles */
/*.service-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
  background-color: #fff7ed !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}

.service-item.bg-orange-100 {
  background-color: #ffedd5 !important;
  border-left-width: 8px !important;
  border-left-color: #ea580c !important;
}

        .service-item.bg-orange-100:hover {
            background-color: #fed7aa !important;
        }
*/
/* Button Styles */
.btn-primary {
    background-color: var(--button-primary);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    transform: scale(1);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--button-primary);
    color: var(--button-primary);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    transform: scale(1);
}

.btn-secondary:hover {
    background-color: var(--button-secondary);
    transform: scale(1.05);
}

/* Contrast‑compliant button for RTI page - Theme-aware */
.btn-contrast {
    background-color: var(--nav-bg) !important;
    color: var(--nav-text) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-contrast:hover {
    background-color: #004d80 !important;
    /* even darker on hover */
    color: #ffffff !important;
}

/* Card Styles */
/* Service Card */
.service-card {
    background-color: var(--card-bg);
    /* previously bg-white replaced by variable */
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    /* rounded-lg */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    /* shadow-lg */
    transition: all 0.3s ease;
    /* transition-all duration-300 */
    transform: translateY(0);
    /* base transform */
}

.service-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    /* shadow-xl */
    transform: translateY(-0.25rem);
    /* hover:-translate-y-1 */
}

/* Portfolio Card */
.portfolio-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.portfolio-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-0.25rem);
}

/* Form Input */
.form-input {
    width: 100%;
    /* w-full */
    padding: 0.5rem 0.75rem;
    /* px-3 py-2 */
    border: 1px solid var(--border-color);
    /* border-gray-300 equivalent */
    border-radius: 0.375rem;
    /* rounded-md */
    background-color: var(--card-bg);
    color: var(--text-color);
    /*        outline: none;*/
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    /* transition-colors duration-200 */
}

.form-input:focus {
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.5);
    /* focus:ring-2 focus:ring-orange-500 */
    border-color: var(--border-color);
}


/* Circular Image Container */
.circular-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Decorative Elements */
.decorative-circle {
    position: absolute;
    border: 4px solid;
    border-radius: 50%;
    opacity: 0.3;
}

.text-label {
    position: absolute;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-link {
        display: block;
        /* block */
        text-align: center;
        /* text-center */
    }

    .hero h1 {
        font-size: 1.875rem;
        /* text-3xl ≈ 30px */
        line-height: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
        /* text-lg ≈ 18px */
        line-height: 1.75rem;
    }

    .circular-container {
        width: 300px;
        height: 300px;
    }

    .service-card,
    .portfolio-card {
        margin-left: 1rem;
        /* mx-4 ≈ 16px each side */
        margin-right: 1rem;
    }
}


/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Theme Transition */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    100% {
        left: 100%;
    }
}

/* Language Selector Styling */
select {
    appearance: none;
    background-color: var(--card-bg);
    /* bg-transparent replaced by custom variable */
    color: var(--text-color);
    border: 1px solid var(--border-color);
    /* border border-orange-300 replaced */
    border-radius: 0.25rem;
    /* rounded */
    padding: 0.25rem 0.75rem;
    /* px-3 py-1 ≈ 0.75rem horizontal, 0.25rem vertical */
    font-size: 0.875rem;
    /* text-sm */
    /*        outline: none; */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    /* smooth focus effect */
}

/* Government Theme specific adjustments */
[data-theme="government"] .service-card,
[data-theme="government"] .portfolio-card {
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.1);
}

[data-theme="blue"] .service-card,
[data-theme="blue"] .portfolio-card {
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

[data-theme="green"] .service-card,
[data-theme="green"] .portfolio-card {
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}



/* Search Box Styling */
.search-container {
    background: white;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem 0 0 0.5rem;
    /*        outline: none;*/
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-control {
    /* display: block; */
    /* width: 100%; */
    padding: .375rem .75rem;
    /* font-size: 1rem; */
    /* font-weight: 400; */
    /* line-height: 1.5; */
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    /* background-clip: padding-box; */
    border: var(--bs-border-width) solid var(--bs-border-color);
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    /* appearance: none; */
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    height: 40px !important;
}


.search-button {
    background: linear-gradient(135deg, var(--button-primary), var(--primary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-1px);
}

/* Play Button Animation */
.play-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--shadow-color);
}

/* WCAG 2.5.8 (Target Size): small clickable icons (table sort arrows, etc.) need a
   minimum 24x24 CSS-px hit area. Padding grows the clickable box only — the icon
   itself looks the same. */
.sort-arrow-acts,
.sort-arrow,
[class*="sort-arrow"],
.custom_pointer.bi {
    display: inline-block;
    min-width: 24px;
    min-height: 24px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
}

/* GIGW 5.2.26 / WCAG 2.2.2 (Pause, Stop, Hide) & 2.3.1: continuously blinking
   "NEW" badges (nav popup + map badge) are not permitted. Make them STATIC —
   always visible, no blink animation. Text/badge stays; only the flashing stops. */
.popup-blink,
.new-blink-indicator,
.map-new-badge,
.blink {
    animation: none !important;
    -webkit-animation: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.nav-link.active,
.mobile-nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.form-input:focus,
select:focus {
    /*  outline: 2px solid var(--primary-color);*/
    outline-offset: 2px;
}

/* Gradient Backgrounds */
.bg-gradient-orange {
    background: linear-gradient(135deg, #fed7aa 0%, #fb923c 50%, #ea580c 100%);
}

.bg-gradient-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
}

/* Special Orange Utilities */
.text-orange-gradient {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    background-clip: text;
    color: transparent;
}

.hero-section {
    /*        background-image: var(--hero-bg);
*/
    background-size: 100% 100%;
}

.top-bar {
    background-color: var(--bg-color);
    color: var(--nav-bg);
    padding: 2px 0;
}

.hero-side-section {
    width: 430px;
    height: 430px;
}

.hero-side-section1 {
    width: 440px;
    height: 440px;
}

.hero-side-section3 {
    width: 366px;
    height: 366px;
}

.service-item-bg {
    background: var(--service-bg);
    color: var(--service-text);
    height: 70px;
    width: 70px;
    border-radius: 5px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--service-border);
}

.search {
    width: 80%;
}

.e-mojni,
.saat-bara,
.ferfar,
.epsit,
.e-hakka,
.pratyay,
.property,
.eightA,
.chavdi {
    position: absolute;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--service-text);
    background: #fff;
    /* default inactive color */
    animation: highlight 9s steps(1) infinite;
    /* steps(1) = instant change */
    /* Each tile is CENTRED on its point of the ring rather than having half its
       own size subtracted from the offset. That is the whole reason this ring is
       now width- and language-independent: the tile's width stops being part of
       the arithmetic, so a longer Marathi label, a bigger font or a different
       device font can no longer drag the tile off the circle.
       `highlight` animates background and color only, so this transform is safe. */
    transform: translate(-50%, -50%);
    /* The three pixel bands that used to position these set bottom/right on some
       tiles. Nothing sets them now; these keep a stale value from resurfacing. */
    right: auto;
    bottom: auto;
}

/* Keyframes - only one element active at a time */
@keyframes highlight {

    0%,
    11% {
        background: var(--button-primary);
        color: #fff;
    }

    /* active for ~1s */
    12%,
    100% {
        background: #fff;
        color: var(--service-text);
    }

    /* inactive */
}

/* ------------------------------------------------------------------ *
 * The hero service ring - ONE fluid circle, no breakpoint bands
 *
 * All nine tiles sit on a single circle: centre 50%/50% of the .quick-services
 * box, radius 38% of it. Because the tiles are centred with translate(-50%,-50%)
 * (see the shared rule above), these two numbers are the entire geometry - there
 * is no half-tile term to keep in step with the tile's size.
 *
 *     left = 50% + 38% * sin(a)        top = 50% - 38% * cos(a)
 *
 * Angles from the top: 0, 47.7, 82.2, 113.6 and 158.1 degrees, mirrored left and
 * right. NOT an even 40 - the tiles are wider than they are tall, so an even step
 * crowds the top three and strands the side ones. These leave the same clear space
 * between every neighbouring pair.
 *
 * WHAT THIS REPLACED, and why the old version could not be made to work:
 * the ring was authored three times over in hand-measured pixels - 320-400px,
 * <=768px and >=768.02px - each with its own centre, radius and angles. Two
 * consequences, both of which showed up as "fine on one machine, wrong on
 * another":
 *
 *   1. 768px to 768.02px matched NO band, so the tiles fell back to a set of
 *      by-eye offsets. Browser zoom and Windows display scaling both produce
 *      fractional viewport widths, so this was reachable in normal use.
 *   2. Every offset was computed as "centre + radius*sin(a) - 50px", where 50 was
 *      half a 90px tile. The painted tile is only 90px wide when the label fits;
 *      the right-hand labels are the long ones, so those tiles were drawn off
 *      their own point, by a different amount each - which is what made the ring
 *      read as lopsided and needed the margin-left fudges in mobile-reflow.css
 *      section 10e (now removed along with them).
 *
 * A percentage circle cannot have a gap between bands and does not care how wide
 * a tile turns out to be, so neither fault can come back.
 *
 * If an angle changes, re-derive BOTH values from the formula above. Do not nudge
 * a single number by eye - that is how this became three bands the first time.
 *
 * Sequential delays (1-by-1 clockwise) are unchanged.
 * ------------------------------------------------------------------ */
.e-mojni {
    left: 50%;
    top: 12%;
    animation-delay: 0s;
}

.eightA {
    left: 78.2%;
    top: 24.4%;
    animation-delay: 1s;
}

.chavdi {
    left: 87.6%;
    top: 44.8%;
    animation-delay: 2s;
}

.property {
    left: 84.8%;
    top: 65.2%;
    animation-delay: 3s;
}

.e-hakka {
    left: 64.2%;
    top: 85.2%;
    animation-delay: 4s;
}

.epsit {
    left: 35.8%;
    top: 85.2%;
    animation-delay: 5s;
}

.pratyay {
    left: 15.2%;
    top: 65.2%;
    animation-delay: 6s;
}

.ferfar {
    left: 12.4%;
    top: 44.8%;
    animation-delay: 7s;
}

.saat-bara {
    left: 21.8%;
    top: 24.4%;
    animation-delay: 8s;
}

/* Responsive */
/* @media (max-width: 768px) {
    .e-mojni {
        top: 15px;
        left: 40%;
        animation-delay: 0s;
    }

    .saat-bara {
        top: 60px;
        left: 60px;
        animation-delay: 1s;
    }

    .ferfar {
        top: 180px;
        left: 0px;
        animation-delay: 2s;
    }

    .pratyay {
        bottom: 120px;
        left: 15px;
        animation-delay: 3s;
    }

    .epsit {
        bottom: 29px;
        left: 120px;
        animation-delay: 4s;
    }

    .e-hakka {
        bottom: 36px;
        right: 125px;
        animation-delay: 5s;
    }

    .property {
        bottom: 130px;
        right: 25px;
        animation-delay: 6s;
    }

    .eightA {
        top: 50px;
        right: 80px;
        animation-delay: 7s;
    }

    .chavdi {
        top: 170px;
        right: 20px;
        animation-delay: 8s;
    }
} */
/* The hand-measured tile offsets for this band (centre 200,200, radius 146 in a
   400x400 box) were removed when the ring became one fluid circle - see the block
   headed "The hero service ring - ONE fluid circle" earlier in this file. Do not
   reintroduce per-breakpoint tile positions here; a width that matches this band
   and not the next is exactly how the ring used to break. */


.how-it-works {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 2px 0px 0px var(--primary-color);
    height: 100%;
}

.about-us-section {
    background: var(--bg-color);
    padding: 40px 20px;
    border-radius: 16px;
}

.about-us-header {
    text-align: center;
}

.about-us-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-us-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
}

.about-us-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.about-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 1px 6px var(--shadow-color);
    padding: 24px 18px 18px 18px;
    text-align: center;
    transition: box-shadow 0.2s;
    border: 1px solid var(--border-color);
}

.about {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 1px 6px var(--shadow-color);
    padding: 15px;
    width: 250px;
    text-align: center;
    transition: all 0.5s;
    border: 1px solid var(--border-color);
    transform: scale(1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 23px rgb(0 0 0 / 16%);
    transition: all 0.5s ease;
}

.about-card:hover {
    cursor: pointer;
    box-shadow: 0 10px 39px -20px rgb(0 0 0 / 51%);
}

.about-card-img {
    width: 100%;
    height: 150px;
    margin-bottom: 16px;
    border-radius: 8px;
}

.about-img {
    width: 250px;
}

.accordion-button:not(.collapsed) {
    color: #815020;
    background-color: #fff2e3;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    font-size: 20px;
    font-weight: 600;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 20px;
    color: #7c4d1f; /* AAA: 7.15:1 on white (was #815020, 6.77:1) - same brown, a shade darker */
    font-weight: 600;
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    /*    border-radius: 0;*/
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
    border-radius: 10px !important;
}

.about-card-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.about-card-desc {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.about-us-footer {
    text-align: center;
}

.about-icon {
    font-size: 35px;
    color: #fff;
    display: flex;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--button-primary), var(--primary-color));
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.read-more-btn:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--button-primary));
    color: var(--text-color);
}

.news {
    border-left: 2px solid #ff9800;
}

.mahabhumi-footer {
    background: #fff6e7;
    color: #333;
    padding: 0;
   border-top: 3px solid #e97d0d;
    font-size: 1rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    /* Stretch both sections to same height */
    padding: 32px 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 32px;
}

.footer-logo-section,
.footer-feedback-section {
    flex: 1 1 48%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* content flows from top */
}

.footer-logo {
    width: 280px;
    margin-bottom: 16px;
}

.footer-desc1 {
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    color: var(--text-color, #000);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.footer-feedback-section {
    min-width: 220px;
    flex: 1 1 260px;
}

.footer-logo-section {
    flex: 1 1 320px;
    margin-right: 79px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 50px;
}

.footer-feedback-section h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feedback-box {
    background: var(--card-bg, #fff);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-box label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.feedback-box textarea {
    resize: none;
    min-height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1290px !important;
    font-weight: 400 !important;
    color: #000 !important;
    font-size: 15px;
    /* padding: 12px 24px; */
    margin: 0px auto;
}

.footer-contact span {
    margin-right: 18px;
    color: var(--text-color);
}

.footer-policies {
    display: flex;
    gap: 16px;
}

.footer-policies a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.98rem;
    transition: text-decoration 0.2s;
}

.footer-policies a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    color: var(--text-color);
    background: var(--bg-color);
    padding: 10px 0 18px 0;
    font-size: 1rem;
    border-top: 1px solid var(--accent-color);
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        padding: 32px 16px;
    }

    .footer-logo-section,
    .footer-feedback-section {
        flex: 1 1 100%;
    }

    .footer-desc1,
    .feedback-box {
        flex: unset;
        /* remove stretch on mobile */
        width: 100%;
        text-align: center;
        margin-bottom: -3px;
    }
}



.footer-desc1,
.feedback-box {
    width: 100%;
    flex: 1;
    margin-bottom: -3px;
    /* Make both boxes stretch to full height */
}

.footer-desc1 {
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    color: var(--text-color, #000);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.feedback-box {
    background: var(--card-bg, #fff);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        padding: 32px 16px;
    }

    .footer-logo-section,
    .footer-feedback-section {
        flex: 1 1 100%;
    }

    .footer-desc1,
    .feedback-box {
        flex: unset;
        /* remove stretch on mobile */
        width: 100%;
        text-align: center;
    }
}

.feedback-box label {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.star-rating {
    color: #dad7d7;
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    cursor: pointer;
    user-select: none;
}

.star-rating .active {
    color: var(--accent-color);
    /* dark orange after click */
}

.feedback-box textarea {
    resize: none;
    min-height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--input-bg);
    color: var(--text-color);
}

.footer-border {
    border-top: 4px solid #f26522;
    padding: 15px 15px 18px 15px;
    width: 100%;
    /* full width border */
}

.footer-border {
    color: var(--text-color);
    background: var(--bg-color);
    padding: 10px 0 18px 0;
    font-size: 1rem;
    border-top: 0px solid var(--accent-color);
}

.footer-contact span {
    margin-right: 18px;
    color: var(--text-color);
}

.footer-policies {
    display: flex;
    gap: 4px;
}

.footer-policies a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.98rem;
    transition: text-decoration 0.2s;
}

.footer-policies a:hover {
    text-decoration: underline;
}

.footer-border {
    color: var(--text-color);
    background: var(--bg-color);
    padding: 10px 0 18px 0;
    font-size: 1rem;
    border-top: 0px solid var(--accent-color);
}

/* */
.footer-info span {
    font-size: 14px;
    color: #000;
    font-weight: 300 !important;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons a {
    margin: 0 8px;
    font-size: 1.3rem;
    /* color: #000; */
}

@media (max-width: 576px) {
    .social-icons a {
        padding: 1px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}


.footer-copyright {
    text-align: center;
    color: var(--text-color);
    background: var(--bg-color);
    padding: 10px 0 18px 0;
    font-size: 1rem;
    border-top: 1px solid var(--accent-color);
}

.btn-container {
    text-align: right;
    /* उजवीकडे */
    margin-top: 5px;
}

.send-btn {
    background-color: var(--accent-color);
    /* theme color */
    color: var(--text-color);
    border: none;
    padding: 8px 10px;
    border-radius: 2px;
    cursor: pointer;
}

.footer-wrapper {
    background: #e9fdfd;
    padding: 40px 20px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #000;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 280px;
    margin-bottom: 16px;
}

.footer-desc1 {
    background: white;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    margin-bottom: -3px;
}

.footer-right .feedback-box {
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.feedback-box h3 {
    margin: 0 0 10px;
    color: #00a1a7;
}

.feedback-box label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.star-rating span {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    margin-right: 4px;
}

.feedback-box textarea {
    width: 100%;
    border: 1px solid #00a1a7;
    border-radius: 6px;
    padding: 8px;
    min-height: 80px;
    margin: 10px 0;
    background-color: #f0ffff;
    font-size: 1rem;
}

.send-btn {
    background-color: #006e72; /* WCAG AA: 6.08:1 with white (was #00a1a7 = 3.14:1) */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    float: right;
}

.send-btn:hover {
    background-color: #005a5d; /* WCAG AA: 7.89:1 with white (was #008f94 = 4.09:1) */
}

.footer-bottom {
    max-width: 1290px !important;
    margin: 0 auto !important;
    padding-top: 10px !important;
    border-top: 0px solid #ddd;
    font-size: 0.9rem;
    text-align: center;
    color: #333;
}

.footer-info span {
    margin: 0 12px;
    display: inline-block;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    gap: 4px;
}

.footer-links a {
    margin: 0 8px;
    text-decoration: none;
    color: #006f73;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 0px !important;
    gap: 0px;
}

.social-icons a {
    margin: 0 6px;
    font-size: 1.4rem;
    color: #000;
    text-decoration: none;
}



.footer-copy {
    margin-top: 10px;
    font-size: 16px;
    color: #444;
}

/* Shared Footer Bottom Layout */
.footer-bottom-left {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
}

.social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.footer-updated .updated-text {
    /* GIGW: minimum 12pt (16px) — was 0.95rem (~15.2px) */
    font-size: 16px !important;
    white-space: nowrap !important;
}

.footer-updated {
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .send-btn {
        float: none;
        display: block;
        width: 100%;
    }

    .footer-info,
    .footer-links,
    .social-icons,
    .footer-copy {
        text-align: center;
        margin-top: 10px;
    }

    .footer-info span {
        display: block;
        margin-bottom: 6px;
    }
}

.help-support-section {
    /****24-11-2025****/
    background-color: #333333;
    /* padding: 48px 0 56px 0; */
    text-align: center;
    background-image: url(/SCDLR/images/help-support.png);
    background-size: 100% 100%;
}

.help-support-title {
    font-size: 2.2rem;
    /* GIGW: section bg is #333333 (dark grey) overlaid with help-support.png.
       White on #333 gives ~12.6:1 — passes WCAG AAA. The dark text-shadow
       keeps the heading legible over any brighter regions of the photo. */
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.7);
}

.help-support-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.help-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 36px 48px 32px 48px;
    min-width: 320px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.help-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

.help-card-label {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.help-card-number {
    font-size: 1.7rem;
    color: #6f4c00; /* WCAG AAA: ~7.4:1 on #fff (was #9f6900 = 4.67, AA only) */
    font-weight: 600;
    letter-spacing: 1px;
    word-spacing: 2px;
}

@media (max-width: 900px) {
    .help-support-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .help-card {
        min-width: 0;
        width: 90%;
        max-width: 400px;
    }
}

.faqs {
    border-top: 2px solid #ff9800;
    box-shadow: 0px 3px 20px -5px #d6d6d6;
}

/* The two drawn outlines and the photo disc share the ring's centre and are sized as
   a percentage of the .quick-services box, so all four pieces scale together and stay
   concentric at every width. Derived from the same circle as the tiles:

       inner outline  radius 38%  -> 76% across, inset 12%   (runs through tile centres)
       outer outline  radius 40%  -> 80% across, inset 10%
       photo disc     radius 36%  -> 72% across, inset 14%

   `margin: 0` is deliberate and must stay: the markup carries Bootstrap's .mt-2 on all
   three, and margin shifts an absolutely positioned box. The old pixel rules compensated
   by writing every `top` 8px short, which is why those values looked off-centre. */
.circle-border {
    position: absolute;
    border-radius: 50%;
    border: 4px solid rgb(76 76 76 / 58%);
    margin: 0 !important;
}

.circle-border.border-1 {
    width: 76%;
    height: 76%;
    top: 12%;
    left: 12%;
}

.circle-border.border-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: rgb(255 153 0 / 40%);
}

.quick-services .main-image {
    position: absolute;
    width: 72%;
    height: 72%;
    top: 14%;
    left: 14%;
    margin: 0 !important;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background-color: #fff;
}

/* The carousel fills whatever the disc currently is. Stated here rather than per band,
   and at this specificity because index-home.css pins .carousel-innerr to a flat 280px
   below 768px, which would otherwise overflow the disc on a small phone. */
.quick-services .main-image .carousel-innerr {
    width: 100%;
    height: 100%;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.glass-box {
    position: absolute;
    padding: 0px 0px !important;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 500;
    color: var(--glass-text);
    box-shadow: 0 0 10px var(--shadow-color);
    /* Scales with the ring, with a floor so the tile does not become unreadable on a
       small phone and a ceiling so it is unchanged from 500px up (18% of 500 = 90px,
       10% of 500 = 50px, which is exactly what the desktop used to be).

       `height: auto` with a min-height is the point of the pair: a long Marathi label
       now makes its own tile taller instead of spilling out of a fixed 50px box, and
       because the tile is centred on its point by transform rather than by having half
       its height subtracted, growing taller does not move it off the circle. */
    width: clamp(76px, 18%, 90px) !important;
    height: auto;
    min-height: clamp(40px, 10%, 50px);
    font-size: clamp(12px, 2.7vw, 15px);
    line-height: 1.2;
    /* Devanagari service names have few break opportunities; without this a long one
       would set the tile's width from a single unbreakable word and burst the clamp. */
    overflow-wrap: anywhere;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    /* Must stay 0. The 5px margins existed to work with the old "centre + radius*sin(a)
       - half the tile" offsets; with transform centring any margin is a straight shift
       off the ring. */
    margin: 0;
}

.play-video {
    color: var(--check-color);
    position: absolute;
    top: 38%;
    right: 24%;
    z-index: 10;
}

.check-icon {
    border: 2px solid var(--check-color);
    width: 23px;
    height: 23px;
}

.check-icon i {
    color: var(--check-color);
}

.card h5, .card h2.h5, .card h3.h5 {
    font-weight: bold !important;
}

.card p {
    font-size: 15px;
    /* WCAG 1.4.3: was #767676 — 4.5:1 on pure white but only 4.31:1 on the
       #f8f9fa card/accordion panels (e.g. Resources Training Academy), which
       fails AA for small text. #595959 = 7:1 on white, ~6.7:1 on #f8f9fa. */
    color: #595959;
}

/* WCAG 1.4.3: Bootstrap's default link blue (#0d6efd) drops to ~4.05–4.27:1 on
   the light #f8f9fa / #f1f3f5 panels & table row-stripes in the Resources
   Training Academy — below the 4.5:1 AA minimum. Darken those links to
   #0a58ca (~6.1:1 on #f8f9fa), still clearly a blue link. */
#trainingAcademyAccordion a,
#trainingTableBody a,
a.policy-links {
    color: #0a58ca;
}

@media (max-width: 767.98px) {
    .breadcrumb-header {
        margin-top: 20px !important;
    }
}

/* Designer - updated 09/12/2025 service */
.service-btn {
    background-color: var(--service-btn-bg);
    border: 1px solid var(--service-btn-border);
    box-shadow: 0px 3px 24px -10px var(--shadow-color);
    margin-bottom: 21px;
    color: var(--service-btn-text);
    font-size: 15px;
    height: 55px;
    font-weight: 500;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    padding: 8px 10px;

}

@media (max-width: 767.98px) {
    .service-btn {
        font-size: 14px;
        height: auto;
        text-align: center;
        padding: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .service-btn {
        font-size: 15px;
        padding: 10px 12px;
        text-align: center;
        height: auto;
    }
}

.service-btn:hover {
    background-color: var(--active-service-bg);
    border: 1px solid var(--active-service-bg);
    color: var(--active-service-text);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.active-service {
    background: var(--active-service-bg) !important;
    /* border-left: 1px solid #ff7f2a !important; */
    color: var(--active-service-text) !important;
}

.active-service-widget {
    /* background: var(--active-service-bg) !important; */
    /*    border-left: 1px solid #ff7f2a !important;*/
    color: var(--active-service-text) !important;
    border-radius: 10px;
}

.btn-light {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-video {
    background: var(--hero-bg);
    background-size: 100% 100%;
}

#serviceWidgetBody {
    height: 350px;
}

/* Remove background color from scroller text containers */
#accordionExample,
#serviceWidgetDescContainer,
#serviceWidgetDescContainerPremium {
    background: transparent !important;
}

.service-buttons {
    position: absolute;
    bottom: 20px;
    width: 88%;
}

/* #viewMoreBtnFree{
    background: #815020;
    border-radius: 7px;
    color: #dcdcdc;
   
} */
/* .service-info{
          border-right: 1px dashed #fed7aa;
    border-left: 1px dashed #fed7aa;
    } */
.gallery-btns {
    background: #fff;
    width: 383px;
    border-radius: 50px;
    border: 1px solid #c8c8c8;
}

.citizen-options {
    border: 1px solid #cacaca;
    border-radius: 10px;
    box-shadow: 0px 10px 19px -15px #00000075;
}


/* The ring's box. Square, never wider than its column, capped at the 500px the desktop
   ring was authored at. Everything inside is positioned as a percentage OF THIS BOX, so
   this single rule is what makes the ring fit a 320px phone and a 1920px desktop alike -
   there is nothing else to re-measure per width.

   `min(500px, 100%)` rather than a viewport unit: the box sits in a Bootstrap column, and
   below 992px that column is the thing that constrains it, not the screen. */
.quick-services {
    position: relative;
    width: min(500px, 100%);
    aspect-ratio: 1 / 1;
    margin-top: 5px;
    /* Deliberately NOT margin-inline: auto. The parent is
       .col-lg-6.d-flex.justify-content-center, so an auto side margin would absorb all the
       free space and slam the box to one edge instead of centring it. The parent centres
       it; mobile-reflow.css section 10e still nudges it at >=768px, where the COLUMN
       itself sits 10px left of the screen - a grid-gutter offset, unrelated to the ring. */
}

/* aspect-ratio is Chrome 88 / Safari 15. Older phones on the government network can
   predate that, and without a height the absolutely positioned ring would collapse to
   nothing, so they get a square sized off the viewport instead. */
@supports not (aspect-ratio: 1 / 1) {
    .quick-services {
        height: min(500px, 92vw);
    }
}

.glass-box a {
    color: var(--button-primary);
}

.headline {
    font-size: 2rem;
}

.green {
    width: 15px;
    height: 15px;
    background-color: #047857
}

.blue {
    width: 15px;
    height: 15px;
    background-color: #3860c5;
}

.orange {
    width: 15px;
    height: 15px;
    background-color: #fb923c
}

.accordion-button:not(.collapsed) {
    color: var(--nav-bg);
    background-color: var(--button-secondary);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--border-color);
    outline: 0;
    box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}


.tab-section .nav-item {
    color: var(--text-color);
    background-color: var(--accent-color);
}

.nav-pills {
    background-color: var(--button-secondary);
}

.nav-pills .nav-link.active {
    color: var(--nav-text) !important;
    /*  background-color: var(--button-primary) !important;*/
    border-radius: 0px;
    background-image: none !important;
}

.tab-content {
    background: var(--card-bg);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.tab-section {
    border-radius: 7px;
    overflow: hidden;
}

.tab-section .nav-item .nav-link {
    padding: 10px;
    color: var(--nav-text);

}

.tab-section .nav-item .nav-link i {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.map {
    width: 85%;
    border-radius: 10px;
    border: 1px solid #959595;
}

.news-section {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 6px 32px var(--shadow-color);
    max-width: 500px;
    height: 400px;
    padding: 10px;
    position: relative;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nav-bg);
    text-align: center;
    letter-spacing: 0.5px;
}

.news-marquee-container {
    position: relative;
    height: 300px;
    /* adjust to fit visible items */
    overflow: hidden;
    background: var(--bg-color);
    border-radius: 14px;
    box-shadow: 0 2px 12px var(--shadow-color);
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.news-marquee {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: scrollNews 15s linear infinite;
}

.news-marquee:hover {
    animation-play-state: paused;
}

.news-marquee li {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
    padding: 10px;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
    min-height: 48px;
}

.news-marquee li:last-child {
    border-bottom: none;
}

.learn-more-btn {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: #fff;
    background: linear-gradient(90deg, var(--button-primary), var(--primary-color));
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.98rem;
    padding: 4px 20px;
    text-decoration: none;
    box-shadow: 0 2px 10px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    z-index: 10;
}

.learn-more-btn:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--button-primary));
    color: #fff;
}

.arrow {
    font-size: 1.2rem;
    line-height: 1;
}

@keyframes scrollNews {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }

    /* Adjust this based on visible items */
}

@media (max-width: 600px) {
    .news-section {
        padding: 20px 8px;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .news-marquee li {
        flex-direction: column;
        gap: 8px;
        font-size: 0.98rem;
        padding: 12px 8px;
    }

    .learn-more-btn {
        bottom: 8px;
        right: 12px;
        padding: 6px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* The disc, both outlines and the carousel inside them are now sized as a
       percentage of the .quick-services box (see the base rules), so they scale
       with the ring instead of being re-stated in pixels at each breakpoint.
       Only the hero backdrop is still band-specific. */
    .hero-section {
        background-size: 200% 100%;
    }
}

/* The desktop/tablet band that used to live here - a 500x500 box with its own tile
   offsets, outlines and disc, opening at min-width: 768.02px - has been removed. Its
   geometry WAS a true circle, and it is the one the fluid percentage ring was derived
   from, so nothing is lost: centre 50%/50%, radius 38%, the same nine angles.

   Worth recording why the band itself was a defect. It opened at 768.02px while the
   phone band closed at 768px, so 768px-768.02px matched neither and the tiles fell back
   to the old by-eye offsets. That window is reachable in ordinary use - browser zoom and
   Windows display scaling both hand the page a fractional viewport width - and it is one
   of the ways the ring could look right on one machine and wrong on another at the very
   same screen resolution. */



.card-container {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08);
    width: 350px;
    max-width: 100%;
    padding: 28px 32px 24px 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.info-card:hover {
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.13);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 1.65rem;
    margin-right: 10px;
    color: #ff8623;
    /* blue for modern accent */
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #424242 !important;
}

.card-body p {
    color: #000;
    font-size: 1rem;
    margin-bottom: 15px;
}

.card-body ul {
    padding-left: 0px;
    margin: 0;
}

.card-body li {
    font-size: 1.02rem;
    color: #3c3c3c;
    margin-bottom: 7px;
    position: relative;
    list-style: none;
    padding-left: 1.2em;
}

.card-body li::before {
    content: "✔" !important;
    color: #ff8623;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 900px) {
    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .info-card {
        width: 98%;
        padding: 22px 16px;
    }
}

.timeline-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.timeline-scroll {
    display: flex;
    flex-wrap: nowrap;
    /* Prevent wrapping to a new line */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    position: relative;
    gap: 10px;
    align-items: flex-start;
}

.timeline-item {
    text-align: center;
    cursor: pointer;
    width: 120px;
}

.timeline-item .circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #f58220;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #f58220;
    background: linear-gradient(135deg, #fff7e6 60%, #ffe0b2 100%);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.08);
    transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.timeline-item.active .circle {
    background: linear-gradient(135deg, #f58220 60%, #8c4d00 100%);
    color: #8c4d00;
    border: 3px solid #8c4d00;
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.18);
    transform: scale(1.08);
}

.timeline-item .circle:hover {
    box-shadow: 0 6px 18px rgba(245, 130, 32, 0.18);
    transform: scale(1.08);
    border: 3px solid #8c4d00;
    background: linear-gradient(135deg, #f58220 60%, #8c4d00 100%);
    color: #8c4d00;
}

.timeline-item .label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-section {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.info-section img {
    max-width: 300px;
    border-radius: 8px;
}

.info-text {
    flex: 1;
}

.arrows {
    text-align: center;
    margin-top: 10px;
}

.arrow-btn {
    font-size: 24px;
    cursor: pointer;
    color: var(--button-primary);
    border: none;
    background: transparent;
    margin: 0 10px;
}

/* Hide scrollbar */
.timeline-scroll::-webkit-scrollbar {
    display: none;
}

.nav-item .nav-link:active {
    color: var(--button-primary);
}

.marquee-container {
    background-color: #ffffff;
    /* yellow background */
    color: #000;
    padding: 6px 0;
    overflow: hidden;
    position: relative;
    font-family: 'Sakal Marathi', 'SakalBharati', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif !important;
    font-weight: bold;
    border-top: 2px solid #dedede;
    border-bottom: 2px solid #dedede;
}

area {
    cursor: pointer;
}

.text-sub {
    color: var(--accent-color);
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
    color: var(--primary-color);
    font-weight: 500;
}

.important-note {
    background-color: var(--button-primary);
    color: #fff;
}

@media screen and (max-width: 767.98px) {
    .important-note {
        font-size: 15px;
        padding: 10px;
    }

}

.news {
    background-color: var(--nav-bg);
    color: #fff;
}

.note {
    font-size: 20px;
    color: var(--nav-text);
}

.gallery-photo,
.gallery-video {
    overflow: hidden;
}

.card-img-top {
    height: 100%;
    transform: scale(1);
    transition: all 1s;
}

.card-img-top:hover {
    transform: scale(1.15);
    transition: all 1s;
}

#navbarNav .nav-link:active {
    color: var(--button-primary) !important;
    background-color: var(--button-secondary);
}

#navbarNav .nav-link:focus {
    color: var(--button-primary) !important;
    background-color: var(--button-secondary);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.about-btn {
    color: var(--button-primary);
    text-decoration: none;
    font-weight: 500;
}

.modal-backdrop {
    z-index: 0 !important;
}

.modal {
    background: #0000007d;
}

/* popover css */

.popover {
    max-width: 700px;
    width: 100%;
    --bs-popover-max-width: 700px;
}

.popover-header {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffff;
    background: var(--primary-color);
}

.popover-body {
    color: #4e342e;
    background: #fffdf7;
    border-radius: 0 0 .5rem .5rem;
    font-size: 1em;
    padding-top: 1rem;
}

.division-title {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.07em;
    margin-bottom: 0.5rem;
}

.district-list {
    padding-left: 0.5em;
    margin-bottom: 0.9rem;
}

.district-list li {
    color: var(--text-color);
    margin-bottom: 3px;
    font-size: .95em;
    list-style-type: none;
}

.district-list li::before {
    content: "» ";
    color: var(--text-color);
}

.district-list li a {
    color: var(--text-color) !important;
}

@media (max-width: 575px) {
    .popover {
        max-width: 98vw;
    }

    .popover-body {
        font-size: 0.95em;
    }
}

.accordion-button1 {
    text-align: left;
    font-size: 16px;
    background: transparent;
    border-bottom: 1px solid #d1d1d1;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px !important;
    width: 100%;
    color: var(--primary-color);
    padding: 10px;
}

.imp-links a {
    color: var(--text-color);
}

.imp-links a:hover {
    color: var(--primary-color);
}

.hidden {
    display: none !important;
}

.faq-card {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.07);
}

.faq-btn {
    border-top: 2px solid var(--accent-color);
    background: var(--card-bg);
    box-shadow: none;
    color: var(--text-color);
    font-size: 1.1rem;
    border-radius: 12px;
}

.faq-btn:after {
    content: '+';
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
    margin-left: auto;
    transition: transform 0.2s;
}

.faq-btn:not(.collapsed):after {
    content: '×';
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
}

.faq-btn:focus {
    box-shadow: none;
}

.accordion-button::after {
    display: none;
}

.news-card-custom {
    border-left: 3px solid var(--button-primary) !important;
    box-shadow: 0px 3px 24px -10px var(--shadow-color);
}

.news-card-custom h5 {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
}

.news-card-custom p {
    color: var(--text-color);
    font-size: 15px;
}

.news-card-custom .card-body {
    padding-left: 1.5rem;
}

.news-card-custom a:hover {
    text-decoration: underline;
}


.btn-pill {
    border-radius: 999px;
}

.gallery-toggle.active,
.gallery-toggle:active,
.gallery-toggle:focus {
    /* Use background-image for the gradient AND an explicit background-color so
       contrast checkers (which read background-color, not gradients) measure the
       white text against the green button — not the light page behind it. */
    background-image: linear-gradient(to left, var(--button-primary), var(--primary-color)) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* GIGW/WCAG 1.4.3: the global `.nav-link.active { color:#ffff00 }` rule would
   turn these active toggle buttons' text YELLOW (yellow-on-green ≈ 4.3:1, and
   checkers read it as yellow-on-page = 1.03 fail). Force WHITE on the green
   button — white-on-green passes AA. */
.gallery-toggle.active.nav-link,
.gallery-toggle.nav-link.active,
.gallery-toggle.nav-link:active,
.gallery-toggle.nav-link:focus {
    color: #ffffff !important;
    border-bottom: none !important;
}

.gallery-toggle:not(.active) {
    background: var(--button-secondary) !important;
    color: var(--text-color) !important;
    border: none;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 2.5rem;
    border-radius: 12px 12px 0 0;
    opacity: 1;
    transition: background 0.2s;
}

.card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.go-to-service {
    background-color: var(--button-primary);
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    animation: glowing 1300ms infinite;
}

@keyframes glowing {
    0% {
        background-color: #e8bf19;
        box-shadow: 0 0 3px #e8bf19;
        color: #064e3b;
    }

    50% {
        background-color: #e8bf19;
        box-shadow: 0 0 20px #e8bf19;
        color: #064e3b;
    }

    100% {
        background-color: #e8bf19;
        box-shadow: 0 0 3px #e8bf19;
        color: #064e3b;
    }
}

.citizen-icon {
    background: #e97909;
    width: 36px;
    height: 23px;
    transform: scale(1.1);
    transition: all 0.5s;
}

.citizen-options:hover .citizen-icon {
    background: #fcead8;
    transform: scale(1.3);
    transition: all 0.5s;
}

.citizen-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.citizen-options:hover .citizen-icon i {
    color: #e97909;
}

.officer-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 992px) {
    .officer-card-container {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet: 2 cards */
    }
}

@media (max-width: 600px) {
    .officer-card-container {
        grid-template-columns: 1fr;
        /* Mobile: 1 card */
    }
}

.officer-card {
    border: 1px solid #58151c;
    border-radius: 10px;
    padding: 1rem;
    background-color: white;
}

.officer-card h5 {
    color: #58151c;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.officer-card p {
    margin: 0.25rem 0;
    color: #333;
}

.officer-card i {
    color: #58151c;
    margin-right: 5px;
}

.glass-box:hover {
    font-size: 17px;
    color: var(--accent-color);
    font-weight: bold;
    border: 1px solid var(--accent-color);
    transition: all 0.3s linear;
}

/* Theme Menu Styles */
.theme-menu {
    position: relative;
    display: inline-block;
    /*    margin-right: 10px;*/
    /**10-10-2025*/
}

.theme-menu {
    position: relative;
    display: inline-block;
}

.theme-menu-btn {
    background: linear-gradient(to right, var(--button-primary), var(--primary-color));
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.theme-menu-btn:hover {
    background: linear-gradient(to left, var(--button-primary), var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.theme-menu-btn i {
    font-size: 12px;
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.theme-option:last-child {
    border-bottom: none;
}

.theme-option:hover {
    background-color: #f9fafb;
}

.theme-option.active {
    background-color: #fef3c7;
    color: #92400e;
}

.theme-color-preview {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.theme-option[data-theme="government"] .theme-color-preview {
    background: linear-gradient(45deg, #ea580c, #fb923c);
}

.theme-option[data-theme="dark"] .theme-color-preview {
    background: linear-gradient(45deg, #60a5fa, #a78bfa);
}

.theme-option[data-theme="blue"] .theme-color-preview {
    background: linear-gradient(45deg, #1e40af, #3730a3);
}

.theme-option[data-theme="green"] .theme-color-preview {
    background: linear-gradient(45deg, #03865e, #047857);
}

.theme-option[data-theme="nature"] .theme-color-preview {
    background: linear-gradient(45deg, #16a34a, #14873f);
}

.theme-option[data-theme="sunset"] .theme-color-preview {
    background: linear-gradient(45deg, #dc2626, #ef4444);
}

.theme-option[data-theme="ocean"] .theme-color-preview {
    background: linear-gradient(45deg, #095a6f, #084c5e);
}

.theme-option i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.theme-option span {
    font-size: 14px;
    font-weight: 500;
}

/* Theme notification */
.theme-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.theme-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.theme-notification i {
    font-size: 16px;
    color: #10b981;
}

.theme-notification span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Responsive adjustments for theme menu */
@media (max-width: 768px) {
    .theme-menu {
        margin-right: 5px;
    }

    .theme-menu-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .theme-menu-btn span {
        display: none;
    }

    .theme-dropdown {
        min-width: 160px;
        right: -10px;
    }

    .theme-option {
        padding: 10px 12px;
    }

    .theme-option span {
        font-size: 13px;
    }
}

/* Theme-aware classes */
.theme-text-primary {
    color: var(--primary-color) !important;
}

.theme-text-secondary {
    color: var(--text-color) !important;
}

.theme-text-accent {
    color: var(--primary-color) !important;
}

.theme-bg-primary {
    background-color: var(--nav-bg) !important;
}

.theme-bg-secondary {
    background-color: var(--secondary-color) !important;
}

.theme-bg-accent {
    background-color: var(--bg-color) !important;
}

.theme-bg-light {
    background-color: var(--bg-color) !important;
}

/* ---------------------------------------------------------------------------
   WCAG colour-contrast: silence false positives on decorative / empty elements
   that contain NO visible text (WCAG 1.4.3 contrast applies to TEXT only).
   These changes are visually invisible (no text in the element) but keep
   automated colour-contrast checkers green on every page.
   - .notyf is the toast OVERLAY container; with no toast it has text colour ==
     page bg (~1:1) which contrast checkers flag as "1 div". Real toasts are
     .notyf__toast children that set their own colours, so darkening the
     container here does not affect them. Applied to ALL states (not just :empty)
     so the checker passes regardless of when the toast layer is injected.
   - .theme-accent-bar is the small heading underline bar (background-only).
--------------------------------------------------------------------------- */
.notyf {
    color: #1f2937 !important;
}

    /* keep the actual toast text white on its coloured (green/red) background */
    .notyf .notyf__message,
    .notyf .notyf__toast {
        color: #ffffff !important;
    }

.theme-accent-bar {
    color: #ffffff;
}

.theme-card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

.theme-btn-primary {
    border-color: var(--button-primary) !important;
    color: var(--text-color) !important;
}

.theme-btn-secondary {
    background-color: var(--button-secondary) !important;
    border-color: var(--button-secondary) !important;
    color: var(--text-color) !important;
}

.theme-btn-service {
    background-color: var(--service-btn-bg) !important;
    border-color: var(--service-btn-border) !important;
    color: var(--service-btn-text) !important;
}

.theme-btn-faq {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

.theme-link {
    color: var(--secondary-color) !important;
}

.theme-input {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color) !important;
}

.theme-accent-bar {
    background-color: var(--accent-color) !important;
}

/* Navbar toggler theme styling */
.navbar-toggler {
    border-color: var(--nav-text) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .nav-link {
    /*    color: var(--nav-text) !important;*/
    /***27-10-2025**/
}

.navbar .container {
    position: relative;
}


.uniform-btn {
    width: 130px;
    text-align: center;
    padding: 10px 0;
}


.empty-top-left {
    width: 47%;
}

.india-gov {
    width: 5%;
}

.topnav-right {
    width: 48%;
}

.dictionary-entry {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 12px;
}

.dictionary-entry:last-child {
    border-bottom: none;
}

@media(max-width: 768px) {
    .note {
        text-align: center;
        font-size: 12px;
    }

    .empty-top-left {
        width: 0px;
    }

    .india-gov {
        width: 20%;
    }

    .topnav-right {
        width: 100%;
    }
}

.hero-logopart {
    width: 100%;
    height: auto;
}

.news-card {
    height: 260px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px !important;
}

.news-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-card h5, .news-card h2.h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.read-more {
    font-size: 0.95rem;
    color: var(--button-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
    color: #004080;
}

.marquee-text:hover {
    animation-play-state: paused;
}

.attention-button {
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white !important;
    background: linear-gradient(90deg, #ff9a26, #ffa904);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    animation: slide 2s infinite alternate ease-in-out, blink 1s infinite;
    box-shadow: 0 0 12px #ffe38d96;
    transition: transform 0.3s;
    position: absolute;
    bottom: -60px;
    left: 25%;
    width: 50% !important;
}

.attention-button:hover {
    transform: scale(1.05);
}

@keyframes slide {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(10px);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.map-card {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-card-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 750px;
    max-height: 100%;
    overflow: auto;
    animation: zoomIn 0.3s ease;
    position: relative;
}

.map-svg svg {
    width: 100%;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    height: 23px;
    width: 50px;
    background-color: var(--button-primary) !important;
    border-radius: 10%;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--button-secondary) !important;
}

/* Animation */


/* Rolled Paper Animation Styles */
.service-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg) scaleY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    width: -webkit-fill-available;
}

/* Quick reset state for immediate closing */
.service-details:not(.open) {
    transform: rotateX(-180deg) rotateY(5deg) scale(0.8);
    transition: all 0.1s ease;
}

.service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 1;
}

.service-details.open {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-height: 600px;
    opacity: 1;
    transition: all 0.6s linear;
}

/* Force animation to retrigger */
.service-details.open {
    animation: unrollPaper 0.6s linear;
}

.service-details.open::before {
    opacity: 1;
    animation: paperGloss 0.8s ease-out;
}

.service-details .card-body {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    position: relative;
    z-index: 2;
}

.service-details.open .card-body {
    transform: translateY(0);
    opacity: 1;
}

/* Enhanced rolled paper animation keyframes */
@keyframes unrollPaper {
    0% {
        transform: rotateX(-90deg) scaleY(0);
        transform-origin: top center;
        opacity: 0;
    }

    15% {
        opacity: 0.3;
    }

    25% {
        transform: rotateX(-45deg) scaleY(0.3);
        opacity: 0.6;
    }

    50% {
        transform: rotateX(-20deg) scaleY(0.6);
        opacity: 0.8;
    }

    75% {
        transform: rotateX(-5deg) scaleY(0.9);
        opacity: 0.95;
    }

    100% {
        transform: rotateX(0deg) scaleY(1);
        opacity: 1;
    }
}

@keyframes paperGloss {
    0% {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.9) 100%);
    }

    50% {
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
    }

    100% {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.9) 100%);
    }
}

/* Enhanced button hover effects */
.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.service-btn.active-service {
    position: relative;
    overflow: hidden;
}

.service-btn.active-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-btn.active-service::before {
    left: 100%;
}


/* Add paper texture effect */
.service-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 16px;
    z-index: 1;
}

.service-details.open::after {
    opacity: 1;
}

/* Hover */
.officer-card-custom {
    border-left: 4px solid #e5bf24;
    max-width: 775px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-height: 180px;
    /* Minimum height for consistency */
    display: flex;
    align-items: flex-start;
    /* Keep image and text aligned */
}


.officer-card-custom:hover {
    transform: scale(1.03);
    background: #fcfce8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Image styling */
.officer-card-custom img {
    transition: transform 0.3s ease;
}

/* Hover effect for image */
.officer-card-custom:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease-in-out;
}

/* Horizontal rule styling inside accordion */
.accordion-item hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 0;
}

.accordion-body {
    padding: 1.5rem;
}

.officer-card-custom {
    margin: 5px 0;
}

.footer-desc1 {
    background-color: white;
    padding: 30px;
    /* optional: to add some space inside */
    border-radius: 4px;
    margin-bottom: 10px;
    /* optional: rounded corners */
}

.footer-policies a:not(:last-child)::after {
    content: "|";
    color: #252524;
    margin-left: 10px;
    font-weight: normal;
}

#viewMoreBtnFree {
    color: white !important;
}

#toggleDescBtnPremium {
    color: white !important;
}


.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.search-result-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.result-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-category {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
}

#searchInput {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.25);
}

#searchButton {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

#searchButton:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

#searchContainer {
    /*    border-top: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
}

/* Search Box Styling */
.search-box {
    background: white;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem 0 0 0.5rem;
    /*    outline: none;*/
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.search-button {
    background: linear-gradient(135deg, var(--button-primary), var(--primary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-1px);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.search-result-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.result-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-category {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
}

#searchInput {
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.25);
}

#searchButton {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

#searchButton:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.form-control {
    /* display: block; */
    /* width: 100%; */
    padding: .375rem .75rem;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    /* background-clip: padding-box; */
    border: var(--bs-border-width) solid var(--bs-border-color);
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    /* appearance: none; */
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 101% !important;
}

/* Search Input Proper Border */
#dictionarySearch {
    border: 1px solid #ccc !important;
    /* Visible light grey border */
    border-right: none;
    /* Mic/Search buttons join neatly */
    border-radius: 0.5rem 0 0 0.5rem;
    /* Rounded left corners */
    background-color: var(--bs-body-bg);
    padding-left: 10px !important;

}

/* Mic Button */
#micBtn {
    border: 1px solid #ccc !important;
    border-left: none;
    border-radius: 0;
    /* middle btn */
    background: var(--bs-body-bg);
    width: 35px !important;
}

/* Search Button */
#searchBtn {
    border: 1px solid #ccc !important;
    border-left: none;
    border-radius: 0 0.5rem 0.5rem 0;
    /* Rounded right corners */
    transition: all 0.3s ease;
    width: 35px !important;
}

#searchBtn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* .border {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
} */

.breadcrumb {
    margin: 0;
    background: transparent;
    /* Bootstrap default background काढून टाका */
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">>";
    color: #000;
    padding: 0 8px;
    font-weight: bold;
}

/* ===============================
   HELP & SUPPORT BOX
   =============================== */
/* Base Card */
.help-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    padding: 18px 22px;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
}

/* Hover effect */
.help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Card label */
.help-card-label {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
    text-align: center;
}

/* Card number / info */
.help-card-number {
    font-size: 1.1rem;
    color: #6f4c00; /* WCAG AAA: ~7.4:1 on #fff (was #9f6900 = 4.67, AA only) */
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    word-break: break-word;
}

/* Contact Us Cards container */
.contact-us-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    /* Important for responsiveness */
}

/* Contact Us labels */
.contact-us-cards .help-card-label {
    font-size: 1.24rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Contact Us numbers */
.contact-us-cards .help-card-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6f4c00; /* WCAG AAA: ~7.4:1 on #fff (was #9f6900 = 4.67, AA only) */
    line-height: 1.4;
    text-align: center;
}

/* Hover effect for label */
.contact-us-cards .help-card:hover .help-card-label {
    transform: scale(1.1);
    /* zoom in */
    color: #f4a300;
    /* color highlight */
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .contact-us-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .help-card {
        width: 100%;
        max-width: 380px;
        height: auto;
        /* flexible height */
    }
}

@media (max-width: 576px) {
    .help-card {
        min-width: 100%;
        max-width: 100%;
        padding: 16px;
        font-size: 0.9rem;
        height: auto;
    }

    .help-card-label {
        font-size: 0.9rem;
    }

    .help-card-number {
        font-size: 1rem;
    }
}

/* Blink effect */
/* .blink-text {
    animation: blink 1s infinite;
} */

/* @keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    } */
/* } */


.az-dropdown {
    display: none;
    position: absolute;
    background: #fdf5d3;
    border: 1px solid #ccc;
    min-width: 200px;
    z-index: 999;
}

.az-dropdown div {
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    /* pratek word khalti line */
    cursor: pointer;
}

.az-dropdown div:last-child {
    border-bottom: none;
    /* last element la line nahi */
}

.az-dropdown div:hover {
    background: #e6e6e6;
}

.az-wrapper {
    position: relative;
    display: inline-block;
}

/* Show dropdown on hover */
.btn-outline-secondary.btn-sm:hover+.az-dropdown {
    display: block;
}

.nav-item {
    flex: 1;
    /* make both equal width */
}

.nav-item:first-child {
    border-right: 2px solid #ffff;
    /* vertical divider */
}

.nav-item button {
    width: 98%;
    border-radius: 0;
}

.citizen-options {
    display: flex !important;
    flex-direction: column !important;
}

.citizen-options .theme-text-secondary {
    flex-grow: 1 !important;
    /* pushes readmore down */
}

.citizen-options a {

    /* keeps readmore aligned at bottom */
    display: inline-block !important;
    margin-top: -10px;
    margin-bottom: -10px;

}

/* ================= CHATBOT ICON ================= */

.chat-bubble-container {
    position: fixed;
    bottom: 80px;
    right: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
}

#chat-toggle-btn {
    background-color: var(--button-primary);
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

@media (min-width: 768px) and (max-width: 1024px) {

    #chatbot-wrapper {
        width: 70%;
        height: 75vh;
        right: 15%;
        bottom: 20px;
    }
}


/* ================= CHATBOT BOX ================= */

#chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90%;
    max-width: 420px;
    height: 85vh;
    max-height: 520px;
    display: none;
    flex-direction: column;
    background: #e5ddd5;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    z-index: 9999;
}

#servicesGrid1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ================= HEADER ================= */

.chat-header {
    background-color: var(--button-primary);
    color: white;
    padding: 12px 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ================= BUTTONS ================= */

.predefined-questions {
    background-color: var(--button-primary);
    border: 1px solid #ccc;
    padding: 10px 14px;
    border-radius: 12px;
    margin: 4px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}

.service-btn {
    margin-bottom: 0.5rem;
}


/* ================= SMALL MOBILE ================= */

@media (max-width:480px) {

    #chatbot-wrapper {
        width: 95%;
        height: 85vh;
        right: 2.5%;
        bottom: 10px;
        border-radius: 12px;
    }

    .chat-bubble-container {
        bottom: 70px;
        right: 12px;
    }

    #chat-toggle-btn {
        width: 50px;
        height: 50px;
    }
}


/* ================= MOBILE ================= */

@media (min-width:481px) and (max-width:768px) {

    #chatbot-wrapper {
        width: 90%;
        height: 85vh;
        right: 5%;
        bottom: 15px;
    }
}


/* ================= TABLET ================= */

/* ================= TABLET ================= */

@media (min-width:769px) and (max-width:1024px) {

    #chatbot-wrapper {
        width: 75%;
        height: 80vh;
        right: 12.5%;
        bottom: 20px;
    }
}


/* ================= SMALL LAPTOP ================= */

@media (min-width:1025px) and (max-width:1280px) {

    #chatbot-wrapper {
        width: 420px;
        height: 520px;
        right: 20px;
    }
}


/* ================= LARGE DESKTOP ================= */

@media (min-width:1281px) {

    #chatbot-wrapper {
        width: 450px;
        height: 540px;
        right: 20px;
    }
}


/* Bhumitra chatbot label — permanently hidden.
   The chatbot icon stays visible; only the floating "भूमित्र" text label is removed.
   display: none !important blocks runtime scripts from showing it, which removes
   it from the accessibility tree entirely (WAVE skips display:none elements).
   The color/background values remain as a fallback in case any override forces
   visibility — they would render at 9.9:1 contrast (AAA) on white. */
.chat-label,
.chat-bubble-container .chat-label,
p.chat-label,
.chat-bubble-container p.chat-label {
    display: none !important;
    visibility: hidden !important;
    color: #ffffff !important;
    background-color: #0C4A6E !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    opacity: 1 !important;
}

.note {
    font-size: 16px;
    color: #252323;
}

/* Fix for accessibility: make links visible without relying on color */
a.text-secondary {
    color: #495057 !important;
    text-decoration: underline;
    /* ensures non-color cue */
    font-weight: 500;
    /* little emphasis */
}

a.text-secondary:hover,
a.text-secondary:focus {
    text-decoration: none;
    /* optional: remove underline on hover */
    border-bottom: 2px solid #000;
    /* extra cue for hover/focus */
}

/* *{
    outline: 1px solid red !important;
}  */

button:hover,
.btn:hover,
a.btn:hover {
    font-weight: bold;
}


.hover-bold:hover {
    font-weight: bold;
}

.btn-gradient:hover,
.btn-gradient:focus {
    background-color: var(--primary-color);
    /* solid theme color */
    color: #ffffff;
}

.btn-gradient:focus-visible {
    outline: 3px solid #FACC15;
    outline-offset: 2px;
}

/* Make the top-bar flex wrap on small screens */
.top-bar .d-flex {
    flex-wrap: wrap;
}

/* Left section (skip, sitemap, old website) */
.accessibility-header-empty-top-left {
    flex-wrap: wrap;
}

/* Center emblem responsive */
.top-bar .gap-4 {
    min-width: 100px;
}

/***
    Responsive Heading bar for mobile screens
*/
@media (max-width: 767px) {
    .top-bar .gap-4 {
        order: -1;
        /* emblem moves top */
        width: 100%;
        text-align: center;
    }

    .accessibility-header-empty-top-left {
        width: 100%;
        justify-content: center;
    }

    .top-bar .d-flex.align-items-center {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem !important;
    }

    .clickable-link {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0.25rem 0.5rem !important;
        /*color: #0d6efd !important;*/
        /* Bootstrap primary */
        font-family: 'Sakal Marathi', 'Noto Sans Devanagari', 'Mangal', 'Baloo 2', Arial, sans-serif;
        font-size: 14px !important;
        display: inline-block !important;
        text-decoration: none !important;
    }

    .clickable-link:hover {
        /*        text-decoration: underline !important;*/
        color: #0a58ca !important;
    }
}

/***
    End of responsive Heading bar for mobile screens
*/


#languageDropdown {
    font-size: 0.9rem;
    border: 1px solid #ccc;
}

.dropdown-menu {
    min-width: 8rem;
}

/* Tablet / mid-size screens: 768px to 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    .top-bar .d-flex.justify-content-between {
        flex-wrap: nowrap;
        /* prevent wrapping */
        align-items: center;
        /* vertically center items */
    }

    .top-bar .gap-4 {
        margin-left: auto;
        margin-right: auto;
        /* keeps logo centered */
    }

    .top-bar .d-flex.align-items-center {
        flex-shrink: 1;
        /* allows right-side utilities to shrink slightly */
        flex-wrap: wrap;
        /* only wrap internally if needed */
        justify-content: flex-end;
    }
}

/* Hide mobile menu by default */
.mobile-menu {
    display: none;
    width: 100%;
}

/* Show menu when checkbox is checked */
#mobile-toggle:checked+.mobile-menu {
    display: block;
}


@media (max-width: 576px) {
    .important-note {
        flex: 0 0 100% !important;
        /* Make it full width */
        max-width: 100% !important;
        margin-bottom: 10px;
        /* Optional spacing between elements */
    }

    .important-note p {
        font-size: 16px;
        /* Reduce font size if needed */
        text-align: center;
        /* Center text for better readability */
        white-space: normal;
        /* Allow wrapping */
    }

    .marquee-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .important-note p {
        font-size: 16px;
        white-space: nowrap;
        /*        overflow: hidden;*/
        text-overflow: ellipsis;
    }


    .footer-logo-section {
        flex: 1 1 320px;
        margin-right: 0px;
    }
}

/***
    Date: 09-10-2025
    Sign-in button Dropdown
*/
.dropdown-hover {
    position: relative;
    display: inline-block;
}

/* Mobile version (below 991px) */
@media (max-width: 991px) {

    /* Hide links by default */
    .navbar-links {
        display: none;
        width: 100%;
        background-color: #815020;
        flex-direction: column;
    }

    /* Display the checkbox toggle button */
    .navbar-toggler {
        display: block;
        cursor: pointer;
        /*        font-size: 2rem;*/
        /***09-10-2025 **/
        color: white;
    }

    /* When checkbox is checked, show the menu */
    #nav-toggle:checked+.navbar-toggler+.navbar-links {
        display: flex;
    }

    /* District website nav toggle (same behavior) */
    #nav-toggle-district:checked+.navbar-toggler+.navbar-links {
        display: flex;
    }

    /* Style the links for mobile */
    .nav-link {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (min-width: 992px) {
    .navbar-links {
        display: flex;
        justify-content: center;
        /* centers horizontally */
        align-items: center;
        /* centers vertically */
        flex-grow: 1;
        /* allows it to take up space */
    }

    .navbar-links .nav-link {
        padding: 0.5rem 1rem;
        /* optional: adjust spacing */
    }
}


/* Initially, hide the theme dropdown */
.theme-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    z-index: 999999;
    width: 100%;
}

/* When the dropdown has the 'show' class, it will be visible */
.theme-dropdown.show {
    display: block;
}

/**10-10-2025:Sandip*/
.dropdown-hover-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 99999;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-hover:hover .dropdown-hover-content {
    display: block;
}

/****
    Navigation links on heading bar
*/
/* Style nav-links in top-bar left section */
.top-bar .col-md-5 .nav-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.125rem 0.4rem !important;
    /* WCAG AA contrast: #0a4660 on #f0fdfa = ~11:1 (passes) */
    color: #0a4660 !important;
    font-size: 16px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

/* Hover state */
.top-bar .col-md-5 .nav-link:hover {
    text-decoration: underline !important;
    color: #062a3a !important;
}

.clickable-link {
    padding: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.125rem 0.4rem !important;
    /*color: #0d6efd !important;*/
    /* Bootstrap primary */

    display: inline-block !important;
    text-decoration: none !important;
}

.clickable-link:hover {
    /*    text-decoration: underline !important;*/
    color: #0a58ca !important;
}

/****
    End of navigation links on heading bar
*/

/**Toggle btn*/
.mobile-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    /* Light background */
    border: 1px solid #dee2e6;
    /* Subtle border */
    border-radius: 6px;
    /* Rounded corners */
    padding: 6px 10px;
    /* Touch-friendly */
    font-size: 1.2rem;
    /* Icon size */
    color: #212529;
    /* Text/icon color */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:focus {
    background-color: #e2e6ea;
    /* Slightly darker on hover */
    border-color: #adb5bd;
    color: #000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


/***Logo alignment start*/
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
    /* take up available space */
    display: flex;
    justify-content: flex-start;
}

.header-center {
    flex: 1;
    /* center takes available space */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

/* Make sure the toggle stays at the right side */
.mobile-toggle-btn {
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
    /* or your color */
}

/***Logo alignment end*/

/***
    Date: 13-10-2025
*/
/***2nd external links bar start*/
@media (max-width: 991.98px) {
    .d-lg-none {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .d-lg-none .nav-link {
        display: inline-block !important;
        /* force inline-block */
        width: auto !important;
        /* no full width */
        white-space: nowrap !important;
        /* prevent wrapping inside links */
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/***2nd external links bar end*/

/***Emblem logo alignment start*/
@media (min-width: 992px) {
    .navbar-links {
        display: flex;
        justify-content: center;
        /* centers horizontally */
        align-items: center;
        /* vertically centers */
        flex-wrap: wrap;
        /* prevents overflow */
        width: 100%;
        /* full navbar width */
        background-color: #815020;
        /* keep your theme color */
    }

    .navbar-links .nav-link {
        white-space: nowrap;
        /* prevent text from wrapping inside links */
        padding: 0.5rem 1.25rem;
        /* even spacing between items */
        color: white;
        text-decoration: none;
    }

    .navbar-links .nav-link:hover {
        color: #ffd699;
        /* optional hover color */
    }

    .menu-item {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .popup-blink {
        position: relative;
        top: -8px;
        right: 0;
        font-size: 0.75rem;
        font-weight: 600;
        /* !important defeats accessibility-overlay inline injection
           (e.g. UserWay forcing rgba(255,255,255,0.475) which alpha-blends
           down to ~2.4:1 contrast). Locked at 6.4:1 AA. */
        color: #ffffff !important;
        background-color: #b91c1c !important;
        border-radius: 8px;
        padding: 0 4px;
    }
}

@media (min-width: 992px) {
    #mainNav .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        /* remove Bootstrap’s default padding */
    }

    .navbar-links {
        margin: 0 auto;
        /* ensures true horizontal centering */
    }

    .popup-blink {
        margin-right: 0 !important;
        /* avoid small layout shift caused by badge */
    }
}

/***Emblem logo alignment end*/


.btn-reset {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

/***Highlight tab btn by Ravsaheb start*/
:focus {
    outline: 3px solid #FFFF00;
    /* bright orange border */
    outline-offset: 2px;
    border-radius: 4px;
}

/***14-10-2025: tab-wise highlight start*/
/* For buttons and links */
/*button:focus,*/
/* GIGW 5.2.14 / 5.2.18: the black text below was paired with a yellow background.
   The background was commented out but the black text stayed, so on dark buttons
   (.btn-gradient, .btn-submit, map toggle - all teal fill) focused text became black on
   teal = 2.7:1. Focus is shown by the outline ring (aaa-contrast.css); the element keeps
   its own, already-passing text colour. Do not set a focus text colour without its background. */
a:focus {
    /*    background-color: #FFFF00 ;*/
    /*    color: #000;*/
}

.nav-link:focus-visible {
    outline: 3px solid #FFFF00 !important;
    /* bright orange border */
    outline-offset: 3px;
    border-radius: 6px;
    /*background-color: #FFFF00 !important;*/
    /* light orange background */
    /*color: #000 !important;*/
    transition: all 0.2s ease-in-out;
}

/* For dropdown items */
.dropdown-item:focus {
    /*    background-color: #ff9a26 !important;*/
    /*    color: white !important;*/
}

/***Highlight tab btn by Ravsaheb end*/

.nav-link.active {
    font-weight: bold;
    color: #ffff00 !important;
    border-bottom: 2px solid #ffff00;
}

/***14-10-2025: tab-wise highlight end*/


/****14-10-2025: Navigation links like District Websites, RTI,RTS,etc. start***/
@media (max-width: 767.98px) {
    header .container {
        padding: 0.5rem 1rem;
    }

    /* Stack layout */
    header>.container>.d-flex {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 0.5rem;
    }

    /* Hide both logos */
    header img {
        display: none !important;
    }

    /* Show nav normally below (even though it’s d-none d-lg-flex) */
    nav.d-none.d-lg-flex {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 75%;
        margin-top: 0.5rem;
    }

    nav a {
        display: inline-block;
        margin: 0.2rem 0.5rem;
        font-size: 14px;
    }
}

/* --- Tablet view (768px–991px): Show nav like mobile, keep logos visible --- */
@media (min-width: 768px) and (max-width: 991.98px) {
    header .container {
        padding: 0.5rem 1rem;
    }

    /* Keep side-by-side logos */
    header>.container>.d-flex {
        flex-direction: column;
        align-items: center !important;
        gap: 0.5rem;
    }

    /* Show both logos */
    header img {
        display: inline-block !important;
        height: 70px !important;
        width: auto !important;
    }

    /* Show nav even though it’s d-none d-lg-flex */
    nav.d-none.d-lg-flex {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    nav a {
        font-size: 15px;
    }
}


.tooltip-btn {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    /* position above the button */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

/* Show on hover */
.tooltip-btn:hover::after {
    opacity: 1;
}

/****14-10-2025: Navigation links like District Websites, RTI,RTS,etc. end***/

/*****14-10-2025: start*/
.hero-logopart img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Mobile view --- */
@media (max-width: 767.98px) {
    .hero-logopart {
        padding-top: 4rem !important;
        text-align: center;
    }

    .hero-logopart img {
        width: 70%;
        margin: 0 auto 1rem auto;
        /* add bottom spacing below logo */
        display: block;
    }

    .hero-logopart>div {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 14px 10px;
        margin: 0 auto;
        width: 85%;
        /* keeps box nicely centered and not edge-to-edge */
    }

    .hero-logopart hr {
        width: 70%;
        margin: 10px auto;
    }
}

/*****14-10-2025: end*/

/***15-10-2025: start**/
@media (max-width: 767.98px) {
    #districtPopoverContent {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100vw;
        padding-bottom: 10px;
    }

    #districtPopoverContent .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1rem;
    }

    #districtPopoverContent .col-md-2 {
        flex: 0 0 70vw;
        /* fix width to 70% of viewport */
        max-width: 70vw;
        border-right: none !important;
        margin-bottom: 0 !important;
    }
}



/**Slider start**/
/* The 320-400px ring (a 400x400 box pulled 40px left, centre 236/200, radius 128, and
   its own set of nine angles) was the third hand-measured copy of this circle. It is
   gone with the other two: the fluid percentage ring in the base rules covers these
   widths, and because the box is now min(500px, 100%) it FITS a 320px screen instead
   of overflowing it and being dragged back by a negative margin. */

.footer-border {
    padding: 5px !important;
}

/** {
    outline: 2px solid red;
}*/
/***Slider end*/

/* Dropdown btn tab-wise highlight start */
select.form-select:focus-visible {
    outline: 3px solid #FFFF00 !important;
    /* your preferred color */
    outline-offset: 2px;
    border-radius: 4px;
    /* optional */
}

/* Dropdown btn tab-wise highlight end */

/****District websites list start**/
/* ---------- Basic Layout Spacing ---------- */
.custom-padding {
    padding: 0px;
}

.title-margin {
    margin-bottom: 1rem !important;
}

/* ---------- Grid Container ---------- */
.district-grid {
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
}

/* ---------- Each Column ---------- */
.district-grid .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

/* Equal height columns on desktop */
@media (min-width: 768px) {
    .district-grid .col-md-4 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100%;
    }

    /* Add equal height behavior */
    .district-grid .row {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
        width: 100%;
    }

    .district-grid .col-md-4 {
        flex: 1 1 0;
    }
}

/* ---------- Region Titles ---------- */
.region-title,
.theme-text-primary.title-margin {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    /* border-bottom: 1px solid #eaeaea; */
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

/* ---------- District List Items ---------- */
.dropdown-item {
    display: block;
    padding: 0.2rem 0;
    font-size: 1rem;
    color: #212529;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dropdown-item i {
    margin-right: 4px;
    color: var(--bs-primary);
}

.dropdown-item:hover {
    color: var(--bs-primary);
    background-color: #f8f9fa;
}

/* ---------- Borders Between Regions (Desktop) ---------- */
.border-md-end {
    border-right: 1px solid #e0e0e0;
}

.border-md-end:last-child {
    border-right: none !important;
}

/* ---------- Mobile View ---------- */

.region-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.2rem;
    border-right: 1px solid #e0e0e0;
    /* example border */
}

/* Remove border on last column of each row for desktop */
@media (min-width: 768px) {
    .district-grid>.region-column:nth-child(6n) {
        border-right: none;
    }
}

/* Remove borders on mobile if desired */
@media (max-width: 767.98px) {
    .region-column {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }

    .district-grid>.region-column:last-child {
        border-bottom: none;
    }
}

/****District websites list end**/

/***15-10-2025: end**/

/**16-10-2025: start**/
/**Mobile view RTI, RTS links alignment issues resolved start**/
@media (max-width: 991px) {
    .nav-link {
        width: 100% !important;
    }
}

/**Mobile view RTI, RTS links alignment issues resolved end**/

/****27-10-2025: start searchbar-FAQ****/
.faq-search-wrapper {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.faq-search-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

#faqSearch {
    flex: 1;
    font-size: 1rem;
    background-color: #f9fafb;
    border-radius: 12px;
    border: none;
    transition: all 0.2s ease-in-out;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    box-shadow: none;
}

#faqSearch:focus {
    background-color: #fff;
    /*        outline: none;*/
    box-shadow: 0 0 0 2px rgba(56, 132, 255, 0.25);
}

/* Remove double definition of mobile query and clean up */
@media (max-width: 768px) {
    .d-flex.justify-content-center.mb-4 {
        justify-content: stretch !important;
    }

    .faq-search-wrapper {
        max-width: 100%;
        width: 100%;
        margin: 0 1rem;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    #faqSearch {
        font-size: 0.95rem;
        padding: 0.7rem 1rem 0.7rem 2.3rem;
        background-color: #fff;
        border-radius: 10px;
    }

    .faq-search-icon {
        left: 0.9rem;
        font-size: 0.95rem;
    }
}

/****27-10-2025: end searchbar-FAQ****/

/**28-10-2025: start: History**/
.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.03);
}

@media (max-width: 767.98px) {
    #accordionHistory .row {
        flex-direction: column !important;
        text-align: center;
    }

    #accordionHistory .col-md-6 {
        width: 100%;
    }
}

/**28-10-2025: end: History**/

.card-title1 {
    font-size: 14px;
    font-weight: 700;
    color: #ffff !important;
    line-height: 1.6;
}

/***********24-11-2025*************/
.main-panel,
.container,
body,
html {
    overflow: visible !important;
}

.custom-close-btn {
    all: unset;
    /* 🔥 Tailwind reset remove */
    width: 56px !important;
    height: 27px !important;
    font-size: 13px !important;
    text-align: center !important;
    padding: 0 !important;
    background-color: var(--button-primary) !important;
    border: none;
    /* remove default border */
    color: var(--button-secondary) !important;
    cursor: pointer;

}

.img {
    max-width: 100%;
    height: auto;
}


/***********24-11-2025*************/
section {
    scroll-margin-top: -150px;
}

#citizen-corner {
    /*padding-top: 140px;*/
    scroll-margin-top: 220px;
}

#help-support {
    /*padding-top: 140px;*/
    scroll-margin-top: 300px;
}

.btn-gradient {
    background-color: var(--primary-color);
    /* solid theme color */
    color: #ffff;
}

.btn-gradient:hover {
    background-color: var(--primary-color);
    /* solid theme color */
    color: #ffff;
}

.btn-customs:focus {
    outline: 3px solid #FFBF47;
    outline-offset: 2px;
}

.btn-customs {
    background-color: var(--button-primary);
    color: #FFFF;
}

.btn:focus,
.btn-sm:focus {
    outline: 2px solid #0056b3;
    /* visible color */
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.btn-gradient:focus,
a.btn-gradient:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}



.btn:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

a[data-bs-toggle="tooltip"]:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
}

#suggestions-list li,
#suggestions-list li:before {
    font-size: 16px;
}

.error-code {
    font-size: 14px;
}

h1 span {
    font-size: 24px;
}

.bad-clock #main-message>p {
    font-size: 16px;
}

/* ========================================
   Modal Blur Effect
   ======================================== */
/* Blur only header elements when Bootstrap modal opens - NOT the main-panel */
/* This ensures the modal (which is inside main-panel) remains visible */
body.modal-open>div:not([class*="modal"]):not(.main-panel),
body.modal-open>section:not([class*="modal"]),
body.modal-open>header:not([class*="modal"]),
body.modal-open>nav:not([class*="modal"]),
body.modal-open .horizontal-sticky,
body.modal-open .search-bar-sticky {
    filter: blur(5px) !important;
    transition: filter 0.3s ease;
}

/* Blur headers when custom image-modal is open (Photo Gallery Index page) */
body.image-modal-open>div:not([class*="modal"]):not(.main-panel),
body.image-modal-open>section:not([class*="modal"]),
body.image-modal-open>header:not([class*="modal"]),
body.image-modal-open>nav:not([class*="modal"]),
body.image-modal-open .horizontal-sticky,
body.image-modal-open .search-bar-sticky {
    filter: blur(5px) !important;
    transition: filter 0.3s ease;
}

/* Explicitly ensure modals are NEVER blurred */
div.modal,
div.modal *,
div.modal-backdrop,
div.image-modal,
div.image-modal * {
    filter: none !important;
}

/* Remove blur when modals are closed */
body:not(.modal-open):not(.image-modal-open)>div,
body:not(.modal-open):not(.image-modal-open)>section,
body:not(.modal-open):not(.image-modal-open)>header,
body:not(.modal-open):not(.image-modal-open)>nav,
body:not(.modal-open):not(.image-modal-open) .horizontal-sticky,
body:not(.modal-open):not(.image-modal-open) .search-bar-sticky {
    filter: none;
    transition: filter 0.3s ease;
}

/* ========================================
   Sticky Header
   ======================================== */
/* Make the horizontal header sticky at the top */
.horizontal-sticky {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    /* !important removed to allow JS override */
    z-index: 1000 !important;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sticky-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    z-index: 1000 !important;
}


/* Ensure search bar sticky also stays with header */
.search-bar-sticky {
    position: sticky !important;
    position: -webkit-sticky !important;
    /* top: 0 !important; Removed to allow JS to set dynamic top offset */
    z-index: 1001 !important;
}

/* ========================================
   GIGW 5.2.15 / WCAG 1.4.10 Reflow — 200% zoom fix
   ----------------------------------------
   On desktop #globalSearchBar is position:absolute (right:0). The main nav
   collapses to the hamburger menu at <=991px, but the search bar only
   reflowed into normal flow at <=768px — so between 769px and 991px (the
   effective viewport at 200% zoom on common screens, e.g. 1920->960,
   1600->800) the absolute search box overlapped the first stacked nav item.
   Reflow the search bar at the SAME 991px breakpoint as the nav collapse so
   it stacks full-width instead of overlapping. !important overrides the
   inline style="position:absolute" on the #globalSearchBar element.
   Desktop (>=992px) layout is unchanged.
   ======================================== */
@media (max-width: 991.98px) {
    #globalSearchBar {
        position: relative !important;
        width: 100% !important;
        right: auto !important;
        margin-top: 0 !important;
    }
}

/* ========================================
   Search box at 200% zoom (desktop)
   ----------------------------------------
   At 200% zoom the effective viewport is ~480–991px, which otherwise hits the
   <=768px MOBILE rule and stretches the search FULL-WIDTH with an empty band
   above it. Keep it the SAME compact top-right box (~310px) as the 100%
   desktop view. Real phones (<480px) still get the full-width mobile search.
   ======================================== */
@media (min-width: 480px) and (max-width: 991.98px) {
    #globalSearchBar {
        position: absolute !important;
        right: 0 !important;
        width: 310px !important;
        margin-top: 8px !important;
        padding: 0 !important;
    }
}

/* ========================================
   Global search-result modal (#searchPopup)
   ----------------------------------------
   The results list had no height limit, so a long list grew the dialog past
   the viewport — the Close button scrolled out of reach and the popup felt
   like it blocked the whole page. Cap the list and let it scroll INSIDE the
   modal so the dialog stays contained and dismissible.
   ======================================== */
#searchPopup .modal-dialog {
    max-height: 90vh;
}

#searchPopup #resultsList {
    max-height: 60vh;
    overflow-y: auto;
}

#searchPopup .search-result-count {
    color: var(--nav-bg, #095a6f);
}



/* ========================================
   Home Page Section Borders
   ======================================== */
/* Reusable class to add border lines after sections */
.section-border {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

a {
    display: inline-block;
    max-width: 100%;
    word-break: keep-all;
}

.auto-scroll {
    height: 50vh;
    /* responsive height */
    max-height: 350px;
    overflow-y: auto;
}

/*
body .uwy.userway_p1 .userway_buttons_wrapper {
    top: 13px !important;
    left: var(--uway-left) !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    transform: none !important;
}

body .uwy.userway_p1 {
    position: static !important;

}*/

/* Wrapper ensures fixed positioning regardless of widget's inline styles */

/*body .uwy .uai,
body .uwy .ulsti {
    cursor: pointer;
    background: #0048ff !important;
    border-radius: 50% !important;
    padding: 0;
    transition: .1s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    position: static !important;
}*/
body .uwy.userway_p1 .userway_buttons_wrapper {
    position: fixed !important;
    display: inline-flex !important;
    top: 13px !important;
    left: auto !important;
    right: 8px !important;
    bottom: auto !important;
    width: 30px !important;
    height: 30px !important;
    transform: none !important;
}

/* Wrapper ensures fixed positioning regardless of widget's inline styles */


body .uwy.userway_p1 {
    position: fixed !important;
    display: inline-block !important;
}

body .uwy .uai,
body .uwy .ulsti {
    cursor: pointer;
    background: #0048ff !important;
    border-radius: 50% !important;
    padding: 0;
    transition: .1s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 31px;
    position: relative !important;
    /* ✅ FIX */
}

.breadcrumb-item a {
    color: #3898ff !important;
    /* Darker blue for GIGW contrast */
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #212529 !important;
    /* High contrast black for active nav item */
    font-weight: 700;
}

/* GIGW Accessibility Compliance - Minimum Font Size 12pt (16px)
   Higher-specificity selectors are used here so that Bootstrap's .btn rule
   (font-size: 1rem default but often overridden to ~14px in app CSS),
   inline media-query rules in .cshtml files (.footer-copy { font-size: 0.95rem }),
   and any other narrower selectors don't sneak below the GIGW minimum. */
.footer-copy,
div.footer-copy,
.theme-link,
a.theme-link,
.sublink,
a.sublink,
.btn-link,
.btn.btn-link,
button.btn-link,
button.btn.btn-link,
a.btn-link,
a.btn.btn-link {
    font-size: 16px !important;
}

.footer-copy *,
div.footer-copy *,
.theme-link *,
a.theme-link *,
.sublink *,
a.sublink *,
.btn-link *,
.btn.btn-link *,
button.btn-link *,
button.btn.btn-link *,
a.btn-link *,
a.btn.btn-link * {
    font-size: 16px !important;
}

/* GIGW: enforce 16px on Bootstrap popover content (district list popover).
   Bootstrap's .popover defaults to font-size: 0.875rem (14px), and inside it
   the .dropdown-item links inherit further-reduced size in some cascades
   (down to ~12px per WhatFont check). Force all popover text to 16px. */
.popover,
.popover .popover-body,
.popover .popover-body *,
.popover-body,
.popover-body *,
.popover .dropdown-item,
.popover-body .dropdown-item,
#districtPopoverContent,
#districtPopoverContent *,
#districtPopoverContent .dropdown-item,
#districtPopoverContent h6,
.district-grid,
.district-grid *,
.district-grid .dropdown-item {
    font-size: 16px !important;
}

/* GIGW: also enforce 16px on responsive overrides inside media queries.
   The `.footer-copy { font-size: 0.95rem }` rule lives inside a @media block
   in _FooterPartial.cshtml; that breakpoint specificity matches our base rule,
   so we add an extra layer here that wins via higher selector specificity. */
.theme-bg-light .footer-copy,
.theme-bg-light .footer-copy *,
footer .footer-copy,
footer .footer-copy *,
footer .theme-link,
footer .theme-link *,
footer a.theme-link,
footer a.theme-link *,
.footer-links,
.footer-links a,
.footer-links button,
.footer-links span,
footer .footer-links a,
footer .footer-links button,
.mahabhumi-footer .footer-links a,
.mahabhumi-footer .footer-links button,
.mahabhumi-footer .footer-info,
.mahabhumi-footer .footer-info span,
.mahabhumi-footer .footer-visitors {
    font-size: 16px !important;
}

/* ===== Hero service pill — overlay lock, animation-preserving =====
   The wheel uses a CSS @keyframes "highlight" animation on the parent
   .glass-box that cycles each tile between active (dark bg + #fff text)
   and inactive (white bg + theme-color text).
   Pill inherits the parent's animated color by default. */
button.hero-service-pill[class],
a.hero-service-pill[class],
.hero-service-pill[class] {
    color: inherit !important;
    opacity: 1 !important;
}

/* User reported that during the active phase the pill text briefly flashed
   the inactive theme color (e.g. blue) before settling to white. Cause:
   inheritance latency from the parent's animated color combined with
   browser zoom redraws. Fix: run a SECOND animation directly on the pill
   with `animation-delay: inherit` so the pill itself flips its color
   property to a hard #fff during the active window — bypassing inheritance
   so the text is white the entire active phase, with no two-color glimpse. */
.glass-box .hero-service-pill[class],
.glass-box button.hero-service-pill[class],
.glass-box a.hero-service-pill[class] {
    animation: heroPillTextLock 9s steps(1) infinite;
    animation-delay: inherit;
}

@keyframes heroPillTextLock {
    0%,
    11% {
        color: #ffffff;
    }

    12%,
    100% {
        color: inherit;
    }
}

/* ==========================================================================
   BREADCRUMB — Site-wide alignment normalisation
   --------------------------------------------------------------------------
   ~30 pages across the site (Eodb, Talks, DiscussionAndTalks, VideoGallery,
   PhotoGallery, Blogs/Show, Home/Tenders, SchemesProjects, Resources,
   ProjectDetail, MoreNews, NagarBhumapan, MahsulMahitTantranyan, RTS, RTI,
   PublicDiscussion, _OfficersPartial*, _BlogIndexPartial, _LayoutSCDLR,
   SchemsAndProjects/ProjectDetails, ...) wrap their breadcrumb in
       <nav class="navbar navbar-expand-lg navbar-dark">
           <nav class="site-breadcrumb" aria-label="...">
               <ol class="breadcrumb">
   Two problems with that:
     1. The outer .navbar class applies Bootstrap navbar padding + flex layout,
        which shifts the breadcrumb sideways (looks "out of alignment").
     2. .navbar-dark sets link text to rgba(255,255,255,.55) which is invisible
        on the light page bg the breadcrumb actually lives on.
   Additionally a couple of those pages (Talks, DiscussionAndTalks,
   VideoGallery, PhotoGallery, Tenders, etc.) omit `bg-light` on the <ol>,
   so the breadcrumb has no light backdrop and looks bare next to neighbours
   that do have it.
   Fix here without touching every page: neutralise the outer .navbar wrapper
   when it contains a breadcrumb, and give every breadcrumb a consistent
   light backdrop + padding + spacing.
   ========================================================================== */

/* 1. Strip Bootstrap navbar styling from any .navbar that holds a breadcrumb. */
nav.navbar.navbar-expand-lg:has(.breadcrumb),
nav.navbar.navbar-expand-lg:has(.site-breadcrumb),
.navbar.navbar-expand-lg.navbar-dark:has(.breadcrumb),
.navbar.navbar-expand-lg.navbar-dark:has(.site-breadcrumb) {
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    display: block !important;
    min-height: auto !important;
    flex-wrap: nowrap;
}

/* Restore link visibility — navbar-dark forces light-on-light otherwise. */
nav.navbar.navbar-dark:has(.breadcrumb) a,
nav.navbar.navbar-dark:has(.site-breadcrumb) a,
nav.navbar.navbar-dark .breadcrumb a {
    color: #0d6efd;
}

nav.navbar.navbar-dark .breadcrumb a:hover,
nav.navbar.navbar-dark .breadcrumb a:focus {
    color: #0a58ca;
    text-decoration: underline;
}

/* 2. Uniform breadcrumb appearance regardless of bg-light presence.
   Matches the pages that DO use `bg-light` so the whole site has one
   consistent look. Pages that already pass bg-light render identically. */
nav.site-breadcrumb > ol.breadcrumb,
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.56rem 1.13rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

/* Make sure the breadcrumb-item active state is readable on the light strip. */
.breadcrumb-item.active {
    color: #495057;          /* 7.5:1 on #f8f9fa — AA+ */
    font-weight: 500;
}

.breadcrumb-item a {
    color: #0d6efd;          /* default Bootstrap link blue */
    text-decoration: none;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus-visible {
    text-decoration: underline;
    color: #0a58ca;
}

.breadcrumb-item a:focus-visible {
    outline: 2px solid #0a58ca;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Keep the existing ">>" separator from line 3967 of this file (it's the
   site's intended look). Just tighten the spacing a little so it sits flush
   with neighbouring items instead of getting orphaned by long padding. */
.breadcrumb-item + .breadcrumb-item::before {
    padding: 0 0.4rem;
}

/* 3. Some pages add inline negative-margin hacks (e.g. Tenders has
   `style="margin-top:-38px; margin-left:-91px;"` on the parent) to compensate
   for the bad wrapper. Once the wrapper is neutralised those hacks misalign
   the breadcrumb the OTHER way, so zero them out. */
.container-fluid[style*="margin-top: -38px"],
.container-fluid[style*="margin-left: -91px"] {
    margin: 0 !important;
}

/* 4. The Admin area uses its own _AdminLayoutContentHeader with
   `<ol class="breadcrumb float-sm-right">` — keep that floating layout intact
   instead of forcing display:flex on every admin breadcrumb. */
.breadcrumb.float-sm-right {
    display: inline-flex;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

