/* =========================================================
   ACCESSIBILITY.CSS
   GIGW 3.0 / WCAG 2.1 AA COMPLIANT
   ========================================================= */


/* =========================================================
   1. DARK CONTRAST MODE – GLOBAL
   ========================================================= */
body.dark-contrast-mode {
    background-color: #000 !important;
    color: #ffff00 !important;
}

/* Text elements */
body.dark-contrast-mode p,
body.dark-contrast-mode h1,
body.dark-contrast-mode h2,
body.dark-contrast-mode h3,
body.dark-contrast-mode h4,
body.dark-contrast-mode h5,
body.dark-contrast-mode h6,
body.dark-contrast-mode span,
body.dark-contrast-mode li,
body.dark-contrast-mode td,
body.dark-contrast-mode th,
body.dark-contrast-mode label,
body.dark-contrast-mode strong,
body.dark-contrast-mode em {
    color: #ffff00 !important;
    background: transparent !important;
}

/* Links */
body.dark-contrast-mode a,
body.dark-contrast-mode .nav-link {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.dark-contrast-mode a:hover {
    color: #ffffff !important;
}


/* =========================================================
   2. IMAGE PROTECTION (DO NOT DARKEN IMAGES)
   ========================================================= */
body.dark-contrast-mode img,
body.dark-contrast-mode picture,
body.dark-contrast-mode figure,
body.dark-contrast-mode svg,
body.dark-contrast-mode video {
    filter: none !important;
    background: transparent !important;
    opacity: 1 !important;
}


/* =========================================================
   3. HERO IMAGE OVERLAYS (TEXT VISIBILITY)
   ========================================================= */
body.dark-contrast-mode .home-snippets,
body.dark-contrast-mode .textimgsnippet {
    position: relative;
}

body.dark-contrast-mode .home-snippets::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.9)
    );
    z-index: 1;
}

body.dark-contrast-mode .textimgsnippet::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.65) 45%,
        rgba(0,0,0,0.0) 65%
    );
    pointer-events: none;
}

/* Ensure text stays above overlay */
body.dark-contrast-mode .home-snippets .titlepage,
body.dark-contrast-mode .home-snippets .titlepage * {
    position: relative;
    z-index: 2;
}


/* =========================================================
   4. TWO COLUMN INTRO SECTION
   ========================================================= */

/* Normal mode */
#twocolintro .intro2coltext {
    background: transparent;
    padding: 40px;
}

#twocolintro .intro2coltext h2,
#twocolintro .intro2coltext p {
    color: #000;
}

/* Dark contrast mode */
body.dark-contrast-mode #twocolintro {
    background-color: #000 !important;
}

body.dark-contrast-mode #twocolintro .intro2coltext h2,
body.dark-contrast-mode #twocolintro .intro2coltext p {
    color: #ffff00 !important;
}


/* =========================================================
   5. HEADER / FOOTER / COMMON SECTIONS
   ========================================================= */
body.dark-contrast-mode .header,
body.dark-contrast-mode .footer,
body.dark-contrast-mode .timingstrip,
body.dark-contrast-mode .service,
body.dark-contrast-mode .visitorsinfo {
    background-image: none !important;
    background-color: #000 !important;
    border-color: #ffffff !important;
}


/* =========================================================
   6. TABLES & BUTTONS
   ========================================================= */
body.dark-contrast-mode table,
body.dark-contrast-mode td,
body.dark-contrast-mode th {
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #ffffff !important;
}

body.dark-contrast-mode button,
body.dark-contrast-mode .read_more {
    background-color: #000 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
}


/* =========================================================
   7. ACCESSIBILITY PANEL (GOV.IN STYLE)
   ========================================================= */
.accessibility-wrapper {
    position: relative;
}

.accessibility-modal {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    padding: 12px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    letter-spacing: normal !important;
}
.accessibility-modal * {
    letter-spacing: normal !important;
}

body.dark-contrast-mode #accPanel,
body.dark-contrast-mode #accPanel * {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.acc-section {
    margin-bottom: 12px;
}

.acc-section h6 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.acc-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.acc-btn {
    background: #f7f7f7;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    padding: 8px 6px;
    font-size: 11px;
    cursor: pointer;
    text-align: center;
}

