

/* CSS Reset & Universal Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --gov-primary: #1e3a8a;
    --gov-secondary: #008080;
    --gov-teal: #149c9c;
    --gov-accent-saffron: #ff9933;
    --gov-accent-green: #138808;
    --gov-text-dark: #222222;
    --gov-text-muted: #555555;
    --gov-bg-light: #f8fafc;
    --gov-border: #e2e8f0;
    --gov-font: "Segoe UI", Arial, "Helvetica Neue", sans-serif;
    --base-font-size: 14px;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
}

body.front-page-body {
    background-color: #ffffff !important;
    color: var(--gov-text-dark);
    font-family: var(--gov-font);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.5;
    text-align: left !important;
    -webkit-font-smoothing: antialiased;
    transition: zoom 0.2s ease;
}

/* ========================================================
   ZOOM IN & ZOOM OUT CLASSES (A+, A, A-)
   ======================================================== */
body.zoom-in {
    zoom: 1.15;
}

body.zoom-out {
    zoom: 0.90;
}

body.zoom-reset {
    zoom: 1.0;
}

/* Keyboard Accessible Focus Rings (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #0056b3 !important;
    outline-offset: 2px !important;
}

/* ========================================================
   GIGW ACCESSIBILITY TOP TOOLBAR (IMAGE 2 MATCHING)
   ======================================================== */
.gov-top-bar {
    width: 100%;
    background-color: #f7f9fa;
    border-bottom: 1px solid #dce1e6;
    padding: 4px 0;
    position: relative;
    z-index: 1000;
}

.gov-top-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.gov-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gov-tricolor-badge {
    display: flex;
    flex-direction: column;
    width: 14px;
    height: 10px;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(0,0,0,0.4);
}

.gov-tricolor-badge .tri-saffron {
    background: #ff9933;
    flex: 1;
}

.gov-tricolor-badge .tri-white {
    background: #ffffff;
    flex: 1;
}

.gov-tricolor-badge .tri-green {
    background: #138808;
    flex: 1;
}

.gov-state-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.2px;
}

.gov-top-right {
    display: flex;
    align-items: center;
}

.gov-access-controls {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.gov-access-controls > li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

/* Button style matching Image 2 with crisp blue outline */
.gov-access-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0b5cab;
    border: 1px solid #1a73e8;
    border-radius: 4px;
    padding: 2px 9px;
    font-size: 11.5px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    height: 25px;
    box-sizing: border-box;
}

.gov-access-btn:hover {
    background: #e8f0fe;
    color: #08427b;
    border-color: #0d47a1;
}

/* Hindi | English Bilingual Box (Matching Image 2) */
.gov-lang-box {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #1a73e8;
    border-radius: 4px;
    height: 25px;
    padding: 0 6px;
    box-sizing: border-box;
}

.gov-lang-btn {
    background: transparent;
    border: none;
    padding: 0 3px;
    color: #0b5cab;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.gov-lang-btn:hover {
    color: #000000;
}

.gov-lang-btn.active {
    font-weight: 700;
    color: #000000;
    text-decoration: underline;
}

.gov-pipe-sep {
    color: #1a73e8;
    font-size: 11px;
    margin: 0 2px;
}

/* Font Sizing / Zoom Buttons (A+, A, A-) */
.gov-font-box {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.gov-font-btn {
    min-width: 25px;
    padding: 2px 6px;
    font-weight: 600;
}

.gov-font-btn.active {
    background: #0b5cab;
    color: #ffffff;
    border-color: #0b5cab;
}

/* Contrast Button */
.gov-contrast-btn {
    gap: 4px;
}

.gov-contrast-btn .contrast-icon {
    font-size: 12px;
}

.gov-contrast-btn.active {
    background: #000000;
    color: #ffff00;
    border-color: #ffff00;
}

/* ========================================================
   MAIN PAGE CONTAINER (CENTERED 1200PX MAX-WIDTH)
   ======================================================== */
.fp-page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 15px 30px 15px;
}

/* ========================================================
   1. TOP HEADER (MODI JI & YOGI JI CIRCULAR PICS)
   ======================================================== */
.fp-header {
    width: 100%;
    background: #ffffff;
    padding: 8px 0 12px 0;
    margin-bottom: 2px;
}

.fp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

