.navbar {
    background-color: #ffffff !important;
}
/* Breadcrumb fixes - #337a9a background with #c2d7e1 text needs better contrast */
.breadcrumb .active {
    color: #eaffff !important;
}

/* Title section fixes - same background as breadcrumb */
.title {
    background-color: #337a9a !important;
}

.title .active,
.title h1,
.title h2,
.title h3,
.title h4,
.title h5,
.title h6 {
    color: #eaffff !important;
}

/* Bottom section fixes - #646161 background with #d3d0d0 text needs better contrast */
#bottom {
    background-color: #5a5757 !important; /* Changed from #646161 to improve contrast */
}

#bottom .unstyled.address a {
    color: #e8e4e4 !important;
}

#bottom p a {
    color: #e8e4e4 !important;
}



/* Dropdown and breadcrumb additional fixes */
.dropdown-toggle {
    color: #255c75 !important;
}

.breadcrumb > .active {
    color: #eaffff !important;
}

.breadcrumb {
    background-color: #707070 !important;
}

/* Force breadcrumb background override */
.title .breadcrumb {
    background-color: #707070 !important;
}

/* Maximum specificity breadcrumb fix */
.title .row-fluid .span6 .breadcrumb {
    background-color: #707070 !important;
}

.title .row-fluid .span6 .breadcrumb > .active {
    color: #eaffff !important;
}

/* Pull-right breadcrumb fix (same as about-us) */
.title .row-fluid .span6 .breadcrumb.pull-right {
    background-color: #707070 !important;
}

.title .row-fluid .span6 .breadcrumb.pull-right > .active {
    color: #eaffff !important;
}

/* Email link contrast fix */
body a[href^="mailto:"] {
    color: #307392 !important;
}

/* Email link in paragraph fix */
p a[href^="mailto:"] {
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Email link in paragraph fix for terms-and-conditions */
p:nth-child(19) a[href^="mailto:"] {
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Email link in paragraph fix for privacy-policy */
p:nth-child(10) a[href^="mailto:"] {
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Progress bar color contrast fixes */
.progress:nth-child(1) > .bar {
    background-color: #0b7ab3 !important;
}

.progress-warning > .bar {
    background-color: #99661c !important;
}

.progress-info > .bar {
    background-color: #32798e !important;
}

/* Focus management and tab order fixes */
#footer a:focus {
    outline: 2px solid #337a9a !important;
    outline-offset: 2px !important;
    transition: none !important;
}

/* Ensure proper focus behavior */
a:focus {
    outline: 2px solid #337a9a !important;
    outline-offset: 2px !important;
    transition: outline 0.1s ease !important;
}

/* Remove any conflicting transitions */
#footer a {
    transition: none !important;
}

/* Main info section color contrast fixes */
#viedoheader .span8 > h3 {
    color: #919191 !important;
}

#viedoheader .lead {
    color: #747474 !important;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: #337a9a;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

/* Footer section fixes - #232323 background with #666666 text needs better contrast */
#footer {
    background-color: #232323 !important;
}

#footer .cp, #footer .cp p, #footer .cp a {
    color: #8c8c8c !important;
}

/* Additional fixes for specific links mentioned in accessibility report */
#bottom a[href$="Investor-Charter-in-respect-of-Investment-advisor-updated.pdf"],
#bottom a[href$="MSMECertificate.pdf"], 
#bottom a[href$="smartodr.in/"],
#bottom a[href$="grievance-redressal.html"] {
    color: #e8e4e4 !important;
}

/* Specific fix for the Investor Charter link - p:nth-child(9) > a[target="_blank"]:nth-child(2) */
#bottom p:nth-child(9) > a[target="_blank"]:nth-child(2) {
    color: #e8e4e4 !important;
}

/* Force all bottom section links to use proper contrast */
#bottom a {
    color: #e8e4e4 !important;
}

/* Specific fixes for remaining problematic links */
#bottom p:nth-child(9) > a[target="_blank"]:nth-child(1),
#bottom p:nth-child(9) > a[target="_blank"]:nth-child(2),
#bottom a[href$="RA-Monthly-disclosures-of-investors-complaints.pdf"],
#bottom a[href$="Investor-Charter-in-respect-of-Investment-advisor-updated.pdf"],
#bottom a[href$="MSMECertificate.pdf"], 
#bottom a[href$="smartodr.in/"],
#bottom a[href$="grievance-redressal.html"] {
    color: #e8e4e4 !important;
}

/* Email link specific fix */
#bottom .unstyled.address > li:nth-child(2) > a {
    color: #e8e4e4 !important;
}

#footer a[href$="www.ananyaresearch.com"],
#footer a[href$="terms.html"],
#footer a[href$="terms-and-conditions.html"],
#footer a[href$="privacy-policy.html"],
#footer a[href$="disclaimer.html"] {
    color: #8c8c8c !important;
}