.acc-btn i {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.acc-btn.active {
    border-color: #e60000;
    background: #ffffff;
}


/* =========================================================
   8. NAVBAR TEXT WRAP FIX
   ========================================================= */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link,
.navbar-nav .btn-accessibility {
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 1.2;
}
.hide-images img {
    display: none !important;
}








/* =====================================================
   ACCESSIBILITY – DARK CONTRAST MODE (CLEAN VERSION)
   ===================================================== */

/* =====================================================
   GLOBAL DARK BACKGROUND (SAFE)
   ===================================================== */

body.dark-contrast-mode,
body.dark-contrast-mode main,
body.dark-contrast-mode .mainwrapper {
    background-color: #000000 !important;
}

/* Apply black ONLY to content sections (not image heroes) */
body.dark-contrast-mode section:not(.home-snippets):not(.textimgsnippet) {
    background-color: #000000 !important;
}

/* Containers must stay transparent */
body.dark-contrast-mode .container,
body.dark-contrast-mode .container-fluid,
body.dark-contrast-mode .row,
body.dark-contrast-mode .col-6 {
    background-color: transparent !important;
}

/* =====================================================
   SALT MARCH – HERO IMAGE SAFE
   ===================================================== */

/* NEVER override background image */
body.dark-contrast-mode #salt-march {
    background-color: transparent !important;
}

/* Ensure text is visible */
body.dark-contrast-mode #salt-march h2,
body.dark-contrast-mode #salt-march p,
body.dark-contrast-mode #salt-march button {
    color: #ffff00 !important;
}

/* Button styling */
body.dark-contrast-mode #salt-march .moreless-button {
    background: transparent !important;
    border: 1px solid #ffff00 !important;
    color: #ffff00 !important;
    margin-top: 0px;
    align-self: center;
}

/* Text must stay above overlay */
body.dark-contrast-mode #salt-march .titlepage,
body.dark-contrast-mode #salt-march .titlepage * {
    position: relative;
    z-index: 2;
     display: flex;
    flex-direction: column;
    align-items: center;
}

/* =====================================================
   TWO COLUMN INTRO – DANDI IMAGE SAFE
   ===================================================== */

/* Normal mode */
#twocolintro .intro2coltext {
    background: transparent;
    padding: 40px;
}

#twocolintro .intro2coltext h2,
#twocolintro .intro2coltext p {
    color: #000;
}

/* Dark contrast */
body.dark-contrast-mode #twocolintro {
    background-color: #000000 !important;
}

/* Text column only */
body.dark-contrast-mode #twocolintro .intro2coltext {
    background-color: #000000 !important;
}

body.dark-contrast-mode #twocolintro .intro2coltext h2,
body.dark-contrast-mode #twocolintro .intro2coltext p {
    color: #ffff00 !important;
}

/* IMAGE MUST REMAIN ORIGINAL */
body.dark-contrast-mode #twocolintro img {
    filter: none !important;
    opacity: 1 !important;
}

/* Mobile fix */
@media (max-width: 768px) {
    #twocolintro .col-6 {
        width: 100%;
    }

    #twocolintro .intro2coltext {
        padding: 25px;
    }
}

/* =====================================================
   GLOBAL TEXT VISIBILITY
   ===================================================== */

body.dark-contrast-mode h1,
body.dark-contrast-mode h2,
body.dark-contrast-mode h3,
body.dark-contrast-mode h4,
body.dark-contrast-mode h5,
body.dark-contrast-mode h6,
body.dark-contrast-mode p {
    color: #ffff00 !important;
    background: transparent !important;
}

/* =====================================================
   NAVBAR FIX (NO WRAP)
   ===================================================== */

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link,
.navbar-nav .btn-accessibility {
    white-space: nowrap;
    line-height: 1.2;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    text-align: center;
}






body.dark-contrast-mode #salt-march [role="article"] {
    width: 100%;
}

/* Read more content expands smoothly */
body.dark-contrast-mode #salt-march .moretext {
    position: relative;
}

body.dark-contrast-mode #strcpv-website-counter {
    color: #ffff00;
    background: transparent;
    font-weight: 600;
}