/* Dignitaries (Hon'ble PM & CM in Circular Frames) */
.fp-dignitary {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fp-dignitary-circle {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1a4d7c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-dignitary-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    border-color: #ff9933;
}

.fp-dignitary-circle .fp-dignitary-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block;
}

.fp-dignitary-info {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fp-dig-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #222222;
    line-height: 1.25;
}

.fp-dig-desig {
    font-size: 10.5px;
    font-weight: 600;
    color: #555555;
    line-height: 1.25;
}

/* Department Branding (Center) */
.fp-branding {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10px;
}

.fp-brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}

.fp-logo-img {
    height: 82px;
    max-height: 82px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 4px;
}

.fp-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fp-toptext-img {
    height: 58px;
    max-height: 58px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.fp-text-fallback {
    text-align: center;
}

.fp-title-hindi {
    font-size: 21px;
    font-weight: 700;
    color: #1a4d7c;
    margin: 0;
    line-height: 1.2;
}

.fp-title-eng {
    font-size: 15.5px;
    font-weight: 700;
    color: #1a4d7c;
    margin: 2px 0 0 0;
    letter-spacing: 0.5px;
}

.fp-subtitle {
    font-size: 11.5px;
    font-weight: 600;
    color: #555;
    margin: 2px 0 0 0;
}

/* Admin Login Wrapper */
.fp-admin-login-wrapper {
    flex: 0 0 auto;
    text-align: center;
    padding-left: 6px;
}

.fp-admin-login-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}

.fp-admin-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #330033;
    object-fit: cover;
    display: block;
    margin-bottom: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.fp-admin-login-link:hover .fp-admin-img {
    transform: scale(1.06);
}

.fp-admin-text {
    font-size: 11px;
    font-weight: 700;
    color: #008080 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fp-admin-login-link:hover .fp-admin-text {
    color: #005a5a !important;
    text-decoration: underline !important;
}

/* ========================================================
   2. RESPONSIVE NAVIGATION MENU (BILINGUAL)
   ======================================================== */
.fp-navbar {
    width: 100%;
    background: linear-gradient(180deg, #3c3c3c 0%, #1e1e1e 100%);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    position: relative;
    z-index: 900;
    border-top: 3px solid #ff9933;
}

.fp-nav-container {
    width: 100%;
}

.fp-nav-toggle {
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #ffffff;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    gap: 8px;
}

.fp-nav-icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    border-radius: 1px;
}

