﻿/* Clean Accessibility Icon Button Style */
.accessibility-trigger-btn {
    background: transparent;
    color: #17324d;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

    .accessibility-trigger-btn:hover {
        color: #087ac1;
    }

/* Side Drawer Panel Styles */
.ntpc-accessibility-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 99999;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

    .ntpc-accessibility-drawer.open {
        right: 0;
    }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
}

    .drawer-header h3 {
        margin: 0;
        font-size: 17px;
        color: #17324d;
        font-weight: 600;
    }

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #17324d;
    cursor: pointer;
    line-height: 1;
}

.drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.accessibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.accessibility-option-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #17324d;
    font-size: 12px;
    font-weight: 500;
}

    .accessibility-option-card svg {
        stroke: #06467f;
        width: 22px;
        height: 22px;
        padding: 2px;
    }

    .accessibility-option-card:hover,
    .accessibility-option-card.active {
        background: #f0f7fc;
        border-color: #087ac1;
        color: #087ac1;
    }

        .accessibility-option-card:hover svg,
        .accessibility-option-card.active svg {
            stroke: #087ac1;
        }

.drawer-footer-action {
    margin-top: 20px;
    text-align: center;
    padding-bottom: 10px;
}

.reset-settings-btn {
    background: none;
    border: none;
    color: #06467f;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

    .reset-settings-btn:hover {
        color: #087ac1;
    }

/* Background Overlay */
.ntpc-accessibility-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .ntpc-accessibility-overlay.show {
        opacity: 1;
        visibility: visible;
    }

/* Extra Feature Classes */
body.invert-colors {
    filter: invert(100%) hue-rotate(180deg);
}

body.highlight-links a {
    background-color: yellow !important;
    color: black !important;
    outline: 2px solid red !important;
}

body.hide-all-images img {
    display: none !important;
}

/* High Contrast / Dark Theme Styles */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

    body.high-contrast div,
    body.high-contrast section,
    body.high-contrast header,
    body.high-contrast footer,
    body.high-contrast nav,
    body.high-contrast article,
    body.high-contrast aside {
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }

    body.high-contrast a {
        color: #ffff00 !important;
    }

    body.high-contrast input,
    body.high-contrast button,
    body.high-contrast select,
    body.high-contrast textarea {
        background-color: #222222 !important;
        color: #ffffff !important;
        border: 1px solid #ffffff !important;
    }


/* Language Selector Styles */
.ntpc-lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-toggle-btn {
    background: transparent;
    color: #17324d;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

    .lang-toggle-btn:hover {
        color: #087ac1;
    }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd9e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 110px;
    display: none;
    z-index: 100000;
    padding: 5px 0;
}

    .lang-menu.show {
        display: block;
    }

.lang-option {
    display: block;
    padding: 8px 15px;
    color: #17324d;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

    .lang-option:hover, .lang-option.active {
        background: #eef7fc;
        color: #087ac1;
    }


.top-head-left a, .ntpc-social-links a, .ntpc-footer-link-list a,
.ntpc-service-action, .ntpc-slider-control, .ntpc-feedback-btn {
    min-height: 44px;
}

.top-head-left a, .ntpc-social-links a, .ntpc-footer-link-list a {
    display: inline-flex;
    align-items: center;
}



.ntpc-social-links a {
    min-width: 44px;
    justify-content: center;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid #ffbd00 !important;
    outline-offset: 3px;
}

.ntpc-footer-link-list a {
    padding-block: 10px;
}

.ntpc-header-tagline {
    margin: 0 0 8px;
}

@media (max-width: 575.98px) {
    .top-head .top-head-div {
        height: auto;
    }

    .top-head .social-network1 {
        float: none !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 8px !important;
    }

    .top-head .samarth-site-search-wrap, #samarthSiteSearchForm {
        position: static !important;
        float: none !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        margin: 8px auto;
    }

        #samarthSiteSearchForm input[type="search"] {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

    .top-head .align-content-center {
        width: 100%;
    }

    .top-head .header-link {
        text-align: center;
        margin-top: 8px !important;
    }

        .top-head .header-link img {
            float: none !important;
            display: inline-block;
            max-width: 42vw;
            height: auto !important;
            max-height: 60px;
            object-fit: contain;
        }

    .top-head h1.header-link {
        font-size: clamp(22px, 6vw, 30px);
        overflow-wrap: anywhere;
    }

    .top-head .ntpc-header-tagline {
        font-size: 14px;
        line-height: 1.4;
    }

    .ntpc-footer-link-list a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
}
@media (max-widht:991px) {
    .col-sm-12 .header-link {
        float: unset !important;
        margin-top: unset !important;
    }

    .col-sm-12 .align-content-center {
        width: fit-content;
    }
}

@media (max-widht:768px) {
    .col-sm-12 .header-link a img, .pull-left.text-left.header-link {
        height: 60px !important;
    }

    .col-sm-12 .align-content-center {
        width: fit-content;
    }
}

.samarth-site-search-wrap {
    flex: 0 0 265px;
    width: 265px;
    max-width: 100%;
    position: relative;
    z-index: 1100;
}

.samarth-site-search {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: stretch;
    position: relative;
    border: 1px solid #cbd9e6;
    border-bottom: 2px solid #06467f;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 45, 80, .06);
}

    .samarth-site-search:focus-within {
        border-color: #087ac1;
        box-shadow: 0 0 0 3px rgba(8, 122, 193, .12);
    }

    .samarth-site-search input[type="search"] {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 40px;
        padding: 8px 11px;
        border: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent;
        color: #17324d;
        font: 14px/1.3 "Noto Sans", Arial, sans-serif;
    }

        .samarth-site-search input[type="search"]::placeholder {
            color: #687b8d;
            opacity: 1;
        }

    .samarth-site-search button[type="submit"] {
        flex: 0 0 42px;
        width: 42px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-left: 1px solid #e0e8ef;
        border-radius: 0 5px 5px 0;
        background: #fff;
        color: #064f8e;
        cursor: pointer;
    }

        .samarth-site-search button[type="submit"]:hover {
            background: #eef7fc;
            color: #087ac1;
        }

        .samarth-site-search button[type="submit"] svg {
            width: 19px;
            height: 19px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
        }

.samarth-search-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.samarth-site-search-results {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    max-height: 360px;
    overflow-y: auto;
    padding: 5px 0;
    border: 1px solid #cfe0ed;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 35, 65, .2);
    z-index: 2000;
}

    .samarth-site-search-results[hidden] {
        display: none !important;
    }

.samarth-search-result {
    display: block;
    width: 100%;
    padding: 10px 13px;
    border: 0;
    border-bottom: 1px solid #edf2f6;
    background: #fff;
    color: #17324d;
    text-align: left;
    text-decoration: none !important;
    font: 14px/1.4 "Noto Sans", Arial, sans-serif;
    cursor: pointer;
}

    .samarth-search-result:last-child {
        border-bottom: 0;
    }

    .samarth-search-result:hover,
    .samarth-search-result:focus-visible {
        background: #edf7fd;
        color: #005b9f;
    }

    .samarth-search-result small {
        display: block;
        margin-top: 2px;
        color: #65798a;
        font-size: 11px;
        overflow-wrap: anywhere;
    }

.samarth-search-empty {
    padding: 12px 13px;
    color: #5b6d7d;
    font-size: 13px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .samarth-header-inner {
        gap: 15px;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .samarth-site-search-wrap {
        flex-basis: 230px;
        width: 230px;
    }

    .samarth-brand-logo {
        width: 94px;
        height: 94px;
        margin-right: 14px;
    }

    .samarth-brand-text h1 {
        font-size: clamp(21px, 2vw, 29px);
    }

    .samarth-brand-text h2 {
        font-size: 14px;
        margin-top: 9px;
    }
}

@media (max-width: 991.98px) {
    .samarth-header-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 15px 15px;
    }

    .samarth-brand-block {
        justify-content: flex-start;
        width: 100%;
    }

    .samarth-site-search-wrap {
        flex: 0 0 auto;
        width: min(100%, 520px);
        align-self: center;
    }

    .samarth-site-search {
        min-height: 40px;
    }

    .samarth-brand-text h1 {
        font-size: clamp(18px, 3vw, 24px);
        line-height: 1.2;
    }

    .samarth-brand-text h2 {
        margin-top: 7px;
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .samarth-brand-logo {
        width: 65px;
        height: 65px;
        margin-right: 10px;
    }

    .samarth-brand-text h1 {
        font-size: 16px;
    }

    .samarth-brand-text h2 {
        font-size: 10px;
        line-height: 1.35;
    }

    .samarth-site-search-wrap {
        width: 100%;
    }

    .samarth-site-search input[type="search"] {
        font-size: 13px;
    }
}


.samarth-search-text-match {
    background: #fff3bf !important;
    outline: 2px solid #ffbf00 !important;
    outline-offset: 3px !important;
    border-radius: 3px;
}

/* =========================================================
        NTPC CONSULTANCY COOKIE CONSENT STYLES
        ========================================================= */
.ntpc-cookie-panel, .ntpc-cookie-panel * {
    box-sizing: border-box;
}

    .ntpc-cookie-panel[hidden],
    .ntpc-cookie-settings[hidden] {
        display: none !important;
    }

.ntpc-cookie-panel {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 100001;
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #cbdbea;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,.20);
    font-family: Arial, sans-serif;
}

    .ntpc-cookie-panel h2 {
        margin: 0 0 10px;
        color: #064b86;
        font-size: 19px;
    }

    .ntpc-cookie-panel p {
        margin: 0 0 12px;
        color: #333;
        font-size: 14px;
        line-height: 1.6;
    }

.ntpc-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;
}

    .ntpc-cookie-actions button,
    .ntpc-cookie-manage {
        min-height: 40px;
        padding: 4px 15px;
        border: 1px solid #075da8;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

.ntpc-cookie-accept {
    background: #075da8;
    color: #fff;
}

.ntpc-cookie-reject,
.ntpc-cookie-customize {
    background: #fff;
    color: #075da8;
}

.ntpc-cookie-manage {
    position: fixed;
    left: 15px;
    bottom: 63px;
    z-index: 100000;
    background: #fff;
    color: #075da8;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.ntpc-cookie-settings {
    margin-top: 15px;
    padding: 12px;
    background: #f5f8fb;
    border: 1px solid #d8e3ed;
    border-radius: 6px;
}

.ntpc-cookie-category {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

    .ntpc-cookie-category:last-child {
        border-bottom: 0;
    }

    .ntpc-cookie-category label {
        font-weight: 600;
    }

    .ntpc-cookie-category input {
        width: 18px;
        height: 18px;
    }

a[href="mailto:consultancy@ntpc.co.in"] {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 12px 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

a[href^="mailto:"] {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 13px 8px !important;
    line-height: 22px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

    a[href^="mailto:"] svg {
        pointer-events: none !important;
    }

.ntpc-address-icon i{
    color:#fff !important;
}
.top-head-right {
    overflow-x: unset !important;
}
.ntpc-menu-toggle:hover i, .ntpc-otp-close:hover i {
    color: var(--ntpc-primary) !important;
}
.ntpc-otp-close i, .ntpc-otp-primary-btn i, .ntpc-otp-secondary-btn:hover i {
    color: #fff !important;
}