/* Basic reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-bar {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #ccc;
    padding:8px 50px;
}

.header-content1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.gov-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.gov-block {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.gov-block .hi {
    font-size: 15px;
    font-weight: 600;
    font-family: Arial, sans-serif;
}

.gov-block .en {
    font-size: 15px;
    font-weight: 600;
    font-family: Arial, sans-serif;
}

.right-group {
    display: flex;
    align-items: center;
    gap: 15px; /* spacing between accessibility and language dropdown */
}

.ico-accessibility {
    position: relative;
    cursor: pointer;
}

.ico-accessibility ul.accessibility-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    list-style: none;
    padding: 8px 12px;
    display: none;
    z-index: 1000;
}

.ico-accessibility ul.accessibility-menu li {
    margin-bottom: 5px;
}

.ico-accessibility ul.accessibility-menu li:last-child {
    margin-bottom: 0;
}

.lang-select select {
    padding: 4px 6px;
    font-size: 12px;
}

/* Responsive: Optional adjustments for very small screens */
@media (max-width: 400px) {
    .header-bar {
        width: 100%;
        background-color: white;
        border-bottom: 1px solid #ccc;
        padding:4px 5px;
    }
    .gov-block .hi {
        font-size: 9px;
        font-weight: 400;
        font-family: Arial, sans-serif;
    }
    .gov-block .en {
        font-size: 9px;
        font-weight: 500;
        font-family: Arial, sans-serif;
    }
    .lang-select select {
        font-size: 10px;
    }

    .ico-accessibility ul.accessibility-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border: 1px solid #ccc;
        list-style: none;
        padding: 8px 9px;
        display: none;
        z-index: 1000;
    }

    #speakIcon {
        font-size: 15px;
        color: #004080;
        cursor: pointer;
        user-select: none;
    }
}


/* High contrast mode for visually impaired users */
.visually-impaired  {
    background-color: #000 !important;
    color: #00FFFF !important; /* yellow text */
}

.visually-impaired a {
    color: #FFD700 !important; /* cyan for links */
}

.visually-impaired p {
    color: #FFD700 !important; /* cyan for links */
}

.visually-impaired h1,
.visually-impaired h2,
.visually-impaired h3 {
    color: #FF00FF !important; /* magenta headings */
}

/* Read Content */

#speakIcon {
    font-size: 20px;
    color: #004080;
    cursor: pointer;
    user-select: none;
}

#speakIcon:hover {
    color: #0066cc;
}

#content {
    margin-top: 15px;
}