.fp-nav-toggle-text {
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.fp-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.fp-nav-menu > li {
    flex: 1 1 auto;
    text-align: center;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.fp-nav-menu > li:last-child {
    border-right: none;
}

.fp-nav-menu > li > p {
    margin: 0;
    padding: 0;
    height: 100%;
}

.fp-nav-menu > li > p > a,
.fp-nav-menu > li > p > span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 8px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.fp-nav-menu > li:hover > p > a,
.fp-nav-menu > li.active > p > a {
    background: linear-gradient(180deg, #4f4f4f 0%, #2b2b2b 100%);
    color: #ffcc00 !important;
}

.fp-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid #ffffff;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* Dropdown Sub-menus */
.fp-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #2b2b2b;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 10000;
    text-align: left;
    border-top: 2px solid #ff9933;
}

.fp-nav-menu > li.fp-has-dropdown:hover .fp-dropdown-menu,
.fp-nav-menu > li.fp-has-dropdown:focus-within .fp-dropdown-menu {
    display: block;
}

.fp-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.fp-dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 15px;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease;
}

.fp-dropdown-menu li:last-child a {
    border-bottom: none;
}

.fp-dropdown-menu li a:hover,
.fp-dropdown-menu li a:focus {
    background: #444444;
    color: #ffcc00 !important;
}

.fp-ext-icon {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.8;
}

/* ========================================================
   3. MARQUEE ANNOUNCEMENT BAR (GIGW PAUSABLE SCROLLING)
   ======================================================== */
.fp-announcement-bar {
    width: 100%;
    margin-bottom: 12px;
}

.fp-marquee-wrapper {
    display: flex;
    align-items: center;
    background: #fff8f8;
    border: 1px solid #ffd0d0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fp-marquee-badge {
    background: #d90000;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.fp-marquee-content {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 4px 10px;
}

.fp-ots-marquee-text {
    font-size: 15px;
    color: #d90000;
    font-weight: 700;
    line-height: 1.4;
    font-family: Arial, "Trebuchet MS", sans-serif;
}

.fp-marquee-controls {
    flex-shrink: 0;
    padding: 0 8px;
}

.fp-marquee-btn {
    background: #ffffff;
    border: 1px solid #d90000;
    color: #d90000;
    border-radius: 3px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fp-marquee-btn:hover {
    background: #d90000;
    color: #ffffff;
}

/* ========================================================
   4. ROW 1: EXTERNAL LINKS (LEFT) + SLIDER (RIGHT)
   ======================================================== */
.fp-row-upper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    margin-bottom: 18px;
}

/* External Link Box (Left) */
.fp-col-links {
    flex: 0 0 24%;
    max-width: 24%;
    display: flex;
    flex-direction: column;
}

.fp-links-card {
    background: #ffffff;
    border: 1px solid var(--gov-teal);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.fp-links-header {
    background: var(--gov-teal);
    color: #ffffff;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-links-content {
    padding: 4px 0;
}

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

.fp-links-list li {
    padding: 6px 10px;
    font-size: 12.5px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.fp-links-list li:last-child {
    border-bottom: none;
}

.fp-arrow-bullet {
    color: #d90000;
    font-size: 9px;
    margin-right: 6px;
    flex-shrink: 0;
}

.fp-link-item {
    color: #0056b3 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: color 0.15s ease;
}

.fp-link-item:hover {
    color: #002752 !important;
    text-decoration: underline !important;
}

/* Slider Box (Right) - FUNCTIONAL CAROUSEL */
.fp-col-slider {
    flex: 0 0 76%;
    max-width: 76%;
    display: flex;
    flex-direction: column;
}

.fp-slider-card {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    display: flex;
    position: relative;
}

.fp-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 220px;
}

.fp-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.fp-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.fp-slide.active {
    display: block;
}

.fp-slider-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

/* Carousel Prev & Next Arrows */
.fp-carousel-prev,
.fp-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    outline: none;
}

.fp-carousel-prev {
    left: 10px;
}

.fp-carousel-next {
    right: 10px;
}

.fp-carousel-prev:hover,
.fp-carousel-next:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.1);
}

/* Carousel Dots Indicator */
.fp-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.fp-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    outline: none;
}

.fp-dot.active {
    background: #ff9933;
    border-color: #ffffff;
    transform: scale(1.25);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* ========================================================
   5. ROW 2: PAYMENT BANNERS
   ======================================================== */
.fp-row-payment {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
    margin-bottom: 22px;
}

.fp-pay-col-left {
    flex: 1 1 65%;
    max-width: 65%;
}

.fp-pay-col-right {
    flex: 1 1 35%;
    max-width: 35%;
}

.fp-pic11-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.fp-pic22-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.fp-pic22-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-pic22-link:hover .fp-pic22-img {
    transform: scale(1.015);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ========================================================
   6. ROW 3: WELCOME MESSAGE & CONSERVATION OVERVIEW
   ======================================================== */
.fp-welcome-section {
    width: 100%;
    margin-bottom: 25px;
    padding: 0 4px;
}

.fp-welcome-heading {
    color: #246eaa;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.fp-welcome-icon {
    font-size: 20px;
    color: #246eaa;
}

.fp-poem-container {
    text-align: center;
    margin: 18px auto 20px auto;
    max-width: 900px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.fp-jalhai-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
    display: block;
}

.fp-hindi-poem,
.fp-english-poem {
    font-size: 15px;
    line-height: 1.7;
    color: #111111;
    font-weight: 600;
    margin: 0;
}

.fp-english-poem {
    color: #1e3a8a;
    font-style: italic;
}

.fp-about-paragraph-container {
    margin-top: 15px;
}

.fp-about-paragraph {
    color: #222222;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* ========================================================
   7. MODAL DIALOGS (OTS, SCREEN READER, FEEDBACK)
   ======================================================== */
.ots-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 15px;
}

.ots-popup {
    background: #ffffff;
    width: 100%;
    max-width: 660px;
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    position: relative;
    box-sizing: border-box;
    border: 1px solid #ccc;
    max-height: 90vh;
    overflow-y: auto;
}

.ots-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #246eaa;
}

.ots-popup-header span {
    font-size: 17px;
    font-weight: 700;
    color: #246eaa;
}

.ots-popup-close-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    width: 30px;
    height: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.15s ease;
}