/* img background code/ */
/* body.dark-contrast-mode .service_box h3 {
    background-color: #000000 !important;
    color: #ffff00 !important;
}
body.dark-contrast-mode .service_box p {
    background-color: black;
    background: black;
}
body.dark-contrast-mode .service_box h3,
body.dark-contrast-mode .service_box p {
    background-color: #000000 !important;
    color: #ffff00 !important;
    padding: 12px;
    margin: 0;
} */
body.dark-contrast-mode .service_box {
    background-color: #ffffff !important;
}

body.dark-contrast-mode .service_box .equalheighttexttitle,
body.dark-contrast-mode .service_box .equalheighttext {
    color: #000000 !important;
}
/* DARK CONTRAST – Attractions section headings stay BLACK */

body.dark-contrast-mode #service h2,
body.dark-contrast-mode #service h3 {
    color: #000000 !important;
}
body.dark-contrast-mode #service h2::after,
body.dark-contrast-mode #service h3::after,
body.dark-contrast-mode #service h2::before,
body.dark-contrast-mode #service h3::before {
    content: none !important;
    border: none !important;
}
body.dark-contrast-mode #service a {
    text-decoration: none !important;
    
}





/* ============================================================
   DARK CONTRAST MODE - TEXT VISIBILITY FIX
   ============================================================ */

/* If the background stays white, we force the text to black 
   to ensure it is visible to the user */

html.dark-contrast #langMenu.lang-menu li,
body.dark-contrast #langMenu.lang-menu li,
html.dark-contrast ul#langMenu li,
body.dark-contrast ul#langMenu li {
    color: #000000 !important; /* Force text to black */
    background-color: #ffffff !important; /* Keep background white */
    font-weight: 700 !important; /* Make it bold for extra contrast */
    border-bottom: 1px solid #ddd !important;
}

/* Add a distinct hover color so the user knows what they are selecting */
html.dark-contrast #langMenu.lang-menu li:hover,
body.dark-contrast #langMenu.lang-menu li:hover,
html.dark-contrast ul#langMenu li:hover,
body.dark-contrast ul#langMenu li:hover {
    background-color: #e0e0e0 !important; /* Light grey hover */
    color: #000000 !important;
}

/* Fix the toggle button to match the dark theme header */
html.dark-contrast .lang-btn,
body.dark-contrast .lang-btn {
    background-color: #000000 !important;
    color: #ffff00 !important; /* Yellow text for the button itself */
    border: 1px solid #ffff00 !important;
}





/* Prevent height issues in Contact Page when Line Height is active */
body.extra-line-height .contactpbox {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 25px !important;
    display: block !important;
}

/* Fix the floating issues when text expands */
body.extra-line-height .contactpage {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Ensure icons and text align during line-height changes */
body.extra-line-height .contacticon {
    margin-bottom: 15px !important;
}

/* Reset internal spacing of the modal so it doesn't break */
.accessibility-modal * {
    line-height: normal !important;
}




/* mobile responsive code of accessibility tool and language */
@media (max-width: 768px) {

    /* Accessibility panel becomes full width */
    .accessibility-modal {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    }

    .acc-row {
        flex-direction: column;
    }

    .acc-btn {
        width: 100%;
        font-size: 15px;
        padding: 12px;
    }

    /* Language dropdown full width */
    .language-dropdown {
        width: 100%;
        margin-top: 10px;
    }

    .lang-menu {
        position: static;
        width: 100%;
        border-radius: 6px;
    }
}





/* ipad responsive */
/* ===============================
   iPad Pro & Tablet Fix (992px–1366px)
================================ */

@media (min-width: 992px) and (max-width: 1366px) {

    /* Navbar container */
    .navigation .navbar-nav {
        display: flex;
        flex-wrap: wrap;   /* 🔑 allow wrapping */
        align-items: center;
    }

    /* Nav links spacing */
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 6px 10px;
        font-size: 14px;
        white-space: nowrap; /* text break na ho */
    }

    /* Accessibility & Language alignment */
    .accessibility-wrapper,
    .language-dropdown {
        margin-left: 8px;
        margin-top: 4px;
    }

    /* Avoid overflow */
    .navbar-collapse {
        overflow-x: hidden;
    }
}


/* body.dark-contrast-mode .about-us-desc{
    color: black;
} */