.ots-popup-close-btn:hover {
    background: #d90000;
    color: #ffffff;
    border-color: #d90000;
}

#otsPopupBody {
    font-size: 14.5px;
    color: #1e3a8a;
    line-height: 1.65;
    text-align: left;
    padding: 4px 0;
}

.ots-popup-hi {
    font-weight: 600;
    margin-bottom: 10px;
}

.ots-popup-divider {
    border: 0;
    border-top: 1px dashed #c0d4ec;
    margin: 10px 0;
}

.ots-popup-en {
    font-weight: 500;
    color: #2c4a87;
    margin-bottom: 10px;
}

.ots-popup-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.ots-btn-primary {
    background: #246eaa;
    color: #ffffff !important;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.ots-btn-primary:hover {
    background: #195383;
}

.ots-btn-secondary {
    background: #f0f0f0;
    color: #333333;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ots-btn-secondary:hover {
    background: #e0e0e0;
}

/* Screen Reader Modal Table */
.sr-table-responsive {
    overflow-x: auto;
    margin-top: 12px;
}

.sr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sr-table th, .sr-table td {
    padding: 8px 10px;
    border: 1px solid #dddddd;
    text-align: left;
}

.sr-table th {
    background: #f5f8fa;
    font-weight: 600;
    color: #1e3a8a;
}

/* Feedback Form Modal */
.fb-form-group {
    margin-bottom: 12px;
    text-align: left;
}

.fb-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.fb-input, .fb-textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
}

.fb-input:focus, .fb-textarea:focus {
    border-color: #246eaa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(36, 110, 170, 0.2);
}

/* ========================================================
   8. FOOTER (CLEAN & GIGW COMPLIANT)
   ======================================================== */
.fp-footer {
    width: 100%;
    background: linear-gradient(180deg, #6c6c6c 0%, #4a4a4a 100%);
    border-radius: 4px;
    padding: 12px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #138808;
}

.fp-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
    text-align: center;
}

.fp-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-footer-links a {
    color: #ffffff !important;
    font-size: 12.5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.fp-footer-links a:hover,
.fp-footer-links a:focus {
    color: #ffe680 !important;
    text-decoration: underline !important;
}

.fp-footer-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.fp-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2px;
}

.fp-footer-copy {
    color: #ffffff;
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

/* ========================================================
   9. HIGH CONTRAST MODE (WCAG 2.1 LEVEL AA)
   ======================================================== */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}

body.high-contrast .gov-top-bar,
body.high-contrast .fp-header,
body.high-contrast .fp-links-card,
body.high-contrast .fp-slider-card,
body.high-contrast .ots-popup,
body.high-contrast .fp-poem-container {
    background-color: #121212 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .gov-access-btn,
body.high-contrast .gov-lang-box,
body.high-contrast .gov-font-btn {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .gov-state-text,
body.high-contrast .fp-dig-name,
body.high-contrast .fp-dig-desig,
body.high-contrast .fp-title-hindi,
body.high-contrast .fp-title-eng,
body.high-contrast .fp-hindi-poem,
body.high-contrast .fp-english-poem,
body.high-contrast .fp-about-paragraph,
body.high-contrast #otsPopupBody {
    color: #ffff00 !important;
}

body.high-contrast a,
body.high-contrast .fp-link-item,
body.high-contrast .fp-admin-text {
    color: #00ffff !important;
    text-decoration: underline !important;
}

body.high-contrast .fp-navbar {
    background: #000000 !important;
    border: 2px solid #ffff00 !important;
}

body.high-contrast .fp-nav-menu > li > p > a {
    color: #ffff00 !important;
}

body.high-contrast .fp-dropdown-menu {
    background: #000000 !important;
    border: 2px solid #ffff00 !important;
}

body.high-contrast .fp-links-header {
    background: #222222 !important;
    color: #ffff00 !important;
    border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast .fp-marquee-wrapper {
    background: #111111 !important;
    border-color: #ffff00 !important;
}

body.high-contrast .fp-ots-marquee-text {
    color: #ffff00 !important;
}

body.high-contrast .fp-footer {
    background: #000000 !important;
    border-top: 2px solid #ffff00 !important;
}

/* ========================================================
   10. RESPONSIVE BREAKPOINTS (ALL DEVICES)
   ======================================================== */

/* Tablet Screens (under 992px) */
@media (max-width: 991px) {
    .gov-top-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .gov-top-right {
        justify-content: center;
    }

    .fp-header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fp-branding {
        order: 1;
        flex: 1 1 100%;
        margin-bottom: 10px;
    }

    .fp-dignitary-left {
        order: 2;
    }

    .fp-dignitary-right {
        order: 3;
    }

    .fp-admin-login-wrapper {
        order: 4;
    }

    .fp-dignitary-circle {
        width: 95px;
        height: 95px;
        border-width: 2.5px;
    }

    /* Mobile hamburger menu */
    .fp-nav-toggle {
        display: flex;
    }

    .fp-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .fp-nav-menu.fp-menu-open {
        display: flex;
    }

    .fp-nav-menu > li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .fp-nav-menu > li > p > a,
    .fp-nav-menu > li > p > span {
        padding: 11px 16px;
        white-space: normal;
        justify-content: flex-start;
    }

    .fp-dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: #242424;
        border-top: none;
        padding: 0;
    }

    .fp-has-dropdown.fp-dropdown-open .fp-dropdown-menu {
        display: block;
    }

    .fp-dropdown-menu li a {
        padding-left: 28px;
    }

    /* Upper Row Stacking */
    .fp-row-upper {
        flex-direction: column;
    }

    .fp-col-links,
    .fp-col-slider {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .fp-col-slider {
        order: 1;
    }

    .fp-col-links {
        order: 2;
    }

    /* Payment Row Stacking */
    .fp-row-payment {
        flex-direction: column;
    }

    .fp-pay-col-left,
    .fp-pay-col-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Mobile Screens (under 768px) */
@media (max-width: 767px) {
    .fp-page-container {
        padding: 4px 8px 25px 8px;
    }

    .gov-access-controls {
        justify-content: center;
        gap: 4px;
    }

    .gov-access-btn {
        font-size: 11px;
        padding: 2px 7px;
    }

    .fp-dignitary-circle {
        width: 76px;
        height: 76px;
        border-width: 2px;
    }

    .fp-logo-img {
        height: 58px;
        max-height: 58px;
    }

    .fp-toptext-img {
        height: 44px;
        max-height: 44px;
    }

    .fp-admin-img {
        width: 44px;
        height: 44px;
    }

    .fp-admin-text {
        font-size: 9.5px;
    }

    .fp-marquee-badge {
        font-size: 11px;
        padding: 5px 8px;
    }

    .fp-ots-marquee-text {
        font-size: 13.5px;
    }

    .fp-welcome-heading {
        font-size: 17px;
    }

    .fp-hindi-poem,
    .fp-english-poem {
        font-size: 13.5px;
    }

    .fp-about-paragraph {
        font-size: 13px;
        line-height: 1.65;
    }

    .fp-footer-inner {
        padding: 0 4px;
    }

    .fp-footer-links {
        gap: 6px;
    }

    .fp-footer-links a {
        font-size: 11.5px;
    }
}

/* Extra Small Phones (under 480px) */
@media (max-width: 480px) {
    .gov-state-text {
        font-size: 10.5px;
    }

    .gov-access-btn {
        font-size: 10.5px;
        padding: 2px 5px;
        height: 24px;
    }

    .fp-dignitary-circle {
        width: 62px;
        height: 62px;
        border-width: 2px;
    }

    .fp-dig-name {
        font-size: 10px;
    }

    .fp-dig-desig {
        font-size: 9px;
    }

    .fp-logo-img {
        height: 48px;
        max-height: 48px;
    }

    .fp-toptext-img {
        height: 36px;
        max-height: 36px;
    }

    .fp-admin-img {
        width: 38px;
        height: 38px;
    }

    .fp-marquee-badge {
        display: none;
    }

    .fp-hindi-poem,
    .fp-english-poem {
        font-size: 12px;
    }

    .fp-about-paragraph {
        font-size: 12px;
    }

    .ots-popup {
        padding: 16px;
    }

    .ots-popup-header span {
        font-size: 14.5px;
    }

    .ots-popup-footer {
        flex-direction: column;
        width: 100%;
    }

    .ots-btn-primary, .ots-btn-secondary {
        width: 100%;
        text-align: center;
    }
}
